joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e0f0
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.0051da24
xor eax, eax
push ebp
push 0x51e263
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 0x51e24d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x51e13c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x51e146
call fcn.00404ca0
jmp 0x51e26a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fc50
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 0x51e242
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 0x51e1f5
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x51e1e2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040453c
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.0051e0a8
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x51e278]
cmp dl, byte [eax + 0x28]
je 0x51e249
call fcn.0040f5a0
jmp 0x51e249
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fc70
jmp 0x51e249
cmp edi, ebx
jge 0x51e211
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.0041fc70
jmp 0x51e146
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.0041fc50
cmp edx, dword [esp + 4]
jne 0x51e231
cmp eax, dword [esp]
pop edx
pop eax
jne 0x51e146
push ebp
call fcn.0051e0a8
pop ecx
jmp 0x51e249
push ebp
call fcn.0051e0a8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e26a
mov eax, dword [ebp - 4]
call fcn.0051da30
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51e27c
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 0x51e39e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051da24
xor eax, eax
push ebp
push 0x51e381
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 0x51e2cc
call fcn.00404ca0
jmp 0x51e388
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 0x51e36b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x51e36b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040453c
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 0x51e36b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ed88
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, 0x51e3b8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x552a94]
mov dl, 1
mov eax, dword [0x51cd24]
call fcn.0040f6c4
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e388
mov eax, dword [ebp - 4]
call fcn.0051da30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e3a5
lea eax, [ebp - 0x28]
call fcn.004052a4
ret
Function at 0x51e404
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 0x51e54e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051da24
xor eax, eax
push ebp
push 0x51e531
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x51e469
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x51e469
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 0x51e51b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x51e47c
call fcn.00404ca0
jmp 0x51e538
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 0x51e51b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x51e51b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040453c
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 0x51e51b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ed88
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, 0x51e568
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x552a94]
mov dl, 1
mov eax, dword [0x51cd24]
call fcn.0040f6c4
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e538
mov eax, dword [ebp - 4]
call fcn.0051da30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e555
lea eax, [ebp - 0x28]
call fcn.004052a4
ret
Function at 0x51f2a0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405724
xor eax, eax
push ebp
push 0x51f3a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004039dc
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.004039dc
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x51f38c
mov eax, dword [ebp - 0x5c]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov dword [edi], 0x10007
push edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetThreadContext
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadProcessMemory
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
jmp 0x51f36f
cmp dword [ebp - 0x68], 0x10000
je 0x51f382
add edi, dword [ebp - 0x6c]
push 0x1c
lea eax, [ebp - 0x78]
push eax
push edi
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
jne 0x51f363
mov eax, dword [ebp + 0xc]
sub edi, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f3a9
lea eax, [ebp - 4]
call fcn.004052a4
ret
Function at 0x51fe5c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x51fefe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0x51ff10
push 0
push edi
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x51fedb
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.0040549c
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51febb
sub ebx, 4
mov ebx, dword [ebx]
mov eax, ebx
add eax, eax
add eax, eax
push eax
push esi
push 1
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
jmp 0x51fedd
xor eax, eax
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ff05
lea eax, [ebp - 0x10]
call fcn.004052a4
ret

Function at 0x51ff18
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00405734
mov esi, eax
push esi
call sub.kernel32.dll_GetFileAttributesA
or eax, 2
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret

Function at 0x51ff40
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov eax, ebx
call fcn.004052a4
push esp
push 0
mov eax, dword [0x552918]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [esp], 0
je 0x51ff8c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x51ff8c
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405514
add esp, 0x10c
pop ebx
ret
Function at 0x51ff94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405724
xor eax, eax
push ebp
push 0x5200fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x628
call fcn.004039dc
lea edx, [ebp - 8]
mov eax, dword [0x552758]
call fcn.004eebbc
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x520108
call fcn.0040740c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x520118
call fcn.0040740c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405c7c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405c8c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x154]
push eax
push 0x104
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x104
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x310]
push eax
push 0x104
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 0x104
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x104
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebx + 0x620]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebp - 0x10]
call fcn.004073c8
lea eax, [ebp - 0xc]
call fcn.004073c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520101
lea eax, [ebp - 0x14]
call fcn.00405ab0
lea eax, [ebp - 0x10]
call fcn.004073c8
lea eax, [ebp - 0xc]
call fcn.004073c8
lea eax, [ebp - 8]
call fcn.004073c8
lea eax, [ebp - 4]
call fcn.004052a4
ret
Function at 0x520774
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe0c
push ebx
xor edx, edx
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x520998
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.00403338
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0040b2d4
push dword [ebp - 0x1d4]
push 0x5209ac
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.0051fd18
push dword [ebp - 0x1dc]
push 0x5209c4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405638
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004037ac
lea eax, [ebp - 0x1d0]
call fcn.0040353c
call fcn.004030a8
mov edx, 0x5209d4
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea edx, [ebp - 0x1e8]
xor eax, eax
call fcn.00403338
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.0040b414
mov ecx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1e0]
mov edx, 0x5209f8
call fcn.004055bc
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
push 0x520a08
lea edx, [ebp - 0x1f0]
mov eax, ebx
call fcn.0040b414
push dword [ebp - 0x1f0]
push 0x520a18
mov eax, dword [0x552468]
push dword [eax]
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00405638
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
push 0x520a24
mov eax, dword [0x5529bc]
push dword [eax]
push 0x520a24
lea eax, [ebp - 0x1f4]
mov edx, 3
call fcn.00405638
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
mov edx, 0x520a30
lea eax, [ebp - 0x1d0]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1d0]
call fcn.00403874
call fcn.004030a8
mov eax, dword [ebp - 4]
call fcn.0051ff18
push 0
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x520a40
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
xor edx, edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x520c0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1dc]
mov eax, 0x520c20
call fcn.004114b8
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.00410378
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 8]
mov ecx, 0x520c30
call fcn.004055bc
lea ecx, [ebp - 4]
mov edx, 0x520c40
mov eax, dword [ebp - 8]
call fcn.0051fde0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d4]
call fcn.004037ac
lea eax, [ebp - 0x1d4]
call fcn.0040353c
call fcn.004030a8
mov edx, 0x520c50
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
mov edx, 0x520c64
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e8], ebx
mov byte [ebp - 0x1e4], 0xb
lea edx, [ebp - 0x1e8]
xor ecx, ecx
mov eax, 0x520c88
call fcn.0040c114
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1ec]
push eax
mov dword [ebp - 0x1e8], ebx
mov byte [ebp - 0x1e4], 0xb
lea edx, [ebp - 0x1e8]
xor ecx, ecx
mov eax, 0x520ca0
call fcn.0040c114
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
mov edx, 0x520cc4
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1d4]
call fcn.00403874
call fcn.004030a8
mov eax, dword [ebp - 4]
call fcn.0051ff18
push 0
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520c11
lea eax, [ebp - 0x1ec]
call fcn.004052a4
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.004052c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052c8
ret
Function at 0x520cd4
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x520ea1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1dc]
mov eax, 0x520eb8
call fcn.004114b8
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.00410378
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 4]
mov ecx, 0x520ec8
call fcn.004055bc
lea ecx, [ebp - 8]
mov edx, 0x520ed8
mov eax, dword [ebp - 4]
call fcn.0051fde0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004037ac
lea eax, [ebp - 0x1d4]
call fcn.0040353c
call fcn.004030a8
mov edx, 0x520ee8
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
mov edx, 0x520efc
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e8], ebx
mov byte [ebp - 0x1e4], 0xb
lea edx, [ebp - 0x1e8]
xor ecx, ecx
mov eax, 0x520f20
call fcn.0040c114
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1ec]
push eax
mov dword [ebp - 0x1e8], esi
mov byte [ebp - 0x1e4], 0xb
lea edx, [ebp - 0x1e8]
xor ecx, ecx
mov eax, 0x520f38
call fcn.0040c114
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
mov edx, 0x520f5c
lea eax, [ebp - 0x1d4]
call fcn.00405a58
call fcn.00403c60
call fcn.004030a8
lea eax, [ebp - 0x1d4]
call fcn.00403874
call fcn.004030a8
mov eax, dword [ebp - 8]
call fcn.0051ff18
push 0
mov eax, dword [ebp - 8]
call fcn.00405734
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520ea8
lea eax, [ebp - 0x1ec]
call fcn.004052a4
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.004052c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052c8
ret

Function at 0x520f6c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x520feb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040548c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x521000
call fcn.004055bc
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x520fca
cmp eax, 1
je 0x520fca
cmp eax, 3
jne 0x520fca
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x520f8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520ff2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052c8
ret
Function at 0x521004
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405724
mov eax, dword [ebp - 8]
call fcn.00405724
xor eax, eax
push ebp
push 0x5210fe
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x521049
mov ebx, 4
jmp 0x52104b
xor ebx, ebx
mov eax, esi
xor ecx, ecx
mov edx, 0x10
call fcn.00408970
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00408970
mov word [ebp - 0x1c], 5
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x24], 0x18
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.0040b2d4
mov eax, dword [ebp - 0x60]
call fcn.00405734
push eax
push 0
push ebx
push 0
push 0
push 0
push dword [ebp - 4]
push 0x521118
push dword [ebp - 8]
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00405638
mov eax, dword [ebp - 0x64]
call fcn.00405734
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x5210d6
mov edi, esi
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521105
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004052c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052c8
ret

Function at 0x5219c8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405724
xor eax, eax
push ebp
push 0x521aaf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
mov ecx, 0x521ac8
mov edx, dword [ebp - 4]
call fcn.004055bc
mov eax, dword [ebp - 0x1d4]
call fcn.0040af8c
test al, al
je 0x521a45
lea eax, [ebp - 0x1d8]
mov ecx, 0x521ac8
mov edx, dword [ebp - 4]
call fcn.004055bc
mov eax, dword [ebp - 0x1d8]
call fcn.00405734
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1dc]
mov ecx, 0x521ac8
mov edx, dword [ebp - 4]
call fcn.004055bc
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.004037ac
lea eax, [ebp - 0x1d0]
call fcn.0040353c
call fcn.004030a8
lea eax, [ebp - 0x1d0]
call fcn.00403874
call fcn.004030a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521ab6
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.004052c8
lea eax, [ebp - 4]
call fcn.004052a4
ret
Function at 0x521b68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x521ccc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ade8]
call fcn.00404310
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x521ca2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00520f6c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x521c50
inc ebx
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x521c4c
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00406598
call fcn.00406598
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x2c]
jne 0x521c3b
cmp eax, dword [ebp - 0x30]
jbe 0x521c4c
jmp 0x521c3d
jle 0x521c4c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], esi
inc esi
dec ebx
jne 0x521bd7
push 0x521ce4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x552248]
mov eax, dword [eax]
mov ecx, 0x521cf4
mov edx, 0x521d08
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004055bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521ca9
mov eax, dword [ebp - 0xc]
call fcn.00404340
ret