joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ebd18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ebd82
mov eax, ebx
call fcn.004ee0ec
test al, al
jne 0x4ebd82
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.00485454
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4ebd6f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ebd8f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004853b8
jmp 0x4ebd8f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004853b8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4ed210
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ed27e
mov eax, esi
call fcn.004d5784
test al, al
je 0x4ed27e
mov eax, dword [ebx + 0x84]
call fcn.004d53e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ed27e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4ed272
push 0
mov eax, dword [ebx + 0x84]
call fcn.004d53e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004cd254
jmp 0x4ed27e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004ed04c
pop esi
pop ebx
ret
Function at 0x4f422c
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 0x4f42b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5aad84
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4f429f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0048d6ec
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, 0x4f42cc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5a599c]
mov dl, 1
mov eax, dword [0x4f3a30]
call fcn.0048e028
call fcn.00484cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f42bc
lea eax, [ebp - 0x1c]
call fcn.00485364
ret

Function at 0x4f4890
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x4f48ec]
cmp al, byte [ebx + 0x28]
je 0x4f48b4
mov esi, 0x401
mov eax, ebx
call fcn.004f49dc
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x4f48ec]
cmp al, byte [ebx + 0x28]
jne 0x4f48e4
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4f4970
Capabilities:
Connect socket

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

Function at 0x4f49f8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00485804
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00483ae0
test ebx, ebx
je 0x4f4a47
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, 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 0x4f4b24
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 0x4f4b55
mov ecx, dword [0x5a57d0]
mov dl, 1
mov eax, dword [0x4f3a30]
call fcn.0048dfec
call fcn.00484cd8
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 0x4f4b82
mov ecx, dword [0x5a56fc]
mov dl, 1
mov eax, dword [0x4f3a30]
call fcn.0048dfec
call fcn.00484cd8
xor eax, eax
push ebp
push 0x4f4bfe
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.00484660
cmp byte [ebp + 8], 0
je 0x4f4bda
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.004f4a8c
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.004f4970
jmp 0x4f4bf4
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004f4464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4c1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f4de0
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.004f472c
xor eax, eax
push ebp
push 0x4f4f53
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 0x4f4f3d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4f4e2c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f4e36
call fcn.00484d84
jmp 0x4f4f5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7c8
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 0x4f4f32
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 0x4f4ee5
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4f4ed2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00484660
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.004f4d98
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x4f4f68]
cmp dl, byte [eax + 0x28]
je 0x4f4f39
call fcn.0048df04
jmp 0x4f4f39
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7e8
jmp 0x4f4f39
cmp edi, ebx
jge 0x4f4f01
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.0049c7e8
jmp 0x4f4e36
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.0049c7c8
cmp edx, dword [esp + 4]
jne 0x4f4f21
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4f4e36
push ebp
call fcn.004f4d98
pop ecx
jmp 0x4f4f39
push ebp
call fcn.004f4d98
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4f5a
mov eax, dword [ebp - 4]
call fcn.004f4738
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4f6c
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 0x4f508e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f472c
xor eax, eax
push ebp
push 0x4f5071
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 0x4f4fbc
call fcn.00484d84
jmp 0x4f5078
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 0x4f505b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f505b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00484660
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 0x4f505b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0048d6ec
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, 0x4f50a8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5a599c]
mov dl, 1
mov eax, dword [0x4f3a30]
call fcn.0048e028
call fcn.00484cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5078
mov eax, dword [ebp - 4]
call fcn.004f4738
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5095
lea eax, [ebp - 0x28]
call fcn.00485364
ret
Function at 0x4f50f4
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f5265
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f472c
xor eax, eax
push ebp
push 0x4f5248
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4f5159
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f5159
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 0x4f5232
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f516c
call fcn.00484d84
jmp 0x4f524f
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
test eax, eax
jne 0x4f5193
cmp dword [ebp - 0x10], 0
jle 0x4f5193
cmp ebx, dword [ebp - 0x10]
jle 0x4f5193
mov ebx, dword [ebp - 0x10]
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 0x4f5232
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f5232
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00484660
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 0x4f5232
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0048d6ec
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x4f5280
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x5a599c]
mov dl, 1
mov eax, dword [0x4f3a30]
call fcn.0048e028
call fcn.00484cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f524f
mov eax, dword [ebp - 4]
call fcn.004f4738
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f526c
lea eax, [ebp - 0x2c]
call fcn.00485364
ret

Function at 0x5006e4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x500743
xor eax, eax
push ebp
push 0x50072a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50073b
test bl, bl
je 0x500743
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x52baa4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00485364
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00483ae0
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x52bbae
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00485804
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x52bb97
xor edx, edx
push ebp
push 0x52bb90
push dword fs:[edx]
mov dword fs:[edx], esp
test edi, edi
jne 0x52bb41
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
jmp 0x52bb63
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, edi
call fcn.00485804
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x52bb79
mov eax, ebx
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.004855e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52bb97
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52bbb5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret

Function at 0x52f96c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x52f99a
mov eax, ebx
call fcn.00530420
cmp dword [ebx + 0x40], 0
je 0x52f993
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x52fa0b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x52f9fd
cmp dword [ebx + 8], 0
je 0x52f9bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x52f9ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x52f9fd
cmp dword [ebx + 8], 0
je 0x52f9af
cmp eax, 3
je 0x52f9e1
dec eax
jne 0x52f9af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x52f9af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x52f9af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x52fa29
cmp dword [ebx + 0x14], 0xcc
je 0x52fa29
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0052fa34
pop ebx
ret
Function at 0x544f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
test dl, dl
je 0x544f3e
add esp, 0xfffffff0
call fcn.00484788
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00484434
push 0x40
push 0x1000
push 0x800
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esi + 4], eax
mov eax, esi
test bl, bl
je 0x544f76
call fcn.004847e0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x56e37c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, eax
mov eax, ebp
call fcn.00485364
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x56e3b6
mov eax, ebp
mov edx, 0x56e3e8
call fcn.004853b8
jmp 0x56e3d3
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x56e3cc
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.0048a744
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x56e3bd
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x586d08
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004857f4
xor eax, eax
push ebp
push 0x586d59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485804
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x586d3d
test al, 0x10
jne 0x586d41
xor ebx, ebx
jmp 0x586d43
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x586d60
lea eax, [ebp - 4]
call fcn.00485364
ret

Function at 0x589ee4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
dec ecx
test ecx, ecx
jb 0x589f0e
inc ecx
movzx esi, byte [edx]
mov ebx, dword [eax]
mov edi, ebx
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x5a4cb8]
shr ebx, 8
xor esi, ebx
mov dword [eax], esi
inc edx
dec ecx
jne 0x589eed
pop edi
pop esi
pop ebx
ret
Function at 0x5975cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5975d5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004857f4
xor eax, eax
push ebp
push 0x5977d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.005973b0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005973b0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004853fc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x59762c
sub eax, 4
mov eax, dword [eax]
sar eax, 1
jns 0x597633
adc eax, 0
test eax, eax
jle 0x597798
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x597653
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004853fc
lea eax, [ebp - 0x14]
call fcn.00485364
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x597667
sub eax, 4
mov eax, dword [eax]
mov edi, eax
sar edi, 1
jns 0x597670
adc edi, 0
test edi, edi
jle 0x59778e
mov ebx, 1
mov edx, 0x5977e4
lea eax, [ebp - 0x28]
call fcn.00483978
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00483948
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00483978
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00483948
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.004855d8
mov eax, dword [ebp - 0x24]
call fcn.00489d14
mov byte [ebp - 0x19], al
mov edx, 0x5977e4
lea eax, [ebp - 0x28]
call fcn.00483978
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00483948
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00483978
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00483948
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.004855d8
mov eax, dword [ebp - 0x34]
call fcn.00489d14
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
movzx edx, byte [ebp - 0x1a]
call fcn.0048554c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.005973b0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
call fcn.00485640
inc ebx
dec edi
jne 0x59767d
inc esi
dec dword [ebp - 0x20]
jne 0x597643
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004853b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5977da
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00485388
lea eax, [ebp - 0x24]
call fcn.00485364
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00485388
ret
Function at 0x401030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x869060], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401074
push 0
lea ecx, [ebp - 0x430]
push ecx
push 0
push str.serogefikajuxapowizufin_jikesijelipovocanopowum_ladahuki_nogiwodopuxeyojimada_masitobimalezal
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push str.wabux
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x449f3c]
mov edx, dword [0x449f38]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edx
call fcn.00401020
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x449f40]
mov edx, dword [0x449f44]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
add esi, 0x23f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
jmp 0x4010c4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x869060]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401128
push 0
lea eax, [ebp - 0x430]
push eax
push str.patarofo_lugagodagurusol_bahecekolotegejahub
call ebx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x28]
push ecx
push 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x869060]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401142
mov dword [0x8685fc], 0xedeb2e40
jmp 0x401154
cmp ecx, 0x3eb
jne 0x401154
mov dword [0x867fb0], 0
mov ecx, dword [ebp - 0xc]
lea edx, [esi + edi]
mov dword [ebp - 0x14], edx
mov edx, edi
shr edx, cl
mov dword [0x8685f8], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x869060], 0xc
jne 0x4011a5
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [esi + edx]
xor dword [ebp - 4], eax
mov esi, edx
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x869060], 0x121
jne 0x4011e5
push str.ledolinosiwogula
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x10]
call fcn.00401010
sub dword [ebp - 0x18], 1
jne 0x4010c1
cmp dword [0x869060], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401222
push 0
push str.puloginuyekawayihuyufomeciyijuw
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4