joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dfee8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4dff92
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 4], eax
mov dl, 1
mov eax, dword [0x412f94]
call fcn.004039ac
mov esi, eax
mov dword [ebx + 0xc], esi
mov edx, dword [ebx + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov esi, dword [ebx + 0xc]
mov eax, esi
call fcn.00417438
mov edx, eax
mov eax, esi
call fcn.00417418
lea eax, [ebp - 4]
mov edx, 0x4dffa8
call fcn.0040492c
mov eax, dword [ebp - 4]
call fcn.00404d00
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dff99
lea eax, [ebp - 4]
call fcn.00404894
ret

Function at 0x4e002c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
fild qword [ebp - 0x28]
fmul qword [ebp + 8]
call fcn.00403414
push eax
push 0
push 0x400
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
fmul qword [ebp + 8]
call fcn.00403414
call fcn.00407c25
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 0x10000
jge 0x4e008b
mov eax, 0x10000
mov esp, ebp
pop ebp
ret 8

Function at 0x4e0094
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404894
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.kernel32.dll_GetTempPathA
mov ebx, eax
mov eax, ebx
call fcn.0040fb44
mov eax, ebx
call fcn.00409f28
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e0167
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
call fcn.0040fb44
mov eax, pe_nt_image_headers32
call fcn.00409f28
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e014a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x4e0194
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
call fcn.0040fb44
mov eax, dword [ebp - 0xc]
call fcn.0040b184
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040497c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0151
mov eax, dword [ebp - 8]
call fcn.00402f2c
ret
Function at 0x4e1228
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e1370
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4e1388
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.004e2998
mov eax, dword [ebp - 4]
call fcn.004e2394
xor edx, edx
push ebp
push 0x4e1353
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x4e12f2
test si, si
jne 0x4e1298
mov eax, dword [ebp - 8]
call fcn.0040b184
mov esi, eax
cmp esi, 0xffff
jbe 0x4e1298
call fcn.00403914
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10100]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4e12f2
cmp eax, 0xffffffff
jle 0x4e12c7
sub ebx, eax
jmp 0x4e12d6
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004e28cc
test ebx, ebx
je 0x4e12f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x4e12f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100ad], 0
je 0x4e129b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x4e133d
mov eax, dword [ebp - 4]
mov byte [eax + 0x10088], 0
mov ecx, 0x4e13a0
mov dl, 1
mov eax, dword [0x4e03e0]
call fcn.0040e328
call fcn.004041fc
mov eax, dword [ebp - 4]
cmp word [eax + 0x100fa], 0
je 0x4e133d
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x100fc]
call dword [ebx + 0x100f8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e135a
mov eax, dword [ebp - 4]
call fcn.004e23f8
ret
Function at 0x4e180c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404cf0
xor eax, eax
push ebp
push 0x4e19d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4e19e8
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.004e2998
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x412ebc]
call fcn.0041779c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4e1961
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x4e1925
mov eax, dword [ebp - 4]
lea edx, [eax + 0x24]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov esi, eax
mov ebx, esi
push 0
push ebx
mov eax, esi
sub eax, ebx
cmp eax, 0x10000
jbe 0x4e18a1
call fcn.00403914
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x24]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10100]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4e1925
cmp eax, 0xffffffff
jle 0x4e18f6
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x10084], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ca], 0
je 0x4e18ec
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x100cc]
call dword [edi + 0x100c8]
mov eax, dword [ebp - 4]
call fcn.004e2394
jmp 0x4e1905
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004e28cc
mov eax, dword [0x567794]
mov eax, dword [eax]
call fcn.00462b08
test ebx, ebx
je 0x4e1925
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x4e188e
mov eax, dword [ebp - 0xc]
call fcn.004173f4
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00417438
cmp ebx, eax
je 0x4e194b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x4e1867
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1968
mov eax, dword [ebp - 0xc]
call fcn.00403a08
ret
Function at 0x4e1a10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e1b91
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4e1ba8
mov dl, 8
mov eax, ebx
call fcn.004e2998
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00417418
cmp byte [ebx + 0x10088], 0
jne 0x4e1b3d
xor eax, eax
mov dword [ebx + 0x10084], eax
mov eax, dword [ebp - 4]
call fcn.00417438
mov dword [ebx + 0x100b4], eax
mov eax, dword [ebp - 4]
call fcn.00417438
push eax
mov eax, dword [ebp - 4]
call fcn.004173f4
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 0x10000
jle 0x4e1a8c
mov eax, 0x10000
lea edx, [ebx + 0x24]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x4e1ab3
call fcn.00403914
lea eax, [ebx + eax + 0x24]
push eax
movzx eax, word [ebx + 0x10100]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4e1b7b
test eax, eax
jle 0x4e1af3
sub esi, eax
add dword [ebx + 0x10084], eax
cmp word [ebx + 0x100ca], 0
je 0x4e1b01
mov edx, ebx
mov eax, dword [ebx + 0x100cc]
call dword [ebx + 0x100c8]
jmp 0x4e1b01
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004e28cc
mov eax, dword [0x567794]
mov eax, dword [eax]
call fcn.00462b08
test esi, esi
je 0x4e1b1a
cmp byte [ebx + 0x10088], 0
je 0x4e1a9f
mov eax, dword [ebp - 4]
call fcn.00417438
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004173f4
cmp esi, eax
je 0x4e1b3d
cmp byte [ebx + 0x10088], 0
je 0x4e1a6b
cmp byte [ebx + 0x10088], 0
je 0x4e1b7b
mov byte [ebx + 0x10088], 0
mov ecx, 0x4e1bbc
mov dl, 1
mov eax, dword [0x4e03e0]
call fcn.0040e328
call fcn.004041fc
cmp word [ebx + 0x100fa], 0
je 0x4e1b7b
mov edx, ebx
mov eax, dword [ebx + 0x100fc]
call dword [ebx + 0x100f8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1b98
lea eax, [ebp - 0xc]
call fcn.00404894
ret
Function at 0x4e242c
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e2535
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4e254c
mov dl, 8
mov eax, ebx
call fcn.004e2998
test byte [ebx + 0x20], 0x10
setne al
xor al, 1
and al, byte [0x578be4]
je 0x4e251f
xor eax, eax
push ebp
push 0x4e24ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4e2495
call fcn.00403914
mov word [ebx + 0x10100], si
mov word [ebp - 4], 0
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xff7f
movzx eax, si
push eax
call sub.wsock32.dll_setsockopt
cmp word [ebx + 0x10100], 0xffff
jne 0x4e24da
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.004e28cc
push 0x3f
push 0x465
mov eax, dword [ebx + 0x10104]
push eax
movzx eax, word [ebx + 0x10100]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e251f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e253c
lea eax, [ebp - 8]
call fcn.00404894
ret

Function at 0x4e2818
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov ecx, 0x4e28b4
mov dl, 4
mov eax, ebx
call fcn.004e2998
mov byte [ebx + 0x10108], 0
mov ax, word [ebx + 0x10100]
cmp ax, 0xffff
je 0x4e28a6
movzx eax, ax
push eax
call sub.wsock32.dll_closesocket
test byte [ebx + 0x20], 8
jne 0x4e2865
cmp word [ebx + 0x1004a], 0
je 0x4e2865
mov edx, ebx
mov eax, dword [ebx + 0x1004c]
call dword [ebx + 0x10048]
cmp byte [ebx + 0x10089], 0
jne 0x4e28a6
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x4e2888
call fcn.00403914
mov word [ebx + 0x10100], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10104]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
pop esi
pop ebx
ret
Function at 0x4e2a40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100a8]
cmp dword [eax + 4], 0
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4e2b04
push 2
push 1
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10100]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x4e2a91
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.004e27c4
jmp 0x4e2b04
test eax, eax
jne 0x4e2b04
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x4e2acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10108], 0
je 0x4e2ac3
mov eax, dword [ebp - 4]
call fcn.004e2b10
mov eax, dword [ebp - 4]
call fcn.004e2818
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2ad7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10028]
call fcn.004df894
mov eax, dword [ebp - 4]
cmp word [eax + 0x1004a], 0
je 0x4e2b04
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1004c]
call dword [ebx + 0x10048]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4e2b17
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x4e2b64
mov dl, 8
mov eax, ebx
call fcn.004e2998
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10100]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret
Function at 0x4e92a8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov esi, eax
lea edi, [ebp - 0x128]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 8]
add ebx, 0xfffffd90
lea esi, [ebp - 0x128]
xor eax, eax
push ebp
push 0x4e9477
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov word [eax - 0x26a], 0
lea edx, [esi + 0x24]
mov eax, dword [ebp + 8]
add eax, 0xfffffefb
call fcn.0040b1ec
mov dl, 1
mov eax, dword [0x4e8df8]
call fcn.004039ac
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov eax, dword [ebx]
add eax, 0x24
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404aec
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x274]
mov edx, dword [esi + 0x1c]
call fcn.004e9580
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov ecx, 0xff
call fcn.00404b18
lea edx, [ebp - 0x228]
mov eax, dword [ebx]
add eax, 0x28
mov cl, 0xc
call fcn.00403498
push 0x2000
push 0x160
mov eax, dword [ebp + 8]
add eax, 0xfffffd98
push eax
push 0
lea eax, [esi + 0x24]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
lea ecx, [ebp - 0x230]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x274]
call fcn.004e9654
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x228]
mov ecx, 0xff
call fcn.00404b18
lea edx, [ebp - 0x228]
mov eax, dword [ebx]
add eax, 0x35
mov cl, 0xc
call fcn.00403498
lea eax, [ebp - 0x238]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404aec
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0040aec8
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x274]
mov eax, dword [eax + 0x24]
mov esi, dword [eax]
call dword [esi + 0x38]
xor eax, eax
mov dword [ebx], eax
mov eax, dword [ebx]
call fcn.00403a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e947e
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.004048b8
ret
Function at 0x4f9abc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f9ce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x4f9cd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404b3c
test eax, eax
jne 0x4f9b1b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00404b3c
test eax, eax
jne 0x4f9b1b
mov eax, dword [ebp - 4]
call fcn.004f9dbc
jmp 0x4f9cd0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x4f9b5b
lea eax, [ebp - 0x106]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
call fcn.0040b274
push 0x3ec
lea eax, [ebp - 0x106]
push eax
mov eax, dword [0x579168]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
jne 0x4f9b9b
lea eax, [ebp - 0x106]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
call fcn.0040b274
push 0x3ec
lea eax, [ebp - 0x106]
push eax
mov eax, dword [0x579168]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x94]
mov eax, dword [ebp - 4]
call fcn.004f9e28
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
jne 0x4f9c71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.00404b3c
test eax, eax
jne 0x4f9be7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb0]
call fcn.00404b3c
test eax, eax
je 0x4f9c71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb0]
call fcn.00404b3c
test eax, eax
je 0x4f9c0f
lea eax, [ebp - 0x106]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb0]
call fcn.0040b274
jmp 0x4f9c41
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
push 0x4f9d00
mov eax, dword [ebp - 4]
push dword [eax + 0x28]
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.00404bfc
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.0040b274
push 7
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4f9c71
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x94]
mov eax, dword [ebp - 4]
call fcn.004f9e28
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
jne 0x4f9c81
mov eax, dword [ebp - 4]
call fcn.004f9dbc
jmp 0x4f9cd0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x4f9c9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
jmp 0x4f9ca8
mov eax, dword [ebp - 4]
mov dword [eax + 0x9c], 1
mov eax, dword [ebp - 4]
call fcn.004f9ec0
test al, al
je 0x4f9cd0
mov eax, dword [ebp - 4]
mov bx, 0xffef
call fcn.00403c0c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f9fc4
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9cf0
lea eax, [ebp - 0x10c]
call fcn.00404894
ret
Function at 0x4fdf68
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [0x579378], eax
xor eax, eax
mov dword [0x57937c], eax
push pe_nt_image_headers32
push 0x579178
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
push pe_nt_image_headers32
push 0x579278
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetClassNameA
push 0
push 0x4fdee0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 8]
cmp word [eax + 0x1ea], 0
je 0x4fdfdd
mov esi, eax
mov ecx, dword [0x579378]
mov edx, ebx
mov eax, dword [esi + 0x1ec]
call dword [esi + 0x1e8]
xor eax, eax
mov al, byte [ebx + 4]
cmp eax, dword [0x579378]
jge 0x4fe07c
mov eax, dword [ebx + 8]
cmp word [eax + 0xd2], 0
je 0x4fe011
mov esi, eax
mov ecx, dword [0x579378]
mov edx, ebx
mov eax, dword [esi + 0xd4]
call dword [esi + 0xd0]
mov al, byte [ebx + 5]
cmp al, 1
je 0x4fe01c
test al, al
jne 0x4fe060
mov eax, dword [0x57937c]
push eax
call sub.user32.dll_GetLastActivePopup
mov dword [0x579380], eax
mov eax, dword [0x57937c]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [0x579380]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4fe055
push 9
mov eax, dword [0x579380]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4fe060
mov eax, dword [0x579380]
push eax
call sub.user32.dll_SetForegroundWindow
cmp byte [ebx + 5], 2
je 0x4fe075
cmp byte [ebx + 5], 0
jne 0x4fe07c
cmp dword [0x579380], 0
je 0x4fe07c
xor eax, eax
call fcn.004047d0
pop esi
pop ebx
ret

Function at 0x4fe848
Capabilities:
Hide graphical window

Disassembly:
cmp byte [eax + 0x118], 0
jne 0x4fe857
test byte [eax + 0x20], 0x10
je 0x4fe894
push 5
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x40000
push eax
push 0xffffffffffffffec
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetWindowLongA
ret
push 0
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetWindowLongA
ret
Function at 0x514d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 4]
and eax, 0xff
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x514d75
add word [ebp - 6], 0x2000
jae 0x514d75
call fcn.0040391c
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x514d8e
add word [ebp - 6], 0x4000
jae 0x514d8e
call fcn.0040391c
mov eax, dword [ebp - 0x10]
test byte [eax + 0xb], 0x20
je 0x514da4
add word [ebp - 6], 0x8000
jae 0x514da4
call fcn.0040391c
mov byte [ebp - 0x12], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00514b68
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x514e0c
lea edx, [ebp - 4]
mov eax, dword [0x56791c]
mov eax, dword [eax]
call fcn.0042ba40
xor eax, eax
push ebp
push 0x514e05
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.00514bd0
pop ecx
mov byte [ebp - 0x12], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514e0c
mov eax, dword [0x56791c]
mov eax, dword [eax]
call fcn.0042ba24
ret
cmp byte [ebp - 0x12], 2
je 0x514da4
cmp dword [ebp - 4], 0
setne byte [ebp - 0x11]
mov al, byte [ebp - 0x11]
mov esp, ebp
pop ebp
ret
Function at 0x518258
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5183c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00506500
test eax, eax
je 0x5183a2
mov eax, dword [ebp - 4]
call fcn.00506500
test byte [eax + 0x2cc], 8
jne 0x5183a2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6d], 4
je 0x51839a
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x6d]
mov edx, dword [ebp - 4]
mov byte [edx + 0x6c], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x6d], 4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], 2
je 0x5182f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], 1
je 0x5182f9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], 3
je 0x5182f9
mov eax, dword [ebp - 4]
call fcn.00506500
lea edx, [ebp - 0x14]
call fcn.0043d2d8
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x14]
lea edi, [eax + 0x5c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x102], 0
je 0x518349
lea edx, [ebp - 0x18]
mov eax, dword [0x567794]
mov eax, dword [eax]
call fcn.004626a4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x88
mov ecx, 0x3f
call fcn.0040b2a8
mov eax, dword [0x567794]
mov eax, dword [eax]
call fcn.00462440
push 0
mov eax, dword [0x567794]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
jmp 0x51838a
mov eax, dword [ebp - 4]
call fcn.00506500
test eax, eax
je 0x51837a
mov eax, dword [ebp - 4]
call fcn.00506500
lea edx, [ebp - 0x1c]
call fcn.0043db4c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x88
mov ecx, 0x3f
call fcn.0040b2a8
push 0
mov eax, dword [ebp - 4]
call fcn.005064bc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
add eax, 0x70
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x5183a2
mov eax, dword [ebp - 4]
call fcn.00517bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5183c7
lea eax, [ebp - 0x1c]
call fcn.00404894
lea eax, [ebp - 0x18]
call fcn.00404894
ret