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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x29c
push ebx
push esi
push edi
mov dword [ebp + 0x58], ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0043f504
lea eax, [ebp + 0x70]
push eax
call fcn.004379a9
xor ebx, ebx
pop ecx
push 2
pop edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
xor esi, esi
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x38], 0xfffffff8
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x10], ebx
mov byte [ebp + 0x67], bl
jmp 0x471f8f
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push 0x4ae48c
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x471f8c
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push 0x4ae488
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x471f8c
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push 0x4a978c
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x471f86
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push 0x4a4be0
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x471f86
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push 0x4a85e0
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471e1d
mov dword [ebp + 0x18], 1
jmp 0x471f8f
push 3
lea eax, [ebp + 0x70]
push eax
push 0x4ae484
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471e40
mov dword [ebp + 0x50], 1
jmp 0x471f8f
push 4
lea eax, [ebp + 0x70]
push eax
push str.qu
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471e5f
mov dword [ebp + 0x50], edi
jmp 0x471f8f
push 4
lea eax, [ebp + 0x70]
push eax
push str.off
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471e82
mov dword [ebp + 0x10], 1
jmp 0x471f8f
push edi
lea eax, [ebp + 0x70]
push eax
push 0x4ae470
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471ea0
or esi, 0x10
jmp 0x471f8f
push 3
push dword [ebp + 0x70]
push 0x4ae46c
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x471ed1
add dword [ebp + 0x70], 6
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x70]
push eax
or esi, 0x10
call fcn.004488bd
pop ecx
pop ecx
jmp 0x471f8f
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push str._O:N
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471ef4
mov dword [ebp + 0x54], 0x20
jmp 0x471f8f
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push str._O:_N
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471f14
mov dword [ebp + 0x54], 0x60
jmp 0x471f8f
push 0xffffffffffffffff
lea eax, [ebp + 0x70]
push eax
push str.cur
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x471f34
mov dword [ebp + 0x40], 1
jmp 0x471f8f
push 6
push dword [ebp + 0x70]
push str._size:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x471f9b
add dword [ebp + 0x70], 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00441c9a
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x471f9b
call fcn.00482120
test al, al
jne 0x471f8f
add dword [ebp + 0x70], edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00441c9a
jmp 0x471eca
or dword [ebp + 0x60], 1
jmp 0x471f8f
or dword [ebp + 0x60], edi
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
jne 0x471d8e
or esi, dword [ebp + 0x54]
lea ecx, [ebp + 0x24]
mov dword [ebp - 0x20], esi
call fcn.0043d47d
mov esi, 0x4a39d4
push esi
lea ecx, [ebp + 0x44]
call fcn.004457e4
push esi
lea ecx, [ebp + 0x4c]
call fcn.004457e4
push esi
lea ecx, [ebp + 0x48]
call fcn.004457e4
push 1
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044e524
push ebx
lea ecx, [ebp + 0x24]
push ecx
push eax
call fcn.0043fe29
mov eax, dword [ebp + 0x24]
add esp, 0xc
cmp dword [ebp + 0x60], ebx
mov edx, eax
push 0x5c
mov dword [ebp + 0x54], edx
pop esi
jne 0x47205a
movzx eax, word [eax]
cmp ax, bx
je 0x47205a
mov ecx, eax
mov eax, ecx
call fcn.00482120
test al, al
jne 0x47205a
cmp cx, 0x40
jne 0x47201d
mov dword [ebp + 0x28], 1
jmp 0x472047
cmp cx, 0x24
jne 0x47202c
mov dword [ebp + 0x28], 3
jmp 0x472047
cmp cx, si
jne 0x47203d
cmp word [edx + 2], si
je 0x472056
or dword [ebp + 0x5c], 1
jmp 0x472047
cmp cx, 0x21
jne 0x47205a
or dword [ebp + 0x5c], 2
inc edx
inc edx
mov cx, word [edx]
cmp cx, bx
mov dword [ebp + 0x54], edx
jne 0x472003
jmp 0x47205a
mov byte [ebp + 0x67], 1
lea eax, [ebp + 0x54]
push eax
call fcn.004379a9
test byte [ebp + 0x60], 1
pop ecx
jne 0x472075
push dword [ebp + 0x54]
call fcn.0041113a
pop ecx
jmp 0x472078
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x5c], ebx
jne 0x4720a2
cmp dword [ebp + 0x60], ebx
jne 0x4720a7
cmp byte [ebp + 0x67], bl
jne 0x4720a7
cmp word [eax], si
jne 0x472092
cmp word [eax + 2], si
je 0x4720a7
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.004114d4
pop ecx
pop ecx
jmp 0x4720b0
inc eax
inc eax
cmp word [eax], si
je 0x4720a0
push eax
lea ecx, [ebp + 0x4c]
call fcn.0044584c
mov eax, dword [ebp + 0x70]
cmp word [eax], di
jne 0x4720d9
add dword [ebp + 0x70], 2
push 1
push edi
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044e524
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0043fe29
add esp, 0xc
cmp dword [ebp + 0x60], ebx
jne 0x472107
mov eax, dword [ebp + 0x70]
cmp word [eax], di
jne 0x472107
add dword [ebp + 0x70], 2
push edi
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044e524
push eax
call fcn.00440076
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jg 0x472113
mov dword [ebp - 0x1c], 0xfffffff8
mov eax, dword [ebp + 0x70]
cmp word [eax], di
je 0x472123
xor esi, esi
inc esi
jmp 0x4726bf
add dword [ebp + 0x70], 2
lea eax, [ebp + 0x70]
push eax
call fcn.004379a9
pop ecx
push 0xffffffffffffffff
push dword [ebp + 0x70]
lea ecx, [ebp + 0x48]
call fcn.0043d5a1
mov esi, dword [ebp + 0x48]
cmp word [esi], 0x2a
jne 0x472151
cmp word [esi + 2], bx
mov byte [ebp + 0x67], 1
je 0x472154
mov byte [ebp + 0x67], bl
lea ecx, [ebp + 4]
call fcn.0043d47d
cmp byte [ebp + 0x67], bl
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
jne 0x472174
push 0xffffffffffffffff
push dword [ebp + 0x44]
lea ecx, [ebp + 4]
call fcn.0043d5a1
mov ecx, dword [ebp + 0x78]
cmp ecx, ebx
mov dword [ebp + 0x30], ebx
je 0x472182
mov eax, dword [ecx]
jmp 0x472184
xor eax, eax
cmp word [esi], bx
mov dword [ebp + 0x54], eax
jne 0x4721a6
cmp eax, ebx
je 0x4721a6
mov edx, dword [ebp + 0x58]
mov si, word [edx + 0x5a]
cmp si, word [eax]
jne 0x4721a6
push ebx
push ebx
push ecx
mov ecx, edx
call fcn.0043c96f
push 0x32a
lea ecx, [ebp + 0x14]
call fcn.0043d49b
mov eax, dword [ebp + 0x58]
and word [eax + 0x88], 0x8b
mov eax, dword [ebp + 0x48]
mov ax, word [eax]
cmp ax, bx
mov esi, dword [ebp + 0x14]
lea edi, [esi + 4]
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x1c], ebx
jne 0x4721f6
mov ecx, dword [ebp + 0x54]
cmp ecx, ebx
je 0x4721f6
mov edx, dword [ebp + 0x58]
mov dx, word [edx + 0x5a]
cmp dx, word [ecx]
mov dword [ebp + 0x3c], 0x100
je 0x4721f9
mov dword [ebp + 0x3c], ebx
mov ecx, dword [ebp + 0x44]
cmp word [ecx], bx
je 0x472212
cmp ax, bx
jne 0x472212
cmp dword [ebp + 0x3c], ebx
mov dword [ebp + 0x20], 1
je 0x472215
mov dword [ebp + 0x20], ebx
test byte [ebp + 0x60], 2
je 0x472335
mov esi, 0x4beb4c
push esi
mov dword [ebp + 0x5c], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp + 0x58]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x4c]
call fcn.00412e5b
cmp eax, ebx
jne 0x472256
push esi
mov dword [ebp + 0x1c], 2
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp + 0x5c]
jmp 0x472451
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 0x5c]
call fcn.0043d5a1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [ebp + 0x5c]
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x2c], ebx
jmp 0x47231f
mov eax, dword [ebp + 0x58]
test byte [eax + 0x88], 0xef
jne 0x472328
lea eax, [ebp + 0x70]
mov dword [ebp + 0x38], esi
call fcn.00412641
push dword [ebp + 0x38]
mov esi, dword [ebp + 0x70]
mov di, word [esi]
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x58]
mov word [esi], bx
call fcn.0043cd78
cmp di, 0xd
jne 0x4722bb
cmp word [esi + 2], 0xa
jne 0x4722c0
add esi, 4
jmp 0x4722c2
cmp di, bx
je 0x4722c5
inc esi
inc esi
mov dword [ebp + 0x70], esi
inc dword [ebp + 0x78]
cmp dword [ebp + 0x3c], ebx
je 0x4722ed
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x58]
add eax, 2
push 0x4a39d4
mov dword [ebp + 0x30], eax
push ebx
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x74]
call fcn.0046a9da
jmp 0x472305
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x472305
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x58]
push ebx
push dword [ebp + 0x74]
push eax
call fcn.0042cba1
mov ecx, dword [ebp + 0x58]
mov ax, word [ecx + 0x88]
test ah, 1
je 0x47231f
and ax, 0xfeff
mov word [ecx + 0x88], ax
cmp word [esi], bx
jne 0x472277
lea ecx, [ebp + 0x2c]
call fcn.00437960
jmp 0x47224e
cmp dword [ebp + 0x60], 1
jne 0x47247b
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x50]
dec edx
cmp word [ecx], bx
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x38], edx
je 0x47244e
jmp 0x47235d
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x58]
test byte [eax + 0x88], 0xef
jne 0x47244e
xor edi, edi
cmp dword [ebp + 0x50], ebx
mov esi, ecx
je 0x4723b3
cmp word [ecx], 0x22
jne 0x4723b3
lea esi, [ecx + edx*2]
jmp 0x47239b
cmp ax, 0x22
jne 0x47239b
xor eax, eax
mov ax, word [ecx + 2]
cmp ax, bx
je 0x4723aa
call fcn.00482120
test al, al
jne 0x4723aa
inc ecx
inc ecx
mov ax, word [ecx]
cmp ax, bx
mov dword [ebp + 0x70], ecx
jne 0x472381
jmp 0x4723c0
inc ecx
inc ecx
mov edi, edx
mov dword [ebp + 0x70], ecx
jmp 0x4723c0
lea eax, [ebp + 0x70]
push eax
call fcn.004050f3
pop ecx
mov ecx, dword [ebp + 0x70]
lea eax, [edi + edi]
sub ecx, eax
sub ecx, esi
sar ecx, 1
push ecx
push esi
lea ecx, [ebp + 0x40]
call fcn.0043d5a1
lea eax, [ebp + 0x70]
push eax
call fcn.004379a9
mov esi, dword [ebp + 0x58]
pop ecx
push dword [ebp + 0x40]
mov ecx, esi
push dword [ebp + 0x44]
call fcn.0043cd78
inc dword [ebp + 0x78]
cmp dword [ebp + 0x3c], ebx
je 0x472414
mov eax, dword [ebp + 0x54]
add eax, 2
push 0x4a39d4
mov dword [ebp + 0x30], eax
push ebx
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x74]
mov ecx, esi
call fcn.0046a9da
jmp 0x47242b
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x47242b
push dword [ebp + 0x7c]
mov ecx, esi
push ebx
push dword [ebp + 0x74]
push eax
call fcn.0042cba1
mov ax, word [esi + 0x88]
test ah, 1
je 0x472442
and ax, 0xfeff
mov word [esi + 0x88], ax
mov ecx, dword [ebp + 0x70]
cmp word [ecx], bx
jne 0x47235a
lea ecx, [ebp + 0x40]
call fcn.00437960
mov ecx, dword [ebp + 0x58]
and word [ecx + 0x88], 0x8b
cmp byte [ebp + 0x67], bl
je 0x472690
push dword [ebp + 4]
push dword [ebp + 0x44]
call fcn.0043cd78
jmp 0x4726a4
push dword [ebp + 0x4c]
call fcn.0041113a
pop ecx
push eax
lea ecx, [ebp + 0x4c]
call fcn.0044584c
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
je 0x472456
cmp dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
je 0x472533
cmp dword [ebp + 0x40], ebx
je 0x4724dc
lea eax, [ebp - 0x234]
push eax
push 0x104
mov word [ebp - 0x234], bx
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x234]
cmp ax, 0x61
mov dword [ebp + 0x60], eax
jb 0x4724dc
cmp ax, 0x7a
ja 0x4724dc
and eax, 0xffdf
mov dword [ebp + 0x60], 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 + 0x5c]
and al, 2
cmp word [edi], bx
mov dword [ebp + 0x50], edi
mov byte [ebp + 0x73], al
mov esi, edi
je 0x47251b
push esi
mov dword [ebp + 0x50], esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x472508
cmp byte [ebp + 0x73], bl
je 0x47252b
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x70], eax
jmp 0x4725ff
mov dword [ebp + 0x70], edi
jmp 0x4725ff
mov esi, eax
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x4c], ebx
cmp dword [ebp + 0x3c], ebx
jne 0x472551
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
jne 0x472551
cmp dword [ebp + 0x20], ebx
je 0x472456
cmp dword [ebp + 0x18], ebx
je 0x472576
xor eax, eax
mov ax, word [esi]
cmp ax, bx
je 0x472576
cmp word [esi + 2], 0x3a
jne 0x472576
push eax
call fcn.0048ef0d
test eax, eax
pop ecx
je 0x4725f6
lea ecx, [ebp + 0x50]
call fcn.0043d47d
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x50]
push eax
push esi
mov dword [ebp + 0x2c], ebx
call fcn.00482842
add esp, 0xc
cmp dword [ebp + 0x10], ebx
je 0x4725a6
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x50]
sar eax, 1
cdq
mov dword [ebp - 4], eax
mov dword [ebp], edx
push dword [ebp + 0x7c]
mov esi, dword [ebp + 0x58]
push dword [ebp + 0x38]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x48]
mov eax, dword [ebp + 0x3c]
or eax, dword [ebp - 0x20]
mov ecx, esi
or eax, dword [ebp + 0x28]
push eax
push dword [ebp + 0x54]
lea eax, [ebp + 4]
push dword [ebp + 0x74]
push dword [ebp + 0x50]
push eax
call fcn.004717e7
add dword [ebp + 0x78], eax
mov ax, word [esi + 0x88]
test ah, 1
je 0x4725ee
and ax, 0xfeff
mov word [esi + 0x88], ax
lea ecx, [ebp + 0x50]
call fcn.00437960
cmp dword [ebp + 0x5c], ebx
je 0x472456
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
je 0x472456
lea eax, [ebp - 0x1c]
cmp dword [eax], ebx
je 0x472456
mov eax, dword [ebp + 0x58]
test byte [eax + 0x88], 0xef
jne 0x472456
mov esi, dword [ebp + 0x70]
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0x34]
call fcn.0043d5a1
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x34]
call fcn.0043d4e9
cmp dword [ebp + 0x40], ebx
jne 0x47267e
test byte [ebp + 0x5c], 2
je 0x47265f
dec esi
dec esi
jmp 0x472656
add esi, 0xfffffffe
cmp word [esi], bx
je 0x47266d
cmp esi, edi
mov dword [ebp + 0x70], esi
ja 0x47264e
jmp 0x47266d
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [esi + eax*2 + 2]
mov dword [ebp + 0x70], eax
mov esi, dword [ebp + 0x34]
mov ax, word [ebp + 0x60]
cmp ax, word [esi]
je 0x4725ff
jmp 0x47253b
mov esi, dword [ebp + 0x34]
mov ax, word [ebp + 0x60]
mov word [esi], ax
mov dword [ebp + 0x40], ebx
jmp 0x47253b
cmp dword [ebp + 0x20], ebx
je 0x4726a4
push dword [ebp + 0x44]
push dword [ebp + 0x78]
push ecx
call fcn.0043f7f4
add esp, 0xc
lea ecx, [ebp + 0x34]
call fcn.00437960
lea ecx, [ebp + 0x14]
call fcn.00437960
lea ecx, [ebp + 4]
call fcn.00437960
mov esi, dword [ebp + 0x1c]
lea ecx, [ebp + 0x48]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
lea ecx, [ebp + 0x44]
call fcn.00437960
lea ecx, [ebp + 0x24]
call fcn.00437960
lea ecx, [ebp - 0x2c]
call fcn.00437960
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10