joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c30
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
push 0xc
mov eax, str.MAIL_FROM:__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403520
push esi
lea eax, [ebx + 0x20]
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
call fcn.00403470
push 3
mov eax, 0x4062d8
mov ecx, edi
call fcn.00403520
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401ca5
mov eax, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push esi
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401dd2
push 0x401
lea edi, [ebx + 0xb8]
push esi
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x4c0]
add esp, 0xc
push esi
push 0x400
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x401dd2
mov byte [ebx + eax + 0xb8], 0
push 0xa
mov eax, str.RCPT_TO:__
lea ecx, [ebp - 0x2c]
call fcn.00403520
push esi
lea ecx, [ebx + 0x58]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
call fcn.00403470
push 3
mov eax, 0x4062d8
mov ecx, edi
call fcn.00403520
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401d33
mov eax, edi
mov edx, dword [ebp - 0x1c]
push esi
push edx
push eax
mov eax, dword [ebx + 0x4c0]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401dc6
mov edi, ebx
call fcn.00401870
test al, al
je 0x401dc6
mov edi, 6
mov eax, str.DATA_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b10
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401d73
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401dbc
mov edi, ebx
call fcn.00401870
test al, al
je 0x401dbc
lea eax, [ebp - 0x2c]
mov ecx, ebx
call fcn.00401e10
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00401820
lea esi, [ebp - 0x2c]
test al, al
je 0x401dbf
call fcn.00402770
mov al, 1
jmp 0x401de7
lea esi, [ebp - 0x2c]
call fcn.00402770
jmp 0x401de5
cmp dword [ebp - 0x18], 0x10
jb 0x401de5
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x401ddc
cmp dword [ebp - 0x18], 0x10
jb 0x401de5
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
Function at 0x401ef0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
lea edi, [eax + 0xe]
mov eax, str.__qwertyuiop_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b10
push 0x19
mov eax, str.Content_Type:_text_plain_
mov ecx, esi
call fcn.00403520
push 0x14
mov eax, str.charset_gb2312__r_n_r_n
mov ecx, esi
call fcn.00403520
push 0
lea eax, [ebx + 0x90]
push eax
or eax, 0xffffffff
mov edi, esi
call fcn.00403470
push 4
mov eax, str._r_n_r_n
mov ecx, esi
call fcn.00403520
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x401f8b
mov eax, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 0x18], esi
jb 0x401fb7
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
Function at 0x402550
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
lea edi, [eax + 0xe]
mov eax, str.__qwertyuiop__
lea esi, [ebp - 0x2c]
call fcn.00403b10
push 5
mov eax, str._r_n._r_n
mov ecx, esi
call fcn.00403520
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x4025bc
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x402673
push 0x401
lea esi, [ebx + 0xb8]
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x4c0]
add esp, 0xc
push 0
push 0x400
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x402673
mov byte [ebx + eax + 0xb8], 0
mov edi, 6
mov eax, str.QUIT_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b10
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x402633
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40265b
mov edi, ebx
call fcn.00401870
test al, al
je 0x40265b
mov bl, 1
jmp 0x40265d
xor bl, bl
cmp dword [ebp - 0x18], esi
jb 0x40266f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x402687
cmp dword [ebp - 0x18], edi
jb 0x402685
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
Function at 0x403800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405b08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x403992
cmp byte [ebx + 0x49], 0
je 0x403992
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x403986
lea esi, [ebp - 0x2c]
call fcn.00403410
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x403873
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x4038ab
dec eax
je 0x4038af
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x40398d
call fcn.00402770
xor al, al
jmp 0x403994
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4038bf
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x4038ed
cmp edi, 0x10
jae 0x4038ce
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40397e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x40398a
test esi, esi
jne 0x403867
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4039af
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4039af
cmp edi, esi
jae 0x403967
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c30
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x403867
mov ecx, eax
cmp edi, 0x10
jae 0x403943
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40395e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x403861
test esi, esi
jne 0x403939
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x403976
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x403861
lea esi, [ebp - 0x2c]
call fcn.00402770
xor al, al
jmp 0x403994
lea esi, [ebp - 0x2c]
call fcn.00402770
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x403fb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.QQ.exe]
mov edx, dword [0x40651c]
mov ecx, dword [0x406518]
push ebx
push esi
mov dword [ebp - 0x238], edx
mov edx, dword [0x406528]
mov dword [ebp - 0x240], eax
mov ax, word [0x406520]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [str.TIM.exe]
push 0x228
mov dword [ebp - 0x24c], edx
xor ebx, ebx
mov word [ebp - 0x234], ax
mov eax, dword [0x40652c]
mov dword [ebp - 0x250], ecx
mov ecx, dword [0x406530]
lea edx, [ebp - 0x22c]
push ebx
push edx
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40407b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x404090
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4040c6
test dx, dx
je 0x4040c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4040c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4040a0
xor eax, eax
jmp 0x4040cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404123
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x250]
jmp 0x4040e0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404106
test dx, dx
je 0x404102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4040e0
xor eax, eax
jmp 0x40410b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404123
lea ecx, [ebp - 0x230]
push ecx
push esi
call edi
test eax, eax
jne 0x404090
jmp 0x404129
mov ebx, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404eea
mov esp, ebp
pop ebp
ret
Function at 0x404150
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x408018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
push eax
push 4
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x4041b2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404eea
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
lea esp, [esp]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], ecx
je 0x4041d5
lea edx, [ebp - 0x20]
push edx
push esi
call ebx
test eax, eax
jne 0x4041c0
jmp 0x4041d8
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404eea
mov esp, ebp
pop ebp
ret
Function at 0x404970
Capabilities:
Terminate process

Disassembly:
push 0
push str.5B3838F5_0C81_46D9_A4C0_6EA28CA3E942
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x404988
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call fcn.00403fb0
mov esi, eax
test esi, esi
je 0x4049aa
push esi
call fcn.00404150
add esp, 4
test eax, eax
je 0x4049aa
mov edx, eax
mov ecx, esi
call fcn.00404200
xor eax, eax
pop esi
ret

Function at 0x404eea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408018]
jne 0x404ef4
repz ret
jmp fcn.00405307

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec esi
add edi, 0x6b
dec edi
inc edx
rol edx, 4
neg ebx
dec esi
dec edi
ror esi, 0xee
neg esi
rol esi, 0xd7
dec eax
and eax, 0x6b
neg edi
sbb edx, 0x20
imul ebx
sbb esi, 4
bswap esi
rcr esi, 0x35
inc edi
rcl ebx, 0x92
sub esi, 6
imul edi
and edi, 0x69
sub edx, 0x67
not ebx
not eax
ror ebx, 0x7f
neg ebx
or ebx, 0x90
and edx, 0x14
inc edi
rcl edx, 0x9a
bswap ebx
mov edx, 0x47
rol ebx, 0x54
bswap ebx
bswap eax
not ebx
or esi, 0xcf
not esi
add esi, 0x3f
inc eax
sub eax, 0x9f
rol edx, 0x4b
neg esi
sub eax, 0xf0
inc edi
not ebx
bswap edx
xor ecx, ecx
xor edi, edi
sbb eax, 0x79
not edi
rcr esi, 0xd6
inc esi
neg esi
or edi, 0x21
bswap esi
inc edi
sub eax, 0x42
rcr eax, 0xbe
add ebx, 0xc7
not esi
bswap ebx
bswap eax
inc edx
rol edi, 0x69
neg edx
sub eax, 0xa3
inc edx
ror esi, 0xb
dec ebx
neg edi
inc ebx
dec esi
neg esi
rol eax, 0x2e
sbb esi, 0xbc
ror edx, 0x87
not eax
add eax, 0x1a
ror edi, 0x32
or esi, 0xd7
not ebx
not edx
neg eax
sub ebx, 0x34
or edi, 0x92
ror edi, 0x1b
neg edi
dec eax
rcl ebx, 0x6b
rol eax, 0x3b
bswap esi
imul edi
dec edi
dec esi
dec edi
rcr esi, 0xee
dec eax
dec ebx
mov ecx, dword [ebp + 0xc]
neg ebx
imul edx
neg ebx
bswap edx
dec esi
rol edi, 0x2b
or ebx, 0xe4
sub edx, 0xbe
not ebx
inc eax
rol esi, 0x38
neg edi
or edx, 0xe7
dec edx
sub eax, 0xe2
bswap eax
add edx, 0xf4
neg edi
rcr ebx, 0xd9
or edx, 0xc6
mov ebx, 0xa7
bswap ebx
rcr edx, 0x80
rcr esi, 0x43
bswap ebx
rcl esi, 0x5a
and edx, 0x98
rcr edi, 0xfb
dec esi
not edi
inc edx
and ebx, 0xee
neg edx
neg esi
add edi, 0x87
rcr eax, 9
ror edx, 0xcf
rol edx, 0xfe
add eax, 0x5e
dec edx
inc esi
ror edi, 0xf5
not esi
imul eax
rol edi, 0x5c
mov esi, 0x9f
and eax, 0xa
dec edi
rol esi, 0xe0
rol eax, 0xd9
mov edi, dword [ebp + 8]
mov ebx, esi
mov eax, ebx
mov esi, ebx
xor ebx, eax
mov eax, ebx
mov esi, eax
mov ebx, ebx
mov eax, ebx
xor eax, ebx
xor esi, esi
xor eax, eax
mov esi, eax
not byte [edi]
xor eax, esi
mov eax, eax
mov esi, ebx
xor esi, ebx
mov eax, eax
mov eax, esi
mov ebx, esi
mov ebx, esi
xor eax, esi
sub byte [edi], 0x89
xor ebx, esi
xor eax, eax
xor ebx, ebx
mov ebx, ebx
mov ebx, esi
xor ebx, eax
mov ebx, eax
xor ebx, eax
xor esi, ebx
add byte [edi], 0x43
mov eax, esi
mov eax, eax
mov eax, esi
mov eax, eax
xor esi, ebx
mov esi, eax
xor ebx, esi
xor eax, esi
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4011a2
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403323
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.00402219
and dword [ebp - 4], 0
cmp dword [0x485e88], 0
mov ebx, eax
jne 0x4033d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x403485
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x403485
push eax
call fcn.004021a7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x485e88], eax
call esi
push eax
call fcn.004021a7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x485e8c], eax
call esi
push eax
call fcn.004021a7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x485e90], eax
call esi
push eax
call fcn.004021a7
pop ecx
mov dword [0x485e98], eax
test eax, eax
je 0x4033d4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004021a7
pop ecx
mov dword [0x485e94], eax
mov eax, dword [0x485e94]
cmp eax, ebx
je 0x40342c
cmp dword [0x485e98], ebx
je 0x40342c
push eax
call fcn.00402222
push dword [0x485e98]
mov esi, eax
call fcn.00402222
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40342c
test edi, edi
je 0x40342c
call esi
test eax, eax
je 0x403423
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403423
test byte [ebp - 0xc], 1
jne 0x40342c
or dword [ebp + 0x10], 0x200000
jmp 0x403465
mov eax, dword [0x485e8c]
cmp eax, ebx
je 0x403465
push eax
call fcn.00402222
pop ecx
test eax, eax
je 0x403465
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x403465
mov eax, dword [0x485e90]
cmp eax, ebx
je 0x403465
push eax
call fcn.00402222
pop ecx
test eax, eax
je 0x403465
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x485e88]
call fcn.00402222
pop ecx
test eax, eax
je 0x403485
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403487
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40518e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4855f8]
jne 0x405198
repz ret
jmp fcn.004068b5
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
pop es
in al, dx
mov eax, dword [ebp + 0x33]
xchg edi, eax
or eax, sym.imp.MSVCRT.dll__iob
xor byte [ebx + 0x746840c1], al
rol byte [eax], cl
push ecx
call dword [0x9c180]
mov eax, dword [0x802ac]
add esp, 0x70
test edx, edi
je 0x401787
push eax
push 0xd3d2e5
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
js 0x4017e6
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x410278]
test eax, eax
mov eax, dword [0x41404c]
xchg byte [eax + ebp*2], dl
inc eax
cmp al, 0x41
or al, 0x50
call fcn.00405850
mov cx, word [0x411b74]
jmp 0x4017cf
mov dword [0x41a608], eax
mov eax, dword [0x410206]
push es
add al, byte [ecx]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_printf]
mov word [esi], ax
mov ah, 0xbf
inc ecx
add byte [ebp + 0x5de057c0], al
mov edx, dword [0x701800]
push edx
push 0xbb9ad498
call esi
mov eax, dword [0x410278]
add esp, 8
les ecx, [eax]
test esp, ebx
je 0x40181c
mov eax, dword [0x41be74]
push eax
push 0x413c8d
push str._through__s:_d_
call esi
xor dword [ecx + 0x5e14a162], 0xffffffb8
add byte [ebp - 0x7a7f47b7], al
inc eax
add byte [ebp + 5], dh
mov eax, 0x40d47c
push eax
push str._be_patient__s
cli
mov eax, dword [0xb85e14]
test dword [ecx - 0x48], ecx
add byte [ebp + 0x5750040], 0xb8
jl 0x401801
inc eax
add byte [eax + 0x68], dl
insb byte es:[edi], dx
aam 0x40
add dl, bh
salc
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call dword [0xe2c154]
add esp, 0xc
mov dword [0xfcd018], edx
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
movsb byte es:[edi], byte [esi]
pushal
or byte [eax], al
add byte [ebp - 0x3eaa2901], cl
or eax, dword [ecx]
push cs
adc al, dl
inc eax
add byte [edx + 0x10], ch
push eax
xchg ebp, eax
salc
mov ebx, dword [ecx]
dec esp
popfd
and eax, dword [eax]
mov edx, dword [0x40d018]
add eax, 0x10
mov dword [0x410ba2], eax
push 0
adc byte [edx + 0x68], 0xf8
pop ss
jecxz 0x40188a
call fcn.00406010
test eax, eax
je 0x4018a1
push eax
push 0x3640d450
mov bh, 0xa3
add eax, 0xc183ebff
or byte [ebx + 0x7c], cl
add dl, byte [edi]
dec ebx
jl 0x4018a6
pop ss
add byte [ebp - 0x5eca3940], al
lodsb al, byte [esi]
or eax, dword [ecx]
mov ecx, dword [0x410ba7]
mov edx, dword [0xc4954048]
push 0x10
push 0x40d19c
push eax
mov eax, dword [0x92b04c]
pop ds
js 0x401913
test eax, eax
invalid
aam 0x40
add byte [edx - 0x1d], dl
call fcn.00405890
add esp, 0x4d
mov dword [0xb04041], eax
jmp 0x4018e4
mov ebx, eax
sbb dl, 0x41
cmp al, byte [ebp - 0x74618a37]
jo 0x40193d
inc eax
inc ecx
add byte [edx], ch
push 0x40d189
push 0x404d95
push 0x40d4b5
push eax
insd dword es:[edi], dx
call 0xc85890
add esp, 0x18
mov dword [0x419248], eax
mov ecx, dword [0x6d410284]
add byte [ebx + 0x4102840d], cl
insd dword es:[edi], dx
ret
add al, byte [ecx]
test ecx, ecx
Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
test dword [eax + ebp*8 + 0x5c], 0x33e5738b
shr byte [esi], cl
les edx, [eax]
cmp ecx, edx
mov dword [ebp + 8], eax
je 0x40b009
mov esp, dword [esi + 0x50]
mov eax, dword [esi]
push esp
add esi, ecx
enter 0x4451, 0x13
ret 0x7389
or byte [ecx - 0x642cc38d], cl
adc byte [edi + 0x55], ah
cld
test dword [ebp + 0xdf84d89], esi
test byte [eax - 0x38], ch
out 0xff, eax
jmp 0x40af8f
cmp eax, 0xb601c011
xlatb
pop es
mov dword [ebx - 0x6b], 0x49000001
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
out 0x79, eax
mov dword [esi], eax
je 0x40b02a
mov dword [ebp - 0x19], 0x81000000
add byte [eax], al
or dword [ebx + 0x497efc43], 0xfffff3ef
bound eax, qword [esi + 0x5b5e5f08]
mov esp, ebp
pop ebp
mov word [eax + eax], cs
mov edx, dword [esi]
lea edi, [ebp - 0x7dadaef4]
and eax, 0xc633e8
aas
add esp, 0x10
cmp eax, 0x44011163
mov dword [ebp + 8], eax
xchg esi, eax
pop es
ret 0x28a8
mov eax, dword [ebx - 4]
jle 0x40b078
out dx, eax
invalid
nop
nop
nop
nop
mov byte [0x55909090], al
mov ebp, esp
mov edi, 0x57088648
out dx, al
jge 0x40b09b
mov esi, dword [edx + 0x10]
mov ecx, dword [esi + 0x14]
or eax, ecx
mov dword [ebp + 0x10], 0x91000000
jne 0x40b10d
jno 0x40b027
mov al, byte [esi + 0x35]
test byte [edi + 0x568b6a74], ah
add al, 0x65
dec ebp
inc esi
xor eax, 0x6a74a784
mov edx, dword [esi + 4]
dec ebp
or byte [esi], cl
add byte [ecx + 0x6a], dl
add byte [esi + 0x52ab6a00], bh
xchg ecx, eax
stosd dword es:[edi], eax
or al, 0xc0
inc eax
add byte [ebp - 0x74248a40], al
xor eax, 0x95c098
jmp [esi + 0x975c085]
mov al, 0xee
or al, 0x85
sal byte [edx - 0x76], 0x61
or byte [edx + esi + 0x4e8b1c5d], al
push eax
push esp
dec eax
or byte [ebx + 0x148b5046], cl
push cs
mov ecx, 0x144d0020
call 0x3840b810
scasd eax, dword es:[edi]
push esi
test al, 0x89
cmp cl, byte [ebx + ecx*4]
xchg esp, eax
or al, 0x8b
push ebp
or al, 0x53
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b15a
xor eax, eax
jmp 0x126b285
mov edi, dword [0x54403198]
jmp dword [ecx]
Function at 0x401283
Capabilities:
Terminate process

Disassembly:
add byte [ebx - 0x36cee73c], al
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret