joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa17c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407608
xor eax, eax
push ebp
push 0x4aa22e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
call fcn.00407524
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], 0x41
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x14]
je 0x4aa1ff
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00408100
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.004083cc
lea eax, [ebp - 0x18]
mov edx, 0x4aa248
call fcn.0040794c
shl dword [ebp - 0x14], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x5b
jne 0x4aa1c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa235
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00407584
lea eax, [ebp - 4]
call fcn.00407524
ret

Function at 0x4aa4e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00407608
xor eax, eax
push ebp
push 0x4aa655
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 8]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4aa611
mov eax, dword [ebp - 0xc]
add eax, 4
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.00408194
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x430]
mov eax, 8
call fcn.0041c410
mov ecx, dword [ebp - 0x430]
mov eax, dword [ebp - 0xc]
add eax, 8
mov edx, 0x4aa670
call fcn.00408344
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x434]
call fcn.0041c25c
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0xc]
add eax, 0xc
call fcn.00407904
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x438]
mov eax, 4
call fcn.0041c410
mov ecx, dword [ebp - 0x438]
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov edx, 0x4aa670
call fcn.00408344
mov eax, dword [ebp - 0xc]
add eax, 0x14
lea edx, [ebp - 0x42c]
mov ecx, 0x104
call fcn.00408194
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x18], 0
jmp 0x4aa62f
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
call fcn.004b1248
mov eax, dword [ebp - 0x1c]
call fcn.004a71d8
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x18], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa65c
lea eax, [ebp - 0x438]
mov edx, 3
call fcn.00407584
lea eax, [ebp - 8]
call fcn.00407524
ret
Function at 0x4aa710
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00407608
xor eax, eax
push ebp
push 0x4aa7e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0048d1fc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.0040794c
mov edx, dword [ebp - 8]
mov eax, 0x4aa804
call fcn.00408660
test eax, eax
jne 0x4aa777
mov ecx, 0x4aa818
mov dl, 1
mov eax, dword [0x4174a8]
call fcn.00422c7c
call fcn.00406bfc
mov byte [ebp - 9], 0
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.0040826c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4aa79f
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004080d8
push eax
mov eax, dword [ebp - 8]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetVolumeNameForVolumeMountPointW
test eax, eax
je 0x4aa7c2
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa7ef
lea eax, [ebp - 0x18]
call fcn.00407524
lea eax, [ebp - 0x10]
call fcn.00407524
lea eax, [ebp - 8]
call fcn.00407524
ret
Function at 0x4aa8b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00407608
xor eax, eax
push ebp
push 0x4aaa24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00407524
lea eax, [ebp - 0x18]
mov edx, 0x104
call fcn.0040826c
lea eax, [ebp - 0x20]
mov edx, 0x4aaa3c
call fcn.0040794c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4aa92b
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x4aa9ec
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ax, word [eax + edx*2]
mov word [ebp - 0xe], ax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0041b6c0
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
mov dx, word [ebp - 0xe]
call fcn.00408100
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0041b6c0
mov eax, dword [ebp - 0x34]
pop edx
call fcn.00408660
test eax, eax
jne 0x4aa9dd
lea eax, [ebp - 0x3c]
mov dx, word [ebp - 0xe]
call fcn.00408100
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov ecx, 0x4aaa80
call fcn.00408344
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4aa9b1
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004080d8
push eax
mov eax, dword [ebp - 0x14]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetVolumeNameForVolumeMountPointW
test eax, eax
jne 0x4aa9dd
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00407904
jmp 0x4aa9ec
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jl 0x4aa93d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaa2b
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00407584
lea eax, [ebp - 0x20]
call fcn.00407524
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407584
lea eax, [ebp - 8]
call fcn.00407524
ret
Function at 0x4aef18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00407608
xor eax, eax
push ebp
push 0x4af00a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.0040826c
mov dword [ebp - 0x14], 0x104
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4aef7c
call fcn.00424d60
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0040826c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0041d05c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0048d1fc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0048d1fc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x4aefb6
mov byte [ebp - 0x21], 1
jmp 0x4aefd9
cmp dword [ebp - 0x1c], 0
je 0x4aefc2
cmp dword [ebp - 0x20], 0
jne 0x4aefc8
mov byte [ebp - 0x21], 0
jmp 0x4aefd9
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0041b810
test eax, eax
sete byte [ebp - 0x21]
mov al, byte [ebp - 0x21]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af011
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00407584
lea eax, [ebp - 0x10]
call fcn.00407524
lea eax, [ebp - 8]
call fcn.00407524
ret

Function at 0x4af854
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x14], 0
je 0x4af88c
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov esp, ebp
pop ebp
ret
Function at 0x4afff0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b0169
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x14], 0
je 0x4b005f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xc]
mov al, 1
call fcn.0049aa54
jmp 0x4b0077
lea edx, [ebp - 0x30]
mov eax, 0x4a721c
call fcn.0040afc0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.0049a080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x14], 0
je 0x4b00fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp dword [eax + 4], 0
je 0x4b00a2
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
mov edx, dword [edx + 4]
call fcn.0040794c
jmp 0x4b00ba
lea edx, [ebp - 0x34]
mov eax, 0x4a722c
call fcn.0040afc0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
call fcn.0049a080
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
push ebp
lea eax, [ebp - 0x50]
call fcn.004aff5c
pop ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea edx, [ebp - 0x4c]
mov ecx, 2
mov eax, 0x4b0180
call fcn.0041d8ac
jmp 0x4b0139
lea edx, [ebp - 0x58]
mov eax, 0x4a7234
call fcn.0040afc0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0049a080
push dword [ebp - 0x54]
push 0x4b01a4
push ebp
lea eax, [ebp - 0x5c]
call fcn.004aff5c
pop ecx
push dword [ebp - 0x5c]
push 0x4b01b8
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.004083cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0170
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00407584
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407584
lea eax, [ebp - 0xc]
call fcn.00407524
ret
Function at 0x4b57b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407608
xor eax, eax
push ebp
push 0x4b5966
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x4b5863
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetDriveTypeW
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 2
je 0x4b5807
sub eax, 3
je 0x4b5810
jmp 0x4b5819
mov dword [ebp - 0x18], 0xc0000000
jmp 0x4b586a
mov dword [ebp - 0x18], 0x80000000
jmp 0x4b586a
call fcn.0040b258
add eax, 0x24
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4b5980
call fcn.0041d8ac
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00407904
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4b5938
mov dword [ebp - 0x18], 0xc0000000
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b5881
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
cmp word [eax + edx*2 - 2], 0x5c
jne 0x4b58b2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4b58a6
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
dec edx
lea eax, [ebp - 4]
call fcn.0040826c
push 0
push 0
push 3
push 0
push 3
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004080d8
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4b5932
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x1c], eax
call fcn.0040b258
add eax, 0x24
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
call fcn.00421d4c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x54]
mov ecx, 2
mov eax, 0x4b5a04
call fcn.0041d8ac
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00407904
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b596d
lea eax, [ebp - 0x58]
call fcn.00407524
lea eax, [ebp - 0x3c]
call fcn.00407524
lea eax, [ebp - 0x28]
call fcn.00407524
lea eax, [ebp - 4]
call fcn.00407524
ret
Function at 0x4b6ebc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba4
xor ecx, ecx
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b70d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 8]
mov eax, 0x18
call fcn.0045ad60
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 0
cmp dword [ebp - 0x28], 0xffffffff
je 0x4b6f78
mov dword [ebp - 0x458], 0x428
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 0x28]
call fcn.0045ad80
test eax, eax
je 0x4b6f6f
lea eax, [ebp - 0x45c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00408194
mov eax, dword [ebp - 0x45c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.0040847c
jne 0x4b6f5d
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x2d], 1
jmp 0x4b6f6f
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 0x28]
call fcn.0045ada0
test eax, eax
jne 0x4b6f25
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0x2d], 0
je 0x4b70b7
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b70b7
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b6fc1
push 0x4b70e0
push 0x4b7104
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c8f8
mov dword [ebp - 0x2c], eax
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b6fd5
cmp dword [ebp - 0x2c], 0
je 0x4b70b7
push 0x4b7110
push 0x4b7128
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c8f8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4b700b
cmp dword [ebp - 0x18], 0
je 0x4b70b7
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b70b7
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
call fcn.0048e0f8
cmp eax, 0x3c
jb 0x4b7043
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x2000000
lea eax, [ebp - 0x1c]
push eax
call dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], 0
je 0x4b7053
call fcn.0048e0f8
cmp eax, 0x3c
jae 0x4b7071
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4b7088
cmp dword [ebp - 0x18], 0
je 0x4b70b7
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4b70b7
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0x18], 0
je 0x4b70a4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x1c], 0
je 0x4b70b3
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b70d7
lea eax, [ebp - 0x45c]
call fcn.00407524
ret
Function at 0x4bbb78
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bbc76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0041d2b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4bbc4b
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0xc]
call fcn.004b16ec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bbc3f
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.0040794c
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00455974
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x25], 0
je 0x4bbc37
lea eax, [ebp - 0x2c]
call fcn.0048dbac
mov eax, dword [ebp - 0x2c]
call fcn.004080d8
push eax
call sub.kernel32.dll_SetCurrentDirectoryW_1
jmp 0x4bbc4b
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4bbbef
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4bbbc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc7d
lea eax, [ebp - 0x2c]
call fcn.00407524
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00407584
lea eax, [ebp - 8]
call fcn.00407524
ret
Function at 0x4ca860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4caa53
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x14]
mov edx, 0x104
call fcn.0040826c
mov dword [ebp - 0x18], 0x104
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004080d8
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4ca8c4
call fcn.00424d60
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.0040826c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.0041d05c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004b2578
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4caa1c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4ca9e9
mov eax, dword [ebp - 0x20]
call fcn.004b259c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
call fcn.00441dd4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4ca9e2
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4ca9af
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
call fcn.0040794c
cmp dword [ebp - 0x10], 0
je 0x4ca9af
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040794c
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
call fcn.0040794c
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jne 0x4ca976
mov byte [ebp - 0x35], 1
jmp 0x4ca999
cmp dword [ebp - 0x30], 0
je 0x4ca982
cmp dword [ebp - 0x34], 0
jne 0x4ca988
mov byte [ebp - 0x35], 0
jmp 0x4ca999
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.0041b810
test eax, eax
sete byte [ebp - 0x35]
cmp byte [ebp - 0x35], 0
je 0x4ca9af
mov byte [ebp - 5], 1
call fcn.00406cf0
call fcn.00406cf0
jmp 0x4caa23
mov eax, dword [ebp - 0x24]
call fcn.00441398
test al, al
jne 0x4ca927
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca9e9
cmp dword [ebp - 0x24], 0
je 0x4ca9e1
mov dl, 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
mov dword [ebp - 0x24], eax
ret
mov eax, dword [ebp - 0x20]
call fcn.004b2650
test al, al
jne 0x4ca8fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caa23
cmp dword [ebp - 0x20], 0
je 0x4caa1b
mov dl, 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
mov dword [ebp - 0x20], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caa5a
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407584
lea eax, [ebp - 0x1c]
call fcn.00407524
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407584
ret
Function at 0x4d4b24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4dca
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a2024
mov edx, 0x4d4de4
call fcn.0049d060
xor eax, eax
push ebp
push 0x4d4d9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4c], 0
jne 0x4d4d7e
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4d], 0
jne 0x4d4d7e
call fcn.004a2024
mov edx, 0x4d4e10
call fcn.0049d060
xor eax, eax
push ebp
push 0x4d4c7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004c86ac
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 0
setne al
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4e54
mov edx, dword [ebp - 0xc]
call fcn.0049036c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4e98
mov edx, dword [ebp - 0xc]
call fcn.00490440
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
call fcn.004d4268
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4ed4
mov edx, dword [ebp - 0xc]
call fcn.0049036c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4f28
mov edx, dword [ebp - 0xc]
call fcn.00490280
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4f5c
mov edx, dword [ebp - 0xc]
call fcn.00490280
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x4d4fa4
mov edx, dword [ebp - 0xc]
call fcn.00490280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4c86
call fcn.004a2024
mov edx, 0x4d4e10
call fcn.0049ca2c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4da2
call fcn.004a2024
mov edx, 0x4d4de4
call fcn.0049ca2c
ret