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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
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
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
jne 0x10174120
mov dword [ebp - 0x20], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10174118
push 0x4f
push 0x43e936c
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x10174159
mov dword [ebp - 0x20], esp
push dword [ebp + 8]
push 0
push 0x400
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10174156
push 0x7d
push 0x43e936c
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1017416d
mov eax, 0x1024f2fe
jmp 0x10174586
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.10208be0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x101741a2
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push 0x104
mov eax, dword [ebp - 8]
test eax, eax
je 0x101741b8
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x101741e2
push 0x180
push 0x43e936c
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10174211
push 0x1ab
push 0x43e936c
push 6
call fcn.10207bbd
add esp, 0xc
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1027d4a2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x1027d4a2]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10004204
push 0x80000301
push 0
push eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10174252
mov eax, 0x1024f2fe
push eax
push 2
mov ebx, 0x1a0
call fcn.10208bb0
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1017427c
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x103c9488
test eax, eax
je 0x1017429c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10207bab
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 0x101742ad
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.10208be0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x101742e6
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1a
jg 0x10174579
mov ebx, dword [ebp - 0x10]
call fcn.100011ad
mov eax, 0
cmp eax, ecx
jl 0x10174327
push 0x328
push 0x43e936c
push 1
call fcn.10207bbd
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
inc byte [ebx]
mov dword [ebp - 0x20], esp
push 0x104
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10174343
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1017434e
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10174375
push 0x38a
push 0x43e936c
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x10174572
mov ebx, dword [ebp - 0x14]
call fcn.100011ad
push ebx
push ecx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1027d4a2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x103c6920]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10004204
dec eax
jns 0x101743cc
push 0x425
push 0x43e936c
push 4
call fcn.10207bbd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x101743e9
push 0x425
push 0x43e936c
push 1
call fcn.10207bbd
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov byte [ebx], 0x5c
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1027d4a2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x1027d4a2]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10004204
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1017443a
mov eax, 0x1024f2fe
push eax
push 2
mov ebx, 0x1a0
call fcn.10208bb0
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10174464
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push htons
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10174481
mov eax, 0x1024f2fe
push eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10174495
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1ac
call fcn.1020c9a0
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jne 0x10174572
mov ebx, dword [ebp - 0x10]
call fcn.100011ad
mov eax, 4
cmp eax, ecx
jl 0x101744dd
push 0x54f
push 0x43e936c
push 1
call fcn.10207bbd
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov byte [ebx], 0x5c
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x101744fb
mov eax, 0x1024f2fe
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10174525
mov eax, 0x1024f2fe
push eax
push 4
mov ebx, 0x1b4
call fcn.1020df10
add esp, 0x34
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1017454f
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x1017456d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10207bab
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10174586
pop ebx
pop ecx
jmp 0x101742f1
add esp, 8
mov eax, 0x1024f2fe
jmp 0x10174586
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10174597
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x101745a7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x101745b7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x101745c7
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8