joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53ad08
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.0053a630
xor eax, eax
push ebp
push 0x53ae7a
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 0x53ae64
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x53ad54
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x53ad5e
call fcn.004049b4
jmp 0x53ae81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004217e0
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 0x53ae59
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 0x53ae0c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x53adf9
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404330
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.0053acc0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x53ae8c]
cmp dl, byte [eax + 0x28]
je 0x53ae60
call fcn.0040e7f0
jmp 0x53ae60
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421800
jmp 0x53ae60
cmp edi, ebx
jge 0x53ae28
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.00421800
jmp 0x53ad5e
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.004217e0
cmp edx, dword [esp + 4]
jne 0x53ae48
cmp eax, dword [esp]
pop edx
pop eax
jne 0x53ad5e
push ebp
call fcn.0053acc0
pop ecx
jmp 0x53ae60
push ebp
call fcn.0053acc0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ae81
mov eax, dword [ebp - 4]
call fcn.0053a63c
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ae90
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 0x53afb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0053a630
xor eax, eax
push ebp
push 0x53af95
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 0x53aee0
call fcn.004049b4
jmp 0x53af9c
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 0x53af7f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x53af7f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404330
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 0x53af7f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040dfd4
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, 0x53afcc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x58fdc4]
mov dl, 1
mov eax, dword [0x539944]
call fcn.0040e914
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53af9c
mov eax, dword [ebp - 4]
call fcn.0053a63c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53afb9
lea eax, [ebp - 0x28]
call fcn.00404fb4
ret
Function at 0x53b018
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 0x53b183
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0053a630
xor eax, eax
push ebp
push 0x53b166
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x53b07d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x53b07d
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 0x53b150
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x53b090
call fcn.004049b4
jmp 0x53b16d
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 0x53b0b1
cmp ebx, dword [ebp - 0x10]
jle 0x53b0b1
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 0x53b150
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x53b150
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404330
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 0x53b150
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040dfd4
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, 0x53b19c
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x58fdc4]
mov dl, 1
mov eax, dword [0x539944]
call fcn.0040e914
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b16d
mov eax, dword [ebp - 4]
call fcn.0053a63c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b18a
lea eax, [ebp - 0x2c]
call fcn.00404fb4
ret
Function at 0x543b50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x586760]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x586760]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5866e4]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x543b7b
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x543c48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x586760]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x586760]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5866e4]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x543c83
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x543d64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x586760]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x586760]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x586760]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5866e4]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x586760]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x586760]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x586760]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x586760]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x543daf
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x549b70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x549b79
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x549c54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x58fdd0]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.0040347c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004038e0
call fcn.00402ed8
test eax, eax
jne 0x549c31
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.004035d8
mov dx, word [ebp - 8]
test dx, dx
jbe 0x549c2b
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x587360]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x549c07
cmp dword [ebp - 8], 0
jne 0x549bde
lea eax, [ebp - 0x154]
call fcn.004035f8
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549c5b
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x54a174
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x54a1d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x54a1e8
call fcn.004052c0
push 1
mov eax, dword [ebp - 8]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a1da
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x54abf4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x54acfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov edi, eax
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54ac3b
bt esi, eax
jae 0x54acd4
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 8]
mov edx, 0x54ad14
call fcn.0040527c
mov eax, dword [ebp - 8]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x54ac70
test ebx, ebx
jne 0x54ac9b
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0xc]
mov edx, 0x54ad14
call fcn.0040527c
mov eax, dword [ebp - 0xc]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x54acd4
lea eax, [ebx + 0x41]
call fcn.0054c904
test al, al
je 0x54acd4
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x41]
call fcn.0040519c
push dword [ebp - 0x14]
push 0x54ad14
push dword [ebp - 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405334
mov edx, dword [ebp - 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x54ac31
mov ebx, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ad02
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404fd8
ret

Function at 0x54b308
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x54b3ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [0x58fc34]
mov eax, dword [eax]
call fcn.004754b0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040acac
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040527c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0054b27c
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x54b3c0
call fcn.004052c0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405474
push eax
push 0x54b3c4
push 0x54b3d0
mov eax, dword [0x58fc34]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b3b4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404fd8
ret
Function at 0x54b3d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54b481
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.0040b2f8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405008
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebx]
call fcn.00405274
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.004054d4
mov eax, dword [ebp - 0x108]
mov edx, 0x54b498
call fcn.004053c0
je 0x54b460
mov eax, ebx
mov edx, 0x54b498
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b488
lea eax, [ebp - 0x108]
call fcn.00404fb4
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x54b49c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x54b544
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x587760]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x109]
call fcn.0040b2f8
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebx]
call fcn.00405274
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.004054d4
mov eax, dword [ebp - 0x110]
mov edx, 0x54b558
call fcn.004053c0
je 0x54b52b
mov eax, ebx
mov edx, 0x54b558
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b54b
lea eax, [ebp - 0x110]
call fcn.00404fb4
ret
Function at 0x54c728
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x54c730
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x54c892
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404fb4
lea edx, [ebp - 0x14]
mov eax, 0x54c8a8
call fcn.004d7124
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00416e44
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54c77c
bt esi, eax
jae 0x54c82c
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0x18]
mov edx, 0x54c8cc
call fcn.0040527c
mov eax, dword [ebp - 0x18]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x54c82c
push 0x54c8d0
lea eax, [ebp - 0x3c]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov eax, dword [ebp - 0x3c]
push eax
push 0x54c8dc
push 0x54c8e8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412638
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00412638
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412638
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
mov edx, 0x54c8fc
call fcn.00416d64
lea edx, [ebp - 0x5c]
pop eax
call fcn.00419ae8
jne 0x54c82c
lea eax, [ebp - 0x60]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov edx, dword [ebp - 0x60]
mov eax, edi
call fcn.0040527c
inc ebx
cmp ebx, 0x1a
jne 0x54c772
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c899
lea eax, [ebp - 0x60]
call fcn.00404fb4
lea eax, [ebp - 0x5c]
mov edx, dword [0x401138]
mov ecx, 2
call fcn.00405be0
lea eax, [ebp - 0x3c]
call fcn.00404fb4
lea eax, [ebp - 0x38]
mov edx, dword [0x401138]
mov ecx, 2
call fcn.00405be0
lea eax, [ebp - 0x18]
call fcn.00404fb4
lea eax, [ebp - 0x14]
call fcn.00406f84
lea eax, [ebp - 0x10]
call fcn.00412630
ret
Function at 0x54ca60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x54ca68
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x54cbd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404fb4
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
lea edx, [ebp - 0x14]
mov eax, 0x54cbe8
call fcn.004d7124
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00416e44
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54cab4
bt esi, eax
jae 0x54cb6c
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0x18]
mov edx, 0x54cc0c
call fcn.0040527c
mov eax, dword [ebp - 0x18]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x54cb6c
test ebx, ebx
je 0x54cb6c
push 0x54cc10
lea eax, [ebp - 0x3c]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov eax, dword [ebp - 0x3c]
push eax
push 0x54cc1c
push 0x54cc28
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412638
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00412638
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412638
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
mov edx, 0x54cc3c
call fcn.00416d64
lea edx, [ebp - 0x5c]
pop eax
call fcn.00419ae8
jne 0x54cb6c
lea eax, [ebp - 0x60]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov edx, dword [ebp - 0x60]
mov eax, edi
call fcn.0040527c
inc ebx
cmp ebx, 0x1a
jne 0x54caaa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54cbd9
lea eax, [ebp - 0x60]
call fcn.00404fb4
lea eax, [ebp - 0x5c]
mov edx, dword [0x401138]
mov ecx, 2
call fcn.00405be0
lea eax, [ebp - 0x3c]
call fcn.00404fb4
lea eax, [ebp - 0x38]
mov edx, dword [0x401138]
mov ecx, 2
call fcn.00405be0
lea eax, [ebp - 0x18]
call fcn.00404fb4
lea eax, [ebp - 0x14]
call fcn.00406f84
lea eax, [ebp - 0x10]
call fcn.00412630
ret

Function at 0x55104c
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x5510ce
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x5510d8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x551094
mov dword [esp + 0x18], 2
jmp 0x55109a
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.KERNEL32.DLL_GetLastError
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
add esp, 0x1c
pop ebx
ret