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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push ecx
lea ecx, [ebp - 0x84]
call fcn.00437de1
lea eax, [ebp + 8]
push eax
call fcn.00430961
xor ebx, ebx
xor esi, esi
pop ecx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
xor edi, edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0xfffffff8
mov dword [ebp - 0x24], ebx
jmp 0x469347
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x49d994
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x469343
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x49d990
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x469343
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x49bd48
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x46933d
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x495888
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x46933d
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x497868
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x469240
mov dword [ebp - 0x3c], 1
jmp 0x469347
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push 0x49d98c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x46925f
or esi, 0x10
jmp 0x469347
push 3
push dword [ebp + 8]
push 0x49d988
call fcn.004318b1
add esp, 0xc
test al, al
je 0x469290
add dword [ebp + 8], 6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
or esi, 0x10
call fcn.00438b8e
pop ecx
pop ecx
jmp 0x469347
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:N
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4692af
push 0x20
pop edi
jmp 0x469347
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str._O:_N
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4692ca
push 0x60
jmp 0x4692a9
push 0xffffffffffffffff
lea eax, [ebp + 8]
push eax
push str.cur
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4692ea
mov dword [ebp - 0x24], 1
jmp 0x469347
push 6
push dword [ebp + 8]
push str._size:
call fcn.004318b1
add esp, 0xc
test al, al
je 0x469353
add dword [ebp + 8], 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043aabb
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x469353
call fcn.0040bc38
test al, al
jne 0x469347
add dword [ebp + 8], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043aabb
jmp 0x469289
or dword [ebp - 0x14], 1
jmp 0x469347
or dword [ebp - 0x14], 2
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4691b1
or esi, edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x78], esi
call fcn.00435d62
mov esi, 0x4949a4
push esi
lea ecx, [ebp - 0x20]
call fcn.004403c3
push esi
lea ecx, [ebp - 0x18]
call fcn.004403c3
push esi
lea ecx, [ebp - 0x1c]
call fcn.004403c3
push 1
push 0x2c
pop esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
call fcn.0044212f
push ebx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.004386e6
mov eax, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
jne 0x469406
movzx eax, word [eax]
cmp ax, bx
je 0x469406
xor edi, edi
mov ecx, eax
inc edi
mov eax, ecx
call fcn.0040bc38
test al, al
jne 0x469409
cmp cx, 0x40
jne 0x4693d1
mov dword [ebp - 0x40], edi
jmp 0x4693f5
cmp cx, 0x24
jne 0x4693e0
mov dword [ebp - 0x40], 3
jmp 0x4693f5
cmp cx, 0x5c
jne 0x4693eb
or dword [ebp - 0x10], edi
jmp 0x4693f5
cmp cx, 0x21
jne 0x469409
or dword [ebp - 0x10], 2
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
mov cx, word [eax]
cmp cx, bx
jne 0x4693bb
jmp 0x469409
xor edi, edi
inc edi
lea eax, [ebp - 0xc]
push eax
call fcn.00430961
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x469427
mov eax, dword [ebp - 0xc]
jmp 0x46941f
inc eax
inc eax
cmp word [eax], 0x5c
je 0x46941d
jmp 0x46943f
cmp dword [ebp - 0x14], ebx
jne 0x46943c
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
call fcn.0040f20d
pop ecx
pop ecx
jmp 0x469448
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0044042b
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x469473
add dword [ebp + 8], 2
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
call fcn.0044212f
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004386e6
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jne 0x4694a3
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x4694a3
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0x74]
push eax
push edi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
call fcn.0044212f
push eax
call fcn.00438933
add esp, 0xc
cmp dword [ebp - 0x74], ebx
jg 0x4694af
mov dword [ebp - 0x74], 0xfffffff8
mov eax, dword [ebp + 8]
cmp word [eax], si
je 0x4694be
mov esi, edi
jmp 0x4699e9
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.00430961
pop ecx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00435e88
mov esi, dword [ebp - 0x1c]
cmp word [esi], 0x2a
jne 0x4694ec
cmp word [esi + 2], bx
mov byte [ebp - 1], 1
je 0x4694ef
mov byte [ebp - 1], bl
lea ecx, [ebp - 0x5c]
call fcn.00435d62
cmp byte [ebp - 1], bl
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
jne 0x46950f
push 0xffffffffffffffff
push dword [ebp - 0x20]
lea ecx, [ebp - 0x5c]
call fcn.00435e88
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov dword [ebp - 0x38], ebx
je 0x46951d
mov eax, dword [ecx]
jmp 0x46951f
xor eax, eax
cmp word [esi], bx
mov dword [ebp - 0x30], eax
jne 0x469541
cmp eax, ebx
je 0x469541
mov edx, dword [ebp - 8]
mov si, word [edx + 0x5a]
cmp si, word [eax]
jne 0x469541
push ebx
push ebx
push ecx
mov ecx, edx
call fcn.0043521b
push 0x32a
lea ecx, [ebp - 0x4c]
call fcn.00435d80
mov eax, dword [ebp - 8]
and word [eax + 0x88], 0x8b
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
cmp ax, bx
mov esi, dword [ebp - 0x4c]
lea edi, [esi + 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x50], ebx
jne 0x469591
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x469591
mov edx, dword [ebp - 8]
mov dx, word [edx + 0x5a]
cmp dx, word [ecx]
mov dword [ebp - 0xc], 0x100
je 0x469594
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebp - 0x20]
cmp word [ecx], bx
je 0x4695ad
cmp ax, bx
jne 0x4695ad
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x44], 1
je 0x4695b0
mov dword [ebp - 0x44], ebx
test byte [ebp - 0x14], 2
je 0x4696d0
mov esi, 0x4ad684
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 8]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x18]
call fcn.0041083d
cmp eax, ebx
jne 0x4695f1
push esi
mov dword [ebp - 0x50], 2
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x10]
jmp 0x469797
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00435e88
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 8], esi
mov dword [ebp - 0x3c], ebx
jmp 0x4696ba
mov eax, dword [ebp - 8]
test byte [eax + 0x88], 0xef
jne 0x4696c3
lea eax, [ebp + 8]
mov dword [ebp - 0x34], esi
call fcn.00435a49
push dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov di, word [esi]
push dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov word [esi], bx
call fcn.00435749
cmp di, 0xd
jne 0x469656
cmp word [esi + 2], 0xa
jne 0x46965b
add esi, 4
jmp 0x46965d
cmp di, bx
je 0x469660
inc esi
inc esi
mov dword [ebp + 8], esi
inc dword [ebp + 0x10]
cmp dword [ebp - 0xc], ebx
je 0x469688
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
add eax, 2
push 0x4949a4
mov dword [ebp - 0x38], eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.00463391
jmp 0x4696a0
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x4696a0
push dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp + 0xc]
push eax
call fcn.00426546
mov ecx, dword [ebp - 8]
mov ax, word [ecx + 0x88]
test ah, 1
je 0x4696ba
and ax, 0xfeff
mov word [ecx + 0x88], ax
cmp word [esi], bx
jne 0x469612
lea ecx, [ebp - 0x3c]
call fcn.0043092f
jmp 0x4695e9
cmp dword [ebp - 0x14], 1
jne 0x4697c1
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 0x24], ebx
je 0x469794
mov eax, dword [ebp - 8]
test byte [eax + 0x88], 0xef
jne 0x469794
lea eax, [ebp + 8]
push eax
call fcn.00404579
mov eax, dword [ebp + 8]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00435e88
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov esi, dword [ebp - 8]
pop ecx
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x20]
call fcn.00435749
inc dword [ebp + 0x10]
cmp dword [ebp - 0xc], ebx
je 0x46975a
mov eax, dword [ebp - 0x30]
add eax, 2
push 0x4949a4
mov dword [ebp - 0x38], eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00463391
jmp 0x469771
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x469771
push dword [ebp + 0x14]
mov ecx, esi
push ebx
push dword [ebp + 0xc]
push eax
call fcn.00426546
mov ax, word [esi + 0x88]
test ah, 1
je 0x469788
and ax, 0xfeff
mov word [esi + 0x88], ax
mov esi, dword [ebp + 8]
cmp word [esi], bx
jne 0x4696ee
lea ecx, [ebp - 0x24]
call fcn.0043092f
mov ecx, dword [ebp - 8]
and word [ecx + 0x88], 0x8b
cmp byte [ebp - 1], bl
je 0x4699ba
push dword [ebp - 0x5c]
push dword [ebp - 0x20]
call fcn.00435749
jmp 0x4699ce
push dword [ebp - 0x18]
call fcn.0040eec0
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0044042b
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x46979c
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
je 0x469879
cmp dword [ebp - 0x24], ebx
je 0x469822
lea eax, [ebp - 0x28c]
push eax
push 0x104
mov word [ebp - 0x28c], bx
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x28c]
cmp ax, 0x61
mov dword [ebp - 0x14], eax
jb 0x469822
cmp ax, 0x7a
ja 0x469822
and eax, 0xffdf
mov dword [ebp - 0x14], eax
mov word [edi + 2], bx
mov word [edi], bx
push edi
mov word [esi + 2], bx
push 0x324
mov word [esi], bx
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov al, byte [ebp - 0x10]
and al, 2
cmp word [edi], bx
mov dword [ebp - 0x2c], edi
mov byte [ebp + 0xb], al
mov esi, edi
je 0x469861
push esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x46984e
cmp byte [ebp + 0xb], bl
je 0x469871
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 8], eax
jmp 0x469929
mov dword [ebp + 8], edi
jmp 0x469929
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0xc], ebx
jne 0x469897
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
jne 0x469897
cmp dword [ebp - 0x44], ebx
je 0x46979c
cmp dword [ebp - 0x3c], ebx
je 0x4698b8
xor eax, eax
mov ax, word [esi]
cmp ax, bx
je 0x4698b8
cmp word [esi + 2], 0x3a
jne 0x4698b8
push eax
call fcn.0047f5e8
test eax, eax
pop ecx
je 0x469920
lea ecx, [ebp - 0x2c]
call fcn.00435d62
push ebx
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00473899
add esp, 0xc
push dword [ebp + 0x14]
mov esi, dword [ebp - 8]
push dword [ebp - 0x34]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x78]
mov ecx, esi
or eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x5c]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push eax
call fcn.00468c0d
add dword [ebp + 0x10], eax
mov ax, word [esi + 0x88]
test ah, 1
je 0x469918
and ax, 0xfeff
mov ecx, esi
mov word [ecx + 0x88], ax
lea ecx, [ebp - 0x2c]
call fcn.0043092f
cmp dword [ebp - 0x10], ebx
je 0x46979c
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x46979c
lea eax, [ebp - 0x74]
cmp dword [eax], ebx
je 0x46979c
mov eax, dword [ebp - 8]
test byte [eax + 0x88], 0xef
jne 0x46979c
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x28]
call fcn.00435e88
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.00435dd0
cmp dword [ebp - 0x24], ebx
jne 0x4699a8
test byte [ebp - 0x10], 2
je 0x469989
dec esi
dec esi
jmp 0x469980
add esi, 0xfffffffe
cmp word [esi], bx
je 0x469997
cmp esi, edi
mov dword [ebp + 8], esi
ja 0x469978
jmp 0x469997
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [esi + eax*2 + 2]
mov dword [ebp + 8], eax
mov esi, dword [ebp - 0x28]
mov ax, word [ebp - 0x14]
cmp ax, word [esi]
je 0x469929
jmp 0x469881
mov esi, dword [ebp - 0x28]
mov ax, word [ebp - 0x14]
mov word [esi], ax
mov dword [ebp - 0x24], ebx
jmp 0x469881
cmp dword [ebp - 0x44], ebx
je 0x4699ce
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push ecx
call fcn.004380d1
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0043092f
lea ecx, [ebp - 0x4c]
call fcn.0043092f
lea ecx, [ebp - 0x5c]
call fcn.0043092f
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
call fcn.0043092f
lea ecx, [ebp - 0x18]
call fcn.0043092f
lea ecx, [ebp - 0x20]
call fcn.0043092f
lea ecx, [ebp - 0x48]
call fcn.0043092f
lea ecx, [ebp - 0x84]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10