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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4512e3
push esi
call fcn.0045f650
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4512dc
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 0x451369
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451352
mov eax, dword [esi + 8]
test eax, eax
je 0x451307
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 0x45134e
cmp eax, 2
je 0x451352
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4512fa
cmp eax, 3
je 0x45132d
cmp eax, 1
jne 0x4512fa
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 0x4512fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4512fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451390
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451378
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451390
add esp, 4
pop esi
ret

Function at 0x451c00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x451c21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x451c21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x451c21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47f9c0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47f9f8
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.0047da74
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047da4c
jmp 0x47fa04
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4810ae
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 0x4810f0
call fcn.00486b6c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4810f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4810e7
xor eax, eax
jmp 0x4810f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004810fe
pop edi
pop esi
pop ebx
ret 4
Function at 0x48709c
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 0x4870ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4870e8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00487002
jmp 0x4870e8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4870e8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00487002
test edi, edi
mov eax, edi
jne 0x4870d2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcl ebx, 0xd7
mov edx, 0xb8
mov eax, 0x99
imul edx
rcl esi, 0xc0
not ebx
mov eax, 0x3e
rcl esi, 0xa4
or esi, 0xa4
sub eax, 0x7c
sbb edi, 0x5e
bswap esi
rcr esi, 0x7b
or esi, 0x21
mov edx, 0xa4
rcl eax, 0xd8
bswap ebx
ror edi, 0x36
rol edi, 0x50
and edi, 0x47
rol esi, 0xea
and esi, 0
not esi
or edx, 0x77
rcr ebx, 0x71
inc eax
neg edx
neg eax
dec esi
sbb ebx, 0xd0
bswap edi
imul edi
inc edi
imul edi
not edx
not ebx
inc esi
imul eax
imul esi
inc edx
and edx, 0xee
or edi, 0xe1
sbb edx, 0xdd
neg eax
and ebx, 7
dec eax
neg ebx
inc eax
dec esi
bswap eax
xor ecx, ecx
xor edi, edi
inc eax
and edi, 0x39
and eax, 0x40
dec eax
sbb edx, 0x63
and ebx, 0x1b
neg eax
not edx
inc ebx
add esi, 0x72
sbb edx, 0xd
neg esi
bswap edi
add ebx, 0xac
not edx
rcr ebx, 0xd7
sbb eax, 5
rcl edi, 0xdf
dec eax
not edi
sbb eax, 0x7d
sub ebx, 0x59
and ebx, 0x28
rol eax, 0x6f
add edi, 0x42
neg esi
neg eax
sbb ebx, 0x42
rcl ebx, 0xb0
neg esi
rcr edx, 0xec
sbb edi, 0x2c
rcl esi, 0x89
sub edx, 5
bswap esi
neg ebx
imul edi
sub edx, 0xf5
dec edx
imul edi
neg esi
neg eax
sub edx, 7
neg esi
neg edi
or eax, 0x8d
rcl edx, 0x51
imul eax
or esi, 0xa8
bswap ebx
mov ecx, dword [ebp + 0xc]
imul edi
rol eax, 0xf2
inc ebx
dec edi
not eax
neg eax
imul esi
and edi, 0x98
ror edi, 0xd4
and ebx, 0x33
not edi
neg edx
sub edx, 0x31
rcl edi, 0xa1
and ebx, 0x3f
rol edx, 0xff
sbb edi, 0x3e
dec edi
neg edx
dec edi
inc esi
neg eax
dec esi
imul ebx
sbb edi, 0x4a
imul edi
add edx, 0x43
imul edx
imul esi
dec edi
bswap edi
mov eax, 0xf4
not eax
sub edi, 0x9b
rcr eax, 0xdf
neg edi
dec eax
not edi
rol esi, 5
mov ebx, 0xf9
rcl edi, 0x6f
imul edi
rcl eax, 0x1f
dec esi
bswap edi
ror esi, 0x70
dec edx
not eax
sub eax, 0x13
mov edx, 0xdd
mov edi, dword [ebp + 8]
mov esi, ebx
xor esi, ebx
xor esi, ebx
not byte [edi]
mov ebx, eax
xor esi, eax
mov esi, eax
xor ebx, esi
mov ebx, ebx
xor esi, esi
mov esi, ebx
xor ebx, esi
mov esi, ebx
add byte [edi], 0x48
xor eax, ebx
mov eax, esi
mov esi, ebx
mov esi, esi
xor eax, esi
mov ebx, ebx
xor ebx, eax
mov eax, eax
xor ebx, esi
sub byte [edi], 0x97
mov esi, ebx
xor ebx, esi
mov eax, esi
xor ebx, esi
mov ebx, eax
mov esi, ebx
mov esi, eax
mov esi, eax
xor eax, esi
imul byte [edi]
inc edi
loop 0x4013c1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4060e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404fce
and dword [ebp - 4], 0
cmp dword [0x445260], 0
mov ebx, eax
jne 0x406194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406245
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406245
push eax
call fcn.00404f5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x445260], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x445264], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x445268], eax
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x445270], eax
test eax, eax
je 0x406194
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x44526c], eax
mov eax, dword [0x44526c]
cmp eax, ebx
je 0x4061ec
cmp dword [0x445270], ebx
je 0x4061ec
push eax
call fcn.00404fd7
push dword [0x445270]
mov esi, eax
call fcn.00404fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061ec
test edi, edi
je 0x4061ec
call esi
test eax, eax
je 0x4061e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061e3
test byte [ebp - 0xc], 1
jne 0x4061ec
or dword [ebp + 0x10], 0x200000
jmp 0x406225
mov eax, dword [0x445264]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406225
mov eax, dword [0x445268]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445260]
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406245
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406247
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444a08]
jne 0x407f58
repz ret
jmp fcn.00409675
Function at 0x1004627
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ebx, 0x7fffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, esi
imul eax, edx, 0x10dcd
add eax, 0x116c5
xor edx, edx
div ebx
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
loop 0x100463c
popal
leave
ret 0xc
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40d054], 1
mov dword [0x40d050], 1
mov dword [0x40d04c], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40d00c], eax
mov eax, dword [0x40d060]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40d074]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40d05c]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x409018], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x401a10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x401a70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40d068]
test esi, esi
jle 0x401b90
mov eax, dword [0x40d06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401aa4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401b27
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a90
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401bb7
mov eax, dword [0x40d06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x40d06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401b20
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401b30
add dword [0x40d068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40d06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401b20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401aae
mov eax, dword [0x40d06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop

Function at 0x4020d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40d084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40d07c]
sub esp, 4
test ebx, ebx
je 0x402125
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40211e
test esi, esi
je 0x40211e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402100
mov dword [esp], 0x40d084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402350
Capabilities:
Parse pe header
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_exit]
Function at 0x402480
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4024a5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4024b0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4024a5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x4024f8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4024ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4024fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4024e0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4012bc
Capabilities:
Write file on windows

Disassembly:
jmp 0x413360
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
dec eax
push ebx
mov edx, dword [esp + 0x10]
push esi
lea esi, [ecx + eax*4]
mov ecx, dword [0x488470]
mov eax, dword [esp + 0x18]
push edi
shl esi, 3
push 0x4846d0
push ecx
lea edi, [esi + 0x488850]
mov dword [edi], edx
mov dword [edi + 4], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
push 0
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
push ebx
push 1
push 8
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x401375
Capabilities:
Read file on windows

Disassembly:
jmp 0x4516e0
mov eax, dword [0x48847c]
push esi
push edi
push 0x48468c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ecx, dword [esp + 0x14]
mov esi, eax
push 0
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 9
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp eax, 3
ja case.default.0x451724
jmp dword [eax*4 + 0x45176c]
mov edi, 0x75d520
jmp 0x45174c
mov edi, 0x6eff20
jmp 0x45174c
mov edi, 0x682920
jmp 0x45174c
mov edi, 0x615320
jmp 0x45174c
mov edi, 0x5a7d20
push esi
push 0x1f40
push 0x38
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, edi
pop edi
pop esi
ret
Function at 0x401474
Capabilities:
Encode data using add xor sub operations

Disassembly:
jmp 0x412250
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x412280
mov eax, dword [esp + 0xc]
push esi
lea esi, [eax + edi*4 - 4]
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push 1
push eax
call fcn.004013ca
mov ecx, dword [esi]
add esp, 0xc
xor eax, ecx
sub esi, 4
dec edi
jne 0x412266
pop esi
pop edi
ret
mov eax, dword [esp + 8]
pop edi
ret

Function at 0x4014a1
Capabilities:
Shutdown system

Disassembly:
jmp 0x417370
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret

Function at 0x4014a6
Capabilities:
Write file on windows

Disassembly:
jmp 0x4134e0
push ebx
mov ecx, dword [0x488474]
push esi
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
sub edi, 0xc8
push 0x4846d0
push ecx
lea ebx, [edi*4 + 0x4882d8]
mov dword [ebx], eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edx, dword [0x48565c]
mov esi, eax
push 0
lea eax, [edx + edi*4]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
push 1
push 4
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x401519
Capabilities:
Write file on windows

Disassembly:
jmp 0x4132e0
mov eax, dword [0x48847c]
push esi
push 0x4846d0
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ecx, dword [esp + 0x10]
mov esi, eax
push 0
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 9
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [esp + 0x20]
push esi
push 0x1f40
push 0x38
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x28
pop esi
ret

Function at 0x4015be
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4122a0
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 8]
mov eax, dword [ecx]
mov edx, dword [edi]
cmp edx, eax
je 0x4122b6
or eax, 0xffffffff
pop edi
ret
mov eax, dword [edi + 4]
push esi
mov esi, dword [ecx + 4]
xor ecx, ecx
test edx, edx
jbe 0x4122d8
push ebx
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor bl, dl
inc ecx
mov byte [eax], bl
mov edx, dword [edi]
inc eax
cmp ecx, edx
jb 0x4122c6
pop ebx
pop esi
xor eax, eax
pop edi
ret
Function at 0x401640
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x417210
push 0xffffffffffffffff
push 0x4667fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x13c], 1
call sub.MFC42.DLL_CString::CString
push 0x485650
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
cmp esi, ebx
je 0x4172be
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, ebx
je 0x4172b7
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [esp + 0x144]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 1
call fcn.00461456
lea ecx, [esp + 0x148]
mov byte [esp + 0x13c], bl
call fcn.00461456
mov ecx, dword [esp + 0x134]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x401668
Capabilities:
Parse credit card information

Disassembly:
jmp 0x42f5d0
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
cmp eax, 1
mov edi, ecx
mov dword [esi], 7
je 0x42f644
push ebx
lea ebx, [eax - 1]
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax*4 + 0x48cb70]
push ecx
mov ecx, edi
call fcn.00401b68
cmp eax, 0x3f
je 0x42f639
cmp eax, 0x43
je 0x42f639
cmp eax, 0x42
je 0x42f639
mov eax, dword [esi]
mov ecx, edi
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [edx*4 + 0x48cc24]
push eax
call fcn.00401b68
cmp eax, 0x3b
mov eax, dword [esi]
jne 0x42f634
add eax, 7
jmp 0x42f63e
add eax, 8
jmp 0x42f63e
mov eax, dword [esi]
add eax, 4
dec ebx
mov dword [esi], eax
jne 0x42f5eb
pop ebx
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x48cb70]
mov ecx, edi
push edx
call fcn.00401b68
cmp eax, 0x3f
jne 0x42f66f
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], 0
ret 0xc
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x48cb70]
mov ecx, edi
push edx
call fcn.00401b68
cmp eax, 0x43
jne 0x42f69a
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], 3
ret 0xc
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x48cb70]
mov ecx, edi
push edx
call fcn.00401b68
cmp eax, 0x42
jne 0x42f6c5
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], 4
ret 0xc
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x48cc24]
mov ecx, edi
push edx
call fcn.00401b68
cmp eax, 0x3b
jne 0x42f6f0
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], 1
ret 0xc
mov esi, dword [esi]
lea eax, [esi + esi*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x48cc60]
mov ecx, edi
push edx
call fcn.00401b68
mov ecx, dword [esp + 0x14]
sub eax, 0x3b
neg eax
sbb eax, eax
pop edi
and al, 0xfd
pop esi
add eax, 2
mov dword [ecx], eax
ret 0xc
Function at 0x4016a9
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x425d80
push esi
push edi
mov edi, dword [esp + 0x14]
or esi, 0xffffffff
test edi, edi
jne 0x425d93
pop edi
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push reloc.UNLHA32.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425ddc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push edi
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x425dd1
xor esi, esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
ret