joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0e2c
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.004a05b8
xor eax, eax
push ebp
push 0x4a0f9d
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 0x4a0f87
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a0e77
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a0e81
call fcn.00403f50
jmp 0x4a0fa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042011c
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 0x4a0f7c
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 0x4a0f2f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a0f1c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004038d4
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.004a0de4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a0fb0]
cmp dl, byte [eax + 0x28]
je 0x4a0f83
call fcn.0040d6f4
jmp 0x4a0f83
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042013c
jmp 0x4a0f83
cmp ecx, ebx
jge 0x4a0f4b
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.0042013c
jmp 0x4a0e81
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.0042011c
cmp edx, dword [esp + 4]
jne 0x4a0f6b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a0e81
push ebp
call fcn.004a0de4
pop ecx
jmp 0x4a0f83
push ebp
call fcn.004a0de4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0fa4
mov eax, dword [ebp - 4]
call fcn.004a05c4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0fb4
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 0x4a10d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a05b8
xor eax, eax
push ebp
push 0x4a10b9
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 0x4a1004
call fcn.00403f50
jmp 0x4a10c0
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 0x4a10a3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a10a3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004038d4
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 0x4a10a3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cee8
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, 0x4a10f0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6446c4]
mov dl, 1
mov eax, dword [0x49f0c8]
call fcn.0040d818
call fcn.00403ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a10c0
mov eax, dword [ebp - 4]
call fcn.004a05c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a10dd
lea eax, [ebp - 0x28]
call fcn.004044ec
ret
Function at 0x4a113c
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 0x4a1286
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a05b8
xor eax, eax
push ebp
push 0x4a1269
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a11a1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a11a1
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 0x4a1253
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a11b4
call fcn.00403f50
jmp 0x4a1270
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 0x4a1253
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a1253
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004038d4
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 0x4a1253
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cee8
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, 0x4a12a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6446c4]
mov dl, 1
mov eax, dword [0x49f0c8]
call fcn.0040d818
call fcn.00403ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1270
mov eax, dword [ebp - 4]
call fcn.004a05c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a128d
lea eax, [ebp - 0x28]
call fcn.004044ec
ret

Function at 0x4c229c
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0049efb0
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
call fcn.0049efa0
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x4e7044
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
fld qword [ebp + 8]
fcomp dword [0x4e70a4]
fnstsw ax
sahf
jae 0x4e707a
xor eax, eax
lea edx, [ebp + 8]
xor ecx, ecx
mov cl, al
mov ebx, 7
sub ebx, ecx
add ebx, esi
mov cl, byte [edx]
xor cl, 0xff
mov byte [ebx], cl
inc eax
inc edx
cmp al, 8
jne 0x4e705e
jmp 0x4e709d
mov al, byte [ebp + 0xf]
or al, 0x80
mov byte [esi], al
xor eax, eax
lea edx, [ebp + 8]
xor ecx, ecx
mov cl, al
mov ebx, 7
sub ebx, ecx
add ebx, esi
mov cl, byte [edx]
mov byte [ebx], cl
inc eax
inc edx
cmp al, 7
jne 0x4e7086
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4e7334
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
push edi
push ebx
xor ecx, ecx
mov ecx, dword [ebp - 4]
jcxz 0x4e7369
xor ebx, ebx
mov bl, byte [ebp - 5]
mov bh, byte [ebp + 8]
mov edi, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edi]
xor al, bh
xor al, bl
mov byte [edi], al
inc bl
dec bh
inc edi
loop 0x4e7358
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4e85b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e8631
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.0040301c
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA_1
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040a19c
mov edx, dword [ebp - 0x10c]
mov eax, ebx
mov ecx, 0xff
call fcn.004047a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8638
lea eax, [ebp - 0x10c]
call fcn.004044ec
ret

Function at 0x4e8640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e86c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.0040301c
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040a19c
mov edx, dword [ebp - 0x10c]
mov eax, ebx
mov ecx, 0xff
call fcn.004047a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e86c8
lea eax, [ebp - 0x10c]
call fcn.004044ec
ret

Function at 0x4e86d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e873f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.0040301c
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040a19c
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.004047a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8746
lea eax, [ebp - 0x18]
call fcn.004044ec
ret
Function at 0x4e875c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e87e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.00404750
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040a004
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4e87be
and eax, 1
dec eax
jne 0x4e87ba
mov ebx, 1
jmp 0x4e87c8
xor ebx, ebx
jmp 0x4e87c8
push 2
call sub.kernel32.dll_SetLastError
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e87e8
lea eax, [ebp - 0x10c]
call fcn.004044ec
ret

Function at 0x4e8a3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e8aa3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.00404750
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040a004
push eax
call sub.kernel32.dll_DeleteFileA
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
push 0x4e8aaa
lea eax, [ebp - 0x10c]
call fcn.004044ec
ret

Function at 0x4e8ab4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e8b48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
mov edx, esi
call fcn.00404750
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x20a]
call fcn.0040a004
push eax
lea eax, [ebp - 0x214]
mov edx, ebx
call fcn.00404750
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x105]
call fcn.0040a004
push eax
call sub.kernel32.dll_MoveFileA
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
push 0x4e8b4f
lea eax, [ebp - 0x214]
mov edx, 2
call fcn.00404510
ret
Function at 0x51b270
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0049efb0
lea edx, [esp + 8]
mov eax, dword [ebx + 0x90]
mov eax, dword [eax + 4]
call fcn.0049efa0
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x51e124
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff8d0
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x51e302
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e9340
mov dword [ebp - 8], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0051de84
jmp 0x51e1c1
mov eax, dword [ebx + 0x890]
sub eax, esi
mov edx, 0x10000
call fcn.004e81c4
mov edx, dword [ebx + 0x89c]
add edx, esi
mov ecx, eax
mov eax, ebx
call fcn.0051dfec
add esi, eax
mov dword [ebp - 0x630], esi
fild dword [ebp - 0x630]
fild dword [ebx + 0x890]
fdivp st(1)
fmul dword [0x51e31c]
call fcn.00402de4
mov edi, eax
mov eax, ebx
call fcn.0051bdc4
movzx eax, ax
add eax, dword [ebp - 0xc]
cmp edi, eax
jl 0x51e1c1
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0051de84
mov dword [ebp - 0xc], edi
mov eax, ebx
call fcn.0051dfbc
test al, al
je 0x51e1d4
cmp esi, dword [ebx + 0x890]
jl 0x51e15c
cmp esi, dword [ebx + 0x890]
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x51e2f8
mov cx, 0x64
mov edx, esi
mov eax, ebx
call fcn.0051de84
call fcn.004e9340
mov esi, eax
cmp byte [ebx + 0x86c], 0
je 0x51e2f8
call fcn.0040b8d0
fstp qword [ebp - 0x62b]
wait
mov byte [ebp - 0x623], 3
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.004e9348
mov dword [ebp - 0x622], eax
mov al, byte [ebx + 0x248]
mov byte [ebp - 0x61e], al
mov al, byte [ebx + 0x364]
mov byte [ebp - 0x61d], al
lea eax, [ebp - 0x61c]
lea edx, [ebx + 0x367]
call fcn.00402f00
lea eax, [ebp - 0x51c]
lea edx, [ebx + 0x467]
call fcn.00402f00
mov eax, dword [ebx + 0x568]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x418]
lea edx, [ebx + 0x56c]
call fcn.00402f00
lea eax, [ebp - 0x318]
lea edx, [ebx + 0x66c]
call fcn.00402f00
mov ax, word [ebx + 0x895]
mov word [ebp - 0x218], ax
call fcn.0050becc
lea ecx, [ebp - 0x730]
mov dx, word [ebx + 0x895]
call fcn.005128b8
lea edx, [ebp - 0x730]
lea eax, [ebp - 0x216]
call fcn.00402f00
mov eax, dword [ebx + 0x890]
mov dword [ebp - 0x116], eax
mov word [ebp - 0x112], 0
mov byte [ebp - 0x110], 0
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x62b]
mov eax, ebx
call fcn.0051debc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51e310
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51f72c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x51f881
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00519ac0
xor eax, eax
push ebp
push 0x51f87a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.005193b4
push 0
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 8]
je 0x51f864
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x14], edx
push 0
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov edx, dword [ebp - 0xc]
sub edx, 4
mov eax, dword [ebp - 4]
call fcn.0051f238
xor eax, eax
push ebp
push 0x51f85d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
xor edi, edi
mov esi, 1
jmp 0x51f83b
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x1c]
cmp esi, dword [ebx + 8]
jle 0x51f826
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x50b808]
call fcn.0051eaa4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, ebx
call fcn.0041d6a0
mov dword [ebx + 8], esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
add edx, edi
mov eax, ebx
call fcn.0051eadc
jmp 0x51f832
mov edx, esi
dec edx
mov eax, ebx
call fcn.0041d84c
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0xc]
inc eax
add edi, eax
inc esi
mov eax, dword [ebp - 0xc]
sub eax, 4
cmp edi, eax
jl 0x51f7e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f864
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0051f238
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f881
mov eax, dword [ebp - 0x10]
call fcn.00519ad0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53e87c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
xor edi, edi
movzx edx, word [esi + 0x57e]
mov eax, dword [esp + 4]
xor ecx, ecx
call fcn.0040301c
mov al, byte [esi + 0x580]
test al, al
jbe 0x53e91f
mov byte [esp + 9], al
mov bl, 1
lea eax, [esp + 0xa]
push eax
lea eax, [esp + 0xc]
push eax
mov ebp, ebx
and ebp, 0xff
mov dx, word [esi + ebp*2 + 0x580]
mov ecx, dword [esp + 8]
mov eax, esi
call fcn.0054536c
mov dl, byte [esp + 8]
xor dl, 1
movzx eax, di
add eax, dword [esp + 4]
mov byte [eax], dl
mov dl, byte [esi + 0x685]
push edx
mov edx, dword [esi + 0x3960]
push edx
mov ecx, eax
lea edx, [esp + 0x12]
mov eax, dword [esi + ebp*4 + 0x684]
call fcn.0050c468
mov eax, dword [esi + ebp*4 + 0x684]
call fcn.0050c450
inc eax
add di, ax
inc ebx
dec byte [esp + 9]
jne 0x53e8b3
cmp byte [esi + 0x684], 0
jne 0x53e946
mov eax, dword [esp]
mov eax, dword [eax + 5]
lea edx, [esp + 0xa]
mov dword [edx], eax
movzx edx, di
add edx, dword [esp + 4]
lea eax, [esp + 0xa]
mov eax, dword [eax]
call fcn.004e70a8
add esp, 0x20c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5627cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x11c], ebx
test dl, dl
je 0x5627f8
add esp, 0xfffffff0
call fcn.00403a3c
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5629cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0040d720
mov word [edi + 0xc], si
call fcn.00562570
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0xff]
mov edx, esi
call fcn.0050f7f8
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x2c]
lea eax, [edi + 0x18]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x12c]
lea eax, [edi + 0x1c]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x22c]
lea eax, [edi + 0x20]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x32c]
lea eax, [edi + 0x24]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x42c]
lea eax, [edi + 0x28]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x52c]
lea eax, [edi + 0x2c]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x62c]
lea eax, [edi + 0x30]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x72c]
lea eax, [edi + 0x34]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x82c]
lea eax, [edi + 0x38]
call fcn.00404750
call fcn.00562570
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x92c]
mov dword [edi + 0x3c], eax
call fcn.00562570
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x930]
mov dword [edi + 0x40], eax
call fcn.00562570
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x24]
mov dword [edi + 0x10], eax
call fcn.00562570
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp - 0x108]
mov eax, dword [0x644284]
call fcn.004068ec
mov eax, dword [ebp - 0x108]
push eax
movzx eax, word [edi + 0xc]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0xff]
call fcn.004046e4
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x118]
mov ecx, 1
pop eax
call fcn.0040a68c
mov edx, dword [ebp - 0x104]
lea eax, [edi + 4]
call fcn.00404540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5629d3
lea eax, [ebp - 0x11c]
call fcn.004044ec
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00404510
ret

Function at 0x57580c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x575821
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x575924
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x14], 0
je 0x575939
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.00575890
mov esi, eax
mov eax, ebx
call fcn.004036d8
mov eax, esi
pop esi
pop ebx
ret
Function at 0x575e0c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x575eac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x575e96
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x575e6f
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.004046e4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x575e5d
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 4], 0
je 0x575e90
mov eax, dword [ebp - 4]
mov edx, 0x575ec4
call fcn.00404914
jne 0x575e94
xor ebx, ebx
jmp 0x575e96
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575eb3
lea eax, [ebp - 4]
call fcn.004044ec
ret

Function at 0x575ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
lea eax, [esp + 0xc]
push eax
push 0x575f3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x575f2d
mov dword [esp], 4
push esp
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x575f6c
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x575f1a
cmp byte [esp + 4], 1
sete bl
jmp 0x575f21
call fcn.00575e0c
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x575f34
call fcn.00575e0c
mov ebx, eax
mov eax, ebx
add esp, 0x10
pop ebx
ret

Function at 0x576364
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049b8
xor eax, eax
push ebp
push 0x576425
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x57643c
call fcn.00404b0c
test eax, eax
jne 0x5763ac
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x576448
call fcn.00404814
test bl, bl
je 0x5763eb
lea edx, [ebp - 8]
mov eax, 0x576458
call fcn.00575fe4
cmp dword [ebp - 8], 0
je 0x5763eb
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004049c8
push eax
mov eax, dword [ebp - 8]
call fcn.004049c8
push eax
push 0x576460
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x57640a
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049c8
push eax
push 0x576460
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57642c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404510
ret