joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475764
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 0x47590f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x475924
mov dl, 8
mov eax, ebx
call fcn.0047627c
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0041c3a8
cmp byte [ebx + 0x10098], 0
jne 0x4758bb
xor eax, eax
mov dword [ebx + 0x10094], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4757c8
call fcn.00403b54
mov dword [ebx + 0x100c4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0041c388
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4757f6
call fcn.00403b54
cmp eax, 0x10000
jle 0x475802
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
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 0x475829
call fcn.00403b54
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x4758f9
test eax, eax
jle 0x475869
sub esi, eax
add dword [ebx + 0x10094], eax
cmp word [ebx + 0x100da], 0
je 0x475877
mov edx, ebx
mov eax, dword [ebx + 0x100dc]
call dword [ebx + 0x100d8]
jmp 0x475877
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004761b0
mov eax, dword [0x538c6c]
mov eax, dword [eax]
call fcn.0047287c
test esi, esi
je 0x475890
cmp byte [ebx + 0x10098], 0
je 0x475815
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0041c388
cmp edx, dword [esp + 4]
jne 0x4758aa
cmp eax, dword [esp]
pop edx
pop eax
je 0x4758bb
cmp byte [ebx + 0x10098], 0
je 0x4757ce
cmp byte [ebx + 0x10098], 0
je 0x4758f9
mov byte [ebx + 0x10098], 0
mov ecx, 0x475938
mov dl, 1
mov eax, dword [0x474328]
call fcn.0040cd7c
call fcn.004043f8
cmp word [ebx + 0x1010a], 0
je 0x4758f9
mov edx, ebx
mov eax, dword [ebx + 0x1010c]
call dword [ebx + 0x10108]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475916
lea eax, [ebp - 0xc]
call fcn.00404a68
ret
Function at 0x475d10
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 0x475e19
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x475e30
mov dl, 8
mov eax, ebx
call fcn.0047627c
test byte [ebx + 0x1c], 0x10
setne al
xor al, 1
and al, byte [0x539bf0]
je 0x475e03
xor eax, eax
push ebp
push 0x475de3
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 0x475d79
call fcn.00403b54
mov word [ebx + 0x10110], 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 + 0x10110], 0xffff
jne 0x475dbe
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.004761b0
push 0x3f
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475e03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e20
lea eax, [ebp - 8]
call fcn.00404a68
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
mov ecx, 0x476198
mov dl, 4
mov eax, ebx
call fcn.0047627c
mov byte [ebx + 0x10118], 0
mov ax, word [ebx + 0x10110]
cmp ax, 0xffff
je 0x47618a
movzx eax, ax
push eax
call sub.wsock32.dll_closesocket
test byte [ebx + 0x1c], 8
jne 0x476149
cmp word [ebx + 0x1005a], 0
je 0x476149
mov edx, ebx
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
cmp byte [ebx + 0x10099], 0
jne 0x47618a
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x47616c
call fcn.00403b54
mov word [ebx + 0x10110], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10114]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
pop esi
pop ebx
ret
Function at 0x476324
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 + 0x100b8]
cmp dword [eax + 4], 0
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4763e8
push 2
push 1
lea eax, [ebp - 6]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10110]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x476375
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.004760a8
jmp 0x4763e8
test eax, eax
jne 0x4763e8
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x4763b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10118], 0
je 0x4763a7
mov eax, dword [ebp - 4]
call fcn.004763f4
mov eax, dword [ebp - 4]
call fcn.004760fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4763bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10034]
call fcn.0042fc10
mov eax, dword [ebp - 4]
cmp word [eax + 0x1005a], 0
je 0x4763e8
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1005c]
call dword [ebx + 0x10058]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4763fb
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x476448
mov dl, 8
mov eax, ebx
call fcn.0047627c
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10110]
push eax
call sub.wsock32.dll_recv
add esp, 0x10004
pop ebx
ret

Function at 0x476674
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, edx
mov ecx, 0x476734
mov dl, 8
call fcn.0047627c
mov eax, 0xc8
call fcn.00408e2c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47671f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc8
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x28]
mov ecx, 3
mov eax, 0x476750
call fcn.0040a29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476726
mov eax, dword [ebp - 8]
call fcn.00402ae0
ret
Function at 0x477128
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 0x4771d5
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 [0x417cc8]
call fcn.00403be8
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 8]
cdq
push edx
push eax
mov eax, esi
call fcn.0041c40c
mov esi, dword [ebx + 0xc]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, esi
call fcn.0041c3a8
lea eax, [ebp - 4]
mov edx, 0x4771ec
call fcn.00404b00
mov eax, dword [ebp - 4]
call fcn.00404f28
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
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 0x4771dc
lea eax, [ebp - 4]
call fcn.00404a68
ret

Function at 0x477274
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.00402f30
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.00402f30
call fcn.00405af4
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 0x10000
jge 0x4772d3
mov eax, 0x10000
mov esp, ebp
pop ebp
ret 8

Function at 0x4772dc
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.00404a68
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.0040e290
mov eax, ebx
call fcn.00408e2c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4773af
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.0040e290
mov eax, pe_nt_image_headers32
call fcn.00408e2c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x477392
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x4773dc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetTempFileNameA
call fcn.0040e290
mov eax, dword [ebp - 0xc]
call fcn.00409b7c
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477399
mov eax, dword [ebp - 8]
call fcn.00402ae0
ret
Function at 0x4782e4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x4782fc
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4782f5
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x478397
test esi, esi
jle 0x47832e
mov ecx, 0x478440
mov dl, 1
mov eax, dword [0x4081e4]
call fcn.0040cd7c
call fcn.004043f8
jmp 0x47838d
cmp word [ebx + 0xa4a], 0
jne 0x478350
mov ecx, 0x478440
mov dl, 1
mov eax, dword [0x4081e4]
call fcn.0040cd7c
call fcn.004043f8
jmp 0x47838d
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0xa4c]
call dword [ebx + 0xa48]
cmp byte [ebp - 9], 0
jne 0x47838c
mov ecx, 0x478440
mov dl, 1
mov eax, dword [0x4081e4]
call fcn.0040cd7c
call fcn.004043f8
jmp 0x47838d
inc esi
cmp dword [ebp + 8], 0
je 0x478312
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.00478178
cmp dword [ebx + 0x848], 0
jne 0x4783c4
mov ecx, 0x478458
mov dl, 1
mov eax, dword [0x4779f8]
call fcn.0040cd7c
call fcn.004043f8
mov ecx, 0x478474
mov dl, 2
mov eax, ebx
call fcn.00478648
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x47842a
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x478810
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x4787fa
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x478824
call fcn.0040a29c
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478817
lea eax, [ebp - 8]
call fcn.00404a68
ret
Function at 0x4788a8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4788b1
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x4789c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0040995c
test al, al
je 0x47899e
xor eax, eax
push ebp
push 0x478994
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x417bd8]
call fcn.0041c8a0
mov dword [ebp - 0x10], eax
jmp 0x478964
lea edx, [ebp - 0x2018]
mov ecx, 0x2000
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
test esi, esi
jle 0x478964
lea ebx, [ebp - 0x2018]
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, dword [ebp - 0xc]
and edx, 0xff
xor eax, dword [edx*4 + 0x536c9c]
mov dword [ebp - 0xc], eax
inc ebx
dec esi
jne 0x47893e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041c388
cmp edx, dword [esp + 4]
jne 0x47897e
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47891b
mov eax, dword [ebp - 0x10]
call fcn.00403c18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47899e
mov eax, dword [ebp - 0xc]
xor eax, 0x38259662
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
not dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4789cd
lea eax, [ebp - 4]
call fcn.00404a68
ret

Function at 0x478d04
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffcc
mov ebx, eax
call sub.kernel32.dll_GetCurrentProcess
push esp
push 0x28
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x478d88
push 0x478d9c
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
shl eax, 2
lea eax, [eax + eax*2]
add eax, 4
push eax
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
add ebx, 4
push ebx
call sub.user32.dll_ExitWindowsEx
add esp, 0x34
pop ebx
ret
Function at 0x47c200
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47c22e
mov eax, ebx
call fcn.0047ccb4
cmp dword [ebx + 0x40], 0
je 0x47c227
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47c29f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47c291
cmp dword [ebx + 8], 0
je 0x47c250
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47c262
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47c291
cmp dword [ebx + 8], 0
je 0x47c243
cmp eax, 3
je 0x47c275
dec eax
jne 0x47c243
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 0x47c243
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47c243
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47c2bd
cmp dword [ebx + 0x14], 0xcc
je 0x47c2bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047c2c8
pop ebx
ret
Function at 0x48d338
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x48d362
cmp dword [ebx + 0x64], 0
jne 0x48d362
cmp dword [ebx + 0x6c], 0
jne 0x48d362
mov esi, edi
jmp 0x48d3fa
cmp esi, 0xffffffff
jne 0x48d36d
dec esi
jmp 0x48d3fa
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x48d3fa
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0048c84c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x48d3ba
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x48d3c2
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x48d3a1
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x48d3eb
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x48d3f3
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x48d3d2
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x48d458
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0048d05c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x48d443
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x48d458
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48d342
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x499db8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x499dcd
add esp, 0xfffffff0
call fcn.00403f90
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x499ea8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00494bc4
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418628
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418628
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418628
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418628
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00418650
push esi
lea edi, [esi + 0x44]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x56], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499eaf
lea eax, [ebp - 4]
call fcn.00404a68
ret
Function at 0x4ac318
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
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 0x4ac578
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ac37b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004abe30
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d738
cmp al, 1
jne 0x4ac37b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ac0f8
test al, al
je 0x4ac507
cmp dword [ebp - 8], 0
jge 0x4ac399
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.004abe30
mov eax, dword [ebp - 0x210]
call fcn.00404d28
cmp ebx, eax
jge 0x4ac3e3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004abe30
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x538e24]
and eax, 0xff
bt dword [edx], eax
jae 0x4ac3e3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ac3f7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ac2f4
cmp ebx, dword [ebp - 8]
je 0x4ac4f9
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 0x4ac423
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5387dc]
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 + 0x23c], 1
xor eax, eax
push ebp
push 0x4ac4e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5387dc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5387dc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045960c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac4ed
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4ac55a
cmp dword [ebp - 8], 0
jge 0x4ac512
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004abe30
mov eax, dword [ebp - 0x218]
call fcn.00404d28
cmp eax, dword [ebp - 8]
jg 0x4ac54c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004abe30
mov eax, dword [ebp - 0x21c]
call fcn.00404d28
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ac2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac57f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a8c
ret