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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10141456
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x101811b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], ebx
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x100359b5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov eax, 0x10146978
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
test eax, 0xffff0000
jne 0x10035731
movzx eax, ax
push eax
call fcn.10004000
jmp 0x1003573d
push 0
push 0x10146978
call fcn.10006e00
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x230]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10035964
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10117810
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10035964
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x100357f1
mov esi, dword [ebp - 0x224]
add esi, 0xfffffff0
push esi
call fcn.10005f50
mov edi, dword [ebp - 0x22c]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100357ea
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x10035999
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010c682
push esi
mov esi, eax
mov dword [ebp - 0x228], eax
push 0
push esi
call fcn.10117810
add esp, 0x10
push esi
push edi
call ebx
test eax, eax
jne 0x1003586e
push esi
call fcn.1010c67d
mov esi, dword [ebp - 0x224]
add esi, 0xfffffff0
push esi
call fcn.10005f50
mov edi, dword [ebp - 0x22c]
add eax, 0x10
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100357ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x10035999
mov eax, dword [0x1014b0d8]
mov dword [ebp - 0x18], eax
mov ax, word [0x1014b0dc]
push 0x208
mov word [ebp - 0x14], ax
call fcn.1010c682
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x228]
movzx eax, word [eax]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push ebx
push eax
call edi
test eax, eax
jne 0x100358e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1003594a
push ebx
call fcn.1010c67d
push 2
call fcn.1010c682
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x18]
push 1
push ebx
push eax
call edi
test eax, eax
je 0x1003594a
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100358e5
sub edi, ecx
lea eax, [ebp - 0x220]
sar edi, 1
push edi
push ebx
push eax
call fcn.101287f6
add esp, 0xc
test eax, eax
je 0x10035928
nop dword [eax]
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x10035910
movzx eax, word [esi]
test ax, ax
je 0x1003594a
jmp 0x10035898
lea eax, [ebp - 0x220]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push 0x1014b0e0
push eax
call fcn.10004580
add esp, 0x10
push dword [ebp - 0x228]
call fcn.1010c67d
push ebx
call fcn.1010c67d
mov ebx, dword [ebp - 0x22c]
add esp, 8
mov esi, dword [ebp - 0x224]
add esi, 0xfffffff0
push esi
call fcn.10005f50
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10035997
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010c1dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003610
int3