joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e290c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
mov ebx, dword [ebp + 8]
push ebx
call sub.KERNEL32.DLL_LoadLibraryA
mov edi, eax
mov dword [ebx + 0x104], edi
test edi, edi
jne 0x4e2939
push 0x3e8
call sub.KERNEL32.DLL_Sleep
inc esi
cmp esi, 5
jl 0x4e2917
cmp esi, 5
jl 0x4e2946
or eax, 0xffffffff
jmp 0x4e2a53
push str.NeAACDecOpen
mov edx, dword [ebx + 0x104]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987e8], eax
push str.NeAACDecInit2
mov ecx, dword [ebx + 0x104]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987ec], eax
push str.NeAACDecClose
mov eax, dword [ebx + 0x104]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987f0], eax
push str.NeAACDecAudioSpecificConfig
mov edx, dword [ebx + 0x104]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987f4], eax
push str.NeAACDecDecode
mov ecx, dword [ebx + 0x104]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987f8], eax
push str.NeAACDecGetCurrentConfiguration
mov eax, dword [ebx + 0x104]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5987fc], eax
push str.NeAACDecSetConfiguration
mov edx, dword [ebx + 0x104]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov esi, eax
mov dword [0x598800], esi
cmp dword [0x5987e8], 0
jne 0x4e29f3
mov eax, 0xfffffffe
jmp 0x4e2a53
cmp dword [0x5987ec], 0
jne 0x4e2a03
mov eax, 0xfffffffd
jmp 0x4e2a53
cmp dword [0x5987f0], 0
jne 0x4e2a13
mov eax, 0xfffffffc
jmp 0x4e2a53
cmp dword [0x5987f4], 0
jne 0x4e2a23
mov eax, 0xfffffffb
jmp 0x4e2a53
cmp dword [0x5987f8], 0
jne 0x4e2a33
mov eax, 0xfffffffa
jmp 0x4e2a53
cmp dword [0x5987fc], 0
jne 0x4e2a43
mov eax, 0xfffffff9
jmp 0x4e2a53
test esi, esi
jne 0x4e2a4e
mov eax, 0xfffffff8
jmp 0x4e2a53
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4e34ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, 0x598a74
push edi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0xb]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov edi, eax
test edi, edi
je 0x4e3524
lea eax, [esi + 0x18]
push eax
push edi
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
jne 0x4e3524
push edi
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
jmp 0x4e367d
push edi
call sub.KERNEL32.DLL_FreeLibrary
lea edx, [ebx + 0x48]
push edx
call sub.KERNEL32.DLL_LoadLibraryA
mov edi, eax
mov dword [ebx + 0x38], edi
test edi, edi
jne 0x4e3543
xor eax, eax
jmp 0x4e367d
lea edx, [esi + 0x26]
push edx
push edi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx], eax
lea ecx, [esi + 0x40]
push ecx
mov eax, dword [ebx + 0x38]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 4], eax
lea edx, [esi + 0x5b]
push edx
mov ecx, dword [ebx + 0x38]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 8], eax
lea eax, [esi + 0x72]
push eax
mov edx, dword [ebx + 0x38]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0xc], eax
lea ecx, [esi + 0x8b]
push ecx
mov eax, dword [ebx + 0x38]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x10], eax
lea edx, [esi + 0xa8]
push edx
mov ecx, dword [ebx + 0x38]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x14], eax
lea eax, [esi + 0xbe]
push eax
mov edx, dword [ebx + 0x38]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x18], eax
lea ecx, [esi + 0xd8]
push ecx
mov eax, dword [ebx + 0x38]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x1c], eax
lea edx, [esi + 0xe9]
push edx
mov ecx, dword [ebx + 0x38]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x20], eax
lea eax, [esi + 0x103]
push eax
mov edx, dword [ebx + 0x38]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x24], eax
lea ecx, [esi + 0x121]
push ecx
mov eax, dword [ebx + 0x38]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x28], eax
lea edx, [esi + 0x13b]
push edx
mov ecx, dword [ebx + 0x38]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x154]
push eax
mov edx, dword [ebx + 0x38]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x30], eax
cmp dword [ebx], 0
je 0x4e3677
cmp dword [ebx + 4], 0
je 0x4e3677
cmp dword [ebx + 8], 0
je 0x4e3677
cmp dword [ebx + 0xc], 0
je 0x4e3677
cmp dword [ebx + 0x10], 0
je 0x4e3677
cmp dword [ebx + 0x14], 0
je 0x4e3677
cmp dword [ebx + 0x18], 0
je 0x4e3677
cmp dword [ebx + 0x1c], 0
je 0x4e3677
cmp dword [ebx + 0x20], 0
je 0x4e3677
cmp dword [ebx + 0x24], 0
je 0x4e3677
cmp dword [ebx + 0x28], 0
je 0x4e3677
cmp dword [ebx + 0x2c], 0
je 0x4e3677
cmp dword [ebx + 0x30], 0
jne 0x4e367b
xor eax, eax
jmp 0x4e367d
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4ea4b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
lea edx, [ebp - 0x400]
push edx
Function at 0x4ea744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
call fcn.00538ae8
mov eax, dword [ebx + 8]
lea edx, [ebp - 4]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 8]
lea edx, [ebp - 8]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xc]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x10]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp + 0xc], 0
jne 0x4ea7e1
mov edx, 0xc
mov eax, dword [ebx + 8]
call fcn.00538ae8
mov edi, dword [ebx + 8]
mov eax, edi
call fcn.00538ad8
mov edx, eax
mov eax, edi
add edx, 4
call fcn.00538ae8
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.00538b9c
xor edx, edx
mov eax, esi
call fcn.00538ae8
jmp 0x4ea8b1
cmp dword [ebp + 0xc], 1
jne 0x4ea826
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
add edx, 0xc
call fcn.00538ae8
mov edi, dword [ebx + 8]
mov eax, edi
call fcn.00538ad8
mov edx, eax
mov eax, edi
add edx, 4
call fcn.00538ae8
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.00538b9c
xor edx, edx
mov eax, esi
call fcn.00538ae8
jmp 0x4ea8b1
cmp dword [ebp + 0xc], 2
jne 0x4ea86b
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
add edx, dword [ebp - 8]
add edx, 0xc
call fcn.00538ae8
mov edi, dword [ebx + 8]
mov eax, edi
call fcn.00538ad8
mov edx, eax
mov eax, edi
add edx, 4
call fcn.00538ae8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.00538b9c
xor edx, edx
mov eax, esi
call fcn.00538ae8
jmp 0x4ea8b1
cmp dword [ebp + 0xc], 3
jne 0x4ea8b1
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
add edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, 0xc
call fcn.00538ae8
mov edi, dword [ebx + 8]
mov eax, edi
call fcn.00538ad8
mov edx, eax
mov eax, edi
add edx, 4
call fcn.00538ae8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.00538b9c
xor edx, edx
mov eax, esi
call fcn.00538ae8
mov ebx, dword [esi + 4]
mov eax, esi
call fcn.00538af4
mov ecx, eax
xor edx, edx
mov eax, ebx
cmp ecx, edx
jle 0x4ea8ce
xor byte [eax], 0x6f
inc edx
inc eax
cmp ecx, edx
jg 0x4ea8c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4eaa74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
lea edx, [ebp - 0x400]
push edx
push 0x8005
push eax
call fcn.004eaad4
add esp, 0xc
xor eax, eax
cmp edi, eax
jbe 0x4eaac8
movzx ecx, bx
sar ecx, 8
xor edx, edx
mov dl, byte [esi]
inc esi
xor ecx, edx
inc eax
shl ebx, 8
mov cx, word [ebp + ecx*4 - 0x400]
xor cx, bx
cmp edi, eax
mov ebx, ecx
ja 0x4eaaa6
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f03ec
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 0x4f0475
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5aa8a4
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4f045f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00544550
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, 0x4f048c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5a1328]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e88
call fcn.00549990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f047c
lea eax, [ebp - 0x1c]
call fcn.00549e94
ret
Function at 0x4f0620
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4f0832
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x29]
sub al, 1
jb 0x4f065c
je 0x4f0751
dec al
je 0x4f07e5
jmp 0x4f0805
test bl, bl
jne 0x4f0674
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
jmp 0x4f0805
test esi, esi
je 0x4f0712
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x4f0695
mov eax, 0x400
call fcn.005431e8
sub eax, dword [0xfc558b00]
test edi, edi
je 0x4f0735
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
mov eax, edi
call fcn.0054a2d8
push eax
call sub.WSOCK32.DLL_inet_addr
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
jmp 0x4f0805
mov ecx, dword [0x5a1330]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e4c
call fcn.00549990
jmp 0x4f0805
cmp dword [ebp + 0x14], 0
je 0x4f07cb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x4f0770
mov eax, 0x400
call fcn.005431e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
push 0x4f0878
mov eax, dword [ebp + 0x14]
call fcn.0054a2d8
push eax
push 0x403
mov eax, dword [ebp - 4]
call fcn.004f0b50
push eax
call sub.WSOCK32.DLL_WSAAsyncGetServByName
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
test ebx, ebx
sete al
and eax, 0x7f
mov edx, 0x4f0884
call fcn.004f0334
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f084f
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 2
mov ax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x1a], ax
jmp 0x4f0805
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
test bl, bl
je 0x4f07fa
mov eax, dword [ebp - 4]
call fcn.004f0ae4
jmp 0x4f0805
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004f0a64
mov eax, dword [ebp - 4]
cmp byte [eax + 0x29], 0
je 0x4f0828
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004f0620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f084f

Function at 0x4f0ae4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004f0a08
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00549414
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x4f0b48
call fcn.004f0334
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x4f0b3a
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00549414
pop esi
pop ebx
ret
Function at 0x4f0b6c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0054a2d8
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00548f00
test ebx, ebx
je 0x4f0bb7
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4f0bfc
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov word [ebx], 2
test edi, edi
je 0x4f0c24
mov edx, edi
mov eax, esi
call fcn.004f0b6c
mov dword [ebx + 4], eax
jmp 0x4f0c61
cmp dword [ebp - 4], 0
je 0x4f0c3d
mov eax, dword [ebp - 4]
call fcn.0054a2d8
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x4f0c61
cmp byte [ebp + 0xc], 0
jne 0x4f0c4a
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x4f0c61
mov ecx, dword [0x5a1330]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e4c
call fcn.00549990
cmp dword [ebp + 0x14], 0
je 0x4f0c7d
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.004f0bc8
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x4f0c8b
mov ax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f0cc5
mov ecx, dword [0x5a1338]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e4c
call fcn.00549990
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 0x4f0cf2
mov ecx, dword [0x5a1334]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e4c
call fcn.00549990
xor eax, eax
push ebp
push 0x4f0d71
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00549414
cmp byte [ebp + 8], 0
je 0x4f0d4d
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, esi
mov eax, dword [ebp - 4]
call fcn.004f0bfc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004f0ae4
jmp 0x4f0d67
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, esi
mov eax, dword [ebp - 4]
call fcn.004f0620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f0d8e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f0f54
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f08a0
xor edx, edx
push ebp
push 0x4f10b4
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4f109e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4f0f9e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f0fa8
call fcn.00549a30
jmp 0x4f10bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00538ad8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x4f1093
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_send
cmp eax, 0xffffffff
jne 0x4f1051
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4f1041
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00549414
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.004f0f0c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4f10c4]
cmp dl, byte [eax + 0x28]
je 0x4f109a
call fcn.00544d34
jmp 0x4f109a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00538ae8
jmp 0x4f109a
cmp eax, ebx
jge 0x4f106a
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00538ae8
jmp 0x4f0fa8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00538ad8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00538af4
cmp ebx, eax
jne 0x4f0fa8
push ebp
call fcn.004f0f0c
pop ecx
jmp 0x4f109a
push ebp
call fcn.004f0f0c
invalid
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f10c8
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 0x4f11ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f08a0
xor eax, eax
push ebp
push 0x4f11cd
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 0x4f1118
call fcn.00549a30
jmp 0x4f11d4
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 0x4f11b7
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f11b7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00549414
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 0x4f11b7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00544550
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, 0x4f1204
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a1328]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e88
call fcn.00549990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f11d4
mov eax, dword [ebp - 4]
call fcn.004f08ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f11f1
lea eax, [ebp - 0x28]
call fcn.00549e94
ret
Function at 0x4f1250
Capabilities:
Receive data
Receive 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 ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f139a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f08a0
xor eax, eax
push ebp
push 0x4f137d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4f12b5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f12b5
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 0x4f1367
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f12c8
call fcn.00549a30
jmp 0x4f1384
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 0x4f1367
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f1367
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00549414
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 0x4f1367
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00544550
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, 0x4f13b4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a1328]
mov dl, 1
mov eax, dword [0x4efca8]
call fcn.00544e88
call fcn.00549990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1384
mov eax, dword [ebp - 4]
call fcn.004f08ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f13a1
lea eax, [ebp - 0x28]
call fcn.00549e94
ret

Function at 0x4fc484
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004fc084
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0054a2d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x4fc4e2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5a131c]
mov dl, 1
mov eax, dword [0x4fbf7c]
call fcn.00544e88
call fcn.00549990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4fc4ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0054a2d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4fc544
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5a1320]
mov dl, 1
mov eax, dword [0x4fbf7c]
call fcn.00544e88
call fcn.00549990
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004fc0b4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4fd52c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00549e94
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4fd57b
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0054a0c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5037a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x5037a6
ret

Function at 0x505ccc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x505d1d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x505d04
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x505cf4
jmp 0x505d1d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x505d05
pop ebx
mov esp, ebp
pop ebp
ret