joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bda8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c007
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49be0a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049b8c0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040beec
cmp al, 1
jne 0x49be0a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049bb88
test al, al
je 0x49bf96
cmp dword [ebp - 8], 0
jge 0x49be28
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049b8c0
mov eax, dword [ebp - 0x210]
call fcn.00403d34
cmp ebx, eax
jge 0x49be72
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049b8c0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4fa970]
and eax, 0xff
bt dword [edx], eax
jae 0x49be72
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x49be86
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049bd84
cmp ebx, dword [ebp - 8]
je 0x49bf88
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49beb2
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fa428]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x49bf75
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fa428]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402fc8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fa428]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bf7c
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x49bfe9
cmp dword [ebp - 8], 0
jge 0x49bfa1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049b8c0
mov eax, dword [ebp - 0x218]
call fcn.00403d34
cmp eax, dword [ebp - 8]
jg 0x49bfdb
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049b8c0
mov eax, dword [ebp - 0x21c]
call fcn.00403d34
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049bd84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c00e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403ad8
ret
Function at 0x49decc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x49df04]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49dee2
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49def1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49df00
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49e7d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4285a8]
call fcn.00402f64
test al, al
je 0x49e812
mov eax, dword [0x4fa814]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x49e812
mov edx, dword [0x4fa814]
xor edx, edx
call fcn.00443f04
push 0
mov eax, dword [0x4fa814]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4ac6c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403ee8
xor eax, eax
push ebp
push 0x4ac7dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x328]
test eax, eax
je 0x4ac7c7
cmp dword [eax + 0x3d8], 0
je 0x4ac7c7
cmp byte [ebx + 0x2cc], 0
je 0x4ac748
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2c4]
cmp eax, 0x1f4
jb 0x4ac721
lea eax, [ebx + 0x2c8]
call fcn.00403ab4
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2c4], eax
lea eax, [ebx + 0x2c8]
mov edx, dword [ebp - 4]
call fcn.00403d3c
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2c8]
call fcn.00403b4c
mov eax, dword [ebp - 4]
call fcn.00403d34
test eax, eax
jle 0x4ac7b7
mov eax, dword [ebp - 4]
call fcn.00403d34
dec eax
jne 0x4ac78e
mov eax, dword [ebp - 4]
call fcn.00403ef8
push eax
mov eax, ebx
call fcn.004ad148
push eax
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ac7ba
mov eax, dword [ebp - 4]
call fcn.00403ef8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ac7ba
or eax, 0xffffffff
test eax, eax
jl 0x4ac7c7
mov edx, eax
mov eax, ebx
call fcn.004ad154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac7e4
lea eax, [ebp - 4]
call fcn.00403ab4
ret
Function at 0x4ac7e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ac938
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x328]
test eax, eax
je 0x4ac910
cmp dword [eax + 0x3d8], 0
je 0x4ac910
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2c4]
cmp eax, 0xc8
jbe 0x4ac910
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2c4], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0042c11c
mov eax, dword [ebp - 0xc]
call fcn.00403d34
dec eax
jne 0x4ac890
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0042c11c
mov eax, dword [ebp - 0x10]
call fcn.00403ef8
push eax
mov eax, ebx
call fcn.004ad148
push eax
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4ac8c3
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0042c11c
mov eax, dword [ebp - 0x14]
call fcn.00403ef8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00432228
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4ac910
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042c11c
mov edx, esi
mov eax, ebx
call fcn.004ad154
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042c11c
mov eax, dword [ebp - 4]
call fcn.00403d34
mov edx, eax
mov eax, ebx
call fcn.004ac9a0
mov eax, dword [ebp - 8]
call fcn.00403d34
push eax
mov eax, dword [ebp - 4]
call fcn.00403d34
pop edx
sub edx, eax
mov eax, ebx
call fcn.004ac9bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac93f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403ad8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ad8
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.004014fb
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x42b935
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov al, byte [ecx]
and dword [esp + 0x14], 0
push ebx
push ebp
mov byte [edx], al
lea eax, [edx + 1]
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.0042b8de
test eax, eax
je 0x42ba8e
lea ecx, [esp + 0x18]
call fcn.0042b8de
lea ecx, [esp + 0x18]
test eax, eax
je 0x42b9fd
call fcn.0042b8de
test eax, eax
je 0x42b9bf
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.0042b8de
lea edi, [eax + edi*2]
dec ebx
jne 0x42b995
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x42b9b6
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x42b9b9
mov byte [edx], 0
inc edx
jmp 0x42baa0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x42b9f5
test ecx, ecx
je 0x42ba89
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42b9e7
jmp 0x42ba85
xor ebp, ebp
inc ebp
jmp 0x42ba89
call fcn.0042b914
test edi, edi
jne 0x42ba32
cmp eax, 2
jne 0x42ba2d
lea ecx, [esp + 0x18]
call fcn.0042b914
mov edx, dword [esp + 0x1c]
mov edi, eax
test edi, edi
je 0x42ba89
mov ecx, edx
sub ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
dec edi
jne 0x42ba22
jmp 0x42ba85
sub eax, 3
jmp 0x42ba35
sub eax, 2
mov ecx, dword [esp + 0x18]
mov esi, eax
movzx eax, byte [ecx]
shl esi, 8
add esi, eax
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.0042b914
mov ecx, eax
cmp esi, 0x7d00
jb 0x42ba5c
inc ecx
cmp esi, 0x500
jb 0x42ba65
inc ecx
cmp esi, 0x80
jae 0x42ba70
add ecx, 2
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x42ba89
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x42ba7c
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x42baa6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x42b965
sub edx, dword [esp + 0x14]
pop edi
mov eax, edx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42bc2b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x42bc5d
mov al, byte [esp + 0x14]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [esp + 0x10]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x42bc3e
jmp 0x42bc61
mov eax, dword [esp + 0x10]
test edi, edi
je 0x42bc6b
xor byte [esi], al
inc esi
dec edi
jne 0x42bc65
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4011fb
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x40138c
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dword [0x402084], 0xffffffff
mov eax, dword [0x402084]
mov dword [0x402088], eax
call dword [sym.imp.MSVCRT20.dll___p__fmode]
mov ecx, dword [0x404018]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT20.dll___p__commode]
mov ecx, dword [0x404014]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT20.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40208c], eax
call fcn.0040138b
call fcn.00401378
push 0x404030
push 0x40402c
call sub.MSVCRT20.dll__initterm
add esp, 8
mov eax, dword [0x404010]
push eax
mov eax, dword [0x40400c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT20.dll___getmainargs]
add esp, 0x14
push 0x404028
push 0x404024
call sub.MSVCRT20.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT20.dll___p__acmdln]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4012d7
mov al, byte [ebp - 0x3c]
inc esi
mov al, byte [esi]
test al, al
je 0x4012cf
cmp al, 0x22
jne 0x4012c4
cmp byte [esi], 0x22
jne 0x4012e1
inc esi
jmp 0x4012e1
cmp al, 0x20
jbe 0x4012e1
inc esi
cmp byte [esi], 0x20
ja 0x4012db
cmp byte [esi], 0
je 0x4012f1
cmp byte [esi], 0x20
ja 0x4012f1
inc esi
cmp byte [esi], 0
jne 0x4012e6
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
mov eax, 0xa
je 0x401314
movzx eax, word [ebp - 0x54]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.MSVCRT20.dll_exit]
jmp 0x401352
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp int.00401219
Function at 0x41de99
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ded8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ded8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ded8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ded8
cmp dword [ecx + 0x74], 0xe
jbe 0x41ded8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44700f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x48b448]
push ebx
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
lea edx, [esp + 0x30]
mov ebx, 1
push eax
push edx
mov dword [esp + 0x28], ebx
call fcn.00442e24
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.0043bcdc
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], bl
call fcn.0043bba3
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x401a06
push edi
mov edi, eax
push esi
push 0x2c
lea ecx, [esp + 0x14]
call fcn.0043bff6
inc eax
dec edi
mov esi, eax
jne 0x4019f3
pop edi
push esi
push 0x2c
lea ecx, [esp + 0x10]
call fcn.0043bff6
cmp eax, 0xffffffff
jne 0x401a1e
mov eax, dword [esp + 8]
mov eax, dword [eax - 8]
sub eax, esi
lea ecx, [esp + 0x28]
push eax
push esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00439c14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.0043bcdc
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], bl
call fcn.0043bba3
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x401a65
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.0043bd2c
lea ecx, [esp + 8]
call fcn.0043a175
lea ecx, [esp + 8]
call fcn.0043a129
mov esi, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043b918
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0043bba3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14

Function at 0x401ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x48b448]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xor ebx, ebx
push ebx
push edx
lea edx, [esp + 0x30]
push eax
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.00442e24
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.0043bcdc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.0043bba3
mov edi, dword [esp + 0x2c]
xor esi, esi
cmp edi, ebx
jle 0x401b2b
push esi
push 0x2c
lea ecx, [esp + 0x14]
call fcn.0043bff6
inc eax
dec edi
mov esi, eax
jne 0x401b19
push esi
push 0x2c
lea ecx, [esp + 0x14]
call fcn.0043bff6
cmp eax, 0xffffffff
jne 0x401b43
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
sub eax, esi
lea ecx, [esp + 0x28]
push eax
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00439c14
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.0043bcdc
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.0043bba3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x4591bc
push eax
call fcn.0042c177
mov esi, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bba3
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x402040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4470f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x48b448]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0
push 0
push str.CodeFont
lea ecx, [esp + 0x1c]
push str.CodeMenu
push ecx
mov ecx, 0x48f560
mov dword [esp + 0x30], 0
call fcn.00401980
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0043bba3
push 0
push str.CodeFontSize
push str.CodeMenu
mov ecx, 0x48f560
call fcn.00401ab0
mov edx, dword [esp + 0xc]
push edx
push 0x30
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x1f4
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, esi
call fcn.004416cd
push 0
push str.CodeColor
push str.CodeMenu
mov ecx, 0x48f560
call fcn.00401ab0
push 1
push str.CodeColor
push str.CodeMenu
mov ecx, 0x48f560
mov edi, eax
call fcn.00401ab0
push 2
push str.CodeColor
push str.CodeMenu
mov ecx, 0x48f560
mov ebx, eax
call fcn.00401ab0
xor ecx, ecx
and edi, 0xff
mov ch, al
push 0
mov cl, bl
push str.CodeRect
shl ecx, 8
or ecx, edi
push str.CodeMenu
mov dword [esi + 8], ecx
mov ecx, 0x48f560
call fcn.00401ab0
push 1
push str.CodeRect
mov dword [esi + 0xc], eax
push str.CodeMenu
mov ecx, 0x48f560
call fcn.00401ab0
push 2
push str.CodeRect
push str.CodeMenu
mov ecx, 0x48f560
mov dword [esi + 0x10], eax
call fcn.00401ab0
push 3
push str.CodeRect
push str.CodeMenu
mov ecx, 0x48f560
mov dword [esi + 0x14], eax
call fcn.00401ab0
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bba3
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40b590
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x447be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x48b448]
push esi
mov dword [esp + 8], eax
push 1
push str.CanUse
push str.Cash
mov ecx, 0x48f560
mov dword [esp + 0x2c], 0
call fcn.00401ab0
push str.Cash
push 0
push str.CashWindowText
lea ecx, [esp + 0x20]
push str.Cash
push ecx
mov ecx, 0x48f560
mov esi, eax
call fcn.00401980
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.0043bcdc
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.0043bba3
test esi, esi
pop esi
je 0x40b7ac
mov edx, dword [esp + 4]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40b655
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bba3
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [0x48b448]
mov dword [esp + 8], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
push 0
push 0
push str.CashPath
lea eax, [esp + 0x1c]
push str.Cash
push eax
mov ecx, 0x48f560
mov byte [esp + 0x30], 4
call fcn.00401980
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 5
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 4
call fcn.0043bba3
mov ecx, dword [esp + 8]
push ecx
call fcn.0042c42e
add esp, 4
lea edx, [esp + 0x10]
mov ecx, 0x48f560
push 0x48f63c
push 0
push str.Program
push str.Cash
push edx
call fcn.00401980
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x20], 6
call fcn.0043bcdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 4
call fcn.0043bba3
mov eax, dword [esp]
push 0x48f63c
push eax
call fcn.0042c273
add esp, 8
test eax, eax
je 0x40b782
lea ecx, [esp]
push ecx
lea ecx, [esp + 4]
call fcn.0043bcdc
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push 1
push 0
push edx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x40b782
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.0043bba3
lea ecx, [esp]
mov byte [esp + 0x1c], 2
call fcn.0043bba3
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0043bba3
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bba3
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.0043bba3
lea ecx, [esp]
mov byte [esp + 0x1c], 2
call fcn.0043bba3
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0043bba3
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bba3
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret