joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7590
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x50]
mov ecx, dword [esp + 0x3c]
imul edi, edi, 0x21c
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x48]
push 0
push 0x200
add ecx, edi
push ecx
push edx
mov dword [esp + 0x30], 0x10
call sub.WSOCK32.dll_recvfrom
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a766e
call fcn.00401d39
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x48]
mov word [edi + eax + 0x21a], bx
mov eax, dword [esi + 0x50]
mov ecx, 1
add eax, ecx
cdq
idiv dword [esi + 0x4c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x48]
mov dword [edi + edx + 0x214], eax
mov edx, dword [esi + 0x48]
mov ax, word [esp + 0x1e]
mov word [edi + edx + 0x218], ax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x14]
mov dx, word [esp + 0x1e]
mov word [eax], dx
mov dword [ebp], ebx
add dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x48]
add dword [esi + 0x60], ecx
add dword [esi + 0x1c], ecx
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c118f
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004c118f
add esp, 0x20
ret 0xc

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

Disassembly:
sub esp, 0x14
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
call fcn.00401d39
mov ebx, dword [esp + 0x28]
mov cx, word [esp + 0x30]
push 0x10
lea edx, [esp + 0x10]
push edx
push 0
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x38]
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x30]
push edi
push eax
mov word [esp + 0x24], 2
mov word [esp + 0x26], cx
call sub.WSOCK32.dll_sendto
add dword [esi + 0x54], ebx
mov ecx, dword [esp + 0x1c]
mov eax, 1
add dword [esi + 0x58], eax
add dword [esi + 0x18], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c118f
add esp, 0x14
ret 0x10

Function at 0x4a7870
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
add edx, 3
shr edx, 2
push esi
lea esi, [eax + edx*4]
cmp eax, esi
mov edx, dword [ecx + 0x14]
push edi
lea edi, [ecx + 0x60]
je 0x4a78a5
sub edi, eax
push ebx
mov ecx, dword [eax]
mov ebx, dword [edi + eax]
xor ebx, ecx
xor ebx, edx
mov dword [eax], ebx
add eax, 4
cmp eax, esi
mov edx, ecx
jne 0x4a7890
pop ebx
pop edi
pop esi
ret 8
Function at 0x4a78b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
add eax, 3
shr eax, 2
push esi
lea esi, [edx + eax*4]
cmp edx, esi
push edi
lea edi, [ecx + 0x60]
mov ecx, dword [ecx + 0x14]
je 0x4a78e3
sub edi, edx
nop
mov eax, dword [edi + edx]
xor eax, dword [edx]
add edx, 4
xor eax, ecx
cmp edx, esi
mov dword [edx - 4], eax
mov ecx, eax
jne 0x4a78d0
pop edi
pop esi
ret 8
Function at 0x4a7c00
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x50cf5b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
cmp eax, 1
mov esi, ecx
jge 0x4a7c42
mov eax, 1
xor ecx, ecx
mov dword [esi + 0x4c], eax
xor edi, edi
mov edx, 0x21c
mul edx
seto cl
mov dword [esi + 0x50], edi
neg ecx
or ecx, eax
push ecx
call fcn.004c538d
mov ecx, dword [esi + 0x4c]
imul ecx, ecx, 0x21c
push ecx
push edi
push eax
mov dword [esi + 0x48], eax
call fcn.004c14b0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x60]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x20], ecx
mov dword [esi], edx
mov dword [esi + 0x24], eax
xor ecx, ecx
mov eax, ebp
mov edx, 0x434
mul edx
seto cl
mov dword [esi + 8], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x10], 0x96
mov dword [esi + 0x14], 0xf4240
mov dword [esi + 0x28], ebp
mov dword [esi + 0xc], 0x1f4
neg ecx
or ecx, eax
push ecx
mov dword [esi + 0x38], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.004c538d
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x3c], edi
je 0x4a7d09
push 0x4a77c0
push ebp
push 0x434
push ebx
call fcn.004a9730
jmp 0x4a7d0b
xor ebx, ebx
mov eax, dword [esi + 0x28]
xor ecx, ecx
or ebp, 0xffffffff
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x3c], ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], edi
neg ecx
or ecx, eax
push ecx
call fcn.004c538d
add esp, 4
push edi
push 2
push 2
mov dword [esi + 0x64], eax
call sub.WSOCK32.dll_socket
lea ecx, [esp + 0x18]
push ecx
push 0x8004667e
push eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x24], 1
call sub.WSOCK32.dll_ioctlsocket
mov eax, dword [esi + 0x30]
push 4
lea edx, [esp + 0x18]
push edx
push 1
push 6
push eax
mov dword [esp + 0x28], ebp
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x58]
push 4
lea edx, [esp + 0x18]
push edx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x28], ecx
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x5c]
push 4
lea edx, [esp + 0x18]
push edx
push 0x1002
push 0xffff
push eax
mov dword [esp + 0x28], ecx
call sub.WSOCK32.dll_setsockopt
movzx ecx, word [esi + 0x24]
push ecx
mov word [esp + 0x24], 2
call sub.WSOCK32.dll_htons
push edi
mov word [esp + 0x26], ax
call sub.WSOCK32.dll_htonl
push 0x10
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x30]
push edx
push eax
call sub.WSOCK32.dll_bind
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004c118f
add esp, 0x2c
ret 0x24
Function at 0x4a8280
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50cf99
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], edx
mov dx, word [esp + 0x30]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [esi], ecx
mov ecx, dword [esp + 0x34]
mov word [esi + 4], dx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x24], 0x98967f
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x4a8311
mov ecx, esi
call fcn.004a8060
mov dword [esi + 0x4c], edi
call fcn.00401d39
mov dword [esi + 0x50], eax
call fcn.00401d39
mov dword [esi + 0x4c], eax
call fcn.00401d39
mov dword [esi + 0x54], eax
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
call fcn.00401d39
mov dword [esi + 0x2a8], eax
mov eax, 0x3e8
mov dword [esi + 0x294], eax
mov dword [esi + 0x298], eax
lea eax, [esi + 0x2ac]
push 0x4174
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
mov dword [esi + 0x274], edi
mov dword [esi + 0x28c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x280], edi
mov dword [esi + 0x284], edi
mov dword [esi + 0x288], edi
mov dword [esi + 0x278], edi
mov dword [esi + 0x42c], eax
mov dword [esi + 0x430], edi
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], edi
je 0x4a83d3
push 0x50
push ebx
push esi
push edi
mov ecx, eax
call fcn.004a79f0
jmp 0x4a83d5
xor eax, eax
push 0x4174
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x18], eax
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov dword [esp + 0x18], 1
je 0x4a840c
push 0x64
push ebx
push esi
push 1
mov ecx, eax
call fcn.004a79f0
jmp 0x4a840e
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [eax + 0x18], 0x64
mov dword [eax + 0x1c], 0x64
mov ecx, dword [esi + 0x20]
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a7f20
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x28
Function at 0x4a88e0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
mov edi, ecx
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4a8919
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x4a890c
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
call sub.WSOCK32.dll_htons
mov edx, dword [edi + 0x68]
lea ecx, [esp + 0xc]
push ecx
push 0x4a7790
push 4
mov word [esp + 0x20], ax
mov eax, dword [edi + 0x64]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0048cda0
add esp, 0x18
cmp dword [esp + 0xc], 0
je 0x4a895a
cmp dword [eax], 0
jne 0x4a89c4
mov ecx, edi
call fcn.004a7520
mov ebx, eax
test ebx, ebx
je 0x4a89c4
mov ecx, ebx
sub ecx, dword [edi + 0x2c]
mov eax, 0x79d06a97
imul ecx
sar edx, 9
mov esi, edx
shr esi, 0x1f
push ebp
add esi, edx
call fcn.00401d39
mov ebp, eax
shl ebp, 4
call fcn.004c11ab
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
push 0
push 3
xor eax, ebp
push eax
push edx
call sub.WSOCK32.dll_htons
mov ecx, ebx
push eax
mov eax, dword [esp + 0x38]
push eax
push esi
push 1
push edi
call fcn.004a8280
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0xc
ret 0xc
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
Function at 0x4a97c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x2c
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
push edi
je 0x4a97e0
push eax
call sub.WSOCK32.dll_closesocket
push 0
push 2
push 2
call sub.WSOCK32.dll_socket
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push eax
mov dword [esi], eax
mov dword [esp + 0x1c], 1
call sub.WSOCK32.dll_ioctlsocket
mov eax, dword [esi]
push 4
lea edx, [esp + 0x10]
push edx
push 1
push 6
push eax
mov dword [esp + 0x20], 0xffffffff
call sub.WSOCK32.dll_setsockopt
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1001
push 0xffff
mov edi, 0x400
push edx
mov dword [esp + 0x20], edi
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esi]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1002
push 0xffff
push ecx
mov dword [esp + 0x20], edi
call sub.WSOCK32.dll_setsockopt
movzx edx, word [esi + 0x120]
push edx
mov word [esp + 0x18], 2
call sub.WSOCK32.dll_htons
push 0
mov word [esp + 0x1a], ax
call sub.WSOCK32.dll_htonl
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
push 0x10
lea eax, [esp + 0x18]
push eax
push ecx
call sub.WSOCK32.dll_bind
lea ebx, [esi + 0x1c]
push ebx
call sub.WSOCK32.dll_inet_addr
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a98b3
push ebx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4a98b3
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov edi, dword [eax]
movzx ecx, word [esi + 0x11c]
push ecx
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], edi
call sub.WSOCK32.dll_htons
push 0x10
lea edx, [esp + 0x28]
mov word [esp + 0x2a], ax
mov eax, dword [esi]
push edx
push eax
call sub.WSOCK32.dll_connect
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c118f
add esp, 0x2c
ret

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

Disassembly:
sub esp, 0x808
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push esi
mov esi, ecx
add dword [esi + 0x14], 1
test eax, eax
push edi
je 0x4a9979
mov edi, dword [esp + 0x818]
test edi, edi
jle 0x4a9979
push edi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.004c1720
mov edx, dword [esi]
add esp, 0xc
push 0
add edi, 4
push edi
lea ecx, [esp + 0x14]
push ecx
push edx
jmp 0x4a998e
call fcn.00401d39
mov ecx, dword [esi]
push 0
mov dword [esp + 0xc], eax
push 4
lea eax, [esp + 0x10]
push eax
push ecx
call sub.WSOCK32.dll_send
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
xor ecx, esp
call fcn.004c118f
add esp, 0x808
ret 8
Function at 0x4a99c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x808
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
call fcn.00401d39
sub eax, dword [esi + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esi + 0x10]
jle 0x4a99fd
mov ebx, 1
call fcn.00401d39
mov dword [esi + 0xc], eax
mov edx, dword [esi]
push 2
push 0x800
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x4a9a5b
mov ecx, dword [esi]
push 0
push 0x800
lea eax, [esp + 0x18]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov edi, eax
cmp edi, 8
jb 0x4a9a54
add dword [esi + 0x18], 1
test ebx, ebx
jne 0x4a9a54
mov edx, dword [esp + 0x10]
mov dword [esi + 4], edx
call fcn.00401d39
sub eax, dword [esp + 0x14]
mov dword [esi + 8], eax
cmp edi, 0xffffffff
jne 0x4a9a05
jmp 0x4a9a6e
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4a9a6e
mov ecx, esi
call fcn.004a97c0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c118f
add esp, 0x808
ret 4

Function at 0x4a9e50
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x576a58], 0
mov eax, dword [esp + 4]
je case.default.0x4a9e68
lea edx, [eax - 0xa0]
cmp edx, 5
ja case.default.0x4a9e68
jmp dword [edx*4 + 0x4a9f78]
cmp dword [0x576a5c], 0
je 0x4a9e8d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a9e8d
mov eax, 1
ret 4
xor eax, eax
ret 4
cmp dword [0x576a5c], 0
jne 0x4a9e8d
jmp 0x4a9e78
cmp dword [0x576a64], 0
je 0x4a9e8d
push 0x11
jmp 0x4a9e7a
cmp dword [0x576a64], 0
jne 0x4a9e8d
push 0x11
jmp 0x4a9e7a
cmp dword [0x576a60], 0
je 0x4a9e8d
push 0x12
jmp 0x4a9e7a
cmp dword [0x576a60], 0
jne 0x4a9e8d
push 0x12
jmp 0x4a9e7a
cmp eax, 0x100
jl 0x4a9ef7
cmp eax, 0x128
jge 0x4a9efe
mov ecx, dword [ecx + 0x2210]
test ecx, ecx
je 0x4a9e8d
add eax, 0xffffff00
mov dword [esp + 4], eax
jmp fcn.004b4260
cmp eax, 0x128
jl 0x4a9f68
cmp eax, 0x148
jge 0x4a9f68
mov ecx, dword [ecx + 0x2210]
test ecx, ecx
push esi
je 0x4a9f62
lea esi, [eax - 0x128]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.004b42d0
cmp eax, 0xffffffff
je 0x4a9f62
cmp eax, 0x3a98
jge 0x4a9f40
mov ecx, esi
and ecx, reloc.DSOUND.dll_DirectSoundCreate
jns 0x4a9f3e
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4a9f59
cmp eax, 0xc350
jle 0x4a9f62
and esi, reloc.DSOUND.dll_DirectSoundCreate
jns 0x4a9f54
dec esi
or esi, 0xfffffffe
inc esi
cmp esi, 1
jne 0x4a9f62
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
ret 4
Function at 0x4aa4a0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x98
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
xor esi, esi
lea eax, [esp + 4]
push eax
mov dword [0x576a5c], esi
mov dword [0x576a64], esi
mov dword [0x576a60], esi
mov dword [0x576a58], esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
je 0x4aa503
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x4aa420
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x576a58], eax
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.004c118f
add esp, 0x98
ret

Function at 0x4aa8c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 0xc]
xor eax, eax
test esi, esi
jle 0x4aa8da
mov edx, dword [ecx + 4]
lea ecx, [ecx]
xor eax, dword [edx]
add edx, 4
sub esi, 1
jne 0x4aa8d0
xor edx, edx
cmp eax, dword [ecx + 0x10]
pop esi
sete dl
mov eax, edx
ret
Function at 0x4b6860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push 0x51f13c
call fcn.004c4780
mov esi, dword [esp + 0x20]
push 0x51f148
push esi
call fcn.004c6930
push 0x51f154
push 0x51f158
xor bl, bl
call fcn.004c20fd
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x10], edi
je 0x4b69b1
push 0x51f164
push esi
call fcn.004c20fd
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
je 0x4b69a8
push ebp
push 0x40000
call fcn.004c2308
mov esi, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x2c]
add eax, esi
add esi, 8
add esp, 4
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x4b6992
movzx ebx, byte [esi + 1]
mov bh, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
add esi, 4
test ebx, ebx
jge 0x4b691c
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
neg ecx
push ecx
push 1
push esi
call fcn.004c2a02
add esp, 0x10
sub esi, ebx
jmp 0x4b6988
movzx eax, byte [esi + 1]
mov ah, byte [esi]
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 0
push eax
push edi
add esi, 4
call fcn.004c675a
add esp, 0xc
test ebx, ebx
jle 0x4b6988
jmp 0x4b6950
cmp ebx, 0x40000
mov edi, 0x40000
jg 0x4b695f
mov edi, ebx
mov edx, dword [esp + 0x14]
push edx
push edi
push 1
push ebp
call fcn.004c1e2a
mov eax, dword [esp + 0x20]
push eax
push edi
push 1
push ebp
call fcn.004c2a02
sub ebx, edi
add esp, 0x20
test ebx, ebx
jg 0x4b6950
mov edi, dword [esp + 0x14]
cmp esi, dword [esp + 0x18]
jb 0x4b68e4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c1af7
push ebp
call fcn.004c21b6
add esp, 8
mov bl, 1
pop ebp
push edi
call fcn.004c1af7
add esp, 4
push str.delta.hld
call fcn.004c4780
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x4b8700
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push 0x51f1bc
push esi
call fcn.004c20fd
add esp, 8
test eax, eax
mov dword [esi + 0x204], eax
je 0x4b87f7
push eax
push 8
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004c1e2a
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x210], eax
call fcn.004c2308
mov edx, dword [esi + 0x210]
add esp, 0x14
cmp dword [esp + 8], 1
mov dword [esi + 0x20c], eax
jne 0x4b87fc
imul edx, edx, 0x16
push ebp
push edi
push edx
call fcn.004c2308
mov ecx, dword [esi + 0x210]
mov edi, eax
mov eax, dword [esi + 0x204]
push eax
push 0x16
push ecx
push edi
mov dword [esp + 0x20], edi
call fcn.004c1e2a
xor ebp, ebp
add esp, 0x14
cmp dword [esi + 0x210], ebp
jle 0x4b87e8
push ebx
xor ebx, ebx
add edi, 0xe
mov edi, edi
mov edx, dword [esi + 0x20c]
mov eax, dword [edi + 4]
mov dword [ebx + edx + 0x24], eax
mov edx, dword [edi]
mov ecx, dword [esi + 0x20c]
mov dword [ebx + ecx + 0x20], edx
mov eax, dword [esi + 0x20c]
lea edx, [edi - 0xe]
add eax, ebx
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x4b87c4
add ebp, 1
add edi, 0x16
add ebx, 0x28
cmp ebp, dword [esi + 0x210]
jl 0x4b87a0
mov edi, dword [esp + 0x10]
pop ebx
test edi, edi
je 0x4b87f5
push edi
call fcn.004c21b6
add esp, 4
pop edi
pop ebp
pop esi
add esp, 0xc
ret
mov ecx, dword [esi + 0x204]
push ecx
push 0x28
push edx
push eax
call fcn.004c1e2a
add esp, 0x10
pop esi
add esp, 0xc
ret

Function at 0x4b88c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push edi
mov edi, dword [esp + 0x10]
push edi
push eax
call fcn.004b85c0
mov ebx, eax
test ebx, ebx
jne 0x4b88dc
pop edi
pop ebx
ret 8
mov ecx, dword [edi]
push esi
push ecx
call fcn.004c2308
mov edx, dword [edi]
push ebx
push edx
mov esi, eax
push 1
push esi
call fcn.004c1e2a
add esp, 0x14
mov eax, esi
pop esi
pop edi
pop ebx
ret 8

Function at 0x4b8900
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x38]
test byte [ecx], 8
jne 0x4b8919
mov dword [0x576afc], 0x6f
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4b892f
push 1
lea ecx, [esp + 8]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x4b8944
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0xc]
push 1
push eax
call fcn.004c1e2a
add esp, 0x10
cmp eax, 1
je 0x4b8956
mov dword [0x576afc], 0x66
xor eax, eax
ret
mov al, byte [esp + 4]
cmp al, 0x21
je 0x4b899d
cmp al, 0x2c
je 0x4b898d
cmp al, 0x3b
je 0x4b897d
mov ecx, dword [esp + 8]
mov dword [ecx], 0
mov dword [0x576afc], 0x6b
xor eax, eax
ret
mov edx, dword [esp + 8]
mov dword [edx], 4
mov eax, 1
ret
mov eax, dword [esp + 8]
mov dword [eax], 2
mov eax, 1
ret
mov ecx, dword [esp + 8]
mov dword [ecx], 3
mov eax, 1
ret