Function at 0x45c2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f224
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x47c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.004056c0
mov dword [ebp - 4], 0
mov edx, 0x565e20
lea ecx, [ebp - 0x47c]
call fcn.0040eda0
mov edx, 0x565e20
lea ecx, [ebp - 0x47c]
call fcn.0040ee20
lea ecx, [ebp - 0x464]
call fcn.00404660
mov byte [ebp - 4], 1
push ecx
push 0x5c
lea ecx, [ebp - 0x47c]
call fcn.0040dca0
cmp eax, 0xffffffff
jne 0x45c3a7
push ecx
push 0x2f
lea ecx, [ebp - 0x47c]
call fcn.0040dca0
cmp eax, 0xffffffff
jne 0x45c3a7
lea ecx, [ebp - 0x464]
call fcn.0040a5a0
push 0x412
lea eax, [ebp - 0x42c]
push 0
push eax
call fcn.0050c400
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x45c3db
cmp eax, 0x208
jae 0x45c3db
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.00404920
add esp, 4
lea ecx, [ebp - 0x464]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00404720
jmp 0x45c3db
push eax
push 0
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0040da70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
push eax
call fcn.004058e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call fcn.00404600
lea ecx, [ebp - 0x464]
call fcn.004045b0
test al, al
jne 0x45c775
mov ecx, esi
call fcn.004045b0
test al, al
jne 0x45c775
mov ecx, ebx
call fcn.004045b0
test al, al
jne 0x45c775
push esi
lea ecx, [ebp - 0x4c4]
call fcn.004056c0
mov byte [ebp - 4], 3
mov edx, 0x565e20
lea ecx, [ebp - 0x4c4]
call fcn.0040eda0
mov edx, 0x565e20
lea ecx, [ebp - 0x4c4]
call fcn.0040ee20
mov edx, 0x10
lea ecx, [ebp - 0x464]
call fcn.00412110
push 4
mov dword [ebp - 0x434], 0
call fcn.00509b07
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 4
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 3
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x544]
call fcn.0041e9b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x434]
call fcn.0041ed90
mov edi, dword [ebp - 0x434]
test al, al
je 0x45c71e
nop word [eax + eax]
lea ecx, [ebp - 0x44c]
call fcn.00404660
mov byte [ebp - 4], 8
lea eax, [ebp - 0x51c]
push eax
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x560]
call fcn.0040aa90
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44c]
push eax
call fcn.004058e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x560]
call fcn.00404600
mov edx, 0x10
lea ecx, [ebp - 0x44c]
call fcn.00412110
push 4
mov dword [ebp - 0x430], 0
call fcn.00509b07
add esp, 4
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 0xa
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 8
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x504]
call fcn.0041e9b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4c4]
push eax
lea edx, [ebp - 0x44c]
lea ecx, [ebp - 0x494]
call fcn.0040aa90
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x430]
call fcn.0041ed90
test al, al
je 0x45c6e2
mov esi, dword [ebp - 0x430]
nop word [eax + eax]
lea eax, [ebp - 0x4dc]
push eax
lea edx, [ebp - 0x44c]
lea ecx, [ebp - 0x4ac]
call fcn.0040aa90
add esp, 4
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x4ac]
push ebx
push eax
call fcn.0045c190
test al, al
jne 0x45c693
lea eax, [ebp - 0x504]
mov ecx, esi
push eax
call fcn.0041eb00
test al, al
je 0x45c607
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4ac]
call fcn.00404600
jmp 0x45c5b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4ac]
call fcn.00404600
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x494]
call fcn.00404600
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4dc]
call fcn.00404600
mov byte [ebp - 4], 8
test esi, esi
je 0x45c65f
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x45c654
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x45c654
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.00509dd1
add esp, 8
lea eax, [ebp - 0x544]
mov dword [ebp - 0x430], 0
push eax
mov ecx, edi
call fcn.0041eb00
test al, al
je 0x45c70f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.00404600
jmp 0x45c4c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4ac]
call fcn.00404600
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x494]
call fcn.00404600
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4dc]
call fcn.00404600
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x430]
call fcn.0041ed50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.00404600
mov bl, 1
jmp 0x45c720
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x494]
call fcn.00404600
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4dc]
call fcn.00404600
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x430]
call fcn.0041ed50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.00404600
xor bl, bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x51c]
call fcn.00404600
mov byte [ebp - 4], 3
test edi, edi
je 0x45c75a
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x45c74f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x45c74f
mov dword [edi], 0xffffffff
push 4
push edi
call fcn.00509dd1
add esp, 8
mov dword [ebp - 0x434], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.00404600
jmp 0x45c777
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x464]
call fcn.00404600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.00404600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 0xc