joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cef2
Capabilities:
Read file on windows

Disassembly:
push 0x218
mov eax, 0x65f800
call fcn.0065a246
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x46cf12
xor eax, eax
jmp 0x46d0dc
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00627f90
add esp, 0xc
lea eax, [ebp - 0x174]
push 0xf8
push 0
push eax
call fcn.00627f90
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x17c], eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x40
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp - 0x40]
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp - 0x17c]
push eax
push 0xf8
lea eax, [ebp - 0x174]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0xdc]
add edi, 0xf8
mov dword [ebx + 0x30], eax
xor ebx, ebx
movzx eax, word [ebp - 0x16e]
and dword [ebp - 0x178], ebx
mov dword [ebp - 0x180], eax
test eax, eax
je 0x46cfea
push 0
lea eax, [ebp - 0x17c]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x2c]
add edi, 0x28
add edi, eax
cmp dword [ebp - 0x28], ebx
jbe 0x46cfe1
mov ebx, dword [ebp - 0x28]
add eax, ebx
mov dword [ebp - 0x178], eax
sub dword [ebp - 0x180], 1
jne 0x46cfb3
xor edx, edx
mov eax, edi
div dword [ebp - 0x138]
push 2
pop ecx
lea esi, [eax + 1]
imul esi, dword [ebp - 0x138]
call fcn.0048bace
test al, al
je 0x46d0da
push ecx
lea ecx, [ebp - 0x224]
call fcn.00450861
xor ebx, ebx
lea ecx, [ebp - 0x224]
mov edx, str.PE_File_size:
mov dword [ebp - 4], ebx
call fcn.00451874
push esi
mov ecx, eax
call fcn.004565e4
mov edx, str._exe_file_size:
mov ecx, eax
call fcn.00451874
push dword [ebp - 0x178]
mov ecx, eax
call fcn.004565e4
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x178], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x180], esp
mov ecx, 0x712e40
push eax
call fcn.00456470
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x188], esp
mov ecx, 0x712de8
push eax
call fcn.00469a38
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x184], eax
push eax
call fcn.0045114f
push 0x56
pop edx
push 2
pop ecx
mov byte [ebp - 4], bl
call fcn.0048ba3e
add esp, 0x60
lea ecx, [ebp - 0x224]
call fcn.0044ecd5
mov eax, esi
call fcn.0065a1f5
ret 4
Function at 0x46d0e4
Capabilities:
Read file on windows

Disassembly:
push 0xf0
mov eax, 0x65f85a
call fcn.0065a246
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 2
pop ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], ebx
call fcn.0048bace
mov esi, dword [ebp + 0x10]
test al, al
je 0x46d1ed
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00450861
and dword [ebp - 4], 0
lea ecx, [ebp - 0xfc]
mov edx, str.file_handle:
call fcn.00451874
push edi
mov ecx, eax
call fcn.0046d31a
mov edx, str.begin:
mov ecx, eax
call fcn.00451874
push ebx
mov ecx, eax
call fcn.004565e4
mov edx, str.end:
mov ecx, eax
call fcn.00451874
push esi
mov ecx, eax
call fcn.004565e4
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x5c], esp
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x60], esp
mov ecx, 0x712e1c
push eax
call fcn.0045d501
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x64], esp
mov ecx, 0x712de8
push eax
call fcn.00469a38
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x58], eax
push eax
call fcn.0045114f
push 0x5d
pop edx
push 2
pop ecx
mov byte [ebp - 4], 0
call fcn.0048ba3e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
add esp, 0x60
call fcn.0044ecd5
mov edi, dword [ebp - 0x48]
cmp edi, 0xffffffff
je 0x46d294
cmp ebx, esi
jae 0x46d294
sub esi, ebx
cmp esi, 0x2800
ja 0x46d294
lea edi, [esi + 1]
push edi
lfence
call fcn.00611432
pop ecx
push 0
push 0
push dword [ebp - 0x50]
mov ebx, eax
push dword [ebp - 0x48]
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, ebx
test edi, edi
je 0x46d23d
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x46d234
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push 0
push eax
push esi
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044eadb
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.004c1871
mov ecx, dword [ebp - 0x54]
push eax
add ecx, 0x18
call fcn.00450c32
lea ecx, [ebp - 0x44]
call fcn.00451219
lea ecx, [ebp - 0x2c]
call fcn.00451307
push ebx
call fcn.00610fac
pop ecx
mov al, 1
jmp 0x46d296
xor al, al
call fcn.0065a1f5
ret 0xc
Function at 0x476220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jg 0x47624b
jl 0x476242
test ebx, ebx
jne 0x47624b
xor eax, eax
xor edx, edx
jmp 0x47630c
cmp dword [esi + 0x38], 0
je 0x476260
push eax
push ebx
push dword [ebp + 8]
call fcn.00450a84
jmp 0x47630c
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4762a4
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x4762a4
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.006262f0
mov ecx, dword [esp + 0x20]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x4762ab
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x476302
mov ecx, esi
call fcn.00477412
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x4762ed
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.00636c48
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x476302
jmp 0x4762be
test edx, edx
je 0x476302
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00636c48
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x482ea0
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x662c27
call fcn.0065a213
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00611432
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.00470b45
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x482f7f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x70b8b4
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x482f7f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.0047ba53
mov esi, 0x711a10
mov ecx, eax
mov edx, esi
call fcn.00451874
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.0047ba53
mov edx, esi
mov ecx, eax
call fcn.00451874
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.0047ba53
mov edx, esi
mov ecx, eax
call fcn.00451874
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.0047ba53
push ebx
call fcn.00610fac
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.0045114f
lea ecx, [ebp - 0xd0]
call fcn.0047055c
mov eax, esi
call fcn.0065a1e1
ret

Function at 0x483020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jb 0x48303b
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push 0x80000001
call fcn.0044c37e
test eax, eax
jne 0x483076
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x48305b
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp - 0x10], edi
je 0x483087
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x48b60a
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x34
mov eax, 0x664683
call fcn.0065a246
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x4000
push edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x48b6af
cmp dword [ebp - 0x30], ebx
je 0x48b6be
push ebx
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
je 0x48b679
cmp eax, 0x50
je 0x48b679
test eax, eax
jne 0x48b6af
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x48b682
sub ecx, edx
lea edx, [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x2c]
call fcn.004c16af
push eax
mov ecx, esi
call fcn.00450d10
lea ecx, [ebp - 0x2c]
call fcn.00451307
cmp dword [ebp - 0x30], 0
je 0x48b6be
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.0065a1f5
ret

Function at 0x48b712
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x6646b7
call fcn.0065a213
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, 0x104
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0048b7a9
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x48b776
mov ecx, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x48b758
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.004c16af
jmp 0x48b78c
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
test esi, esi
je 0x48b7a1
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.00451e11
pop ecx
pop ecx
mov eax, ebx
call fcn.0065a1e1
ret
Function at 0x49c645
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x264
mov eax, 0x6661ff
call fcn.0065a246
mov esi, ecx
mov dword [ebp - 0x250], esi
push 0x208
xor ebx, ebx
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00627f90
add esp, 0xc
mov dword [ebp - 0x250], 0x104
lea eax, [ebp - 0x250]
mov edi, str.OriginalInstallPath
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
lea eax, [ebp - 0x21c]
jne 0x49c6c2
mov dword [esi], 1
jmp 0x49c7fc
push 0x208
push ebx
push eax
call fcn.00627f90
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x49c7f4
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00627f90
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareWOW6432NodeCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x49c7f4
push edi
lea ecx, [ebp - 0x24c]
call fcn.0044ebc8
push str.SoftwareCisco_Spark_Native
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0044ebc8
push 0x20119
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x234]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x270]
call fcn.0049cbcf
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00451219
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.00451219
cmp byte [ebp - 0x258], 0
je 0x49c7d3
lea eax, [ebp - 0x270]
mov dword [esi], ebx
push eax
lea ecx, [esi + 4]
call fcn.00450ca0
cmp byte [ebp - 0x258], 0
je 0x49c805
lea ecx, [ebp - 0x270]
call fcn.00451219
jmp 0x49c805
mov dword [esi], 2
lea edi, [esi + 4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
jmp 0x49c805
mov dword [esi], ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 4]
call fcn.0044ebc8
mov eax, esi
call fcn.0065a1f5
ret
Function at 0x49cbcf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x660454
call fcn.0065a246
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 8
jb 0x49cbf3
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49cc0f
mov byte [esi + 0x18], bl
jmp 0x49cccd
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x49cc19
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x49cc3c
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x49cc07
cmp dword [ebp - 0x34], 1
jne 0x49cc31
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push ebx
shr eax, 1
push eax
call fcn.0049d417
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x49cc67
mov edi, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
je 0x49cc8a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 0x18], bl
jmp 0x49ccc5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ebx
push ebx
call fcn.0047bfde
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x49ccb6
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004648a6
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00450c68
mov byte [esi + 0x18], 1
lea ecx, [ebp - 0x2c]
call fcn.00451219
mov eax, esi
call fcn.0065a1f5
ret
Function at 0x49ccd5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 8
push ebx
push esi
mov esi, ecx
jb 0x49ccea
mov eax, dword [eax]
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49cd09
mov byte [esi + 4], bl
jmp 0x49cd7c
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x49cd17
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x49cd3d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 4], bl
jmp 0x49cd7b
cmp dword [ebp - 8], 4
je 0x49cd49
cmp dword [ebp - 8], 0xb
jne 0x49cd2f
cmp dword [edi + 0x14], 8
jb 0x49cd51
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x49cd32
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [esi + 4], 1
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49cd82
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xf4
mov eax, dword [0x778f48]
xor eax, esp
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf8]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x100]
push ebp
cmp dword [eax + 0x14], 8
mov ebp, ecx
push esi
mov dword [esp + 0x18], ebp
mov esi, edx
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
jb 0x49cdce
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49ce8b
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x49cdf7
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49ce8b
push dword [esp + 0x10]
call fcn.00611432
cmp dword [ebx + 0x14], 8
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
mov eax, ebx
jb 0x49ce2e
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49ce8b
mov esi, dword [esp + 0x18]
sub esp, 0x18
mov edi, dword [esp + 0x28]
mov ecx, esp
push ebx
call fcn.00450ca0
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xd4]
push edi
mov edx, esi
call fcn.0049c99b
add esp, 0x20
lea ecx, [esp + 0x28]
push eax
call fcn.0049fd9e
mov byte [esp + 0x68], 1
lea eax, [esp + 0x28]
push 0xb
jmp 0x49ce99
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x70]
push 0xc
cmp byte [eax + 0x40], 0
pop ebx
mov byte [ebp + 0x40], 0
je 0x49ceb0
push eax
mov ecx, ebp
call fcn.0049fd9e
mov byte [ebp + 0x40], 1
test bl, 4
je 0x49ced7
and ebx, 0xfffffffb
cmp byte [esp + 0xb0], 0
je 0x49ced7
lea ecx, [esp + 0x88]
call fcn.0048b310
lea ecx, [esp + 0x70]
call fcn.00451219
test bl, 2
je 0x49cef8
and ebx, 0xfffffffd
cmp byte [esp + 0x68], 0
je 0x49cef8
lea ecx, [esp + 0x40]
call fcn.0048b310
lea ecx, [esp + 0x28]
call fcn.00451219
test bl, 1
je 0x49cf15
lea ecx, [esp + 0xd0]
call fcn.0048b310
lea ecx, [esp + 0xb8]
call fcn.00451219
push esi
call fcn.00610fac
pop ecx
mov ecx, dword [esp + 0xfc]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006109fe
add esp, 0xf4
ret
Function at 0x4a23d0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4a2527
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x4a2527
cmp ecx, 0x29
jne 0x4a2410
cmp dword [esi + 0x10], 0
jne 0x4a2527
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x4a252b
jmp 0x4a24e5
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x4a242e
push 5
lea ecx, [esi + 0x24]
call fcn.004662b6
mov ecx, esi
call fcn.004a23a8
jmp 0x4a2515
cmp ecx, 0x5c
jne 0x4a247f
mov ecx, esi
call fcn.004a23a8
test byte [edi], 0x80
je 0x4a2473
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4a245c
push 4
lea ecx, [esi + 0x24]
call fcn.004662b6
mov ecx, esi
call fcn.004a23a8
jmp 0x4a251c
cmp al, 0x42
jne 0x4a2473
push 4
lea ecx, [esi + 0x24]
call fcn.004662b6
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4a2450
mov ecx, esi
call fcn.004a26c3
jmp 0x4a2515
cmp ecx, 0x5b
jne 0x4a249f
mov ecx, esi
call fcn.004a23a8
mov ecx, esi
call fcn.004a2677
cmp dword [esi + 0x4c], 0x5d
je 0x4a2422
push 4
jmp 0x4a252d
cmp ecx, 0x28
jne 0x4a24bc
mov ecx, esi
call fcn.004a23a8
mov ecx, esi
call fcn.004a279b
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4a252b
jmp 0x4a250a
cmp ecx, 0x5e
jne 0x4a24c5
push 2
jmp 0x4a2448
cmp ecx, 0x24
jne 0x4a24d1
push 3
jmp 0x4a2448
cmp ecx, 0x2a
je 0x4a2523
cmp ecx, 0x2b
je 0x4a2523
cmp ecx, 0x3f
je 0x4a2523
cmp ecx, 0x7b
je 0x4a2523
cmp ecx, 0x7d
jne 0x4a24f2
test dword [edi], edx
jne 0x4a24fb
push 6
jmp 0x4a252d
cmp ecx, 0x5d
jne 0x4a24fb
test dword [edi], edx
je 0x4a2498
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a28e6
mov bl, 1
mov ecx, esi
call fcn.004a23a8
test bl, bl
je 0x4a251c
mov ecx, esi
call fcn.004a2820
mov al, 1
jmp 0x4a23d7
push 0xa
jmp 0x4a252d
pop edi
pop esi
pop ebx
ret
push 5
call fcn.00465290
int3
Function at 0x4b03d4
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x668c39
call fcn.0065a213
mov esi, ecx
push 8
xor ebx, ebx
call fcn.006111ae
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [edx], ebx
mov dword [edx + 4], ebx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x4b083a
push ebx
push ebx
call fcn.00640450
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4b042d
mov eax, esi
call fcn.0065a1e1
ret 4
push 6
mov dword [edi], ebx
call fcn.006142af
int3