joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53a134
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.00539a6c
xor eax, eax
push ebp
push 0x53a2a5
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 0x53a28f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x53a17f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x53a189
call fcn.004049b4
jmp 0x53a2ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421624
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 0x53a284
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 0x53a237
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x53a224
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.0053a0ec
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x53a2b8]
cmp dl, byte [eax + 0x28]
je 0x53a28b
call fcn.0040e7d8
jmp 0x53a28b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421644
jmp 0x53a28b
cmp ecx, ebx
jge 0x53a253
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.00421644
jmp 0x53a189
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.00421624
cmp edx, dword [esp + 4]
jne 0x53a273
cmp eax, dword [esp]
pop edx
pop eax
jne 0x53a189
push ebp
call fcn.0053a0ec
pop ecx
jmp 0x53a28b
push ebp
call fcn.0053a0ec
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a2ac
mov eax, dword [ebp - 4]
call fcn.00539a78
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53a2bc
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 0x53a3de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00539a6c
xor eax, eax
push ebp
push 0x53a3c1
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 0x53a30c
call fcn.004049b4
jmp 0x53a3c8
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 0x53a3ab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x53a3ab
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 0x53a3ab
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040dfbc
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, 0x53a3f8
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 [0x538d80]
call fcn.0040e8fc
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a3c8
mov eax, dword [ebp - 4]
call fcn.00539a78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a3e5
lea eax, [ebp - 0x28]
call fcn.00404fb4
ret
Function at 0x53a444
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 0x53a58e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00539a6c
xor eax, eax
push ebp
push 0x53a571
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x53a4a9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x53a4a9
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 0x53a55b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x53a4bc
call fcn.004049b4
jmp 0x53a578
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 0x53a55b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x53a55b
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 0x53a55b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040dfbc
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, 0x53a5a8
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 [0x538d80]
call fcn.0040e8fc
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a578
mov eax, dword [ebp - 4]
call fcn.00539a78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a595
lea eax, [ebp - 0x28]
call fcn.00404fb4
ret
Function at 0x5432b0
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 + 0x58675c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x58675c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x58675c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58675c]
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 + 0x5866e0]
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 0x5432db
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x5433a8
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 + 0x58675c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x58675c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x58675c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58675c]
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 + 0x5866e0]
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 0x5433e3
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x5434c4
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 + 0x58675c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58675c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x58675c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x58675c]
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 + 0x5866e0]
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 + 0x58675c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58675c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x58675c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x58675c]
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 0x54350f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x5492d0
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 0x5492d9
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 0x5493b4
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 0x549391
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 0x54938b
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 + 0x58735c]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x549367
cmp dword [ebp - 8], 0
jne 0x54933e
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 0x5493bb
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x5498d4
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 0x549933
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x549948
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 0x54993a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x54a354
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 0x54a45b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c8c4]
call fcn.004040f8
mov edi, eax
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54a39b
bt esi, eax
jae 0x54a434
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 8]
mov edx, 0x54a474
call fcn.0040527c
mov eax, dword [ebp - 8]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x54a3d0
test ebx, ebx
jne 0x54a3fb
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0xc]
mov edx, 0x54a474
call fcn.0040527c
mov eax, dword [ebp - 0xc]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x54a434
lea eax, [ebx + 0x41]
call fcn.0054c064
test al, al
je 0x54a434
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x41]
call fcn.0040519c
push dword [ebp - 0x14]
push 0x54a474
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 0x54a391
mov ebx, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a462
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404fd8
ret

Function at 0x54aa68
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 0x54ab0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [0x58fc34]
mov eax, dword [eax]
call fcn.00493c90
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040ac94
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040527c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0054a9dc
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x54ab20
call fcn.004052c0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405474
push eax
push 0x54ab24
push 0x54ab30
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 0x54ab14
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404fd8
ret
Function at 0x54ab38
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 0x54abe1
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.0040b2e0
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, 0x54abf8
call fcn.004053c0
je 0x54abc0
mov eax, ebx
mov edx, 0x54abf8
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54abe8
lea eax, [ebp - 0x108]
call fcn.00404fb4
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x54abfc
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 0x54aca4
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x58775c]
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.0040b2e0
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, 0x54acb8
call fcn.004053c0
je 0x54ac8b
mov eax, ebx
mov edx, 0x54acb8
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54acab
lea eax, [ebp - 0x110]
call fcn.00404fb4
ret
Function at 0x54be88
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x54be90
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x54bff2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404fb4
lea edx, [ebp - 0x14]
mov eax, 0x54c008
call fcn.004d6bf8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00416e20
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54bedc
bt esi, eax
jae 0x54bf8c
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0x18]
mov edx, 0x54c02c
call fcn.0040527c
mov eax, dword [ebp - 0x18]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x54bf8c
push 0x54c030
lea eax, [ebp - 0x3c]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov eax, dword [ebp - 0x3c]
push eax
push 0x54c03c
push 0x54c048
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412614
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00412614
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412614
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
mov edx, 0x54c05c
call fcn.00416d40
lea edx, [ebp - 0x5c]
pop eax
call fcn.00419aa8
jne 0x54bf8c
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 0x54bed2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bff9
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.0041260c
ret
Function at 0x54c1c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x54c1c8
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x54c332
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, 0x54c348
call fcn.004d6bf8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00416e20
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x54c214
bt esi, eax
jae 0x54c2cc
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x41]
call fcn.0040519c
lea eax, [ebp - 0x18]
mov edx, 0x54c36c
call fcn.0040527c
mov eax, dword [ebp - 0x18]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x54c2cc
test ebx, ebx
je 0x54c2cc
push 0x54c370
lea eax, [ebp - 0x3c]
lea edx, [ebx + 0x41]
call fcn.0040519c
mov eax, dword [ebp - 0x3c]
push eax
push 0x54c37c
push 0x54c388
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412614
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00412614
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412614
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
mov edx, 0x54c39c
call fcn.00416d40
lea edx, [ebp - 0x5c]
pop eax
call fcn.00419aa8
jne 0x54c2cc
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 0x54c20a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c339
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.0041260c
ret

Function at 0x5508c0
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 0x550942
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x55094c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x550908
mov dword [esp + 0x18], 2
jmp 0x55090e
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