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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042fe12
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
xor ebx, ebx
pop ecx
push 2
pop esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0xfffffff8
mov dword [ebp - 0x20], ebx
jmp 0x45e6c2
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48cc5c
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x45e6bf
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48cc58
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x45e6bf
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48b018
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x45e6b9
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x485580
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x45e6b9
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x487604
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x45e60a
mov dword [ebp - 0x3c], 1
jmp 0x45e6c2
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x48cc54
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x45e62a
or dword [ebp - 0x28], 0x10
jmp 0x45e6c2
push 3
push dword [ebp + 8]
push 0x48cc50
call fcn.0042996a
add esp, 0xc
test al, al
je 0x45e659
or dword [ebp - 0x28], 0x10
add dword [ebp + 8], 6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00430ad7
pop ecx
pop ecx
jmp 0x45e6c2
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:N
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x45e679
mov dword [ebp - 0xc], 0x20
jmp 0x45e6c2
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:_N
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x45e699
mov dword [ebp - 0xc], 0x60
jmp 0x45e6c2
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str.cur
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x45e6ce
mov dword [ebp - 0x20], 1
jmp 0x45e6c2
or dword [ebp - 4], 1
jmp 0x45e6c2
or dword [ebp - 4], esi
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x45e57b
mov eax, dword [ebp - 0xc]
or dword [ebp - 0x28], eax
lea ecx, [ebp - 0x50]
call fcn.0042e1c4
mov esi, 0x484964
push esi
lea ecx, [ebp - 0x24]
call fcn.0043a4ba
push esi
lea ecx, [ebp - 0x10]
call fcn.0043a4ba
push esi
lea ecx, [ebp - 0x1c]
call fcn.0043a4ba
push 1
push 0x2c
pop esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043c3b4
push ebx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.0043060a
mov eax, dword [ebp - 0x50]
add esp, 0xc
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], eax
jne 0x45e77f
movzx eax, word [eax]
cmp ax, bx
je 0x45e77f
mov ecx, eax
mov eax, ecx
call fcn.0040ac1b
test al, al
jne 0x45e77f
cmp cx, 0x40
jne 0x45e74b
mov dword [ebp - 0x44], 1
jmp 0x45e770
cmp cx, 0x24
jne 0x45e75a
mov dword [ebp - 0x44], 3
jmp 0x45e770
cmp cx, 0x5c
jne 0x45e766
or dword [ebp - 0x14], 1
jmp 0x45e770
cmp cx, 0x21
jne 0x45e77f
or dword [ebp - 0x14], 2
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov cx, word [eax]
cmp cx, bx
jne 0x45e731
lea eax, [ebp - 8]
push eax
call fcn.00428a5b
cmp dword [ebp - 0x14], ebx
pop ecx
je 0x45e79d
mov eax, dword [ebp - 8]
jmp 0x45e795
inc eax
inc eax
cmp word [eax], 0x5c
je 0x45e793
jmp 0x45e7b5
cmp dword [ebp - 4], ebx
jne 0x45e7b2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.0040e23e
pop ecx
pop ecx
jmp 0x45e7be
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a522
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x45e7e7
add dword [ebp + 8], 2
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043c3b4
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0043060a
add esp, 0xc
cmp dword [ebp - 4], ebx
jne 0x45e815
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x45e815
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x34]
push eax
push 1
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0043c3b4
push eax
call fcn.00430857
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jg 0x45e821
mov dword [ebp - 0x34], 0xfffffff8
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x45e831
xor esi, esi
inc esi
jmp 0x45eafc
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
pop ecx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0042e2ea
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov dword [ebp - 0x38], ebx
je 0x45e85d
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
jmp 0x45e862
mov dword [ebp - 0x2c], ebx
mov eax, ebx
mov esi, dword [ebp - 0x1c]
cmp word [esi], bx
jne 0x45e881
cmp eax, ebx
je 0x45e881
mov dx, word [edi + 0x5e]
cmp dx, word [eax]
jne 0x45e881
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.0042c758
push 0x32a
lea ecx, [ebp - 0x48]
call fcn.0042e1e2
mov eax, dword [ebp - 0x48]
and word [edi + 0x86], 0x8b
add eax, 4
mov dword [ebp - 0xc], eax
mov ax, word [esi]
cmp ax, bx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x54], ebx
jne 0x45e8cb
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x45e8cb
mov dx, word [edi + 0x5e]
cmp dx, word [ecx]
mov dword [ebp - 8], 0x100
je 0x45e8ce
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x24]
cmp word [ecx], bx
je 0x45e8e7
cmp ax, bx
jne 0x45e8e7
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x4c], 1
je 0x45e8ea
mov dword [ebp - 0x4c], ebx
test byte [ebp - 4], 2
je 0x45ea06
mov esi, 0x49b604
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004100d3
cmp eax, ebx
jne 0x45e92a
push esi
mov dword [ebp - 0x54], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0xc]
jmp 0x45eac7
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0xc]
call fcn.0042e2ea
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0xc]
mov dword [ebp + 8], esi
mov dword [ebp - 0x3c], ebx
jmp 0x45e9f0
test byte [edi + 0x86], 0xef
jne 0x45e9f9
lea eax, [ebp + 8]
mov dword [ebp - 0x40], esi
call fcn.00404016
push dword [ebp - 0x40]
mov esi, dword [ebp + 8]
mov ax, word [esi]
push dword [ebp - 0x24]
mov ecx, edi
mov word [ebp - 0x18], ax
mov word [esi], bx
call fcn.0042cbf7
cmp word [ebp - 0x18], 0xd
jne 0x45e990
cmp word [esi + 2], 0xa
jne 0x45e996
add esi, 4
jmp 0x45e998
cmp word [ebp - 0x18], bx
je 0x45e99b
inc esi
inc esi
mov dword [ebp + 8], esi
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x45e9c2
mov eax, dword [ebp - 0x2c]
add eax, 2
push 0x484964
mov dword [ebp - 0x38], eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004580d7
jmp 0x45e9d9
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x45e9d9
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004228ce
mov ax, word [edi + 0x86]
test ah, 1
je 0x45e9f0
and ax, 0xfeff
mov word [edi + 0x86], ax
cmp word [esi], bx
jne 0x45e94b
lea ecx, [ebp - 0x3c]
call fcn.00428a48
jmp 0x45e922
cmp dword [ebp - 4], 1
jne 0x45eb2d
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 0x20], ebx
je 0x45eac4
test byte [edi + 0x86], 0xef
jne 0x45eac4
lea eax, [ebp + 8]
push eax
call fcn.00403ff2
mov eax, dword [ebp + 8]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0042e2ea
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
pop ecx
push dword [ebp - 0x20]
mov ecx, edi
push dword [ebp - 0x24]
call fcn.0042cbf7
inc dword [ebp + 0x10]
cmp dword [ebp - 8], ebx
je 0x45ea8a
mov eax, dword [ebp - 0x2c]
add eax, 2
push 0x484964
mov dword [ebp - 0x38], eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004580d7
jmp 0x45eaa1
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x45eaa1
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004228ce
mov ax, word [edi + 0x86]
test ah, 1
je 0x45eab8
and ax, 0xfeff
mov word [edi + 0x86], ax
mov esi, dword [ebp + 8]
cmp word [esi], bx
jne 0x45ea24
lea ecx, [ebp - 0x20]
call fcn.00428a48
and word [edi + 0x86], 0x8b
cmp dword [ebp - 0x4c], ebx
je 0x45eae9
push dword [ebp - 0x24]
push dword [ebp + 0x10]
push edi
call fcn.00430102
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00428a48
lea ecx, [ebp - 0x48]
call fcn.00428a48
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp - 0x24]
call fcn.00428a48
lea ecx, [ebp - 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x60]
call fcn.00428a48
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 0x10]
call fcn.0040dca1
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a522
mov esi, dword [ebp - 0x10]
cmp word [esi], bx
je 0x45eacc
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
je 0x45ebe6
cmp dword [ebp - 0x20], ebx
je 0x45eb8e
lea eax, [ebp - 0x268]
push eax
push 0x104
mov word [ebp - 0x268], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x268]
cmp ax, 0x61
mov dword [ebp - 4], eax
jb 0x45eb8e
cmp ax, 0x7a
ja 0x45eb8e
and eax, 0xffdf
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
mov word [esi + 2], bx
mov word [esi], bx
push esi
mov word [eax + 2], bx
push 0x324
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov al, byte [ebp - 0x14]
and al, 2
mov byte [ebp + 0xb], al
mov eax, esi
cmp word [eax], bx
mov dword [ebp - 0x18], esi
je 0x45ebd3
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x45ebc0
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x18]
jne 0x45ebde
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
jmp 0x45ec8e
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 8], ebx
jne 0x45ec02
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
jne 0x45ec02
cmp dword [ebp - 0x4c], ebx
je 0x45eacc
cmp dword [ebp - 0x3c], ebx
je 0x45ec23
xor eax, eax
mov ax, word [esi]
cmp ax, bx
je 0x45ec23
cmp word [esi + 2], 0x3a
jne 0x45ec23
push eax
call fcn.0046fe45
test eax, eax
pop ecx
je 0x45ec85
lea ecx, [ebp - 0x18]
call fcn.0042e1c4
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.0043897f
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x34]
push dword [ebp - 0x40]
mov ecx, edi
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
or eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
call fcn.0045e114
add dword [ebp + 0x10], eax
mov ax, word [edi + 0x86]
test ah, 1
je 0x45ec7d
and ax, 0xfeff
mov word [edi + 0x86], ax
lea ecx, [ebp - 0x18]
call fcn.00428a48
cmp dword [ebp - 0x14], ebx
je 0x45eacc
mov esi, dword [ebp + 8]
cmp word [esi], bx
je 0x45eacc
cmp dword [ebp - 0x34], ebx
je 0x45eacc
test byte [edi + 0x86], 0xef
jne 0x45eacc
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x30]
call fcn.0042e2ea
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.0042e232
cmp dword [ebp - 0x20], ebx
jne 0x45ed06
test byte [ebp - 0x14], 2
je 0x45ece7
dec esi
dec esi
jmp 0x45ecdd
add esi, 0xfffffffe
cmp word [esi], bx
je 0x45ecf5
cmp esi, dword [ebp - 0xc]
mov dword [ebp + 8], esi
ja 0x45ecd5
jmp 0x45ecf5
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 - 4]
cmp ax, word [esi]
je 0x45ec8e
jmp 0x45ebec
mov esi, dword [ebp - 0x30]
mov ax, word [ebp - 4]
mov word [esi], ax
mov dword [ebp - 0x20], ebx
jmp 0x45ebec