joyce8/EMBER2024-capa huggingface dataset:
Function at 0x960e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x794015
lea edi, [esi - 0x393015]
push edi
or ebp, 0xffffffff
jmp 0x960e92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x960e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x960e88
mov eax, 1
add ebx, ebx
jne 0x960eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x960ebc
jne 0x960edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x960edb
dec eax
add ebx, ebx
jne 0x960ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x960ea0
add ebx, ebx
jne 0x960ed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x960f2d
xor ecx, ecx
sub eax, 3
jb 0x960ef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x960f62
sar eax, 1
mov ebp, eax
jmp 0x960efe
add ebx, ebx
jne 0x960efe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x960ecc
inc ecx
add ebx, ebx
jne 0x960f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x960ecc
add ebx, ebx
jne 0x960f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x960f0e
jne 0x960f2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x960f0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x960f4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x960f3e
jmp 0x960e8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x960f4c
add edi, ecx
jmp 0x960e8e
pop esi
mov edi, esi
mov ecx, 0xce8a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x960f6a
cmp byte [edi], 0x26
jne 0x960f6a
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 0x960f6f
lea edi, [esi + 0x54f000]
mov eax, dword [edi]
or eax, eax
je 0x960fde
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x561000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x561028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x960f9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x561030]
or eax, eax
je 0x960fd8
mov dword [ebx], eax
add ebx, 4
jmp 0x960fb9
call dword [esi + 0x56102c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x961018
cmp al, 0xef
ja 0x961002
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x960fe4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x960ff1
mov eax, dword [edi]
add edi, 4
jmp 0x960ff1
mov ebp, dword [esi + 0x561034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x96104c
sub esp, 0xffffff80
jmp 0x468c20
Function at 0x402acf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x208
push eax
push 0
push 0x401414
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x402b30
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x402b2b
shr eax, 1
xor ecx, ecx
cmp cx, word [esi + eax*2 - 2]
jne 0x402b2b
mov eax, dword [ebp - 8]
sub eax, 1
je 0x402b27
sub eax, 1
jne 0x402b2b
mov ecx, esi
call fcn.004029da
test eax, eax
jne 0x402b30
xor eax, eax
jmp 0x402b30
mov eax, 0x3f7
pop esi
leave
ret 8

Function at 0x402f00
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x403510
call fcn.00403288
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043c0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d28
cmp eax, esi
jne 0x402d1b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d2b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402cff
xor esi, esi
inc esi
cmp dword [0x4043c4], esi
jne 0x402d3d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402d77
cmp dword [0x4043c4], ebx
jne 0x402d71
mov dword [0x4043c4], esi
push 0x4011a0
push 0x401194
call fcn.00402e5c
pop ecx
pop ecx
test eax, eax
je 0x402d77
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402e4c
mov dword [0x404034], esi
cmp dword [0x4043c4], esi
jne 0x402d9a
push 0x401190
push 0x401184
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043c4], 2
test edi, edi
jne 0x402da7
xor eax, eax
mov ecx, 0x4043c0
xchg dword [ecx], eax
cmp dword [0x4043c8], 0
je 0x402dd3
push 0x4043c8
call fcn.004030e0
pop ecx
test eax, eax
je 0x402dd3
push ebx
push 2
push ebx
mov esi, dword [0x4043c8]
mov ecx, esi
call dword [0x405168]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401ae1
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402e31
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402e45
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004031d5
jmp 0x402ce3
Function at 0x401060
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x228]
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov esi, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov ebx, 1
call fcn.00401150
test eax, eax
je 0x4010c9
mov ebx, 0x101
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401137
mov ecx, dword [esp + 0x10]
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esi]
mov ebx, eax
cmp esi, 2
je 0x401107
cmp esi, 1
jne 0x40112a
push 0x104
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
mov dword [ebp], eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00432b6a
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043094a
add esp, 0x21c
ret

Function at 0x401150
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x418
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push str.kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, eax
test esi, esi
je 0x4011d7
push edi
push str.IsWow64Process
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4011cf
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x4011cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Is32BitAppOn64BitOS___:_IsWow64Process___err___d
lea ecx, [esp + 0x18]
push 0x208
push ecx
call fcn.00431171
add esp, 0x10
lea edx, [esp + 0x10]
push edx
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
cmp dword [esp + 8], 0
mov eax, str.32_bit_app_on_64_bit_OS
jne 0x4011e8
mov eax, str.32_bit_app_on_32_bit_OS
push eax
push str.Is32BitAppOn64BitOS___:_IsWow64Process___ret___s
lea eax, [esp + 0x14]
push 0x208
push eax
call fcn.00431171
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call ebx
mov ecx, dword [esp + 0x41c]
mov eax, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.0043094a
add esp, 0x418
ret
Function at 0x401290
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x828
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
mov esi, dword [esp + 0x830]
mov dword [esp + 4], 0
test esi, esi
je 0x40136c
cmp word [esi], 0
je 0x40136c
cmp dword [esp + 0x834], 0
je 0x40136c
push edi
mov edi, 0xf003f
call fcn.00401150
test eax, eax
je 0x4012e8
mov edi, 0xf013f
lea eax, [esp + 8]
push eax
push edi
push 0
push esi
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
test eax, eax
je 0x401326
push eax
push str.RegOpenKeyEx___err___d._n
lea ecx, [esp + 0x10]
push 0x410
push ecx
call fcn.00431171
add esp, 0x10
lea edx, [esp + 8]
push edx
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x40136c
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
test eax, eax
je 0x40135d
push eax
push str.RegOverridePredefKey___err___d._n
lea eax, [esp + 0x10]
push 0x410
push eax
call fcn.00431171
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x40136c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x828]
pop esi
xor ecx, esp
call fcn.0043094a
add esp, 0x828
ret

Function at 0x401390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, 4
xor ebp, ebp
mov esi, ecx
push 0x208
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esi + 4]
push ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call fcn.004308d0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 1
push ebp
push ebx
push edi
mov dword [esi], ebp
mov dword [esi + 0x20c], ebp
mov dword [esi + 0x210], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40142a
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push ebp
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20c], eax
test eax, 0x1000
je 0x401445
mov dword [esi + 0x210], 1
mov ecx, esi
call fcn.004014e0
cmp dword [esi + 0x210], ebp
je 0x401487
mov eax, dword [esi]
cmp eax, ebp
je 0x401465
push eax
call fcn.00431496
add esp, 4
mov dword [esi], ebp
lea eax, [esi + 4]
push 0x496ed0
push eax
call fcn.004315d8
add esp, 8
mov dword [esi], eax
cmp eax, ebp
je 0x401487
push eax
call fcn.00431496
add esp, 4
mov dword [esi], ebp
push str.Log_started.
push 0x10
push esi
call fcn.00401600
mov ecx, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043094a
add esp, 0x18
ret 0xc
Function at 0x4014e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
mov esi, ecx
cmp dword [esi + 0x210], 0
je 0x4015e1
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004308d0
xor eax, eax
push 0x200
push eax
lea ecx, [esp + 0x430]
push ecx
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
call fcn.004308d0
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea eax, [esp + 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea ecx, [esp + 0x218]
push ecx
push 0
mov edx, ecx
push 0
push edx
call fcn.00431c8a
push 0
push 0
lea eax, [esp + 0x438]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00431c8a
push 0x496ed8
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x44c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00431a4f
lea eax, [esp + 0x48]
add esp, 0x3c
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4015c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
add esi, 4
push esi
call fcn.00432b6a
add esp, 0xc
mov ecx, dword [esp + 0x61c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043094a
add esp, 0x61c
ret
Function at 0x401600
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x834
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x830], eax
mov eax, dword [esp + 0x83c]
push esi
mov esi, dword [esp + 0x83c]
test dword [esi + 0x20c], eax
je 0x4017a8
cmp dword [esi + 0x210], 0
je 0x401658
cmp dword [esi], 0
jne 0x401658
lea ecx, [esi + 4]
push 0x496ed4
push ecx
call fcn.004315d8
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x4017a8
xor eax, eax
push edi
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [esi + 0x210], 0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x4016c9
movzx eax, word [esp + 0x16]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
push eax
movzx eax, word [esp + 0x14]
push ecx
movzx ecx, word [esp + 0x10]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x1e]
push ecx
mov ecx, dword [esi]
push edx
push eax
push 0x496ee0
push ecx
call fcn.00432bb4
mov edx, dword [esi]
push edx
call fcn.00432ea5
add esp, 0x28
jmp 0x401722
push 0x820
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004308d0
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
movzx eax, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x1c]
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x2a]
push edx
push eax
push ecx
push str._n_.2d._.2d._.2d__.2d:_.2d:_.2d:_.3d
lea edx, [esp + 0x44]
push 0x410
push edx
call fcn.00432c48
add esp, 0x34
lea eax, [esp + 0x18]
push eax
call edi
cmp dword [esi + 0x210], 0
je 0x401750
mov edx, dword [esp + 0x848]
mov eax, dword [esi]
lea ecx, [esp + 0x84c]
push ecx
push edx
push eax
call fcn.00433085
mov ecx, dword [esi]
push ecx
call fcn.00432ea5
add esp, 0x10
jmp 0x401792
push 0x820
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.004308d0
mov ecx, dword [esp + 0x854]
lea eax, [esp + 0x858]
push eax
push ecx
lea edx, [esp + 0x2c]
push 0x410
push edx
call fcn.00432fd5
add esp, 0x1c
cmp word [esp + 0x18], 0
je 0x401792
lea eax, [esp + 0x18]
push eax
call edi
mov eax, dword [esi]
pop edi
test eax, eax
je 0x4017a8
push eax
call fcn.00431496
add esp, 4
mov dword [esi], 0
mov ecx, dword [esp + 0x834]
pop esi
xor ecx, esp
call fcn.0043094a
add esp, 0x834
ret
Function at 0x404cc0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esi + 0xc]
sub esp, 0x1c
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x404cd8
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x404ceb
push eax
call ebx
mov dword [esi + 8], edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x404cfd
push eax
call ebx
mov dword [esi + 4], 0xffffffff
mov eax, dword [esp + 0x28]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x404dc2
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
cmp eax, edi
je 0x404d92
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x404d8c
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
push 0x1c
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x404d8c
mov edx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x10], edx
mov al, 1
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esi + 8]
push eax
call ebx
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x404da3
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x404db0
push eax
call ebx
mov dword [esi + 8], edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x404dc2
push eax
call ebx
mov dword [esi + 4], 0xffffffff
pop edi
xor al, al
pop ebx
add esp, 0x1c
ret 4

Function at 0x404e80
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
jne 0x404e87
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x404e84
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404e84
mov eax, dword [eax + 0x98]
test eax, eax
je 0x404e84
add ecx, eax
je 0x404e84
lea edx, [ecx + 8]
test edx, edx
je 0x404e84
cmp byte [edx], 0x30
lea eax, [edx + 1]
jne 0x404e84
mov dl, byte [eax]
inc eax
cmp dl, 0x82
jne 0x404e84
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
lea eax, [edx + eax + 0x13]
and eax, 0xffffff8
je 0x404e84
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov al, 1
ret
Function at 0x409510
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 0x4c]
xor al, al
cmp ecx, 0xffffffff
je 0x409685
cmp ecx, 0x7c
je 0x409685
xor esi, esi
cmp ecx, 0x29
jne 0x409555
cmp dword [edi + 0x1c], esi
jne 0x409685
mov eax, 0x10000000
test dword [edi + 0x50], eax
jne 0x40955a
push 5
call fcn.0042ef38
add esp, 4
jmp 0x409670
mov eax, 0x10000000
cmp ecx, 0x2e
jne 0x4095b8
push 0x14
call fcn.0043230f
add esp, 4
cmp eax, esi
je 0x409585
mov dword [eax], vtable.std::tr1::_Node_base.0
mov dword [eax + 4], 5
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
jmp 0x409587
xor eax, eax
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x10], ecx
mov edx, dword [edi + 0x28]
mov ecx, dword [edx + 0xc]
cmp ecx, esi
je 0x4095a3
mov dword [eax + 0xc], ecx
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 0x28]
mov dword [ecx + 0xc], eax
mov dword [edi + 0x28], eax
mov eax, edi
call fcn.00409460
jmp 0x409670
cmp ecx, 0x5c
jne 0x409616
mov eax, edi
call fcn.00409460
mov eax, dword [edi + 0x50]
and eax, 0x80
je 0x4095e8
cmp byte [edi + 0x4a], 0x62
jne 0x4095e8
lea esi, [edi + 0x24]
call fcn.0040ac90
mov eax, edi
call fcn.00409460
jmp 0x409677
cmp eax, esi
je 0x40960d
cmp byte [edi + 0x4a], 0x42
jne 0x40960d
lea esi, [edi + 0x24]
call fcn.0040ac90
mov eax, dword [edi + 0x28]
or dword [eax + 8], 1
add eax, 8
mov eax, edi
call fcn.00409460
jmp 0x409677
mov eax, edi
call fcn.0040a990
jmp 0x409670
cmp ecx, 0x5b
jne 0x409640
mov eax, edi
call fcn.00409460
call fcn.0040a920
cmp dword [edi + 0x4c], 0x5d
je 0x409637
push 4
call fcn.0042ef38
add esp, 4
mov eax, edi
call fcn.00409460
jmp 0x409670
cmp ecx, 0x28
jne 0x409689
mov eax, edi
call fcn.00409460
mov eax, edi
call fcn.0040aa40
cmp dword [edi + 0x4c], 0x29
mov bl, al
je 0x409665
push 5
call fcn.0042ef38
add esp, 4
mov eax, edi
call fcn.00409460
test bl, bl
je 0x409677
mov eax, edi
call fcn.0040ab00
mov ecx, dword [edi + 0x4c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x409523
pop edi
pop esi
pop ebx
ret
cmp ecx, 0x5e
jne 0x40969f
lea esi, [edi + 0x24]
call fcn.0040abf0
mov eax, edi
call fcn.00409460
jmp 0x409677
cmp ecx, 0x24
jne 0x4096b5
lea esi, [edi + 0x24]
call fcn.0040ac40
mov eax, edi
call fcn.00409460
jmp 0x409677
cmp ecx, 0x2a
je 0x409711
cmp ecx, 0x2b
je 0x409711
cmp ecx, 0x3f
je 0x409711
cmp ecx, 0x7b
je 0x409711
cmp ecx, 0x7d
jne 0x4096df
test dword [edi + 0x50], eax
jne 0x4096df
push 6
call fcn.0042ef38
add esp, 4
jmp 0x409670
cmp ecx, 0x5d
jne 0x4096f8
test dword [edi + 0x50], eax
jne 0x4096f8
push 4
call fcn.0042ef38
add esp, 4
jmp 0x409670
movzx edx, byte [edi + 0x4a]
push edx
lea eax, [edi + 0x24]
call fcn.0040ace0
mov eax, edi
call fcn.00409460
jmp 0x409670
push 0xa
call fcn.0042ef38
add esp, 4
jmp 0x409670
Function at 0x40c870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x487170
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4a2120]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2120]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
mov esi, ecx
mov ecx, dword [esp + 0x78]
mov ebp, dword [esi + 4]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x34], esi
call fcn.0040ca90
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x1c], eax
jmp 0x40c8e4
mov esi, dword [esp + 0x20]
mov dl, byte [esp + 0x1c]
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f], dl
mov edx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040cd10
cmp dword [esp + 0x58], 0x10
mov ecx, dword [esp + 0x44]
jae 0x40c911
lea ecx, [esp + 0x44]
mov esi, dword [eax + 0x14]
mov edx, esi
cmp edx, esi
jae 0x40c91a
mov ebx, dword [esp + 0x54]
mov edi, esi
cmp esi, ebx
jb 0x40c926
mov edi, ebx
cmp dword [eax + 0x18], 0x10
jb 0x40c931
mov edx, dword [eax + 4]
jmp 0x40c934
lea edx, [eax + 4]
mov eax, edi
call fcn.00404fb0
test eax, eax
jne 0x40c951
cmp esi, ebx
jae 0x40c948
or eax, 0xffffffff
jmp 0x40c94f
xor eax, eax
cmp esi, ebx
setne al
test eax, eax
sete bl
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], 0x10
jb 0x40c96d
mov edx, dword [esp + 0x28]
push edx
call fcn.0043069a
add esp, 4
test bl, bl
je 0x40c9c0
cmp dword [ebp + 0x18], 0
jne 0x40c9a5
push 0x20
call fcn.0043230f
add esp, 4
test eax, eax
je 0x40c9a0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
jmp 0x40c9a2
xor eax, eax
mov dword [ebp + 0x18], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, esi
shr ecx, 3
add eax, ecx
mov ecx, esi
and ecx, 7
mov dl, 1
shl dl, cl
or byte [eax], dl
jmp 0x40c9c4
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov dword [esp + 0x1c], esi
jl 0x40c8e0
cmp dword [esp + 0x58], 0x10
jb 0x40c9e9
mov eax, dword [esp + 0x44]
push eax
call fcn.0043069a
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0043094a
add esp, 0x58
ret 0x10

Function at 0x40ed10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40ed20
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40ed30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc