joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47eff0
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 dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.004046e4
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b94
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x47f097
xor eax, eax
push ebp
push 0x47f090
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404d20
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404b94
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47f072
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00404d20
jmp 0x47f079
mov eax, ebx
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f097
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x498e04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498f85
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4babd8], 0
jne 0x498f62
push 0x4bcd08
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x498f5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4babd8], 0
jne 0x498f43
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d20
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b94
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004089e4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x498f9c
call fcn.00409d4c
mov eax, dword [ebp - 0xc]
call fcn.00404b94
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x498ec4
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d20
jmp 0x498efb
lea eax, [ebp - 8]
mov edx, 0x498fbc
call fcn.0040477c
xor eax, eax
push ebp
push 0x498ef1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
pop edx
pop ecx
pop ecx
Function at 0x4a5698
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4a56d3
cmp dword [ebx + 0x5c], 0
je 0x4a56d3
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.0049deb8
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4a581e
cmp dword [ebx + 0x7c], 0
jne 0x4a56f9
mov dl, 1
mov eax, dword [0x416290]
call fcn.004037e4
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4a57f7
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4a5824]
push eax
mov al, byte [0x4a5828]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4bb51c]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x494e60]
call fcn.00496ccc
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a57f0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0049deb8
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.0049deb8
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x49b8fc]
call fcn.00405e10
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4a57c3
mov edx, dword [0x4bb714]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4a57d4
cmp eax, 0x1007
jne 0x4a57d0
mov byte [ebx + 0x74], 0x18
jmp 0x4a57d4
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a581e
mov eax, dword [ebp - 4]
call fcn.00403814
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0049deb8
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a7bf4
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 0x4a7c7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bcd44
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4a7c67
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c3bc
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, 0x4a7c94
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4bb6ac]
mov dl, 1
mov eax, dword [0x4a74a8]
call fcn.0040cd08
call fcn.004040a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7c84
lea eax, [ebp - 0x1c]
call fcn.004046e4
ret

Function at 0x4a8330
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004a8254
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a10
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4a8394
call fcn.004a7b3c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4a8386
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.00403a10
pop esi
pop ebx
ret

Function at 0x4a83b8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404b94
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403084
test ebx, ebx
je 0x4a8403
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 0x4a84e0
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 0x4a8511
mov ecx, dword [0x4bb598]
mov dl, 1
mov eax, dword [0x4a74a8]
call fcn.0040cccc
call fcn.004040a4
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 0x4a853e
mov ecx, dword [0x4bb520]
mov dl, 1
mov eax, dword [0x4a74a8]
call fcn.0040cccc
call fcn.004040a4
xor eax, eax
push ebp
push 0x4a85ba
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.00403a10
cmp byte [ebp + 8], 0
je 0x4a8596
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.004a8448
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.004a8330
jmp 0x4a85b0
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.004a7e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a85d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a879c
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a80f0
xor eax, eax
push ebp
push 0x4a890e
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 0x4a88f8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a87e7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a87f1
call fcn.00404150
jmp 0x4a8915
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b0dc
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x4a88ed
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 ecx, eax
cmp ecx, 0xffffffff
jne 0x4a889f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a888c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a10
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.004a8754
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a8920]
cmp dl, byte [eax + 0x28]
je 0x4a88f4
call fcn.0040cbb4
jmp 0x4a88f4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b0fc
jmp 0x4a88f4
cmp ecx, ebx
jge 0x4a88bb
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b0fc
jmp 0x4a87f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b0dc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b110
cmp edx, dword [esp + 4]
jne 0x4a88dc
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a87f1
push ebp
call fcn.004a8754
pop ecx
jmp 0x4a88f4
push ebp
call fcn.004a8754
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8915
mov eax, dword [ebp - 4]
call fcn.004a80fc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8924
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 0x4a8a46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a80f0
xor eax, eax
push ebp
push 0x4a8a29
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 0x4a8974
call fcn.00404150
jmp 0x4a8a30
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 0x4a8a13
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a8a13
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a10
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 0x4a8a13
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c3bc
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, 0x4a8a60
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bb6ac]
mov dl, 1
mov eax, dword [0x4a74a8]
call fcn.0040cd08
call fcn.004040a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8a30
mov eax, dword [ebp - 4]
call fcn.004a80fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8a4d
lea eax, [ebp - 0x28]
call fcn.004046e4
ret
Function at 0x4a8aac
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 0x4a8bf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a80f0
xor eax, eax
push ebp
push 0x4a8bd9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a8b11
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a8b11
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 0x4a8bc3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a8b24
call fcn.00404150
jmp 0x4a8be0
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 0x4a8bc3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a8bc3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a10
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 0x4a8bc3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c3bc
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, 0x4a8c10
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bb6ac]
mov dl, 1
mov eax, dword [0x4a74a8]
call fcn.0040cd08
call fcn.004040a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8be0
mov eax, dword [ebp - 4]
call fcn.004a80fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8bfd
lea eax, [ebp - 0x28]
call fcn.004046e4
ret
Function at 0x4a9e5c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa069
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.004065e8
push eax
push 0x4aa078
push 1
push 0
mov eax, dword [0x4bb268]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.00415b24
test al, al
je 0x4a9f27
lea eax, [ebp - 4]
call fcn.004065e8
push eax
push 0
push 0
mov eax, dword [0x4bb374]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.0047ee18
jmp 0x4a9f0b
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.0047ef14
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4a9ef0
jmp 0x4aa028
lea eax, [ebp - 0x10]
push eax
push 0x4aa088
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x4aa028
xor eax, eax
push ebp
push 0x4aa021
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x4a9fec
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x4bb374]
call fcn.0047ee8c
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x4aa098
call fcn.00409d4c
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.0047ee30
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.0047ef14
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x4a9f57
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa028
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa070
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404708
lea eax, [ebp - 0x128]
call fcn.004046e4
lea eax, [ebp - 0x14]
call fcn.004046e4
lea eax, [ebp - 0xc]
call fcn.004065e8
lea eax, [ebp - 4]
call fcn.004065e8
ret
Function at 0x4aa120
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x4aa161
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aa16c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.00404b94
push eax
push esi
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4aa1ba
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040494c
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4af7e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af861
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x10
call fcn.00404d20
mov dword [ebp - 8], 0xf
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
call sub.kernel32.dll_GetComputerNameA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4af83f
push ebx
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404bf4
jmp 0x4af84b
mov eax, ebx
mov edx, 0x4af878
call fcn.00404738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af868
lea eax, [ebp - 4]
call fcn.004046e4
ret

Function at 0x4b547c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, edx
xor eax, eax
push ebp
push 0x4b54f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404d20
push 0x104
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 8]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404bf4
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, 0x4b5508
call fcn.004049e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b54fb
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404708
ret
Function at 0x4b6804
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b680c
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b69cf
push dword fs:[eax]
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4140e0
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x414327
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x23
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbe
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xab
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc1
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc3
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcb
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x82
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1a
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x20
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x66
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2e
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd6
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x64
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb7
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x6c
inc edi
cmp edi, ebx
jb 0x414100
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4036f2
Capabilities:
Terminate process

Disassembly:
jmp 0x454de9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x454dfa
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405af6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret