Function at 0x10026169
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
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.100696b0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100261d1
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x100261ed
cmp dword [ebp + 8], 0
je 0x100261ed
xor eax, eax
jmp 0x100261f2
mov eax, 1
test eax, eax
je 0x1002622b
mov dword [ebp - 0x1c], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10026223
push 0xc5
push 0x40152f4
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x10026264
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 0x10026261
push 0xf3
push 0x40152f4
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10026278
mov eax, 0x1008124f
jmp 0x10026561
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 0x100262ac
push 0x199
push 0x40152f4
push 6
call fcn.10068410
add esp, 0xc
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 0x100262d8
push 0x1c3
push 0x40152f4
push 6
call fcn.10068410
add esp, 0xc
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.100696b0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002630d
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0x1008534b
test eax, eax
je 0x1002632d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
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 0x1002633e
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
lea eax, [ebp - 0x14]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1a
jg 0x10026554
mov ebx, dword [ebp - 0x10]
call fcn.10002702
mov eax, 0
cmp eax, ecx
jl 0x1002637f
push 0x2a6
push 0x40152f4
push 1
call fcn.10068410
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
inc byte [ebx]
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1002639c
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x168
call fcn.10068d60
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 0x100263e6
push 0x32e
push 0x40152f4
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100263f9
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10026452
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1002641c
mov eax, 0x1008124f
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10026430
mov eax, 0x1008124f
push eax
push 2
mov ebx, 0xb0
call fcn.1006bce0
add esp, 0x1c
test eax, eax
je 0x10026452
mov eax, 1
jmp 0x10026457
mov eax, 0
test eax, eax
je 0x1002654d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10026472
mov eax, 0x1008124f
push eax
push 1
mov ebx, 0x130
call fcn.10069350
add esp, 0x10
mov dword [ebp - 0x1c], eax
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1002649b
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x168
call fcn.10068d60
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100264c4
mov eax, 0x1008124f
push eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100264ee
mov eax, 0x1008124f
push eax
push 4
mov ebx, 0x17c
call fcn.1006bd20
add esp, 0x34
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10026514
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10026528
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10026548
push eax
mov ebx, eax
call fcn.10001590
inc eax
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10026561
pop ebx
pop ecx
jmp 0x10026349
add esp, 8
mov eax, 0x1008124f
jmp 0x10026561
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10026572
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10026582
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10026592
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8