Function at 0x439170
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x615031
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x439500
mov eax, dword [eax]
test eax, eax
je 0x439500
cmp byte [eax], 0
je 0x439500
mov eax, dword [ebx]
test eax, eax
je 0x4391d6
cmp byte [eax], 0
jne 0x4391d8
xor eax, eax
mov ecx, dword [ebx + 0x18]
push eax
call fcn.005ec540
mov eax, dword [ebx + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.005ec480
push 0x634984
lea ecx, [esp + 0x34]
mov dword [esp + 0x150], 0
call fcn.005ec580
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x43921e.3
jmp dword [eax*4 + 0x439530]
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0x104
mov eax, dword [eax]
push ecx
push eax
call sub.MPR.dll_WNetGetConnectionA
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
call fcn.005ec6d0
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x150], 1
call fcn.00438f60
mov eax, dword [ebx]
test eax, eax
je 0x43926f
cmp byte [eax], 0
jne 0x439271
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.005ec6d0
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
xor eax, eax
mov byte [esp + 0x14c], 2
test edx, edx
jle 0x4392f1
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ecx + 4]
jge 0x4392bc
test esi, esi
je 0x4392aa
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x4392af
mov ecx, 0x683c94
mov byte [ecx], 0x20
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
jmp 0x4392ec
test esi, esi
je 0x4392ca
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x4392cf
mov ecx, 0x683c94
cmp byte [ecx], 0x2f
je 0x4392f1
test esi, esi
je 0x4392e2
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x4392e7
mov ecx, 0x683c94
cmp byte [ecx], 0x5c
je 0x4392f1
inc eax
cmp eax, edx
jl 0x439294
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x43934e
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
dec eax
test ecx, ecx
je 0x439310
lea edx, [ecx - 1]
cmp edx, eax
lea edx, [edi + eax]
ja 0x439315
mov edx, 0x683c94
cmp byte [edx], 0x2f
je 0x439331
test ecx, ecx
je 0x439327
dec ecx
cmp ecx, eax
jbe 0x439327
add eax, edi
jmp 0x43932c
mov eax, 0x683c94
cmp byte [eax], 0x5c
jne 0x43934e
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
test esi, esi
je 0x439346
lea ecx, [esi - 1]
cmp ecx, eax
jbe 0x439346
add eax, ebp
jmp 0x43934b
mov eax, 0x683c94
mov byte [eax], 0x20
lea ecx, [esp + 0x20]
call fcn.005ec1d0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.005ec580
mov ecx, dword [ebx + 0x14]
push 0
call fcn.005ec540
mov ecx, dword [ebx + 0x10]
push 0
call fcn.005ec540
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, edx
test eax, eax
je 0x439392
lea ecx, [eax - 1]
test ecx, ecx
ja 0x439399
mov ecx, 0x683c94
jmp 0x43939b
mov ecx, edi
cmp byte [ecx], 0x5c
jne 0x439418
test eax, eax
je 0x4393ac
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x4393b3
mov ecx, 0x683c94
jmp 0x4393b6
lea ecx, [edi + 1]
cmp byte [ecx], 0x5c
jne 0x439418
mov ecx, 2
cmp edx, ecx
mov word [ebx + 0xc], cx
mov esi, ecx
jle 0x439412
jmp 0x4393d4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4393e2
lea ecx, [eax - 1]
cmp ecx, esi
lea ecx, [edi + esi]
ja 0x4393e7
mov ecx, 0x683c94
cmp byte [ecx], 0x5c
je 0x439412
test eax, eax
je 0x4393f8
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x4393fd
mov eax, 0x683c94
movzx edx, byte [eax]
mov ecx, dword [ebx + 0x10]
push edx
call fcn.005ec470
mov edi, dword [esp + 0x14]
inc esi
cmp esi, ebp
jl 0x4393d0
push edi
jmp 0x4394b7
xor ecx, ecx
xor esi, esi
mov word [ebx + 0xc], cx
test edx, edx
jle 0x43949b
jmp 0x43942e
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x43943c
lea ecx, [eax - 1]
cmp ecx, esi
lea ecx, [edi + esi]
ja 0x439441
mov ecx, 0x683c94
cmp byte [ecx], 0x3a
je 0x439487
test eax, eax
je 0x439452
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x439457
mov eax, 0x683c94
movzx edx, byte [eax]
mov ecx, dword [ebx + 0x10]
push edx
call fcn.005ec470
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x439478
dec eax
cmp eax, esi
jbe 0x439478
mov eax, dword [esp + 0x14]
add eax, esi
jmp 0x43947d
mov eax, 0x683c94
inc esi
cmp esi, ebp
mov byte [eax], 0x20
jl 0x439426
jmp 0x43949b
test eax, eax
je 0x439493
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x439498
mov eax, 0x683c94
mov byte [eax], 0x20
lea ecx, [esp + 0x14]
call fcn.005ec1d0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00438eb0
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebx
call fcn.005ec540
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 1
call fcn.005ebd80
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.005ebd80
jmp case.0x43921e.3
mov ecx, dword [ebx + 0x10]
push 0
call fcn.005ec540
lea ecx, [esp + 0x30]
mov dword [esp + 0x14c], 0xffffffff
call fcn.005ebd80
mov eax, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.005f9aee
add esp, 0x13c
ret