Function at 0x433e00
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56daef
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, 0x5e3e60
call fcn.004312c0
lea ecx, [ebp - 0x10]
call fcn.00401fd0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
push 0x58a628
lea ecx, [ebp + 8]
call fcn.00435b70
test eax, eax
jge 0x433e7a
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.00432010
test eax, eax
jne 0x433ea9
mov dword [ebp - 0x3c], 0xa1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x3c]
jmp 0x43452e
lea ecx, [ebp + 8]
call fcn.00401ce0
cmp eax, 0xff
jle 0x433ee7
mov dword [ebp - 0x40], 0xce
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x40]
jmp 0x43452e
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.00431060
test eax, eax
je 0x434111
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.004312c0
push 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.0042b200
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
push 0x5c
lea ecx, [ebp + 8]
call fcn.0042b200
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4340e2
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.004030d0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x9c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00402000
mov ecx, dword [ebp + 0xc]
call fcn.00401f20
movzx eax, al
test eax, eax
jne 0x4340b6
push 2
mov ecx, dword [ebp + 0xc]
call fcn.00401ef0
mov word [ebp - 0x28], ax
push 1
movzx ecx, word [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040b070
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004025c0
mov dword [ebp - 0xa0], eax
mov ecx, 0x5e3e60
call fcn.00432c70
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x433ff5
movzx eax, word [ebp - 0x28]
push eax
mov ecx, 0x5e3e60
call fcn.00430f40
test eax, eax
je 0x434072
lea ecx, [ebp - 0x30]
call fcn.00401fd0
mov byte [ebp - 4], 4
push 0
push 0x400
lea ecx, [ebp - 0x30]
call fcn.004025f0
push eax
push 0x400
lea ecx, [ebp + 8]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00401cf0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 8]
call fcn.00403d00
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403d00
push 0x58a638
mov ecx, dword [ebp + 0xc]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a70
mov dword [ebp - 0x18], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00402000
jmp 0x4340a8
mov dword [ebp - 0x4c], 0xa1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x4c]
jmp 0x43452e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402000
jmp 0x4340e0
mov dword [ebp - 0x50], 0xa1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x50]
jmp 0x43452e
jmp 0x43410c
mov dword [ebp - 0x54], 0xa1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x54]
jmp 0x43452e
jmp 0x434295
lea eax, [ebp + 8]
push eax
mov ecx, 0x5e3e60
call fcn.00430ed0
cmp eax, 1
jne 0x4341f1
lea ecx, [ebp + 8]
call fcn.00401ce0
cmp eax, 3
jl 0x4341f1
lea ecx, [ebp - 0x34]
call fcn.00401fd0
mov byte [ebp - 4], 5
push 0
push 0x400
lea ecx, [ebp - 0x34]
call fcn.004025f0
push eax
push 0x400
lea ecx, [ebp + 8]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00401cf0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp + 8]
call fcn.00403d00
push 2
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp + 8]
call fcn.004251d0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xac]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403d00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00402000
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403d00
push 0x58a63c
mov ecx, dword [ebp + 0xc]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00402000
jmp 0x434295
lea eax, [ebp + 8]
push eax
mov ecx, 0x5e3e60
call fcn.004310c0
test eax, eax
je 0x43426b
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp + 8]
push eax
call fcn.004025c0
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x94]
call fcn.00434f60
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
je 0x434269
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x60]
jmp 0x43452e
jmp 0x434295
mov dword [ebp - 0x64], 0xa1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x64]
jmp 0x43452e
cmp dword [ebp - 0x18], 4
je 0x4342ad
mov ecx, dword [ebp + 0xc]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
je 0x4342c3
cmp dword [ebp - 0x18], 3
je 0x4342c3
cmp dword [ebp - 0x18], 4
jne 0x434396
lea ecx, [ebp - 0x10]
call fcn.00401f20
movzx eax, al
test eax, eax
jne 0x434394
mov ecx, dword [ebp - 0x94]
add ecx, 0x10
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x10]
push edx
call fcn.004025c0
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.004025c0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
call fcn.004317b0
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x434394
cmp dword [ebp - 0x18], 4
jne 0x43436a
mov dword [ebp - 0x70], 0x52
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x70]
jmp 0x43452e
mov dword [ebp - 0x74], 5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x74]
jmp 0x43452e
jmp 0x4343f2
cmp dword [ebp - 0x18], 4
jne 0x4343c8
mov dword [ebp - 0x78], 0x52
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x78]
jmp 0x43452e
mov dword [ebp - 0x7c], 0xa1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x7c]
jmp 0x43452e
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x58a640
call fcn.00404670
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp + 8]
push edx
call fcn.004025c0
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
call fcn.004329f0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x10
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x10
call fcn.00401f20
movzx ecx, al
test ecx, ecx
je 0x434481
cmp dword [ebp - 0x14], 0xffffffff
je 0x43449b
mov ecx, dword [ebp - 0x94]
add ecx, 0x10
call fcn.004018f0
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0042fca0
cmp dword [ebp - 0x1c], 0
jne 0x434503
cmp dword [ebp - 0x18], 4
jne 0x4344d6
mov dword [ebp - 0x88], 0x52
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x88]
jmp 0x43452e
mov dword [ebp - 0x8c], 5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x8c]
jmp 0x43452e
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc