joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a940
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576beb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004cee70
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x44a994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x44aa1f
push 0x64
call fcn.0055e5a9
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x44a9cf
push eax
call fcn.004b2180
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
mov ebx, dword [0x8927a4]
push str.thor
add ebx, 0x57f48
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.00403040
mov edx, dword [esi]
push str.normal
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
call fcn.0053bc60
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x44db50
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x200
lea eax, [esp + 0x208]
push eax
push ecx
lea edx, [esp + 8]
push edx
call fcn.005602b7
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x200
ret

Function at 0x450010
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x80
push esi
push 0x80
lea eax, [esp + 8]
push eax
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x45003b
mov dword [edi + 4], esi
mov dword [edi], esi
pop esi
add esp, 0x80
ret
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x450094
mov edx, dword [eax + 0xc]
cmp dword [edx], 0
je 0x450094
lea ecx, [edi + 5]
push ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx]
mov byte [ecx - 1], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 1]
mov byte [ecx], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 2]
mov byte [ecx + 1], dl
mov edx, dword [eax + 0xc]
mov edx, dword [edx + esi*4]
mov dl, byte [edx + 3]
mov byte [ecx + 2], dl
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + esi*4 + 4]
inc esi
add ecx, 4
test ebx, ebx
jne 0x450056
pop ebx
mov dword [edi], esi
pop esi
add esp, 0x80
ret
Function at 0x453c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5710c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0xffffffff
xor ecx, ecx
mov dword [eax + 0x1c], ecx
mov edi, 0xf
mov dword [eax + 0x20], edi
mov byte [eax + 0xc], cl
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0xa0], esp
push eax
push ecx
lea ebx, [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.00456790
add esp, 0x2c
xor ebx, ebx
push eax
mov dword [esp + 0x78], ebx
call fcn.00453c60
push 0xffffffffffffffff
mov byte [esp + 0x78], 1
push ebx
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00402520
mov eax, dword [esp + 0x44]
mov esi, 0x10
cmp eax, esi
jb 0x453d32
mov eax, dword [esp + 0x30]
push eax
call fcn.0055f7e2
add esp, 4
mov byte [esp + 0x74], 3
cmp dword [esp + 0x68], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x453d56
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0055f7e2
add esp, 4
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jae 0x453d70
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.00401c60
mov edi, eax
cmp dword [esp + 0x28], esi
jb 0x453d8d
mov edx, dword [esp + 0x14]
push edx
call fcn.0055f7e2
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 4
Function at 0x456a50
Capabilities:
Resolve dns

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456a56
sub eax, esi
pop esi
je 0x456a9d
cmp byte [eax + edx - 1], 0x2e
je 0x456a9d
lea ecx, [eax - 1]
test ecx, ecx
jl 0x456a82
mov al, byte [ecx + edx]
cmp al, 0x2e
je 0x456a82
cmp al, 0x30
jl 0x456a8a
cmp al, 0x39
jg 0x456a8a
dec ecx
jns 0x456a70
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
ret
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x456a9d
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
ret
or eax, 0xffffffff
ret
Function at 0x456c30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push esi
lea esi, [ebx + 0x28254]
push edi
mov ecx, esi
call fcn.0053f9d0
mov eax, dword [ebx + 0x7a30]
xor ebp, ebp
push ebp
mov ecx, 0x4000
sub ecx, eax
push ecx
lea edx, [eax + ebx + 0x230]
mov eax, dword [ebx + 0x24]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, esi
mov edi, eax
call fcn.0053f9e0
cmp edi, ebp
jge 0x456c82
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
cmp eax, 0x2733
pop esi
sete al
pop ebp
ret
mov esi, dword [ebx + 0x7a30]
movzx eax, word [ebx + 0x230]
add esi, edi
mov ecx, esi
cmp eax, ecx
mov dword [ebx + 0x7a30], esi
jle 0x456ca5
pop edi
pop esi
mov al, 1
pop ebp
ret
xor ebp, ebp
cmp dword [ebx + 0x7a30], 2
jl 0x456c9d
mov ecx, dword [ebx + 0x27a3c]
add ecx, eax
cmp ecx, 0x20000
jle 0x456cdf
mov ecx, dword [ebx + 0x27a38]
cmp eax, dword [ebx + ecx*4 + 0x27a40]
jl 0x456cd9
cmp dword [ebx + 0x27a34], ecx
jne 0x456da5
mov dword [ebx + 0x27a3c], ebp
mov edx, dword [ebx + 0x27a34]
inc edx
and edx, 0x800000ff
jns 0x456cf6
dec edx
or edx, 0xffffff00
inc edx
cmp edx, dword [ebx + 0x27a38]
je 0x456dce
mov edi, dword [ebx + 0x27a3c]
lea ecx, [eax - 2]
mov ebp, ecx
shr ecx, 2
lea edi, [edi + ebx + 0x7a34]
lea esi, [ebx + 0x232]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x27a34]
mov esi, dword [ebx + 0x27a3c]
mov dword [ebx + ecx*4 + 0x27a40], esi
mov esi, dword [ebx + 0x27a34]
lea ecx, [eax - 2]
mov dword [ebx + esi*4 + 0x27e40], ecx
mov esi, dword [ebx + 0x27a3c]
mov dword [ebx + 0x27a34], edx
lea edx, [eax - 2]
add esi, edx
mov dword [ebx + 0x27a3c], esi
mov ecx, 0x4000
sub ecx, eax
mov ebp, ecx
shr ecx, 2
lea edx, [ebx + 0x230]
lea esi, [eax + ebx + 0x230]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x7a30]
sub esi, eax
mov dword [ebx + 0x7a30], esi
movzx eax, word [edx]
mov ecx, esi
cmp eax, ecx
jle 0x456ca3
pop edi
pop esi
mov al, 1
pop ebp
ret
cmp dword [ebx + 0x22c], 1
je 0x456dc2
mov ecx, dword [ebx + 0x20]
cmp ecx, ebp
je 0x456dc2
mov eax, dword [ebx + 0x1c]
push 0xffffffffffffffff
push eax
push 0x65
call fcn.0053f1c0
pop edi
pop esi
mov dword [ebx + 0x22c], ebp
xor al, al
pop ebp
ret
cmp dword [ebx + 0x22c], 1
je 0x456deb
mov ecx, dword [ebx + 0x20]
cmp ecx, ebp
je 0x456deb
mov edx, dword [ebx + 0x1c]
push 0xfffffffffffffffe
push edx
push 0x65
call fcn.0053f1c0
pop edi
pop esi
mov dword [ebx + 0x22c], ebp
xor al, al
pop ebp
ret
Function at 0x457030
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
je 0x45708b
xor eax, eax
mov ax, word [esi + 0x228]
mov word [esp], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0x14]
mov word [esp + 2], ax
call fcn.00456a50
mov edx, dword [esi + 0x24]
push 0x10
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x45708b
mov byte [esi + 0x22a], 1
mov al, byte [esi + 0x22a]
add esp, 0x10
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x400c
call fcn.00561be0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x28254]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0053f9d0
mov al, byte [edi + 0x22a]
test al, al
jne 0x457184
mov ecx, esi
call fcn.0053f9e0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
mov esi, dword [ebp + 0xc]
jle 0x457223
mov eax, dword [edi + 0x24]
push 0
push ebx
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4571ae
sub ebx, eax
add esi, eax
test ebx, ebx
jg 0x457192
jmp 0x457223
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4571fe
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x4010], ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
add ebx, 0x28240
call fcn.00457310
mov ecx, dword [esp + 0xc]
call fcn.0053f9e0
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x22c], 1
je 0x457223
mov eax, dword [edi + 0x20]
test eax, eax
je 0x457223
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
mov ecx, dword [edi + 0x20]
push 0x65
call fcn.0053f1c0
mov ecx, dword [esp + 0xc]
call fcn.0053f9e0
mov eax, dword [ebp + 0x10]
xor edx, edx
test ebx, ebx
setl dl
pop edi
pop esi
dec edx
and edx, ebx
sub eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x457d10
Capabilities:
Create udp socket

Disassembly:
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.Xenesis2::Foundation::Socket::xSocket.0
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov cl, byte [0x922320]
mov eax, 1
test al, cl
mov byte [esi + 0x20], 0
mov dword [esi], vtable.Xenesis2::Foundation::Socket::xUDPSocket.0
jne 0x457d5b
mov edx, dword [0x922320]
or edx, eax
push 0x57ceb0
mov dword [0x922320], edx
call fcn.0055e9d1
add esp, 4
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
mov eax, esi
ret
Function at 0x457d98
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
mov ax, word [esp + 0x18]
push esi
mov esi, ecx
mov edx, dword [esi + 4]
push 0x10
lea ecx, [esp + 8]
push ecx
push edx
mov word [esp + 0x10], 2
mov word [esp + 0x12], ax
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, 1
pop esi
add esp, 0x10
ret 8
Function at 0x4bdb90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5711f0
push eax
mov eax, dword [0x5f01cc]
mov dword fs:[0], esp
sub esp, 0x24
cmp eax, 0xffffffff
jne 0x4bdc9d
mov eax, dword [0x890734]
push ebp
push edi
mov ecx, 0x890734
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x38], 0
call fcn.00414200
mov byte [esp + 0x38], 1
mov edx, dword [eax]
push str.Gunbound.erl
push edx
push 0x5921f0
lea edi, [esp + 0x18]
call fcn.00417950
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdc1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 8]
push ebp
call fcn.00560406
add esp, 4
push 0
push 0x8000080
push 4
push 0
push 1
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x5f01cc], eax
je 0x4bdc79
push esi
mov ecx, 5
mov esi, str._r_n_r_n_t_tSTARTING_LOG_r_n_r_n
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x16
movsw word es:[edi], word [esi]
lea edx, [esp + 0x24]
push edx
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop ebp
jg 0x4bdc9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4bdcb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x5f01cc]
sub esp, 0x404
cmp eax, 0xffffffff
je 0x4bdd09
mov ecx, dword [esp + 0x408]
lea eax, [esp + 0x40c]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x400
push edx
call fcn.00560d00
add esp, 0x10
test eax, eax
jge 0x4bdcf0
cmp eax, 0xffffffff
jne 0x4bdd09
mov eax, 0x400
push 0
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [0x5f01cc]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x404
ret
Function at 0x4ceae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57141f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi], vtable.Xenesis2::Foundation::Process::xThread_0__10_.0
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.Xenesis2::Foundation::Memory::xEncryptMemory.0
lea ebp, [esi + 0x10]
call fcn.004537f0
mov dword [ebp + 4], eax
mov cl, 1
mov byte [eax + 0x11], cl
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], ebx
push 0x40000
mov byte [esp + 0x28], cl
call fcn.0055e5a4
mov dword [esi + 0x1c], eax
push 0x8000
mov byte [esp + 0x2c], 2
call fcn.0055e5a4
mov dword [esi + 0x20], eax
push 0x8000
mov byte [esp + 0x30], 3
call fcn.0055e5a4
add esp, 0xc
mov dword [esi + 0x24], eax
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x24], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005605c3
mov edi, dword [esi + 0x1c]
xor eax, eax
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x20]
mov ecx, 0x2000
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x24]
mov ecx, 0x2000
add esp, 4
rep stosd dword es:[edi], eax
xor edi, edi
jmp 0x4cebd0
push esi
mov eax, edi
call fcn.004ced60
inc edi
cmp edi, 0x2000
jb 0x4cebd0
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x14]
mov eax, ebp
call fcn.00417970
inc edi
cmp edi, 0x10000
mov dword [esp + 0x10], edi
jb 0x4cebe7
push esi
push 0
push 0x4cef10
mov byte [esi + 0xc], 1
call fcn.00560199
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4cef90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5711c8
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
call fcn.00453ad0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
or eax, 0xffffffff
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], ecx
lea edi, [esi + 0x34]
mov dword [esi], vtable.Xenesis2::Utility::Interface::xInterface.0
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4cf010
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.00402b30
mov dl, byte [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov al, 1
mov byte [esi + 0x50], al
mov byte [esi + 0x51], al
mov byte [esi + 0x53], al
mov al, byte [esp + 0x34]
mov byte [esi + 0x52], bl
mov byte [esi + 0x55], bl
mov byte [esi + 0x56], al
mov byte [esi + 0x57], bl
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov byte [esi + 0x54], dl
pop edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x4d2394
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [eax], 0x1000001
je 0x4d23ab
push eax
mov ecx, esi
call fcn.004cf140
pop esi
ret 4
mov eax, dword [eax + 4]
sub eax, 0x2a8
je 0x4d23c4
dec eax
jne 0x4d23ed
push esi
call fcn.004d2500
mov al, 1
pop esi
ret 4
push 1
push 0
push 0
push 0xcf
push 0x897640
call fcn.0044dea0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
call fcn.004d2500
mov al, 1
pop esi
ret 4
Function at 0x4d2b04
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x50
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x52]
xor ebx, ebx
cmp al, bl
je 0x4d2c0d
call fcn.004cf280
cmp byte [eax + 0x8c], bl
jne 0x4d2c0d
cmp byte [esi + 0x50], bl
je 0x4d2c0d
push edi
call fcn.004cf280
mov eax, dword [eax + 0x88]
cmp eax, 9
je 0x4d2baf
cmp eax, 0xd
je 0x4d2b6d
cmp eax, 0x1b
jne 0x4d2c00
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], 0x3000004
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea edi, [esp + 0xc]
jmp 0x4d2bf9
cmp byte [esi + 0x28], bl
je 0x4d2b8f
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x1c], 0x3000001
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x1c]
jmp 0x4d2bf9
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], 0x3000002
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
lea edi, [esp + 0x2c]
jmp 0x4d2bf9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x4d2bdb
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], 0x3000002
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x3c]
jmp 0x4d2bf9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x4c], 0x3000002
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
lea edi, [esp + 0x4c]
mov eax, esi
call fcn.0040b470
call fcn.004cf280
mov byte [eax + 0x8c], 1
pop edi
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x4fd190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
and ecx, 0xff00
xor al, al
cmp ecx, 0xff00
sete cl
mov dl, cl
neg dl
push ebp
push edi
mov byte [esp + 0xa], al
mov byte [esp + 0xb], cl
sbb edx, edx
add edx, 6
mov ebp, edx
xor edi, edi
test ebp, ebp
jle 0x4fd325
push ebx
push esi
jmp 0x4fd1d0
mov cl, byte [esp + 0x13]
nop
test cl, cl
je 0x4fd286
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + edi*8 + 0x1a988]
lea eax, [esp + 0x18]
push eax
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x18], 0xff
jne 0x4fd316
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + edi*8 + 0x1a990]
lea eax, [esp + 0x28]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x28]
xor al, byte [esp + 0x5c]
jne 0x4fd316
mov edx, dword [0x8927a4]
mov eax, dword [edx + edi*8 + 0x1a988]
push 1
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [0x8927a4]
mov eax, dword [edx + edi*8 + 0x1a990]
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
inc edi
jmp 0x4fd311
mov edx, dword [0x8927a4]
mov eax, dword [edx + edi*8 + 0x1a988]
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x38], 0xff
jne 0x4fd2b4
inc edi
jmp 0x4fd316
mov edx, dword [0x8927a4]
mov eax, dword [edx + edi*8 + 0x1a988]
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
and ecx, 0xff
cmp eax, ecx
jne 0x4fd316
mov eax, dword [0x8927a4]
mov ecx, dword [eax + edi*8 + 0x1a988]
push ebx
lea edx, [esp + 0x18]
push edx
push ecx
mov dword [esp + 0x20], 0
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov byte [esp + 0x12], 1
inc edi
cmp edi, ebp
jl 0x4fd1cb
mov al, byte [esp + 0x12]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x48
ret 4
Function at 0x507550
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x8927a4]
mov cl, byte [eax + 0x1aa34]
sub esp, 0x88
cmp cl, 0xff
je 0x50766c
cmp byte [0x892b04], 1
jne 0x50763a
push esi
push edi
mov edi, dword [0x892d38]
push 0
push 0x21b
push 0xca
lea eax, [esp + 0x14]
lea esi, [esp + 0x18]
call fcn.0040a8c0
mov eax, dword [0x892d38]
mov cl, byte [eax + 8]
test cl, cl
je 0x5075bc
mov edx, dword [eax + 4]
push 0x80
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x5075c1
mov byte [esp + 0x10], 0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0053c080
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0053c080
push 0xf800
sub eax, esi
push 0xc
add eax, 2
push eax
push 0x21b
add esi, 0xca
push esi
call fcn.0053c310
push 0
lea ecx, [esp + 0x38]
push ecx
push 0x21c
push 0xcb
call fcn.0053ee90
push 0xffe0
lea edx, [esp + 0x48]
push edx
push 0x21b
push 0xca
call fcn.0053ee90
add esp, 0x44
pop edi
pop esi
add esp, 0x88
ret
push 0
push 0x892a00
push 0x21c
push 0xcb
call fcn.0053ee90
push 0xffff
push 0x892a00
push 0x21b
push 0xca
call fcn.0053ee90
add esp, 0x20
add esp, 0x88
ret

Function at 0x507680
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x892d38]
mov cl, byte [eax + 8]
sub esp, 0x104
test cl, cl
je 0x5076aa
mov edx, dword [eax + 4]
push 0x80
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x5076af
mov byte [esp + 4], 0
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5076b6
mov ecx, dword [esp + 0x108]
sub eax, edx
mov dword [esp], eax
setne al
mov byte [ecx + 9], al
mov al, byte [esp + 0x10c]
test al, al
jne 0x5076ef
mov edx, dword [0x892d38]
mov eax, dword [edx + 4]
push 0x591043
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 0x104
ret 8