joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49694c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496bab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4969ae
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00496414
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cb7c
cmp al, 1
jne 0x4969ae
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049672c
test al, al
je 0x496b3a
cmp dword [ebp - 8], 0
jge 0x4969cc
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00496414
mov eax, dword [ebp - 0x210]
call fcn.00403eb8
cmp ebx, eax
jge 0x496a16
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00496414
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x52d024]
and eax, 0xff
bt dword [edx], eax
jae 0x496a16
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x496a2a
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00496928
cmp ebx, dword [ebp - 8]
je 0x496b2c
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x496a56
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004030c8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fec34]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x496b19
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004030c8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fec34]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00439be4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004030c8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4fec34]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00439be4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496b20
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x496b8d
cmp dword [ebp - 8], 0
jge 0x496b45
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00496414
mov eax, dword [ebp - 0x218]
call fcn.00403eb8
cmp eax, dword [ebp - 8]
jg 0x496b7f
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00496414
mov eax, dword [ebp - 0x21c]
call fcn.00403eb8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00496928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496bb2
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403c5c
ret
Function at 0x4a8850
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push esp
push 0x208
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.004043a4
add esp, 0x208
pop ebx
ret

Function at 0x4a9920
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a99a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x52ec98
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4a9993
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040ba28
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4a99c0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x52cde8]
mov dl, 1
mov eax, dword [0x4a8dc4]
call fcn.0040c360
call fcn.00403684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a99b0
lea eax, [ebp - 0x1c]
call fcn.00403c38
ret

Function at 0x4aa03c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004a9f60
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.004030c8
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4aa0a0
call fcn.004a9868
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x4aa092
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.004030c8
pop esi
pop ebx
ret

Function at 0x4aa1f8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040407c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402bcc
test ebx, ebx
je 0x4aa243
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x4aa320
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4aa351
mov ecx, dword [0x52d01c]
mov dl, 1
mov eax, dword [0x4a8dc4]
call fcn.0040c324
call fcn.00403684
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4aa37e
mov ecx, dword [0x52cb24]
mov dl, 1
mov eax, dword [0x4a8dc4]
call fcn.0040c324
call fcn.00403684
xor eax, eax
push ebp
push 0x4aa402
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.004030c8
cmp byte [ebp + 8], 0
je 0x4aa3dc
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004aa288
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a9fbc
jmp 0x4aa3f8
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004a9b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa41f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4aa5e4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a9de0
xor edx, edx
push ebp
push 0x4aa744
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4aa72e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4aa62e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4aa638
call fcn.00403724
jmp 0x4aa74b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00413e3c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x4aa723
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x4aa6e1
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4aa6d1
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.004030c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004aa59c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4aa754]
cmp dl, byte [eax + 0x28]
je 0x4aa72a
call fcn.0040c20c
jmp 0x4aa72a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00413e4c
jmp 0x4aa72a
cmp eax, ebx
jge 0x4aa6fa
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00413e4c
jmp 0x4aa638
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00413e3c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00413e58
cmp ebx, eax
jne 0x4aa638
push ebp
call fcn.004aa59c
pop ecx
jmp 0x4aa72a
push ebp
call fcn.004aa59c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa74b
mov eax, dword [ebp - 4]
call fcn.004a9dec
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa758
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aa87a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a9de0
xor eax, eax
push ebp
push 0x4aa85d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4aa7a8
call fcn.00403724
jmp 0x4aa864
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4aa847
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4aa847
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.004030c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4aa847
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ba28
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4aa894
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x52cde8]
mov dl, 1
mov eax, dword [0x4a8dc4]
call fcn.0040c360
call fcn.00403684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa864
mov eax, dword [ebp - 4]
call fcn.004a9dec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa881
lea eax, [ebp - 0x28]
call fcn.00403c38
ret
Function at 0x4aa8e0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aaa2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a9de0
xor eax, eax
push ebp
push 0x4aaa0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4aa945
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4aa945
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4aa9f7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4aa958
call fcn.00403724
jmp 0x4aaa14
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4aa9f7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4aa9f7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.004030c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4aa9f7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ba28
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4aaa44
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x52cde8]
mov dl, 1
mov eax, dword [0x4a8dc4]
call fcn.0040c360
call fcn.00403684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaa14
mov eax, dword [ebp - 4]
call fcn.004a9dec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaa31
lea eax, [ebp - 0x28]
call fcn.00403c38
ret
Function at 0x4af600
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4af62e
mov eax, ebx
call fcn.004b00a4
cmp dword [ebx + 0x3c], 0
je 0x4af627
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4af69f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4af691
cmp dword [ebx + 8], 0
je 0x4af650
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4af662
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4af691
cmp dword [ebx + 8], 0
je 0x4af643
cmp eax, 3
je 0x4af675
dec eax
jne 0x4af643
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4af643
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4af643
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4af6bd
cmp dword [ebx + 0x10], 0xcc
je 0x4af6bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004af6c8
pop ebx
ret

Function at 0x4c0048
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402bcc
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4c83ac
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040406c
xor eax, eax
push ebp
push 0x4c856a
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4c8580
lea edx, [ebp - 0x16c]
mov eax, ebx
call fcn.00408e3c
push dword [ebp - 0x16c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403f78
mov edx, dword [ebp - 8]
mov eax, dword [0x52eef4]
call fcn.004ac20c
test eax, eax
jl 0x4c8431
mov edx, eax
mov eax, dword [0x52eef4]
call fcn.004ac1a4
mov ebx, eax
mov ebx, dword [ebx + 4]
jmp 0x4c853f
push 0x111
push 0x160
lea eax, [ebp - 0x168]
push eax
push ebx
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 4]
mov edx, 0x4c858c
call fcn.00403f04
mov eax, dword [ebp - 0x170]
call fcn.0040407c
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c8506
mov eax, dword [ebp - 0x168]
call fcn.004c8378
mov ebx, eax
test ebx, ebx
je 0x4c8488
mov ebx, dword [ebx + 4]
jmp 0x4c853f
mov dl, 1
mov eax, dword [0x41aa78]
call fcn.00422638
mov ebx, eax
mov edx, dword [ebp - 0x168]
mov eax, ebx
call fcn.00422a08
mov eax, dword [0x4ff6a0]
mov eax, dword [eax + 0x2f4]
mov edx, ebx
call fcn.0043faac
mov eax, ebx
call fcn.00402eec
mov edx, dword [0x4c8330]
mov eax, 0xc
call fcn.00404a44
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00403c8c
mov eax, dword [0x4ff6a0]
mov eax, dword [eax + 0x2f4]
call fcn.0043faf8
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x168]
mov dword [ebx + 8], eax
mov edx, ebx
mov eax, dword [0x52eef4]
call fcn.004ac1b8
mov ebx, dword [ebx + 4]
jmp 0x4c853f
mov edx, dword [0x4c8330]
mov eax, 0xc
call fcn.00404a44
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00403c8c
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 8], 0xffffffff
mov edx, ebx
mov eax, dword [0x52eef4]
call fcn.004ac1b8
mov ebx, dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8571
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.00403c5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c5c
ret

Function at 0x4c89b8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0
push 0x10
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4c89e5
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403e68
jmp 0x4c89ec
mov eax, ebx
call fcn.00403c38
add esp, 0x108
pop ebx
ret
Function at 0x4cfa94
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040406c
xor eax, eax
push ebp
push 0x4cfbf7
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov esi, 0x4cfc08
lea edi, [ebp - 0x54]
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edi, 0xe
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov eax, ebx
cdq
idiv edi
mov al, byte [ebp + edx - 0x54]
mov byte [ecx], al
inc ebx
inc ecx
cmp ebx, 0x40
jne 0x4cfadd
mov ebx, 0x40
lea edi, [ebp - 0x44]
mov al, byte [edi]
mov edx, eax
shl edx, 4
and eax, 0xff
shr eax, 4
or dl, al
mov byte [edi], dl
inc edi
dec ebx
jne 0x4cfaf7
mov ebx, 0x3f
lea eax, [ebp - 0x43]
mov dl, byte [eax]
xor dl, byte [eax - 1]
add dl, 0x17
mov byte [eax], dl
inc eax
dec ebx
jne 0x4cfb16
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor al, byte [ebp - 0x44]
mov edx, dword [ebp - 4]
add al, byte [edx + 0xb]
mov edx, dword [ebp - 4]
mov byte [edx], al
mov ebx, 1
lea eax, [ebp - 0x43]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
xor dl, byte [eax]
mov ecx, dword [ebp - 4]
add dl, byte [ecx + ebx - 1]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
inc eax
cmp ebx, 0xc
jne 0x4cfb3f
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor al, byte [ebp - 0x44]
mov edx, dword [ebp - 4]
add al, byte [edx + 0xb]
mov edx, dword [ebp - 4]
mov byte [edx], al
mov ebx, 1
lea eax, [ebp - 0x43]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
xor dl, byte [eax]
mov ecx, dword [ebp - 4]
add dl, byte [ecx + ebx - 1]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
inc eax
cmp ebx, 0xc
jne 0x4cfb76
mov eax, esi
call fcn.00403c38
xor ebx, ebx
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
call fcn.004cfa70
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00403de0
mov edx, dword [ebp - 0x58]
mov eax, esi
call fcn.00403ec0
inc ebx
cmp ebx, 0xc
jne 0x4cfb9b
lea edx, [ebp - 0x5c]
mov eax, dword [esi]
call fcn.00408910
mov edx, dword [ebp - 0x5c]
mov eax, esi
call fcn.00403c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfbfe
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00403c5c
lea eax, [ebp - 4]
call fcn.00403c38
ret

Function at 0x4dae0c
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x4dae1b
or edx, 0x200
test eax, 0x20000000
je 0x4dae4f
test eax, 0x40000000
je 0x4dae3a
test eax, 0x80000000
je 0x4dae35
or edx, 0x40
jmp 0x4dae76
or edx, 0x20
jmp 0x4dae76
test eax, 0x80000000
je 0x4dae49
or edx, 0x80
jmp 0x4dae76
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x4dae67
test eax, 0x80000000
je 0x4dae62
or edx, 4
jmp 0x4dae76
or edx, 2
jmp 0x4dae76
test eax, 0x80000000
je 0x4dae73
or edx, 8
jmp 0x4dae76
or edx, 1
mov eax, edx
ret
Function at 0x4db9c8
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, 0x52f048
xor eax, eax
push ebp
push 0x4dbb32
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4dab70]
call fcn.004057c0
add esp, 4
mov eax, dword [ebx]
mov edx, 0x4dbb48
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 4], 0x52f020
mov eax, dword [ebx]
add eax, 8
mov edx, 0x4dbb5c
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0xc], 0x52f024
mov eax, dword [ebx]
add eax, 0x10
mov edx, 0x4dbb70
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x52f028
mov eax, dword [ebx]
add eax, 0x18
mov edx, 0x4dbb84
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0x52f02c
mov eax, dword [ebx]
add eax, 0x20
mov edx, 0x4dbb98
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x24], 0x52f030
mov eax, dword [ebx]
add eax, 0x28
mov edx, 0x4dbbb0
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x52f034
mov eax, dword [ebx]
add eax, 0x30
mov edx, 0x4dbbc8
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x52f038
mov eax, dword [ebx]
add eax, 0x38
mov edx, 0x4dbbe0
call fcn.00403c8c
mov eax, dword [ebx]
mov dword [eax + 0x3c], 0x52f03c
lea ecx, [ebp - 0xc]
mov eax, dword [0x52f044]
mov eax, dword [eax + 4]
mov edx, dword [ebx]
call fcn.004db280
lea edx, [ebp - 0xc]
mov eax, 0x52f04c
mov ecx, dword [0x4dab50]
call fcn.00404834
lea edx, [ebp - 0x10]
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.00452128
mov eax, dword [ebp - 0x10]
call fcn.0040407c
push eax
call dword [0x52f020]
push 0x52f01c
push 0x52c38c
call dword [0x52f024]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb39
lea eax, [ebp - 0x10]
call fcn.00403c38
lea eax, [ebp - 0xc]
mov edx, dword [0x4dab50]
call fcn.0040461c
ret
Function at 0x4f02c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
cmp byte [0x52c4d0], 0
jne 0x4f03bb
cmp byte [0x52c524], 0
je 0x4f03bb
cmp byte [0x52c4b4], 0
jne 0x4f0340
mov byte [0x52c524], 0
test esi, esi
je 0x4f03d3
push 5
mov eax, dword [0x52cc98]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004516e0
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004517d0
push 0x43
push 0
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00439be4
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4f03d3
mov eax, dword [0x52c7b4]
mov eax, dword [eax]
cmp byte [eax + 0x47], 0
jne 0x4f03d3
push 5
mov eax, dword [0x52cc98]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004516e0
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004517d0
mov eax, dword [0x52c7b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd8]
dec eax
jne 0x4f039b
mov eax, dword [0x52c6ec]
cmp byte [eax], 0
jne 0x4f02e9
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.00451640
push 0
mov eax, dword [0x52cc98]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4f03d3
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004516e0
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004517d0
pop esi
pop ebx
ret

Function at 0x4f03d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov byte [0x52c524], 0xff
mov eax, dword [0x52cc98]
mov eax, dword [eax]
call fcn.004516e0
push 0x87
push 0
push 0
push 0
push 0
push 1
mov eax, ebx
call fcn.00439be4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [0x52cc98]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret