Function at 0x10005f3d
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x10005f8e
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.10078a80
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10005fc3
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x10005fe5
cmp dword [ebp + 0xc], 0
je 0x10005ffd
cmp dword [ebp + 8], 0
je 0x10005ffd
xor eax, eax
jmp 0x10006002
mov eax, 1
test eax, eax
je 0x10006077
jmp 0x10006028
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10006051
push 0xfa
push 0x40785aa
push 6
call fcn.100775a9
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x10006072
jmp 0x100060ec
jmp 0x10006095
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
push 0
push 0x400
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100060cb
push 0x158
push 0x40785aa
push 6
call fcn.100775a9
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x100060ec
jmp 0x1000610a
cmp dword [ebp - 8], 0
jne 0x1000615a
jmp 0x10006132
mov eax, 0x100b651c
jmp 0x100065c9
jmp 0x10006178
mov dword [ebp - 0x1c], esp
push 0x104
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100061ac
push 0x250
push 0x40785aa
push 6
call fcn.100775a9
add esp, 0xc
jmp 0x100061ca
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100061f6
push 0x292
push 0x40785aa
push 6
call fcn.100775a9
add esp, 0xc
jmp 0x10006214
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.10078a80
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10006249
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x1000626b
mov eax, 0x100b679d
test eax, eax
je 0x10006287
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006298
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x100062ba
xor ecx, ecx
lea eax, [ebp - 0x14]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1a
jg 0x1000659e
jmp 0x100062ed
mov ebx, dword [ebp - 0x10]
call fcn.10002093
mov eax, 0
cmp eax, ecx
jl 0x10006315
push 0x3af
push 0x40785aa
push 1
call fcn.100775a9
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
inc byte [ebx]
jmp 0x1000633d
push 0x80000005
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10006350
mov eax, 0x100b64fb
push eax
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x104
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000639a
push 0x44f
push 0x40785aa
push 6
call fcn.100775a9
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100063ad
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
jmp 0x100063d1
cmp dword [ebp - 0x18], 0
je 0x10006424
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100063ee
mov eax, 0x100b651c
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006402
mov eax, 0x100b651c
push eax
push 2
mov ebx, 0xb0
call fcn.10078c60
add esp, 0x1c
test eax, eax
je 0x10006424
mov eax, 1
jmp 0x10006429
mov eax, 0
test eax, eax
je 0x10006579
jmp 0x1000644f
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10006462
mov eax, 0x100b651c
push eax
push 1
mov ebx, 0x130
call fcn.100785f0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000648b
mov eax, 0x100b64fb
push eax
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100064b4
mov eax, 0x100b651c
push eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100064de
mov eax, 0x100b651c
push eax
push 4
mov ebx, 0x17c
call fcn.10078ca0
add esp, 0x34
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006504
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006518
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x1000653a
mov eax, dword [ebp - 4]
test eax, eax
je 0x10006556
push eax
mov ebx, eax
call fcn.100022be
inc eax
push eax
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100065c9
jmp 0x10006597
pop ebx
pop ecx
jmp 0x100062c1
add esp, 8
jmp 0x100065bf
mov eax, 0x100b651c
jmp 0x100065c9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100065da
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100065ea
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100065fa
push ebx
call fcn.10077597
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8