joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f7750
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x61b846
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x698210]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x698210]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], 0x6b4918
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0x6b4918
lea ecx, [esi + 0x14]
mov byte [esp + 0x28], 1
lea edx, [esp + 0x18]
call fcn.005f8060
lea edx, [esp + 0x14]
lea ecx, [esi + 0x18]
call fcn.005f8060
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
jbe 0x5f77e4
mov cl, byte [edx + 8]
lea eax, [edx + 8]
test cl, cl
je 0x5f77e4
cmp cl, 0x22
je 0x5f7873
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x5f77d3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
test ebp, ebp
je 0x5f7806
lea eax, [edi + 8]
push eax
lea eax, [esi + 8]
push eax
push str._s__s_
push ebp
call fcn.005d8f66
add esp, 0x10
test ebx, ebx
je 0x5f7840
push dword [esi]
add esi, 8
mov ecx, ebx
push esi
call fcn.005f88c0
push 2
push 0x663ee4
mov ecx, ebx
call fcn.005f88c0
push dword [edi]
add edi, 8
mov ecx, ebx
push edi
call fcn.005f88c0
push 1
push 0x663ee8
mov ecx, ebx
call fcn.005f88c0
lea ecx, [esp + 0x14]
call fcn.004637c0
lea ecx, [esp + 0x18]
call fcn.004637c0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005d886b
add esp, 0x18
ret 0xc
sub eax, edx
sub eax, 8
cmp eax, 0xffffffff
je 0x5f77e4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
test ebp, ebp
je 0x5f78a3
lea eax, [edi + 8]
push eax
lea eax, [esi + 8]
push eax
push str._s_s
push ebp
call fcn.005d8f66
add esp, 0x10
test ebx, ebx
je 0x5f7840
push dword [esi]
add esi, 8
mov ecx, ebx
push esi
call fcn.005f88c0
push 2
push 0x663ef4
mov ecx, ebx
call fcn.005f88c0
push dword [edi]
add edi, 8
mov ecx, ebx
push edi
call fcn.005f88c0
push 1
push 0x663ef8
jmp 0x5f7839
Function at 0x5f79c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x5f79dd
push ebx
push ebx
push ebx
push 2
call fcn.005f9b60
pop esi
xor al, al
pop ebx
ret 8
push ebp
call fcn.005f7f90
push 2
push 0
push ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.005d9529
push ebx
call fcn.005d942e
push 0
push 0
push ebx
mov ebp, eax
call fcn.005d9529
add esp, 0x1c
test ebp, ebp
jg 0x5f7a2b
push 0
push 0
push 0
push 0xc
mov ecx, esi
call fcn.005f9b60
pop ebp
pop esi
xor al, al
pop ebx
ret 8
lea eax, [ebp + 1]
push edi
push eax
call fcn.004a522c
push ebx
mov edi, eax
push 1
push ebp
push edi
mov byte [edi], 0
call fcn.005d8eba
add esp, 0x14
cmp eax, 1
je 0x5f7a6d
push edi
call fcn.004a5259
add esp, 4
mov ecx, esi
push 0
push 0
push 0
push 2
call fcn.005f9b60
pop edi
pop ebp
pop esi
xor al, al
pop ebx
ret 8
mov byte [edi + ebp], 0
mov eax, edi
cmp byte [edi], 0
mov ecx, edi
je 0x5f7a9c
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, 0xd
jne 0x5f7a93
inc eax
mov byte [ecx], 0xa
inc ecx
cmp byte [eax], 0xa
jne 0x5f7a97
jmp 0x5f7a96
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x5f7a80
mov byte [ecx], 0
mov ecx, esi
mov eax, dword [esi]
push 0
push 0
push edi
call dword [eax + 8]
push edi
call fcn.004a5259
add esp, 4
xor eax, eax
cmp byte [esi + 0x2c], al
sete al
pop edi
pop ebp
pop esi
pop ebx
ret 8

Function at 0x5f8510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61b959
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x698210]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.005f8000
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x6b4918
mov byte [esp + 0x14], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x659094
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.005f8910
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x402090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x20
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x4020f3
mov edx, dword [ebx + 0x10b8]
test edx, edx
je 0x4020f3
lea esi, [ebx + 0xb8]
test byte [0x413058], 8
jne 0x402140
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x402100
mov dword [ebx + 0x10b8], 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
test byte [0x413058], 4
je 0x4020e9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.write_failed:__lu_n
mov dword [esp + 8], 0x414880
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x413058
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x4020e9
mov eax, esi
call sym._wine_dbgstr_an
mov dword [esp + 0xc], 0x4140aa
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x414880
mov dword [esp + 4], 0x413058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebx + 0x10b8]
mov eax, dword [ebx + 0xb4]
jmp 0x4020c1

Function at 0x402180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x2c
mov eax, dword [eax + 0x10b8]
lea edx, [eax + ecx]
cmp edx, 0x1000
ja 0x4021c8
lea eax, [ebx + eax + 0xb8]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memcpy
add dword [ebx + 0x10b8], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call sym._tty_flush
mov eax, dword [ebx + 0x10b8]
lea edx, [esi + eax]
cmp edx, 0x1000
jbe 0x4021a0
test eax, eax
jne 0x402258
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x4021bd
test byte [0x413058], 4
je 0x4021bd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.write_failed:__lu_n
mov dword [esp + 8], str.tty_write
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x413058
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xb6
mov dword [esp + 4], str..._src_wine_programs_conhost_conhost.c
mov dword [esp], str._console__tty_buffer_count
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x4021e4
Function at 0x402a80
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [eax + 0xb4]
test edx, edx
je 0x402b40
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x402ab8
mov edx, dword [eax + 0x10c8]
test edx, edx
jne 0x402b10
mov ebx, dword [ebp - 4]
leave
jmp sym._tty_flush
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 0x20]
mov dword [ebp - 0xc], eax
mov edx, dword [edx + 0x1c]
dec ecx
cmp ecx, edx
cmovbe edx, ecx
mov ecx, ebx
call sym._set_tty_cursor
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x10c8]
test ebx, ebx
jne 0x402aa9
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x402afa
mov ecx, 6
mov edx, str.e__25h
call sym._tty_write.part.0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10c8], 1
mov ebx, dword [ebp - 4]
leave
jmp sym._tty_flush
mov ecx, 6
mov edx, str.e__25l
mov dword [ebp - 0xc], eax
call sym._tty_write.part.0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10c8], 0
mov ebx, dword [ebp - 4]
leave
jmp sym._tty_flush
ret
Function at 0x404f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
sub esp, 0x5c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x20]
lea ebx, [edx + esi]
mov eax, dword [eax + 0x18]
cmp ebx, ecx
jbe 0x404fe6
lea edx, [esi + ecx*2]
mov dword [esp], eax
lea edx, [edx + edx*4]
shl edx, 2
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x405143
mov edx, dword [edi + 0x20]
mov dword [edi + 0x18], eax
lea edx, [esi + edx*2]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 0x1c]
lea edx, [edx + edx*4]
mov edi, dword [ebp - 0x34]
lea edx, [eax + edx*4]
lea eax, [esi + esi*4]
shl eax, 2
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp - 0x2c]
test byte [eax + 4], 1
je 0x405031
test esi, esi
je 0x405031
xor ebx, ebx
mov edx, edi
lea esi, [esi]
lea esi, [esi]
lea eax, [ebx + ebx*4]
lea edi, [edx + eax*4]
cmp word [edi], 1
je 0x405050
inc ebx
cmp esi, ebx
ja 0x405020
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add dword [eax + 0x1c], esi
test edx, edx
jne 0x405078
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [edi + 0xe], 3
jne 0x40502c
test byte [edi + 0x11], 1
jne 0x40502c
lea eax, [esi - 1]
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x405088
mov eax, dword [edi + 4]
test eax, eax
jne 0x4050d0
mov esi, ebx
jmp 0x405031
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._process_console_input
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
sub esi, ebx
lea esi, [esi + esi*4]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
lea esi, [esi*4 - 0x14]
mov dword [esp + 8], esi
add eax, ebx
lea eax, [eax + eax*4 + 5]
shl eax, 2
lea ecx, [edx + eax - 0x14]
add eax, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
test ecx, ecx
je 0x40502d
lea eax, [ebp - 0x28]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], 0x50004c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
sub esp, 0x28
jmp 0x40502d
mov dword [ebp - 0x30], 0xc0000017
jmp 0x40503e
Function at 0x4055f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
movzx edi, dx
push esi
mov esi, eax
push ebx
mov ebx, ecx
sub esp, 0x1c
mov dword [esp], edi
call dword [sym.imp.user32.dll_VkKeyScanW]
xor ecx, ecx
sub esp, 4
cmp ax, 0xffff
je 0x405638
mov edx, ebx
movzx ecx, al
or edx, 0x10
test ah, 1
cmovne ebx, edx
mov edx, ebx
or edx, 8
test ah, 2
cmovne ebx, edx
mov edx, ebx
or edx, 2
test ah, 4
cmovne ebx, edx
mov dword [esp], ebx
mov edx, edi
mov eax, esi
call sym._key_press
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test byte [0x413058], 8
jne 0x4062b8
test ecx, ecx
je 0x4062a8
mov dword [ebp + 8], esi
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop ebp
jmp sym._write_console_input.part.0
add esp, 0x30
xor eax, eax
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x414252
mov dword [esp + 8], str.write_console_input
mov dword [esp + 4], 0x413058
mov dword [esp], 3
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
jmp 0x40628d
Function at 0x409f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetKeyboardState]
movsx eax, byte [ebx + 0x10]
sub esp, 4
shr eax, 0x1f
shl eax, 4
cmp byte [ebx + 0xa2], 0
jns 0x409f2b
or eax, 8
cmp byte [ebx + 0xa3], 0
jns 0x409f37
or eax, 4
cmp byte [ebx + 0xa4], 0
jns 0x409f43
or eax, 2
cmp byte [ebx + 0xa5], 0
jns 0x409f4f
or eax, 1
mov edx, eax
or dl, 0x80
test byte [ebx + 0x14], 1
cmovne eax, edx
mov edx, eax
or edx, 0x20
test byte [ebx + 0x90], 1
cmovne eax, edx
mov edx, eax
or edx, 0x40
test byte [ebx + 0x91], 1
mov ebx, dword [ebp - 4]
leave
cmovne eax, edx
ret
Function at 0x40e260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea edx, [ebx + 0x8c]
sub esp, 0xac
cmp dword [ebx + 0x68], 1
movsx eax, word [eax + 0x7e]
sbb edi, edi
and edi, 0x20
mov dword [ebp - 0x28], eax
movsx eax, word [ebx + 0x7c]
add edi, 0x51
cmp dword [ebx + 0x60], 1
sbb esi, esi
mov dword [ebp - 0x2c], eax
mov eax, 1
and esi, 0x20
add esi, 0x49
cmp dword [ebx + 0x5c], 1
adc eax, 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x48], eax
mov eax, edx
shr eax, 0x10
je 0x40e3c0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov dword [ebp - 0x4c], edx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x40e31f
mov edx, dword [ebp - 0x4c]
mov eax, edx
call sym._wine_dbgstr_wn.part.0.constprop.0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], ecx
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x48]
mov dword [esp], str.cell__u__u__cursor__d__d__attr_02x_pop_up_02x_font_s__u__u_hist_u__d_flags_c_c_msk_08x_sb__u__u__win__u__u_x__u__u__edit_u
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, dx
mov dword [esp], str._04x
mov dword [esp + 4], edx
call sym._wine_dbg_sprintf_1
jmp 0x40e31f
Function at 0x411420
Capabilities:
Write file on windows

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

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

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x46b6f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f81ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ecf39
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46b772
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004eae14
mov eax, dword [eax]
push 0x5dacc4
push eax
call fcn.004dc8e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ed1c4
test bl, bl
je 0x46b772
push 0x5dacc4
lea ecx, [esp + 0xc]
call fcn.004ed554
push 0x5dacd0
lea ecx, [esp + 0xc]
call fcn.004ed554
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46b7ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ed1c4
jmp 0x46b879
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x46b832
lea edx, [esp + 0x7c]
push 0x5daccc
push edx
call fcn.004dc8e4
add esp, 8
test eax, eax
je 0x46b832
lea eax, [esp + 0x7c]
push 0x5dacc8
push eax
call fcn.004dc8e4
add esp, 8
test eax, eax
je 0x46b832
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46b7c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ed1c4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x46c080
Capabilities:
Query or enumerate registry value

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

Disassembly:
push 0xffffffffffffffff
push 0x4f822b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5ebdd0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x46c228
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46c156
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed1c4
xor eax, eax
jmp 0x46c29f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ed301
push esi
lea ecx, [esp + 0xc]
call fcn.004ed590
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5dad04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46c27d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0046c080
test eax, eax
jne 0x46c27d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0046c080
test eax, eax
jne 0x46c27d
lea eax, [esp + 0x14]
push 0x5dace0
push eax
call fcn.004dd960
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c25c
lea ecx, [esp + 0x14]
push 0x5dacdc
push ecx
call fcn.004dd8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c25c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46c25f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ed2b1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46c16e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed1c4
xor eax, eax
jmp 0x46c29f
mov byte [esi], 0
push 0x5dacd8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ed1c4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4