Function at 0x463a3f
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [ebp - 0x70]
call fcn.00434bb0
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
xor ebx, ebx
pop ecx
push 2
pop esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0xfffffff8
mov dword [ebp - 0x28], ebx
jmp 0x463bd0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x496d64
call fcn.004349fd
add esp, 0xc
test al, al
jne 0x463bcd
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x496d60
call fcn.004349fd
add esp, 0xc
test al, al
jne 0x463bcd
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x495608
call fcn.004349fd
add esp, 0xc
test al, al
jne 0x463bc7
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48f680
call fcn.004349fd
add esp, 0xc
test al, al
jne 0x463bc7
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x491394
call fcn.004349fd
add esp, 0xc
test al, al
je 0x463b18
mov dword [ebp - 0x44], 1
jmp 0x463bd0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x496d5c
call fcn.004349fd
add esp, 0xc
test al, al
je 0x463b38
or dword [ebp - 0x2c], 0x10
jmp 0x463bd0
push 3
push dword [ebp + 8]
push 0x496d58
call fcn.0042ecb0
add esp, 0xc
test al, al
je 0x463b67
or dword [ebp - 0x2c], 0x10
add dword [ebp + 8], 6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004358e8
pop ecx
pop ecx
jmp 0x463bd0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:N
call fcn.004349fd
add esp, 0xc
test al, al
je 0x463b87
mov dword [ebp - 0x10], 0x20
jmp 0x463bd0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:_N
call fcn.004349fd
add esp, 0xc
test al, al
je 0x463ba7
mov dword [ebp - 0x10], 0x60
jmp 0x463bd0
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str.cur
call fcn.004349fd
add esp, 0xc
test al, al
je 0x463bdc
mov dword [ebp - 0x28], 1
jmp 0x463bd0
or dword [ebp - 0xc], 1
jmp 0x463bd0
or dword [ebp - 0xc], esi
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x463a89
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
call fcn.00432cb7
mov esi, 0x48e984
push esi
lea ecx, [ebp - 0x24]
call fcn.0043ccfc
push esi
lea ecx, [ebp - 0x14]
call fcn.0043ccfc
push esi
lea ecx, [ebp - 0x18]
call fcn.0043ccfc
push 1
push 0x2c
pop esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0043eb85
push ebx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.0043541b
mov eax, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
jne 0x463c8d
movzx eax, word [eax]
cmp ax, bx
je 0x463c8d
mov ecx, eax
mov eax, ecx
call fcn.00402b57
test al, al
jne 0x463c8d
cmp cx, 0x40
jne 0x463c59
mov dword [ebp - 0x50], 1
jmp 0x463c7e
cmp cx, 0x24
jne 0x463c68
mov dword [ebp - 0x50], 3
jmp 0x463c7e
cmp cx, 0x5c
jne 0x463c74
or dword [ebp - 0x1c], 1
jmp 0x463c7e
cmp cx, 0x21
jne 0x463c8d
or dword [ebp - 0x1c], 2
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov cx, word [eax]
cmp cx, bx
jne 0x463c3f
lea eax, [ebp - 8]
push eax
call fcn.0042dd40
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x463cab
mov eax, dword [ebp - 8]
jmp 0x463ca3
inc eax
inc eax
cmp word [eax], 0x5c
je 0x463ca1
jmp 0x463cc3
cmp dword [ebp - 0xc], ebx
jne 0x463cc0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.0040ede9
pop ecx
pop ecx
jmp 0x463ccc
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043cd64
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x463cf5
add dword [ebp + 8], 2
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0043eb85
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043541b
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x463d23
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x463d23
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x38]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0043eb85
push eax
call fcn.00435668
add esp, 0xc
cmp dword [ebp - 0x38], ebx
jg 0x463d2f
mov dword [ebp - 0x38], 0xfffffff8
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x463d3f
xor esi, esi
inc esi
jmp 0x46424b
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
pop ecx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00432ddd
mov esi, dword [ebp - 0x18]
cmp word [esi], 0x2a
jne 0x463d6d
cmp word [esi + 2], bx
mov byte [ebp - 1], 1
je 0x463d70
mov byte [ebp - 1], bl
lea ecx, [ebp - 0x64]
call fcn.00432cb7
cmp byte [ebp - 1], bl
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
jne 0x463d90
push 0xffffffffffffffff
push dword [ebp - 0x24]
lea ecx, [ebp - 0x64]
call fcn.00432ddd
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov dword [ebp - 0x3c], ebx
je 0x463d9e
mov eax, dword [ecx]
jmp 0x463da0
xor eax, eax
cmp word [esi], bx
mov dword [ebp - 0x34], eax
jne 0x463dbf
cmp eax, ebx
je 0x463dbf
mov dx, word [edi + 0x5e]
cmp dx, word [eax]
jne 0x463dbf
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.0043217f
push 0x32a
lea ecx, [ebp - 0x54]
call fcn.00432cd5
mov esi, dword [ebp - 0x54]
and word [edi + 0x8c], 0x8b
lea eax, [esi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov ax, word [eax]
cmp ax, bx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x58], ebx
jne 0x463e0c
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x463e0c
mov dx, word [edi + 0x5e]
cmp dx, word [ecx]
mov dword [ebp - 8], 0x100
je 0x463e0f
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x24]
cmp word [ecx], bx
je 0x463e28
cmp ax, bx
jne 0x463e28
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x4c], 1
je 0x463e2b
mov dword [ebp - 0x4c], ebx
test byte [ebp - 0xc], 2
je 0x463f47
mov esi, 0x4a6658
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0041065a
cmp eax, ebx
jne 0x463e6b
push esi
mov dword [ebp - 0x58], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x10]
jmp 0x464008
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00432ddd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 8], esi
mov dword [ebp - 0x44], ebx
jmp 0x463f31
test byte [edi + 0x8c], 0xef
jne 0x463f3a
lea eax, [ebp + 8]
mov dword [ebp - 0x40], esi
call fcn.0041025e
push dword [ebp - 0x40]
mov esi, dword [ebp + 8]
mov ax, word [esi]
push dword [ebp - 0x24]
mov ecx, edi
mov word [ebp - 0x20], ax
mov word [esi], bx
call fcn.00432698
cmp word [ebp - 0x20], 0xd
jne 0x463ed1
cmp word [esi + 2], 0xa
jne 0x463ed7
add esi, 4
jmp 0x463ed9
cmp word [ebp - 0x20], bx
je 0x463edc
inc esi
inc esi
mov dword [ebp + 8], esi
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x463f03
mov eax, dword [ebp - 0x34]
add eax, 2
push 0x48e984
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0045e01c
jmp 0x463f1a
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x463f1a
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0042442a
mov ax, word [edi + 0x8c]
test ah, 1
je 0x463f31
and ax, 0xfeff
mov word [edi + 0x8c], ax
cmp word [esi], bx
jne 0x463e8c
lea ecx, [ebp - 0x44]
call fcn.0042dd2d
jmp 0x463e63
cmp dword [ebp - 0xc], 1
jne 0x464031
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 0x28], ebx
je 0x464005
test byte [edi + 0x8c], 0xef
jne 0x464005
lea eax, [ebp + 8]
push eax
call fcn.0040415a
mov eax, dword [ebp + 8]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00432ddd
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
pop ecx
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.00432698
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x463fcb
mov eax, dword [ebp - 0x34]
add eax, 2
push 0x48e984
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0045e01c
jmp 0x463fe2
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x463fe2
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0042442a
mov ax, word [edi + 0x8c]
test ah, 1
je 0x463ff9
and ax, 0xfeff
mov word [edi + 0x8c], ax
mov esi, dword [ebp + 8]
cmp word [esi], bx
jne 0x463f65
lea ecx, [ebp - 0x28]
call fcn.0042dd2d
and word [edi + 0x8c], 0x8b
cmp byte [ebp - 1], bl
je 0x46421c
push dword [ebp - 0x64]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.00432698
jmp 0x464230
push dword [ebp - 0x14]
call fcn.0040e84c
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0043cd64
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
je 0x46400d
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
je 0x4640e5
cmp dword [ebp - 0x28], ebx
je 0x464092
lea eax, [ebp - 0x278]
push eax
push 0x104
mov word [ebp - 0x278], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x278]
cmp ax, 0x61
mov dword [ebp - 0xc], eax
jb 0x464092
cmp ax, 0x7a
ja 0x464092
and eax, 0xffdf
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov word [eax + 2], bx
mov word [eax], bx
push eax
mov word [esi + 2], bx
push 0x324
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov al, byte [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
and al, 2
mov dword [ebp - 0x20], esi
mov byte [ebp + 0xb], al
jmp 0x4640cd
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x4640bf
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x20]
jne 0x4640dd
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x464190
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 8], ebx
jne 0x464103
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
jne 0x464103
cmp dword [ebp - 0x4c], ebx
je 0x46400d
cmp dword [ebp - 0x44], ebx
je 0x464124
xor eax, eax
mov ax, word [esi]
cmp ax, bx
je 0x464124
cmp word [esi + 2], 0x3a
jne 0x464124
push eax
call fcn.004795c5
test eax, eax
pop ecx
je 0x464187
lea ecx, [ebp - 0x20]
call fcn.00432cb7
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0046de50
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x38]
push dword [ebp - 0x40]
mov ecx, edi
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
or eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x64]
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push eax
call fcn.0046358f
add dword [ebp + 0x10], eax
mov ax, word [edi + 0x8c]
test ah, 1
je 0x46417f
and ax, 0xfeff
mov word [edi + 0x8c], ax
lea ecx, [ebp - 0x20]
call fcn.0042dd2d
cmp dword [ebp - 0x1c], ebx
je 0x46400d
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x46400d
cmp dword [ebp - 0x38], ebx
je 0x46400d
test byte [edi + 0x8c], 0xef
jne 0x46400d
push 0xffffffffffffffff
mov esi, eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00432ddd
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.00432d25
cmp dword [ebp - 0x28], ebx
jne 0x46420a
test byte [ebp - 0x1c], 2
je 0x4641eb
dec esi
dec esi
jmp 0x4641e1
add esi, 0xfffffffe
cmp word [esi], bx
je 0x4641f9
cmp esi, dword [ebp - 0x10]
mov dword [ebp + 8], esi
ja 0x4641d9
jmp 0x4641f9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2 + 2]
mov dword [ebp + 8], eax
mov esi, dword [ebp - 0x30]
mov ax, word [ebp - 0xc]
cmp ax, word [esi]
je 0x464190
jmp 0x4640ed
mov esi, dword [ebp - 0x30]
mov ax, word [ebp - 0xc]
mov word [esi], ax
mov dword [ebp - 0x28], ebx
jmp 0x4640ed
cmp dword [ebp - 0x4c], ebx
je 0x464230
push dword [ebp - 0x24]
push dword [ebp + 0x10]
push edi
call fcn.00434ea0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0042dd2d
lea ecx, [ebp - 0x54]
call fcn.0042dd2d
lea ecx, [ebp - 0x64]
call fcn.0042dd2d
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.0042dd2d
lea ecx, [ebp - 0x14]
call fcn.0042dd2d
lea ecx, [ebp - 0x24]
call fcn.0042dd2d
lea ecx, [ebp - 0x48]
call fcn.0042dd2d
lea ecx, [ebp - 0x70]
call fcn.0042dd2d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10