joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469d2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x469d43
add esp, 0xfffffff0
call fcn.00403d10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421cf0
mov eax, dword [0x48e478]
cmp word [eax + 2], 0
jne 0x469d6b
mov eax, dword [0x48e478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046b404
mov eax, dword [0x48e5b0]
cmp word [eax + 2], 0
jne 0x469d85
mov eax, dword [0x48e5b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046b5fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416870]
call fcn.00403994
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416870]
call fcn.00403994
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423eec]
call fcn.00429c34
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x469f0c
mov eax, dword [0x48e310]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a004
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46bb9c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48e310]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d174
test eax, eax
je 0x469e7a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409374
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d19c
test eax, eax
je 0x469e8e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a50
mov eax, dword [0x48e144]
cmp byte [eax], 0
jne 0x469ec2
mov eax, ebx
call fcn.0046a034
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046bd78
mov eax, ebx
call fcn.0046c73c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469f02
call fcn.00403d68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a2b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48fbc4]
cmp dword [eax + 0x30], 0
je 0x46a35e
cmp dword [ebx + 0x94], 0
jne 0x46a358
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a244
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a358
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46a31e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a358
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004191b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a32d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46aec0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46aef5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048d0
jmp 0x46af02
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404834
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46bf54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46bf95
mov eax, esi
call fcn.00452554
test al, al
je 0x46bf95
mov eax, dword [ebx + 0x84]
call fcn.00452250
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46bf95
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452250
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46d620
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x46d6af
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x48fbec
push 0x202
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46d699
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040bb94
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x46d6c4
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x48e650]
mov dl, 1
mov eax, dword [0x46c934]
call fcn.0040c4b8
call fcn.00404178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d6b6
lea eax, [ebp - 0x20]
call fcn.004047e0
ret
Function at 0x46dd40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x46ddbc]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x46dd72
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.0046def8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x46ddbc]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x46ddb5
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret

Function at 0x46de6c
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046dd40
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403bc0
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x46def0
mov eax, dword [ebp - 4]
call fcn.0046d554
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 0x10
jne 0x46dee2
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403bc0
pop esi
pop ecx
pop ebp
ret

Function at 0x46e098
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ca0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.004030a4
cmp dword [ebp - 0x10], 0
je 0x46e107
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x46e210
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46e242
mov ecx, dword [0x48e798]
mov dl, 1
mov eax, dword [0x46c934]
call fcn.0040c47c
call fcn.00404178
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x46e273
mov ecx, dword [0x48e464]
mov dl, 1
mov eax, dword [0x46c934]
call fcn.0040c47c
call fcn.00404178
xor eax, eax
push ebp
push 0x46e2f6
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.00403bc0
cmp byte [ebp + 8], 0
je 0x46e2cf
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046e164
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046ddc0
jmp 0x46e2ec
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046d8b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46e313
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46e534
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046dba8
xor eax, eax
push ebp
push 0x46e6b2
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 0x46e69c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x46e57f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46e589
call fcn.00404224
jmp 0x46e6b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b800
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x46e691
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x46e63f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x46e62c
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403bc0
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.0046e4ec
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x46e6c4]
cmp dl, byte [eax + 0x28]
je 0x46e698
call fcn.0040c3a0
jmp 0x46e698
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b820
jmp 0x46e698
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x46e660
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b820
jmp 0x46e589
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.0041b800
cmp edx, dword [esp + 4]
jne 0x46e680
cmp eax, dword [esp]
pop edx
pop eax
jne 0x46e589
push ebp
call fcn.0046e4ec
pop ecx
jmp 0x46e698
push ebp
call fcn.0046e4ec
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e6b9
mov eax, dword [ebp - 4]
call fcn.0046dbc0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e738
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e88b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046dba8
xor eax, eax
push ebp
push 0x46e86e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46e7a0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46e7a0
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x46e858
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46e7b3
call fcn.00404224
jmp 0x46e875
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x46e858
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x46e858
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403bc0
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 - 0x14], 0
je 0x46e858
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040bb94
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x46e8a4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x48e650]
mov dl, 1
mov eax, dword [0x46c934]
call fcn.0040c4b8
call fcn.00404178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e875
mov eax, dword [ebp - 4]
call fcn.0046dbc0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e892
lea eax, [ebp - 0x30]
call fcn.004047e0
ret

Function at 0x4877a0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov edx, dword [eax + 4]
lea edi, [edx + 4]
mov esi, 0x48e088
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x4c]
mov esi, 0x48d088
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x44c]
mov esi, 0x48d488
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x84c]
mov esi, 0x48d888
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0xc4c]
mov esi, 0x48dc88
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x487fbc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x487fd5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x487fce
mov edx, esp
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.004877a0
xor ebx, ebx
xor edi, edi
lea eax, [ebx + 3]
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
mov dword [ebp - 8], eax
lea eax, [ebx + 2]
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add dword [ebp - 8], eax
lea eax, [ebx + 1]
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 0x10
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx]
shl eax, 0x18
add dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 8]
xor dword [eax + edi*4 + 4], edx
lea eax, [ebx + 4]
cdq
idiv dword [ebp + 8]
mov ebx, edx
inc edi
cmp edi, 0x12
jne 0x487fe7
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov edx, dword [esi + 4]
mov dword [edx + 0x1054], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
mov dword [edx + 0x1058], eax
xor edi, edi
mov eax, dword [esi + 4]
call fcn.00487944
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + edi*4 + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + edi*4 + 8], edx
add edi, 2
cmp edi, 0x12
jl 0x48806a
xor ebx, ebx
mov eax, dword [esi + 4]
call fcn.00487944
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + ebx*4 + 0x4c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x50], edx
add ebx, 2
cmp ebx, 0x100
jl 0x48808d
xor ebx, ebx
mov eax, dword [esi + 4]
call fcn.00487944
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + ebx*4 + 0x44c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x450], edx
add ebx, 2
cmp ebx, 0x100
jl 0x4880b3
xor ebx, ebx
mov eax, dword [esi + 4]
call fcn.00487944
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + ebx*4 + 0x84c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x850], edx
add ebx, 2
cmp ebx, 0x100
jl 0x4880df
xor ebx, ebx
mov eax, dword [esi + 4]
call fcn.00487944
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + ebx*4 + 0xc4c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0xc50], edx
add ebx, 2
cmp ebx, 0x100
jl 0x48810b
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x488af8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c90
xor eax, eax
push ebp
push 0x488ba7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x488bbc
push dword [ebp - 4]
push 0x488c04
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404b60
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004030a4
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.004030a4
mov dword [ebp - 0x4c], 0x44
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404ca0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488bae
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404804
ret

Function at 0x489034
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404c90
xor eax, eax
push ebp
push 0x48917a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494e5c]
call fcn.00405850
mov esi, eax
dec esi
test esi, esi
jl 0x48909e
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*2]
mov eax, dword [0x494e5c]
mov eax, dword [eax + edi*4 + 4]
mov edx, dword [ebp - 8]
call fcn.00404bec
jne 0x48909a
mov eax, dword [0x494e5c]
lea eax, [eax + edi*4 + 4]
mov edx, 0x489190
call fcn.00404834
inc ebx
dec esi
jne 0x489071
mov dl, 1
mov eax, dword [0x416ed4]
call fcn.00403994
mov esi, eax
mov edx, dword [0x494e64]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x48911f
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x4891a0
call fcn.00404de4
dec eax
push eax
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 1
pop ecx
call fcn.00404d00
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408724
test eax, eax
jne 0x489119
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x4890c8
mov edx, dword [0x494e64]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
call fcn.004039c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.0043c8ec
test eax, eax
je 0x48915f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.0043c8ec
call fcn.00438b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489181
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404804
ret
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.2k30mfbx]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.2k30mfbx]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.2k30mfbx]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.2k30mfbx]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.2k30mfbx]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.2k30mfbx]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401b7e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, 0
mov dword [esp], 0
call sub.msvcrt.dll_malloc
mov esi, eax
mov dword [esp + 4], 0x40e000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov edi, eax
mov eax, 0
test edi, edi
je 0x401c23
jmp 0x401bc1
mov eax, 0
jmp 0x401c23
test byte [edi + 0xc], 0x10
jne 0x401c00
inc ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
mov esi, eax
test eax, eax
je 0x401bba
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [eax + ebx - 1]
mov dword [esp], eax
call sub.msvcrt.dll_fread
test byte [edi + 0xc], 0x10
je 0x401bc7
lea eax, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00401b44
mov ebx, eax
mov dword [esp], esi
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret