joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515f6c
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.005158c0
xor eax, eax
push ebp
push 0x5160dd
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 0x5160c7
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x515fb7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x515fc1
call fcn.0040460c
jmp 0x5160e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd00
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 0x5160bc
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 0x51606f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x51605c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fc8
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.00515f24
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x5160f0]
cmp dl, byte [eax + 0x28]
je 0x5160c3
call fcn.0040d550
jmp 0x5160c3
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd20
jmp 0x5160c3
cmp ecx, ebx
jge 0x51608b
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.0041bd20
jmp 0x515fc1
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.0041bd00
cmp edx, dword [esp + 4]
jne 0x5160ab
cmp eax, dword [esp]
pop edx
pop eax
jne 0x515fc1
push ebp
call fcn.00515f24
pop ecx
jmp 0x5160c3
push ebp
call fcn.00515f24
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5160e4
mov eax, dword [ebp - 4]
call fcn.005158cc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5160f4
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 0x516216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005158c0
xor eax, eax
push ebp
push 0x5161f9
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 0x516144
call fcn.0040460c
jmp 0x516200
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 0x5161e3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5161e3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fc8
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 0x5161e3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cd34
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, 0x516230
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x542bf4]
mov dl, 1
mov eax, dword [0x514bd4]
call fcn.0040d668
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516200
mov eax, dword [ebp - 4]
call fcn.005158cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51621d
lea eax, [ebp - 0x28]
call fcn.00404bf0
ret
Function at 0x51627c
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 0x5163c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005158c0
xor eax, eax
push ebp
push 0x5163a9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x5162e1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5162e1
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 0x516393
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5162f4
call fcn.0040460c
jmp 0x5163b0
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 0x516393
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x516393
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403fc8
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 0x516393
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cd34
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, 0x5163e0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x542bf4]
mov dl, 1
mov eax, dword [0x514bd4]
call fcn.0040d668
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5163b0
mov eax, dword [ebp - 4]
call fcn.005158cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5163cd
lea eax, [ebp - 0x28]
call fcn.00404bf0
ret
Function at 0x518588
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x51875e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x518745
mov eax, dword [edi + 0x30]
call fcn.00404eb0
test eax, eax
jne 0x5185de
mov eax, dword [edi + 0x34]
call fcn.00404eb0
test eax, eax
jne 0x5185de
mov eax, edi
call fcn.005187fc
jmp 0x518745
cmp dword [edi + 0xa0], 0
jne 0x518615
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040a3e4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5456d0]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x51864c
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040a3e4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5456d0]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0051883c
mov ebx, eax
test bl, bl
jne 0x5186fa
mov eax, dword [edi + 0x30]
call fcn.00404eb0
test eax, eax
jne 0x518684
mov eax, dword [edi + 0xc0]
call fcn.00404eb0
test eax, eax
je 0x5186fa
mov eax, dword [edi + 0xc0]
call fcn.00404eb0
test eax, eax
je 0x5186a6
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040a3e4
jmp 0x5186d2
push dword [edi + 0x30]
push 0x518778
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404f70
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040a3e4
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x5186fa
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0051883c
mov ebx, eax
test bl, bl
jne 0x518707
mov eax, edi
call fcn.005187fc
jmp 0x518745
mov eax, dword [edi + 0x58]
test eax, eax
je 0x518716
mov dword [edi + 0xa8], eax
jmp 0x518720
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.005188b4
test al, al
je 0x518745
mov eax, edi
mov si, 0xffee
call fcn.00403fc8
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00518960
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518765
lea eax, [ebp - 0x108]
call fcn.00404bf0
ret
Function at 0x51af74
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
push edi
test dl, dl
je 0x51af8c
add esp, 0xfffffff0
call fcn.004040f8
mov ebx, edx
mov edi, eax
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x48], 0x20
mov dword [edi + 0x50], 0x80
mov dword [edi + 0x4c], 0xfa0
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x51afd7
mov ecx, 0x51b0a4
mov dl, 1
mov eax, dword [0x51af18]
call fcn.0040d570
call fcn.00404560
push 0x51b0c0
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
jne 0x51b000
mov ecx, 0x51b0d4
mov dl, 1
mov eax, dword [0x51af18]
call fcn.0040d570
call fcn.00404560
push 0x51b0f0
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 8], eax
push 0x51b100
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc], eax
push 0x51b110
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x10], eax
cmp dword [edi + 8], 0
je 0x51b045
cmp dword [edi + 0xc], 0
je 0x51b045
cmp dword [edi + 0x10], 0
jne 0x51b05b
mov ecx, 0x51b128
mov dl, 1
mov eax, dword [0x51af18]
call fcn.0040d570
call fcn.00404560
call dword [edi + 8]
mov esi, eax
mov dword [edi + 0x14], esi
cmp esi, 0xffffffff
jne 0x51b07e
mov ecx, 0x51b14c
mov dl, 1
mov eax, dword [0x51af18]
call fcn.0040d570
call fcn.00404560
mov eax, edi
test bl, bl
je 0x51b093
call fcn.00404150
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51b1b4
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x51b294
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x34]
call fcn.004050b0
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebx + 0x44], esi
mov eax, esi
xor edx, edx
cmp edx, 0xffffffff
jne 0x51b1ee
cmp eax, 0xffffffff
je 0x51b1fd
lea eax, [ebx + 0x3c]
mov edx, dword [ebx + 0x34]
call fcn.00404c44
jmp 0x51b25a
mov eax, dword [ebx + 0x34]
call fcn.004050b0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x51b240
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x70], eax
cmp word [ebx + 0x5a], 0
je 0x51b279
lea eax, [ebp - 8]
mov ecx, dword [ebx + 0x34]
mov edx, 0x51b2ac
call fcn.00404efc
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
jmp 0x51b279
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 0x44], eax
lea eax, [ebx + 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404de8
push dword [ebx + 0x44]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0xc]
call fcn.0040a554
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x40]
call fcn.00404c44
mov byte [ebx + 0x74], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b29b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404c14
ret
Function at 0x5241a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x524315
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5242f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404dd8
lea eax, [ebp - 0x118]
mov edx, 0x52432c
call fcn.00404eb8
mov eax, dword [ebp - 0x118]
call fcn.004050b0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x524262
lea eax, [ebp - 0x111]
call fcn.0040a34c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404ce0
jmp 0x524269
mov eax, esi
call fcn.00404bf0
cmp bl, 0x61
jae 0x52428a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e45c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404c44
jmp 0x5242a4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e3d0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404c44
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x524338
call fcn.0040aa6c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5242f7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x529a7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050a0
xor eax, eax
push ebp
push 0x529ada
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00529b58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x529ac2
lea eax, [ebp - 4]
call fcn.00529b58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x529ac4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529ae1
lea eax, [ebp - 4]
call fcn.00404bf0
ret

Function at 0x529ae8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050a0
xor eax, eax
push ebp
push 0x529b4c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00529b58
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529b53
lea eax, [ebp - 4]
call fcn.00404bf0
ret
Function at 0x52a14c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004050a0
xor eax, eax
push ebp
push 0x52a245
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00529818
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a188
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0052ab38
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a06c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0052abac
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a24c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c14
ret
Function at 0x52a254
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004050a0
xor eax, eax
push ebp
push 0x52a35d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00529818
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x52a323
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a188
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0052ab38
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a06c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0052abac
jmp 0x52a335
xor edx, edx
mov eax, ebx
call fcn.0052ab38
xor edx, edx
mov eax, ebx
call fcn.0052abac
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a364
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c14
ret

Function at 0x530cb0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.00530ee4
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.00530ee4
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x530d24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x530d49
inc esi
mov eax, edi
call fcn.00530d08
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00530cb0
inc ebx
dec esi
jne 0x530d33
pop edi
pop esi
pop ebx
ret
Function at 0x530dd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004050a0
xor eax, eax
push ebp
push 0x530e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00530d50
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00530d08
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00530cb0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x530e18
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530e54
lea eax, [ebp - 4]
call fcn.00404bf0
ret
Function at 0x531a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x531bf4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x531bb0
mov eax, dword [ebp - 4]
call fcn.0053336c
cmp ebx, eax
jge 0x531bb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.005280f0
mov edx, dword [0x529bec]
call fcn.00403f7c
mov esi, eax
mov eax, esi
call fcn.0052aacc
test al, al
je 0x531ba6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x531b9a
xor eax, eax
push ebp
push 0x531b93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00531fc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041bd00
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040523c
mov eax, dword [ebp - 8]
call fcn.00405108
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00531d8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531bde
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x531b92
mov eax, dword [ebp - 4]
call fcn.0053204c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a554
jmp 0x531bde
mov eax, dword [ebp - 8]
call fcn.00404bf0
jmp 0x531bde
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409a80
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x416bac]
call fcn.0040d5ac
call fcn.00404560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531bfb
lea eax, [ebp - 0x54]
call fcn.00404bf0
ret
Function at 0x5369f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
xor eax, eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x536b75
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1e0]
mov eax, dword [0x542acc]
mov eax, dword [eax]
call fcn.00462d3c
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 4]
call fcn.0040a188
lea edx, [ebp - 0x1e8]
mov eax, dword [0x542acc]
mov eax, dword [eax]
call fcn.00462d3c
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.0040a06c
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 8]
mov ecx, 0x536b8c
call fcn.00404efc
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x536b9c
call fcn.00404efc
push 0x536bac
push dword [ebp - 4]
push 0x536bc0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f70
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1dc]
call fcn.004033b0
lea eax, [ebp - 0x1dc]
call fcn.0040314c
call fcn.00402c58
mov edx, 0x536bd4
lea eax, [ebp - 0x1dc]
call fcn.004052cc
call fcn.00403840
call fcn.00402c58
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.004052cc
call fcn.00403840
call fcn.00402c58
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x1dc]
call fcn.004052cc
call fcn.00403840
call fcn.00402c58
mov edx, 0x536be0
lea eax, [ebp - 0x1dc]
call fcn.004052cc
call fcn.00403840
call fcn.00402c58
lea eax, [ebp - 0x1dc]
call fcn.00403478
call fcn.00402c58
push 0
mov eax, dword [ebp - 8]
call fcn.004050b0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536b7c
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.00404c14
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404c14
ret