joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439660
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439693
push esi
call fcn.0043c750
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43968c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439719
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439702
mov eax, dword [esi + 8]
test eax, eax
je 0x4396b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4396fe
cmp eax, 2
je 0x439702
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4396aa
cmp eax, 3
je 0x4396dd
cmp eax, 1
jne 0x4396aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4396aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4396aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439740
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439728
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439740
add esp, 4
pop esi
ret

Function at 0x460fac
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460fe4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045f063
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f03b
jmp 0x460ff0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46269e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4626e0
call fcn.0046838d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4626e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4626d7
xor eax, eax
jmp 0x4626e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004626ee
pop edi
pop esi
pop ebx
ret 4

Function at 0x4688bd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4688eb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468909
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468823
jmp 0x468909
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468909
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468823
test edi, edi
mov eax, edi
jne 0x4688f3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40ffd0
Capabilities:
Parse pe header

Disassembly:
add dword [eax], eax
add byte [edi - 0x75], dl
jle 0x40ffe3
cmp edi, 0xffffffff
jne 0x40ffe4
xor eax, eax
inc eax
jmp 0x4101c2
add byte [ebx], dh
ror byte [ecx - 0x3c74f7ab], cl
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40fffa
cmp ecx, edx
jae 0x41013f
cmp dword [eax + 4], 0
je 0x410003
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40ffeb
cmp dword [ebp + 8], 0
je 0x410025
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41013f
cmp eax, esi
jae 0x41013f
mov eax, dword [0x40abb0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41004a
cmp dword [esi*4 + 0x40abb8], edi
je 0x410143
inc esi
cmp esi, eax
jl 0x410038
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4080ac]
test eax, eax
je 0x4101bf
cmp dword [ebp - 8], 0x1000000
jne 0x4101bf
test byte [ebp - 0xc], 0xcc
je 0x4100c8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4101bf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4101bf
cmp word [eax + 0x18], 0x10b
jne 0x4101bf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4101bf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4100c8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4100c8
test byte [ecx + 0x27], 0x80
jne 0x41013f
push 1
push 0x40abf8
call dword [0x4080a8]
test eax, eax
jne 0x40ffdc
mov ecx, dword [0x40abb0]
test ecx, ecx
mov edx, ecx
jle 0x4100fc
lea eax, [ecx*4 + 0x40abb4]
cmp dword [eax], edi
je 0x4100fc
dec edx
sub eax, 4
test edx, edx
jg 0x4100f0
test edx, edx
jne 0x41012d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x410109
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x410121
lea eax, [edx*4 + 0x40abb8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41010f
cmp ecx, 0x10
jge 0x41012d
inc ecx
mov dword [0x40abb0], ecx
push 0
push 0x40abf8
call dword [0x4080a8]
jmp 0x40ffdc
xor eax, eax
jmp 0x4101c2
test esi, esi
jle 0x40ffdc
mov ebx, dword [0x4080a8]
push 1
push 0x40abf8
call ebx
test eax, eax
jne 0x40ffdc
cmp dword [esi*4 + 0x40abb8], edi
je 0x410199
mov eax, dword [0x40abb0]
lea esi, [eax - 1]
test esi, esi
jl 0x410187
cmp dword [esi*4 + 0x40abb8], edi
je 0x410183
dec esi
jns 0x410177
test esi, esi
jge 0x410197
cmp eax, 0x10
jge 0x410192
inc eax
mov dword [0x40abb0], eax
lea esi, [eax - 1]
jmp 0x410199
je 0x4101b1
xor ecx, ecx
test esi, esi
jl 0x4101b1
lea eax, [ecx*4 + 0x40abb8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41019f
push 0
push 0x40abf8
call ebx
jmp 0x40ffdc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7f09e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x272000]
push edi
or ebp, 0xffffffff
jmp 0x7f0a02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7f0a09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f09f8
mov eax, 1
add ebx, ebx
jne 0x7f0a1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7f0a2c
jne 0x7f0a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f0a4b
dec eax
add ebx, ebx
jne 0x7f0a38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7f0a10
add ebx, ebx
jne 0x7f0a47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7f0a9d
xor ecx, ecx
sub eax, 3
jb 0x7f0a63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7f0ad2
sar eax, 1
mov ebp, eax
jmp 0x7f0a6e
add ebx, ebx
jne 0x7f0a6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f0a3c
inc ecx
add ebx, ebx
jne 0x7f0a7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7f0a3c
add ebx, ebx
jne 0x7f0a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7f0a7e
jne 0x7f0a9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7f0a7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7f0abc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7f0aae
jmp 0x7f09fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7f0abc
add edi, ecx
jmp 0x7f09fe
pop esi
mov edi, esi
mov ecx, 0xd082
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7f0ada
cmp byte [edi], 0xa3
jne 0x7f0ada
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7f0adf
lea edi, [esi + 0x3ec000]
mov eax, dword [edi]
or eax, eax
je 0x7f0b4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f26d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f27fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7f0b0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f2800]
or eax, eax
je 0x7f0b48
mov dword [ebx], eax
add ebx, 4
jmp 0x7f0b29
call dword [esi + 0x3f2808]
mov ebp, dword [esi + 0x3f2804]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7f0b82
sub esp, 0xffffff80
jmp 0x5b7480
Function at 0x401000
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
lea edi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x5c
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [esp], 0xfffffff5
mov dword [ebp - 0x2c], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x401050
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x40], edx
call edx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [ebp - 0x38], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x401048
mov edx, dword [ebp - 0x40]
call edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov esi, dword [ebp - 0x2c]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call esi
mov edx, dword [ebp - 0x30]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov ecx, dword [ebp - 0x3c]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4018a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4018fb
cmp byte [esi + ebx - 1], 0xa
je 0x4018cf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402360
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x403630
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4350d0
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c5d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0065b0f8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0065a9e4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0065a9e4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0065a9e4
mov byte [ebp - 4], 3
push 0x659dea
push 0x659de4
push 9
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
call fcn.0065c5b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.0065afa2
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.0065a9e4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.0065a9e4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.0065a9e4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x68bb48
push 0x6dc3b4
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0065abd6
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0x6e
push 0x6dc3c8
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0065abd6
push 0x6dc3cc
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0065abd6
push 0x6dc3d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.0065abd6
push 0x6dc3e4
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0065abd6
push 0x6dc3ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0065abd6
push 0x6dc3f4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0065abd6
push 0x6dc3fc
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0065abd6
push 0x6dc404
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0065abd6
push 0x6dc40c
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0065abd6
push 0x6dc414
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0065abd6
push 0x6dc418
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0065abd6
push 0x6dc420
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0065abd6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4592e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0065b056
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0065a9e4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0065a9e4
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x68d208
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x459367
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f256
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x68d208
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x24], 0
je 0x4593c9
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x4593c2
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00403120
mov dword [ebp - 0x1c], eax
jmp 0x4593c9
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.0065a9ea
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.0065a9ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.0065b038
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x471b2f
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x96c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
call fcn.004ffa9e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx + 0x96c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov al, byte [edx + 0x970]
mov byte [ebp - 4], al
movsx ecx, byte [ebp - 4]
cmp ecx, 0x2b
je 0x471bc8
movsx edx, byte [ebp - 4]
cmp edx, 0x2d
je 0x471bc8
movsx eax, byte [ebp - 4]
cmp eax, 0x2a
je 0x471bc8
movsx ecx, byte [ebp - 4]
cmp ecx, 0x2f
je 0x471bc8
movsx edx, byte [ebp - 4]
cmp edx, 0x3d
je 0x471bc8
movsx eax, byte [ebp - 4]
cmp eax, 0x29
je 0x471bc8
movsx ecx, byte [ebp - 4]
cmp ecx, 0x5e
je 0x471bc8
movsx edx, byte [ebp - 4]
cmp edx, 0x40
je 0x471bc8
movsx eax, byte [ebp - 4]
cmp eax, 0x3b
je 0x471bc8
mov eax, 1
jmp 0x471c01
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov byte [edx + 0x970], 0x69
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov byte [ecx + 0x971], 0x66
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov byte [eax + 0x972], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x9b4], 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x51eab3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67747c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov cx, word [eax]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp + 8]
mov ax, word [edx + 8]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 4]
mov word [ebp - 0x18], dx
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x10]
mov word [ebp - 0x16], cx
mov edx, dword [ebp + 8]
mov ax, word [edx + 0xc]
mov word [ebp - 0x14], ax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x528
call fcn.0050c935
mov esi, eax
mov edi, dword [ebp + 0xc]
sub edi, 1
mov ecx, dword [ebp - 0x28]
add ecx, 0x528
call fcn.0050c847
imul edi, eax
add esi, edi
mov dword [ebp - 0x20], esi
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0xc44]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc44]
mov eax, dword [edx]
call dword [eax + 0x30]
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0xc44]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc44]
mov eax, dword [edx]
call dword [eax + 0x40]
jmp 0x51eb92
mov dword [ebp - 4], 0xffffffff
xor ax, ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x51ebaf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x528
call fcn.0050c935
mov esi, eax
mov edi, dword [ebp + 0xc]
sub edi, 1
mov ecx, dword [ebp - 0x28]
add ecx, 0x528
call fcn.0050c847
imul edi, eax
add esi, edi
mov dword [ebp - 0x20], esi
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xc44]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc44]
mov edx, dword [eax]
call dword [edx + 0x30]
push 0xa
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xc44]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc44]
mov edx, dword [eax]
call dword [edx + 0x3c]
movsx eax, word [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
movsx edx, word [ebp - 0x1a]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
movsx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
movsx eax, word [ebp - 0x16]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
movsx edx, word [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
jmp 0x51ec89
mov dword [ebp - 4], 0xffffffff
xor ax, ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46701b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045bd9b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00459cea
mov eax, dword [eax]
push 0x47d200
push eax
call fcn.0044c9b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045c026
test bl, bl
je 0x40a202
push 0x47d200
lea ecx, [esp + 0xc]
call fcn.0045c3b6
push 0x480d58
lea ecx, [esp + 0xc]
call fcn.0045c3b6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045c026
jmp 0x40a309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a2c2
lea edx, [esp + 0x7c]
push 0x480d54
push edx
call fcn.0044c9b4
add esp, 8
test eax, eax
je 0x40a2c2
lea eax, [esp + 0x7c]
push 0x480d50
push eax
call fcn.0044c9b4
add esp, 8
test eax, eax
je 0x40a2c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045c026
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40ab00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40ab62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc