Function at 0x435540
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6111f1
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
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 0x4358d0
mov eax, dword [eax]
test eax, eax
je 0x4358d0
cmp byte [eax], 0
je 0x4358d0
mov eax, dword [ebx]
test eax, eax
je 0x4355a6
cmp byte [eax], 0
jne 0x4355a8
xor eax, eax
mov ecx, dword [ebx + 0x18]
push eax
call fcn.005e8ed0
mov eax, dword [ebx + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.005e8e10
push 0x62fd1c
lea ecx, [esp + 0x34]
mov dword [esp + 0x150], 0
call fcn.005e8f10
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x4355ee.3
jmp dword [eax*4 + 0x435900]
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.005e9060
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x150], 1
call fcn.00435330
mov eax, dword [ebx]
test eax, eax
je 0x43563f
cmp byte [eax], 0
jne 0x435641
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.005e9060
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 0x4356c1
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ecx + 4]
jge 0x43568c
test esi, esi
je 0x43567a
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x43567f
mov ecx, 0x67ebdc
mov byte [ecx], 0x20
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
jmp 0x4356bc
test esi, esi
je 0x43569a
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x43569f
mov ecx, 0x67ebdc
cmp byte [ecx], 0x2f
je 0x4356c1
test esi, esi
je 0x4356b2
lea ecx, [esi - 1]
cmp ecx, eax
lea ecx, [eax + ebp]
ja 0x4356b7
mov ecx, 0x67ebdc
cmp byte [ecx], 0x5c
je 0x4356c1
inc eax
cmp eax, edx
jl 0x435664
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x43571e
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
dec eax
test ecx, ecx
je 0x4356e0
lea edx, [ecx - 1]
cmp edx, eax
lea edx, [edi + eax]
ja 0x4356e5
mov edx, 0x67ebdc
cmp byte [edx], 0x2f
je 0x435701
test ecx, ecx
je 0x4356f7
dec ecx
cmp ecx, eax
jbe 0x4356f7
add eax, edi
jmp 0x4356fc
mov eax, 0x67ebdc
cmp byte [eax], 0x5c
jne 0x43571e
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
test esi, esi
je 0x435716
lea ecx, [esi - 1]
cmp ecx, eax
jbe 0x435716
add eax, ebp
jmp 0x43571b
mov eax, 0x67ebdc
mov byte [eax], 0x20
lea ecx, [esp + 0x20]
call fcn.005e8b60
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.005e8f10
mov ecx, dword [ebx + 0x14]
push 0
call fcn.005e8ed0
mov ecx, dword [ebx + 0x10]
push 0
call fcn.005e8ed0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, edx
test eax, eax
je 0x435762
lea ecx, [eax - 1]
test ecx, ecx
ja 0x435769
mov ecx, 0x67ebdc
jmp 0x43576b
mov ecx, edi
cmp byte [ecx], 0x5c
jne 0x4357e8
test eax, eax
je 0x43577c
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x435783
mov ecx, 0x67ebdc
jmp 0x435786
lea ecx, [edi + 1]
cmp byte [ecx], 0x5c
jne 0x4357e8
mov ecx, 2
cmp edx, ecx
mov word [ebx + 0xc], cx
mov esi, ecx
jle 0x4357e2
jmp 0x4357a4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4357b2
lea ecx, [eax - 1]
cmp ecx, esi
lea ecx, [edi + esi]
ja 0x4357b7
mov ecx, 0x67ebdc
cmp byte [ecx], 0x5c
je 0x4357e2
test eax, eax
je 0x4357c8
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x4357cd
mov eax, 0x67ebdc
movzx edx, byte [eax]
mov ecx, dword [ebx + 0x10]
push edx
call fcn.005e8e00
mov edi, dword [esp + 0x14]
inc esi
cmp esi, ebp
jl 0x4357a0
push edi
jmp 0x435887
xor ecx, ecx
xor esi, esi
mov word [ebx + 0xc], cx
test edx, edx
jle 0x43586b
jmp 0x4357fe
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x43580c
lea ecx, [eax - 1]
cmp ecx, esi
lea ecx, [edi + esi]
ja 0x435811
mov ecx, 0x67ebdc
cmp byte [ecx], 0x3a
je 0x435857
test eax, eax
je 0x435822
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x435827
mov eax, 0x67ebdc
movzx edx, byte [eax]
mov ecx, dword [ebx + 0x10]
push edx
call fcn.005e8e00
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x435848
dec eax
cmp eax, esi
jbe 0x435848
mov eax, dword [esp + 0x14]
add eax, esi
jmp 0x43584d
mov eax, 0x67ebdc
inc esi
cmp esi, ebp
mov byte [eax], 0x20
jl 0x4357f6
jmp 0x43586b
test eax, eax
je 0x435863
dec eax
cmp eax, esi
lea eax, [edi + esi]
ja 0x435868
mov eax, 0x67ebdc
mov byte [eax], 0x20
lea ecx, [esp + 0x14]
call fcn.005e8b60
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00435280
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebx
call fcn.005e8ed0
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 1
call fcn.005e8710
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.005e8710
jmp case.0x4355ee.3
mov ecx, dword [ebx + 0x10]
push 0
call fcn.005e8ed0
lea ecx, [esp + 0x30]
mov dword [esp + 0x14c], 0xffffffff
call fcn.005e8710
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.005f617e
add esp, 0x13c
ret