joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bab0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x108
lea eax, [esp]
push esi
push 0x104
push eax
mov esi, ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x43baf6
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43baf6
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x43baf6
mov edx, dword [esi + 4]
cmp dword [eax], edx
je 0x43bb00
mov eax, dword [ecx + 4]
add ecx, 4
test eax, eax
jne 0x43bae8
xor al, al
pop esi
add esp, 0x108
ret
mov al, 1
pop esi
add esp, 0x108
ret

Function at 0x43bb10
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
add esp, 0x190
ret

Function at 0x43bb30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
mov eax, dword [ecx]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov eax, ecx
pop ecx
ret 4

Function at 0x441ea0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x441ebb
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi + 8]
mov byte [esi + 0xc], 0
push edx
push 0
push esi
push 0x441ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x441ee4
mov byte [esi + 0xc], 1
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x444cc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, esi
mov word [esi + 0x1060], 0
mov dword [esp + 0x10], 1
call fcn.00444c80
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x106c], eax
sub eax, 2
mov word [esi + 0x1070], di
je 0x444d0e
sub eax, 2
je 0x444d0e
push 6
push 1
jmp 0x444d12
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x444d8d
lea edx, [esp + 8]
push 4
push edx
push 0x20
push 0xffff
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x444d8d
xor eax, eax
mov dword [esp + 0xc], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_htonl]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x444d8d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x444da1
mov ecx, esi
call fcn.00444ca0
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 0x10
Function at 0x444db0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
push ebp
mov dword [esp + 0xc], eax
push esi
push edi
mov dword [esp + 0x18], eax
push 0xffffffffffffffff
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push ecx
call dword [sym.imp.WS2_32.dll_htons]
lea ebx, [ebp + 0x1048]
mov word [esp + 0x12], ax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x2c]
lea eax, [ebp + 0x81e]
mov edx, ecx
push 0x10
mov word [eax + 8], si
mov word [eax + 4], si
mov word [eax + 6], si
mov esi, dword [esp + 0x2c]
lea edi, [eax + 0xa]
mov byte [eax + 1], 0xa
shr ecx, 2
mov byte [eax], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov cl, byte [eax + 1]
mov esi, ecx
add esi, edx
lea edx, [esp + 0x14]
push edx
push 0
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, esi
jge 0x444e69
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
cmp edi, 0xffffffff
jne 0x444e7d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0xc

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

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
push ebp
mov dword [esp + 0xc], eax
mov ebp, ecx
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
lea ebx, [ebp + 0x1048]
push edi
mov ecx, dword [eax + 4]
mov dx, word [eax + 2]
push ebx
xor esi, esi
mov word [esp + 0x14], 2
mov dword [esp + 0x18], ecx
mov word [esp + 0x16], dx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x81e]
push 0x10
mov word [eax + 8], si
mov byte [eax + 1], 0xa
mov cx, word [ebp + 0x1060]
lea edi, [eax + 0xa]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x30]
inc word [ebp + 0x1060]
mov edx, ecx
mov word [eax + 6], si
mov esi, dword [esp + 0x2c]
shr ecx, 2
mov byte [eax], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [esp + 0x14]
push edx
push 0
lea esi, [ecx + 0xa]
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, esi
jge 0x444fbb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
cmp edi, 0xffffffff
jne 0x444fcf
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4452b0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
push ebp
mov dword [esp + 0xc], eax
mov ebp, ecx
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
lea ebx, [ebp + 0x1048]
push edi
mov ecx, dword [eax + 4]
mov dx, word [eax + 2]
push ebx
xor esi, esi
mov word [esp + 0x14], 2
mov dword [esp + 0x18], ecx
mov word [esp + 0x16], dx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cx, word [esp + 0x30]
lea eax, [ebp + 0x81e]
push 0x10
mov word [eax + 4], cx
mov ecx, dword [esp + 0x30]
mov edx, ecx
mov word [eax + 8], si
mov word [eax + 6], si
mov esi, dword [esp + 0x2c]
lea edi, [eax + 0xa]
mov byte [eax + 1], 0xa
shr ecx, 2
mov byte [eax], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [esp + 0x14]
push edx
push 0
lea esi, [ecx + 0xa]
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, esi
jge 0x445362
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10
cmp edi, 0xffffffff
jne 0x445376
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10

Function at 0x445390
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push ecx
push 0
lea edx, [esi + 0x28]
push 0x7f6
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4453e6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Error_in_receiving_packet:__d_n
call fcn.0046e12b
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x14
ret 4
test edi, edi
jne 0x4453f7
push str.Empty_Message_Received_n
call fcn.0046e12b
add esp, 4
add esi, 0x14
lea ecx, [esi + 0x14]
call fcn.0043bb60
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 4]
mov dword [esi], edi
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], esi
pop esi
add esp, 0x14
ret 4
Function at 0x445393
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push ecx
push 0
lea edx, [esi + 0x28]
push 0x7f6
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4453e6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Error_in_receiving_packet:__d_n
call fcn.0046e12b
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x14
ret 4
test edi, edi
jne 0x4453f7
push str.Empty_Message_Received_n
call fcn.0046e12b
add esp, 4
add esi, 0x14
lea ecx, [esi + 0x14]
call fcn.0043bb60
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 4]
mov dword [esi], edi
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], esi
pop esi
add esp, 0x14
ret 4
Function at 0x474f5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x492508
cmp edx, dword [eax]
je 0x474f81
add eax, 8
inc ecx
cmp eax, 0x492598
jl 0x474f72
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x492508]
jne 0x4750af
mov eax, dword [0x4ea6f8]
cmp eax, 1
je 0x475089
test eax, eax
jne 0x474fb2
cmp dword [0x48f954], 1
je 0x475089
cmp edx, 0xfc
je 0x4750af
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x474fe9
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00471ff0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0046ec00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x47502c
lea eax, [ebp - 0x1a4]
push eax
call fcn.0046ec00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x47fafc
push edi
call fcn.0046d8a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00471ff0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00472000
lea eax, [ebp - 0xa0]
push 0x47fadc
push eax
call fcn.00472000
push dword [esi + 0x49250c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00472000
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004793f0
add esp, 0x2c
pop edi
jmp 0x4750af
lea eax, [ebp + 8]
lea esi, [esi + 0x49250c]
push 0
push eax
push dword [esi]
call fcn.0046ec00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40e1ff
Capabilities:
Create pipe
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40e263
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push 0x1cf7
push 0x7c8c
push 0x975
push 0x7614
push 0x297b
push 0x5204
push dword [ebp - 8]
push 0x620f
push 0x6a89
push 0
push dword [ebp - 0xc]
call fcn.004140d5
add esp, 0x30
jmp 0x40e336
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40e2b9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x1abb
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x59e1
call fcn.0040a201
add esp, 0x14
jmp 0x40e336
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x40e2f8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x40e2f6
push 0x23ec
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x40e336
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x40e336
push 0
push 0x303
push 0xb57
push 0x6be
push 0x176e
push 0x1bee
push 0x24a5
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esp, ebp
pop ebp
ret
Function at 0x411dc0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x411e69
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x411e45
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x411e2c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x411e2a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x411e43
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0x4d52
push 0
call fcn.00412fee
add esp, 0xc
jmp 0x411e67
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0x1ebd
push dword [ebp - 0x28]
push 0
push 0x35ba
push 0x3de7
call fcn.00434f79
add esp, 0x14
jmp 0x411e81
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 0x2939
push dword [ebp - 0x2c]
push 0
call fcn.00408722
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4130b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41319f
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41314a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x413127
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x413148
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x413148
push 0x23ec
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x41319a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x26af
push 0
push 0x3509
push 0xc7
push 1
push 0x2ad6
push 0x75e6
push 1
push dword [ebp - 0x38]
push 0x4e1a
push 0x60fc
push 0x1750
push 1
push 0x68d0
push 0x1433
push 0x72ac
call fcn.00418630
add esp, 0x40
jmp 0x413253
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x413231
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x4131f4
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 1]
push eax
push 0x3bcf
push 0x79b4
push 0x6a8c
call fcn.004161bc
add esp, 0x14
jmp 0x41322f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x41322f
push 0x1fe4
push 0
push 0x1c16
push 0x248a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
jmp 0x413253
push 0
push 0x419
push 0x116
push 0
push 1
push 0x68a6
push 0x45ee
call fcn.00425e2c
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x41393c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x413a99
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x413a4a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x4139af
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4139aa
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x413a48
mov dword [ebp - 8], 0x2c70bb74
mov dword [ebp - 0xc], 0
jmp 0x4139c6
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x4139d9
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x10], 0xfffffff8
jmp 0x4139bf
mov dword [ebp - 8], 0
jmp 0x4139e9
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x413a31
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x10], 0x8067e307
jae 0x413a05
mov dword [ebp - 0x14], 1
jmp 0x413a09
and dword [ebp - 0x14], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0x14], eax
jne 0x413a21
mov dword [ebp - 0x18], 1
jmp 0x413a25
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x10], ecx
jmp 0x4139e2
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push 0
push 0x4a44
call fcn.00419665
add esp, 0xc
jmp 0x413a97
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
push 0x89a
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x46e7
push dword [ebp - 0x48]
push 1
push 1
push dword [ebp - 0x4c]
push 0x4260
push 0x3956
call fcn.0040ea8a
add esp, 0x2c
jmp 0x413ac7
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x50]
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.00412c41
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x414f54
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x414f92
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 0x196d
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4140
push 0x7654
call fcn.0041509c
add esp, 0x18
jmp 0x415098
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x415057
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x415033
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x415014
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x415031
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.0043532a
mov dword [eax], 3
jmp 0x415009
jmp 0x415055
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x415055
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x415098
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
push 0x61c2
push 1
push 0x4963
push 0x6df3
push 0
push 0
push 0x27bb
push 0x57c
push 0x671a
push 0x6ce0
push 0x3bdd
call fcn.004231ba
add esp, 0x34
mov esp, ebp
pop ebp
ret
Function at 0x418f07
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x418f8e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 1
push 0x37a9
push 0x9bd
push 1
push 0x2536
push dword [ebp - 4]
push 0x44a2
push 0x427c
push 0x29e3
push dword [ebp - 8]
push 0x5ef8
push 0x18aa
push 0x2b84
push 0x402d
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
push eax
push 0x75ed
push dword [ebp - 0x14]
call fcn.00419037
add esp, 0x48
jmp 0x419033
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x419006
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x418fea
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x418fe8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x419004
push 0xd2c
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x419033
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
push 0x6a5b
push 1
push dword [ebp - 0x3c]
push 0
push 0x3a2c
push dword [ebp - 0x40]
push 0x3b6a
call fcn.0040f9a1
add esp, 0x1c
mov esp, ebp
pop ebp
ret