Function at 0x464efa
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.00435bf3
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
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 0x46508b
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x497e54
call fcn.00435950
add esp, 0xc
test al, al
jne 0x465088
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x497e50
call fcn.00435950
add esp, 0xc
test al, al
jne 0x465088
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x496728
call fcn.00435950
add esp, 0xc
test al, al
jne 0x465082
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x490680
call fcn.00435950
add esp, 0xc
test al, al
jne 0x465082
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x4922c8
call fcn.00435950
add esp, 0xc
test al, al
je 0x464fd3
mov dword [ebp - 0x44], 1
jmp 0x46508b
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x497e4c
call fcn.00435950
add esp, 0xc
test al, al
je 0x464ff3
or dword [ebp - 0x2c], 0x10
jmp 0x46508b
push 3
push dword [ebp + 8]
push 0x497e48
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x465022
or dword [ebp - 0x2c], 0x10
add dword [ebp + 8], 6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004369c5
pop ecx
pop ecx
jmp 0x46508b
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:N
call fcn.00435950
add esp, 0xc
test al, al
je 0x465042
mov dword [ebp - 0x10], 0x20
jmp 0x46508b
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:_N
call fcn.00435950
add esp, 0xc
test al, al
je 0x465062
mov dword [ebp - 0x10], 0x60
jmp 0x46508b
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x497e30
call fcn.00435950
add esp, 0xc
test al, al
je 0x465097
mov dword [ebp - 0x28], 1
jmp 0x46508b
or dword [ebp - 0xc], 1
jmp 0x46508b
or dword [ebp - 0xc], esi
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x464f44
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
call fcn.00433c24
mov esi, 0x496134
push esi
lea ecx, [ebp - 0x24]
call fcn.0043ddc9
push esi
lea ecx, [ebp - 0x14]
call fcn.0043ddc9
push esi
lea ecx, [ebp - 0x18]
call fcn.0043ddc9
push 1
push 0x2c
pop esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0043fb4e
push ebx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.004364f8
mov eax, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
jne 0x465148
movzx eax, word [eax]
cmp ax, bx
je 0x465148
mov ecx, eax
mov eax, ecx
call fcn.00402b47
test al, al
jne 0x465148
cmp cx, 0x40
jne 0x465114
mov dword [ebp - 0x50], 1
jmp 0x465139
cmp cx, 0x24
jne 0x465123
mov dword [ebp - 0x50], 3
jmp 0x465139
cmp cx, 0x5c
jne 0x46512f
or dword [ebp - 0x1c], 1
jmp 0x465139
cmp cx, 0x21
jne 0x465148
or dword [ebp - 0x1c], 2
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov cx, word [eax]
cmp cx, bx
jne 0x4650fa
lea eax, [ebp - 8]
push eax
call fcn.0042ebab
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x465166
mov eax, dword [ebp - 8]
jmp 0x46515e
inc eax
inc eax
cmp word [eax], 0x5c
je 0x46515c
jmp 0x46517e
cmp dword [ebp - 0xc], ebx
jne 0x46517b
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.0040efe9
pop ecx
pop ecx
jmp 0x465187
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043de31
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x4651b0
add dword [ebp + 8], 2
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0043fb4e
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004364f8
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x4651de
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x4651de
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.0043fb4e
push eax
call fcn.00436745
add esp, 0xc
cmp dword [ebp - 0x38], ebx
jg 0x4651ea
mov dword [ebp - 0x38], 0xfffffff8
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x4651fa
xor esi, esi
inc esi
jmp 0x465706
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
pop ecx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00433d4a
mov esi, dword [ebp - 0x18]
cmp word [esi], 0x2a
jne 0x465228
cmp word [esi + 2], bx
mov byte [ebp - 1], 1
je 0x46522b
mov byte [ebp - 1], bl
lea ecx, [ebp - 0x64]
call fcn.00433c24
cmp byte [ebp - 1], bl
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
jne 0x46524b
push 0xffffffffffffffff
push dword [ebp - 0x24]
lea ecx, [ebp - 0x64]
call fcn.00433d4a
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov dword [ebp - 0x3c], ebx
je 0x465259
mov eax, dword [ecx]
jmp 0x46525b
xor eax, eax
cmp word [esi], bx
mov dword [ebp - 0x34], eax
jne 0x46527a
cmp eax, ebx
je 0x46527a
mov dx, word [edi + 0x5e]
cmp dx, word [eax]
jne 0x46527a
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.00433149
push 0x32a
lea ecx, [ebp - 0x54]
call fcn.00433c42
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 0x4652c7
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x4652c7
mov dx, word [edi + 0x5e]
cmp dx, word [ecx]
mov dword [ebp - 8], 0x100
je 0x4652ca
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x24]
cmp word [ecx], bx
je 0x4652e3
cmp ax, bx
jne 0x4652e3
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x4c], 1
je 0x4652e6
mov dword [ebp - 0x4c], ebx
test byte [ebp - 0xc], 2
je 0x465402
mov esi, 0x4a7658
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.00410811
cmp eax, ebx
jne 0x465326
push esi
mov dword [ebp - 0x58], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x10]
jmp 0x4654c3
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00433d4a
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 0x4653ec
test byte [edi + 0x8c], 0xef
jne 0x4653f5
lea eax, [ebp + 8]
mov dword [ebp - 0x40], esi
call fcn.004103f2
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.004335ed
cmp word [ebp - 0x20], 0xd
jne 0x46538c
cmp word [esi + 2], 0xa
jne 0x465392
add esi, 4
jmp 0x465394
cmp word [ebp - 0x20], bx
je 0x465397
inc esi
inc esi
mov dword [ebp + 8], esi
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x4653be
mov eax, dword [ebp - 0x34]
add eax, 2
push 0x496134
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0045f412
jmp 0x4653d5
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x4653d5
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.00424fb6
mov ax, word [edi + 0x8c]
test ah, 1
je 0x4653ec
and ax, 0xfeff
mov word [edi + 0x8c], ax
cmp word [esi], bx
jne 0x465347
lea ecx, [ebp - 0x44]
call fcn.0042eb98
jmp 0x46531e
cmp dword [ebp - 0xc], 1
jne 0x4654ec
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 0x28], ebx
je 0x4654c0
test byte [edi + 0x8c], 0xef
jne 0x4654c0
lea eax, [ebp + 8]
push eax
call fcn.00404167
mov eax, dword [ebp + 8]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00433d4a
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
pop ecx
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.004335ed
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x465486
mov eax, dword [ebp - 0x34]
add eax, 2
push 0x496134
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0045f412
jmp 0x46549d
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x46549d
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.00424fb6
mov ax, word [edi + 0x8c]
test ah, 1
je 0x4654b4
and ax, 0xfeff
mov word [edi + 0x8c], ax
mov esi, dword [ebp + 8]
cmp word [esi], bx
jne 0x465420
lea ecx, [ebp - 0x28]
call fcn.0042eb98
and word [edi + 0x8c], 0x8b
cmp byte [ebp - 1], bl
je 0x4656d7
push dword [ebp - 0x64]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.004335ed
jmp 0x4656eb
push dword [ebp - 0x14]
call fcn.0040ec9c
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0043de31
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
je 0x4654c8
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
je 0x4655a0
cmp dword [ebp - 0x28], ebx
je 0x46554d
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 0x46554d
cmp ax, 0x7a
ja 0x46554d
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 0x465588
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 0x46557a
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x20]
jne 0x465598
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
jmp 0x46564b
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 8], ebx
jne 0x4655be
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
jne 0x4655be
cmp dword [ebp - 0x4c], ebx
je 0x4654c8
cmp dword [ebp - 0x44], ebx
je 0x4655df
xor eax, eax
mov ax, word [esi]
cmp ax, bx
je 0x4655df
cmp word [esi + 2], 0x3a
jne 0x4655df
push eax
call fcn.0047aaea
test eax, eax
pop ecx
je 0x465642
lea ecx, [ebp - 0x20]
call fcn.00433c24
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0046f35f
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.00464a4a
add dword [ebp + 0x10], eax
mov ax, word [edi + 0x8c]
test ah, 1
je 0x46563a
and ax, 0xfeff
mov word [edi + 0x8c], ax
lea ecx, [ebp - 0x20]
call fcn.0042eb98
cmp dword [ebp - 0x1c], ebx
je 0x4654c8
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4654c8
cmp dword [ebp - 0x38], ebx
je 0x4654c8
test byte [edi + 0x8c], 0xef
jne 0x4654c8
push 0xffffffffffffffff
mov esi, eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00433d4a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.00433c92
cmp dword [ebp - 0x28], ebx
jne 0x4656c5
test byte [ebp - 0x1c], 2
je 0x4656a6
dec esi
dec esi
jmp 0x46569c
add esi, 0xfffffffe
cmp word [esi], bx
je 0x4656b4
cmp esi, dword [ebp - 0x10]
mov dword [ebp + 8], esi
ja 0x465694
jmp 0x4656b4
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 0x46564b
jmp 0x4655a8
mov esi, dword [ebp - 0x30]
mov ax, word [ebp - 0xc]
mov word [esi], ax
mov dword [ebp - 0x28], ebx
jmp 0x4655a8
cmp dword [ebp - 0x4c], ebx
je 0x4656eb
push dword [ebp - 0x24]
push dword [ebp + 0x10]
push edi
call fcn.00435ee3
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0042eb98
lea ecx, [ebp - 0x54]
call fcn.0042eb98
lea ecx, [ebp - 0x64]
call fcn.0042eb98
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.0042eb98
lea ecx, [ebp - 0x14]
call fcn.0042eb98
lea ecx, [ebp - 0x24]
call fcn.0042eb98
lea ecx, [ebp - 0x48]
call fcn.0042eb98
lea ecx, [ebp - 0x70]
call fcn.0042eb98
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10