Function at 0x10027629
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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 eax, 0x100bb9c8
test eax, eax
je 0x10027671
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100a8a34
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10027682
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20a
push 1
mov ebx, 0x1bc
call fcn.100a9620
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100276bb
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 8], eax
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1a
jg 0x10027923
mov ebx, dword [ebp - 4]
call fcn.100027c5
mov eax, 0
cmp eax, ecx
jl 0x100276fc
push 0xec
push 0x40289e1
push 1
call fcn.100a8a40
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
inc byte [ebx]
mov dword [ebp - 0x18], esp
push 0x104
mov eax, dword [ebp - 8]
test eax, eax
je 0x10027718
add eax, 8
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10027723
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1002774a
push 0x14e
push 0x40289e1
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x1002791c
mov ebx, dword [ebp - 8]
call fcn.100027c5
push ebx
push ecx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x100ba767]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x100ba76f]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001554
dec eax
jns 0x100277a1
push 0x1e5
push 0x40289e1
push 4
call fcn.100a8a40
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100277be
push 0x1e5
push 0x40289e1
push 1
call fcn.100a8a40
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov byte [ebx], 0x5c
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x100ba767]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x100ba767]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001554
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1002780f
mov eax, 0x100ba4a0
push eax
push 2
mov ebx, 0x1a0
call fcn.100aa750
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10027839
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10027856
mov eax, 0x100ba4a0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1002786c
mov eax, 0x100ba4a0
push eax
push 3
mov ebx, 0x1ac
call fcn.100ab3e0
add esp, 0x28
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x1002791c
mov ebx, dword [ebp - 4]
call fcn.100027c5
mov eax, 4
cmp eax, ecx
jl 0x100278b4
push 0x30f
push 0x40289e1
push 1
call fcn.100a8a40
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 0x5c
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100278d2
mov eax, 0x100ba4a0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100278fe
mov eax, 0x100ba4a0
push eax
push 4
mov ebx, 0x1b4
call fcn.100ac150
add esp, 0x34
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x10027947
pop ebx
pop ecx
jmp 0x100276c6
add esp, 8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10027942
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100a8a34
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10027947
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10027958
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10027968
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10027978
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4