joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov bl, byte [edi]
test bl, bl
je 0x445e84
lea esp, [esp]
mov cl, byte [edx]
test cl, cl
je 0x445e84
test esi, esi
je 0x445e88
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x445dfd
jmp dword [eax*4 + 0x445eb8]
mov bl, 0x41
jmp case.default.0x445dfd
mov bl, 0x42
jmp case.default.0x445dfd
mov bl, 0x43
jmp case.default.0x445dfd
mov bl, 0x44
jmp case.default.0x445dfd
mov bl, 0x45
jmp case.default.0x445dfd
mov bl, 0x46
jmp case.default.0x445dfd
mov bl, 0x47
jmp case.default.0x445dfd
mov bl, 0x48
jmp case.default.0x445dfd
mov bl, 0x49
jmp case.default.0x445dfd
mov bl, 0x4a
jmp case.default.0x445dfd
mov bl, 0x4b
jmp case.default.0x445dfd
mov bl, 0x4c
jmp case.default.0x445dfd
mov bl, 0x4d
jmp case.default.0x445dfd
mov bl, 0x4e
jmp case.default.0x445dfd
mov bl, 0x4f
jmp case.default.0x445dfd
mov bl, 0x50
jmp case.default.0x445dfd
mov bl, 0x51
jmp case.default.0x445dfd
mov bl, 0x52
jmp case.default.0x445dfd
mov bl, 0x53
jmp case.default.0x445dfd
mov bl, 0x54
jmp case.default.0x445dfd
mov bl, 0x55
jmp case.default.0x445dfd
mov bl, 0x56
jmp case.default.0x445dfd
mov bl, 0x57
jmp case.default.0x445dfd
mov bl, 0x58
jmp case.default.0x445dfd
mov bl, 0x59
jmp case.default.0x445dfd
mov bl, 0x5a
call fcn.00445bc0
cmp bl, al
jne 0x445e84
mov bl, byte [edi + 1]
inc edi
inc edx
dec esi
mov dword [ebp - 4], edx
test bl, bl
jne 0x445de0
test esi, esi
jne 0x445e94
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [edi]
call fcn.00445bc0
mov dl, al
mov eax, dword [ebp - 4]
mov cl, byte [eax]
call fcn.00445bc0
xor ecx, ecx
cmp dl, al
pop edi
sete cl
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
sub ecx, edx
lea ebx, [ebx]
mov bl, byte [edx]
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x445f3d
jmp dword [eax*4 + 0x445fc0]
mov bl, 0x41
jmp case.default.0x445f3d
mov bl, 0x42
jmp case.default.0x445f3d
mov bl, 0x43
jmp case.default.0x445f3d
mov bl, 0x44
jmp case.default.0x445f3d
mov bl, 0x45
jmp case.default.0x445f3d
mov bl, 0x46
jmp case.default.0x445f3d
mov bl, 0x47
jmp case.default.0x445f3d
mov bl, 0x48
jmp case.default.0x445f3d
mov bl, 0x49
jmp case.default.0x445f3d
mov bl, 0x4a
jmp case.default.0x445f3d
mov bl, 0x4b
jmp case.default.0x445f3d
mov bl, 0x4c
jmp case.default.0x445f3d
mov bl, 0x4d
jmp case.default.0x445f3d
mov bl, 0x4e
jmp case.default.0x445f3d
mov bl, 0x4f
jmp case.default.0x445f3d
mov bl, 0x50
jmp case.default.0x445f3d
mov bl, 0x51
jmp case.default.0x445f3d
mov bl, 0x52
jmp case.default.0x445f3d
mov bl, 0x53
jmp case.default.0x445f3d
mov bl, 0x54
jmp case.default.0x445f3d
mov bl, 0x55
jmp case.default.0x445f3d
mov bl, 0x56
jmp case.default.0x445f3d
mov bl, 0x57
jmp case.default.0x445f3d
mov bl, 0x58
jmp case.default.0x445f3d
mov bl, 0x59
jmp case.default.0x445f3d
mov bl, 0x5a
mov byte [ecx + edx], bl
mov al, byte [edx]
inc edx
test al, al
je 0x445fbb
dec esi
jne 0x445f30
pop esi
pop ebx
pop ebp
ret

Function at 0x446030
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
mov esi, ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x44607c
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.004280e0
add esp, 0xc
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x4460a4
shr eax, 8
test al, al
jne 0x4460a4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.004280e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 2
pop esi
call fcn.00488366
mov esp, ebp
pop ebp
ret

Function at 0x446300
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov esi, ecx
mov byte [ebp - 2], al
push 3
lea eax, [ebp - 4]
mov byte [ebp - 4], 0xff
push eax
push dword [esi + 0x150]
mov edi, dword [esi]
mov ebx, edx
mov byte [ebp - 3], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x446349
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.004280e0
add esp, 0xc
push dword [ebp + 8]
mov ecx, dword [esi]
mov edx, str.SENT
push ebx
call fcn.00446200
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446530
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov eax, dword [ebx]
mov edi, dword [eax + 0x160]
mov eax, dword [edi + esi*4 + 8]
sub eax, 0
je 0x4465cc
sub eax, 2
je 0x446582
dec eax
jne 0x4465ae
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x446576
dec eax
jne 0x4465ae
mov dword [edi + esi*4 + 8], 1
mov dword [edi + esi*4 + 0x408], eax
pop edi
pop esi
pop ebx
ret
mov dword [edi + esi*4 + 8], 0
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x4465b2
dec eax
jne 0x4465ae
mov dword [edi + esi*4 + 8], 3
mov dword [edi + esi*4 + 0x1008], eax
push esi
mov edx, 0xfc
call fcn.00446300
add esp, 4
pop edi
pop esi
pop ebx
ret
cmp dword [edi + esi*4 + 0x1808], 1
mov dword [edi + esi*4 + 8], 1
jne 0x4465ae
pop edi
pop esi
pop ebx
jmp fcn.00446f20
cmp dword [edi + esi*4 + 0x808], 1
jne 0x446602
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00446300
add esp, 4
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x4465ae
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.00446f20
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x4465a0
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00446300
add esp, 4
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.00446f20
Function at 0x446cc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x3c
mov dword [ebp - 0x910], edi
mov ebx, dword [edi]
mov ecx, ebx
mov dword [ebp - 0x90c], ebx
mov esi, dword [ebx + 0x160]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
add eax, 2
push eax
lea eax, [esi + 0x1cb0]
push eax
call fcn.004466c0
mov eax, dword [esi + 0x1eb0]
add esp, 8
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x446e79
cmp ecx, 0x23
je 0x446e56
cmp ecx, 0x27
jne 0x446f0b
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x908]
push 0x800
push eax
call fcn.0041ef60
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x446df3
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446d80
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x446de1
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str._127_____127s
push edx
call fcn.0048a3ba
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.0041ef60
add esp, 0x2c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x446d77
mov ebx, dword [ebp - 0x90c]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push str._c_c
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.0041ef60
add esp, 0x14
lea eax, [ebp - 0x908]
add edi, 2
push 0
push edi
push eax
mov eax, dword [ebp - 0x910]
push dword [eax + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x446e4e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004280e0
add esp, 0xc
lea eax, [edi - 2]
jmp 0x446ef4
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446e61
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x446e9a
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446e84
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x908]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.0041ef60
add esp, 0x28
lea eax, [ebp - 0x908]
push 0
push esi
push eax
push dword [edi + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x446ef1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004280e0
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x906]
mov edx, 0x3e
push eax
mov ecx, ebx
call fcn.004466c0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x447c50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
call fcn.0048c647
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x447cb1
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x447cb1
lea eax, [ebp - 0x108]
push eax
call dword [0x4d75c8]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x449c90
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [eax], ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x449e0b
push edi
mov edi, dword [ebp - 8]
test edi, edi
je 0x449df7
push esi
jmp 0x449cd0
cmp dword [edi + 4], 2
jne 0x449d8a
cmp dword [edi + 0x18], 0
je 0x449d8a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x449d8a
cmp eax, 0x10
jb 0x449d8a
push 0x20
call dword [0x4d75c4]
mov esi, eax
add esp, 4
test esi, esi
je 0x449dec
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x4d75c4]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x449ddb
mov ecx, dword [edi + 0x18]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x449d78
push eax
call dword [0x4d75c8]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x449dc1
mov eax, dword [ebp - 4]
test ebx, ebx
cmove ebx, esi
test eax, eax
je 0x449d87
mov dword [eax + 0x1c], esi
mov dword [ebp - 4], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x449cd0
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
pop esi
test eax, eax
je 0x449da7
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x449df3
mov ecx, ebx
call fcn.00449c50
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x18]
mov edi, 8
call dword [0x4d75cc]
push esi
call dword [0x4d75cc]
add esp, 8
jmp 0x449d98
push esi
mov edi, 8
call dword [0x4d75cc]
add esp, 4
jmp 0x449d98
mov edi, 8
jmp 0x449d98
test ebx, ebx
jne 0x449e03
mov edi, 0x2af9
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x224]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44e9e9
mov eax, dword [ebx + 0x28]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
sub esi, ecx
imul ecx, esi, 0x3e8
mov esi, dword [ebx + 0x20]
sub esi, edi
sub ecx, dword [ebx + 0x24]
mov ebx, dword [ebp - 8]
imul ecx
imul ecx, esi, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, dword [ebp - 4]
cmp dword [ebx + 0x218], 0
mov dword [ebp - 4], ecx
je 0x44ea9e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov edi, edx
mov edx, dword [ebp - 0xc]
shr edi, 6
imul ecx, edi, 0x3e8
sub esi, ecx
imul ecx, esi, 0x3e8
mov esi, dword [edx + 0x140]
sub esi, edi
sub ecx, dword [edx + 0x144]
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
add eax, dword [ebx + 0x218]
cmp dword [ebp - 4], eax
cmovl eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451fa0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x4d75c4]
mov esi, eax
add esp, 4
test esi, esi
jne 0x451fc1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], 0x4b3840
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x452009
push ecx
call dword [0x4b3840]
push ebx
push edi
push dword [esi + 4]
call dword [0x4b3844]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [0x4b3848]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call dword [0x4b3840]
push dword [esi + 8]
call dword [0x4b3840]
add esp, 8
xor eax, eax
test ebx, ebx
je 0x452070
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
lea ebx, [ebx]
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [esi + 4]
call dword [0x4b3844]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [esi + 8]
call dword [0x4b3844]
add esp, 0x18
dec ebx
jne 0x452030
cmp dword [ebp + 8], 0x40
jae 0x4520a6
mov eax, dword [ebp - 0xc]
mov edi, 0x40
sub edi, eax
jmp 0x452080
push 1
push 0x4b38a1
push dword [esi + 4]
call dword [0x4b3844]
push 1
push 0x4b38a2
push dword [esi + 8]
call dword [0x4b3844]
add esp, 0x18
dec edi
jne 0x452080
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453150
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x45315b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00453170
Function at 0x4567a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7ae8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4d6750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
test eax, eax
je 0x4567d7
mov eax, dword [eax]
jmp 0x4567d9
xor eax, eax
push 0
push 0
push 0
push eax
push 0x4bf8e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
test eax, eax
je 0x456804
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x456822
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x45b2a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a87e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4d6750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45b309
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp + 0x10], esp
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x45b32a
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x45b349
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov byte [ebp - 4], 1
call dword [eax + 0x40]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x45b370
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45b38e
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 2
push 0
push ebx
mov esi, ecx
call fcn.0048be5a
push ebx
call fcn.0048d08d
push 0
push 0
push ebx
mov edi, eax
call fcn.0048be5a
mov ecx, dword [esi + 0x10]
add esp, 0x1c
cmp edi, ecx
ja 0x460d3a
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x460d32
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x460d48
mov eax, esi
mov byte [eax + edi], 0
jmp 0x460d48
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00401e90
cmp dword [esi + 0x14], 0x10
jb 0x460d52
mov eax, dword [esi]
jmp 0x460d54
mov eax, esi
push ebx
push edi
push 1
push eax
call fcn.004895af
mov ecx, dword [esi + 0x10]
add esp, 0x10
cmp eax, ecx
ja 0x460d89
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x460d73
mov esi, dword [esi]
push ebx
mov byte [esi + eax], 0
call fcn.00488f02
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00401e90
push ebx
call fcn.00488f02
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x468150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0d7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d6750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x28], 0xf
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x14], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x49dd88
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048fb9b
mov dword [ebp - 0x14], eax
cmp dword [0x4dcd10], esi
jne 0x49de7b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49de08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49df5b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49df5b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49df5b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4dcd10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4dcd14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4dcd18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4dcd20], eax
test eax, eax
je 0x49de78
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4dcd1c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49dea0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49de93
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49deb5
push 4
pop eax
jmp 0x49df5d
cmp dword [ebp - 0x14], esi
je 0x49deb5
push dword [0x4dcd10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49de9a
mov eax, dword [0x4dcd1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49df13
cmp dword [0x4dcd20], edi
je 0x49df13
push eax
call ebx
push dword [0x4dcd20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49df13
test eax, eax
je 0x49df13
call ecx
test eax, eax
je 0x49df08
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49df08
test byte [ebp - 8], 1
jne 0x49df13
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49df43
mov eax, dword [0x4dcd14]
cmp eax, edi
je 0x49df40
push eax
call ebx
test eax, eax
je 0x49df40
call eax
mov esi, eax
test esi, esi
je 0x49df40
mov eax, dword [0x4dcd18]
cmp eax, edi
je 0x49df40
push eax
call ebx
test eax, eax
je 0x49df40
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4dcd10]
call ebx
test eax, eax
je 0x49df5b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49df5d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488366
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.00405f57