joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dc74
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 0x48ded4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48dcd7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048d91c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d8fc
cmp al, 1
jne 0x48dcd7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048dbe4
test al, al
je 0x48de63
cmp dword [ebp - 8], 0
jge 0x48dcf5
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.0048d91c
mov eax, dword [ebp - 0x210]
call fcn.00404d60
cmp ebx, eax
jge 0x48dd3f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048d91c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d8794]
and eax, 0xff
bt dword [edx], eax
jae 0x48dd3f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48dd53
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048dc50
cmp ebx, dword [ebp - 8]
je 0x48de55
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 0x48dd7f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e98
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d6ab8]
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 0x48de42
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e98
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d6ab8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00450994
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e98
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d6ab8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00450994
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48de49
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 0x48deb6
cmp dword [ebp - 8], 0
jge 0x48de6e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048d91c
mov eax, dword [ebp - 0x218]
call fcn.00404d60
cmp eax, dword [ebp - 8]
jg 0x48dea8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048d91c
mov eax, dword [ebp - 0x21c]
call fcn.00404d60
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048dc50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dedb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404ac4
ret
Function at 0x49d448
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4165f8]
call fcn.00405498
xor eax, eax
push ebp
push 0x49d58c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d6d70], 0
jne 0x49d49b
mov ecx, dword [0x4d7f7c]
mov dl, 1
mov eax, dword [0x4080ac]
call fcn.0040cfac
call fcn.00404430
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403510
mov eax, ebx
call fcn.00405344
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49d59c
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004065ec
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405354
test eax, eax
jle 0x49d533
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49d52c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d10
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f90
test eax, eax
jne 0x49d52c
mov ebx, 0x15
jmp 0x49d538
mov ebx, 0x10
jmp 0x49d538
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d6d70]
call fcn.0049d3a0
mov eax, dword [ebp - 8]
call fcn.0049d3a0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d593
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ac4
lea eax, [ebp - 0x10]
mov edx, dword [0x4165f8]
call fcn.00405568
ret

Function at 0x4a512c
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 0x4a51b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d9d04
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4a519f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c6a8
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, 0x4a51cc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4d85fc]
mov dl, 1
mov eax, dword [0x4a492c]
call fcn.0040cfe8
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a51bc
lea eax, [ebp - 0x1c]
call fcn.00404aa0
ret
Function at 0x4a5870
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004a578c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403e98
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x4a58d8
mov eax, ebx
call fcn.004a5070
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4a58ca
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403e98
pop esi
pop ebx
ret

Function at 0x4a58fc
Capabilities:
Resolve dns

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a5a65
mov ecx, dword [0x4d845c]
mov dl, 1
mov eax, dword [0x4a492c]
call fcn.0040cfac
call fcn.00404430
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 0x4a5a92
mov ecx, dword [0x4d838c]
mov dl, 1
mov eax, dword [0x4a492c]
call fcn.0040cfac
call fcn.00404430
xor eax, eax
push ebp
push 0x4a5b0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403e98
cmp byte [ebp + 8], 0
je 0x4a5aea
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004a599c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004a5870
jmp 0x4a5b04
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004a5360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5b2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a5d14
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a5624
xor eax, eax
push ebp
push 0x4a5e86
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4a5e70
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a5d60
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a5d6a
call fcn.004044dc
jmp 0x4a5e8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c10c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4a5e65
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a5e18
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a5e05
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e98
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.004a5ccc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a5e98]
cmp dl, byte [eax + 0x28]
je 0x4a5e6c
call fcn.0040cec4
jmp 0x4a5e6c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c12c
jmp 0x4a5e6c
cmp edi, ebx
jge 0x4a5e34
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c12c
jmp 0x4a5d6a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c10c
cmp edx, dword [esp + 4]
jne 0x4a5e54
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a5d6a
push ebp
call fcn.004a5ccc
pop ecx
jmp 0x4a5e6c
push ebp
call fcn.004a5ccc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5e8d
mov eax, dword [ebp - 4]
call fcn.004a5630
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5e9c
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 0x4a5fbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a5624
xor eax, eax
push ebp
push 0x4a5fa1
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 0x4a5eec
call fcn.004044dc
jmp 0x4a5fa8
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 0x4a5f8b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a5f8b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e98
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 0x4a5f8b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6a8
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, 0x4a5fd8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d85fc]
mov dl, 1
mov eax, dword [0x4a492c]
call fcn.0040cfe8
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5fa8
mov eax, dword [ebp - 4]
call fcn.004a5630
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5fc5
lea eax, [ebp - 0x28]
call fcn.00404aa0
ret
Function at 0x4a6024
Capabilities:
Receive data
Receive data on socket
Set socket configuration

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 0x4a616e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a5624
xor eax, eax
push ebp
push 0x4a6151
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a6089
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a6089
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 0x4a613b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a609c
call fcn.004044dc
jmp 0x4a6158
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 0x4a613b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a613b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e98
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 0x4a613b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6a8
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, 0x4a6188
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d85fc]
mov dl, 1
mov eax, dword [0x4a492c]
call fcn.0040cfe8
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6158
mov eax, dword [ebp - 4]
call fcn.004a5630
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6175
lea eax, [ebp - 0x28]
call fcn.00404aa0
ret

Function at 0x4a6e50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a6ecf
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404c88
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4a6ee4
call fcn.00404dac
mov eax, dword [ebp - 4]
call fcn.00404f60
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4a6eae
cmp eax, 1
je 0x4a6eae
cmp eax, 3
jne 0x4a6eae
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4a6e6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6ed6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ac4
ret
Function at 0x4b87fc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b8804
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b89f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b8a0c
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404af4
lea ecx, [ebp - 0x10]
mov edx, 0x4b8a20
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404af4
lea ecx, [ebp - 0x14]
mov edx, 0x4b8a38
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404af4
lea ecx, [ebp - 0x18]
mov edx, 0x4b8a54
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404af4
lea ecx, [ebp - 0x1c]
mov edx, 0x4b8a70
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404af4
lea ecx, [ebp - 0x24]
mov edx, 0x4b8a88
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409000
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040959c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b8aa0
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x28]
call fcn.004b0160
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b8ab0
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x2c]
call fcn.004b0160
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b8ac8
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040959c
inc eax
je 0x4b8999
lea ecx, [ebp - 0x34]
mov edx, 0x4b8ac8
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x34]
call fcn.00409560
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040acf4
fstp qword [ebp - 0x3c]
wait
call fcn.0040b064
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b89b4
lea ecx, [ebp - 0x40]
mov edx, 0x4b8ac8
mov eax, esi
call fcn.004b6688
mov eax, dword [ebp - 0x40]
call fcn.004b0160
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b8ad8
mov eax, esi
call fcn.004b6688
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b89fd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ac4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ac4
ret
Function at 0x4bf788
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4bf7e2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004bf778
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004aedcc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004ae9cc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf7e9
lea eax, [ebp - 4]
call fcn.00404aa0
ret

Function at 0x4c34c0
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4c34dd
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4c35ef
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4c3510
je 0x4c355c
sub ecx, 0x2b
je 0x4c3552
sub ecx, 4
je 0x4c3557
dec ecx
sub ecx, 0xa
jb 0x4c3541
jmp 0x4c355f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4c3522
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4c3530
jmp 0x4c355f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4c355f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4c355f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4c355f
mov byte [eax], 0x3e
jmp 0x4c355f
mov byte [eax], 0x3f
jmp 0x4c355f
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4c34ef
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4c35af
cmp byte [esp + 3], 0xff
jne 0x4c35af
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4c35e7
cmp dl, 0xff
je 0x4c35e7
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4c34e8
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4c3d50
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4d789c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x4c3d8c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4c3da4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4c3d9d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403510
xor edx, edx
mov eax, 0x4d7a9c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4c3e0e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4c3dc2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4c4054
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4c406d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4c4066
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4c407f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4c4078
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004c3c40
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c4099
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004c3d50
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4c411e
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4c413b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004c3cd0
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c4164
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc