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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4477d8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4477b9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4477c8
or bl, 4
test esi, 0x20000000
je 0x4477d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44de9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44deae
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004198f0
mov eax, dword [0x455e14]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e240
mov eax, dword [0x455e20]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e24c
mov eax, ebx
call fcn.0044e258
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.0040343c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44a670
push eax
push 0
push 0
mov eax, dword [0x455f58]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b320]
call fcn.0041c788
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b320]
call fcn.0041c788
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b320]
call fcn.0041c788
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e6a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e570
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e570
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e570
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dfeb
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e354
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e4ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e4e0
mov dl, 1
mov eax, dword [0x411f24]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e4cf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043c26c
test al, al
je 0x44e4c2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44e510
lea eax, [ebp - 0x254]
call fcn.00408ea8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e4c2
xor eax, eax
push ebp
push 0x44e4bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44e548
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e4a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44e4a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e4c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e3c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415a88
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e506
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

Function at 0x44ee48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x457b44]
cmp byte [eax + 0xa5], 0
jne 0x44eeb9
cmp dword [0x457b5c], 0
jne 0x44ee7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ee04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457b5c], eax
cmp dword [0x457b58], 0
jne 0x44ee95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457b58], eax
cmp dword [0x457b60], 0
jne 0x44eeb9
push esp
push 0
push 0
push 0x44eda8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457b60], eax
pop edx
ret
Function at 0x44f54c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457b44]
cmp dword [eax + 0x30], 0
je 0x44f5f6
cmp dword [ebx + 0x94], 0
jne 0x44f5f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f4dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f5f0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f5b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f5f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413e84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f5c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450154
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450189
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x450196
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4512a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4512e9
mov eax, esi
call fcn.00437848
test al, al
je 0x4512e9
mov eax, dword [ebx + 0x84]
call fcn.00437544
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4512e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437544
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452458
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 0x4524e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x457b6c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4524cb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040aff8
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, 0x4524f8
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x45604c]
mov dl, 1
mov eax, dword [0x451c5c]
call fcn.0040b92c
call fcn.00403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4524e8
lea eax, [ebp - 0x1c]
call fcn.004041e0
ret
Function at 0x452b88
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00452aac
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403674
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x452bec
call fcn.004523a0
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x452bde
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403674
pop esi
pop ebx
ret

Function at 0x452c10
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.004046a0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00402e84
cmp dword [esp + 4], 0
je 0x452c62
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret

Function at 0x452d48
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 edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x452d79
mov ecx, dword [0x455f94]
mov dl, 1
mov eax, dword [0x451c5c]
call fcn.0040b8f0
call fcn.00403bf4
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 0x452da6
mov ecx, dword [0x455f40]
mov dl, 1
mov eax, dword [0x451c5c]
call fcn.0040b8f0
call fcn.00403bf4
xor eax, eax
push ebp
push 0x452e22
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403674
cmp byte [ebp + 8], 0
je 0x452dfe
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00452cb0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00452b88
jmp 0x452e18
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045268c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452e3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x453020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00452948
xor eax, eax
push ebp
push 0x453192
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45317c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45306c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x453076
call fcn.00403ca0
jmp 0x453199
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415b44
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 + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x453171
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
mov edi, eax
cmp edi, 0xffffffff
jne 0x453124
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x453111
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403674
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.00452fd8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4531a4]
cmp dl, byte [eax + 0x28]
je 0x453178
call fcn.0040b814
jmp 0x453178
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415b64
jmp 0x453178
cmp edi, ebx
jge 0x453140
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415b64
jmp 0x453076
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415b44
cmp edx, dword [esp + 4]
jne 0x453160
cmp eax, dword [esp]
pop edx
pop eax
jne 0x453076
push ebp
call fcn.00452fd8
pop ecx
jmp 0x453178
push ebp
call fcn.00452fd8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453199
mov eax, dword [ebp - 4]
call fcn.00452954
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4531a8
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 0x4532ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00452948
xor eax, eax
push ebp
push 0x4532ad
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 0x4531f8
call fcn.00403ca0
jmp 0x4532b4
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 0x453297
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x453297
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403674
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 0x453297
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040aff8
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, 0x4532e4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x45604c]
mov dl, 1
mov eax, dword [0x451c5c]
call fcn.0040b92c
call fcn.00403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4532b4
mov eax, dword [ebp - 4]
call fcn.00452954
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4532d1
lea eax, [ebp - 0x28]
call fcn.004041e0
ret
Function at 0x453330
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4534a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00452948
xor eax, eax
push ebp
push 0x453484
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x453395
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x453395
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 0x45346e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4533a8
call fcn.00403ca0
jmp 0x45348b
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x4533cf
cmp ebx, dword [ebp - 0x10]
jle 0x4533cf
cmp dword [ebp - 0x10], 0
je 0x4533cf
mov ebx, dword [ebp - 0x10]
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 0x45346e
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45346e
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403674
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 0x45346e
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040aff8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x4534bc
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x45604c]
mov dl, 1
mov eax, dword [0x451c5c]
call fcn.0040b92c
call fcn.00403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45348b
mov eax, dword [ebp - 4]
call fcn.00452954
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534a8
lea eax, [ebp - 0x2c]
call fcn.004041e0
ret
Function at 0x435472
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbd88
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
test eax, eax
je 0x435552
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
je 0x435552
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
test eax, eax
je 0x435523
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
je 0x435523
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
push eax
call fcn.00405362
pop ecx
movzx esi, ax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
push eax
call fcn.00405362
pop ecx
movzx eax, ax
cmp esi, eax
jne 0x435523
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
jmp 0x4354d9
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
jne 0x43553f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x30]
jmp 0x43556b
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x4354bb
mov dword [ebp - 4], 0xfffffffe
jmp 0x435569
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435776
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bc0c0
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x9c
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1d], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
push eax
call fcn.0043513d
pop ecx
cmp dword [ebp + 8], 0
je 0x4357da
cmp dword [ebp + 0xc], 0
jne 0x4357f3
mov byte [ebp - 0xb1], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0xb1]
jmp 0x43589b
lea eax, [ebp - 0xb0]
push eax
push dword [ebp + 8]
call fcn.00435472
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x435879
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
test eax, eax
je 0x435837
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
cmp eax, 0x30
jle 0x43582d
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
cmp eax, 0x39
jl 0x435837
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x43580d
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
test eax, eax
je 0x435875
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
cmp eax, 0x30
jl 0x435875
mov eax, dword [ebp - 0x28]
movzx eax, word [eax]
cmp eax, 0x39
jg 0x435875
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov cx, word [ecx]
mov word [eax], cx
mov eax, dword [ebp + 0xc]
inc eax
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x435837
mov byte [ebp - 0x1d], 1
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov dword [ebp - 4], 0xfffffffe
jmp 0x435898
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.004089a9
leave
ret
Function at 0x436b6c
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d478
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4c02d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00404d03
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00404d03
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
call fcn.00404d03
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.00404d03
mov byte [ebp - 4], 3
push 0x18
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x40
push eax
call fcn.00408e10
add esp, 0xc
push 0x2c00
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x5c
push eax
call fcn.00408e10
add esp, 0xc
push 0x300
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.00408e10
add esp, 0xc
call dword [fcn.0044f2b4]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c5c
push eax
call dword [fcn.0044f290]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
call dword [fcn.0044f2b4]
push eax
call fcn.004092c1
pop ecx
and dword [ebp - 0x18], 0
jmp 0x436c4b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x18
jge 0x436c6e
push 0x7f
push 0x21
mov ecx, dword [ebp - 0x20]
call fcn.00435c83
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0x19]
mov byte [eax + 0x40], cl
jmp 0x436c44
cmp dword [0x4c744c], 0
je 0x436d2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [0x4c744c]
call fcn.0042ca71
movzx eax, al
test eax, eax
je 0x436d2c
cmp dword [ebp - 0x10], 0
je 0x436d2c
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.00434fe8
add esp, 0x10
mov eax, dword [ebp - 0x14]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c74
push eax
call fcn.00434ec6
add esp, 0x10
cmp dword [ebp + 0x1c], 0x63
jge 0x436d13
push dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00436564
push 0x400
push dword [ebp - 0x10]
push 0
call dword [fcn.0044f2c0]
push eax
call fcn.0042f42a
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 0x18