Function at 0x49d820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x699622
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x748068]
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.00406ff0
mov dword [ebp - 4], 0
mov edx, 0x6ddb3c
lea ecx, [ebp - 0x47c]
call fcn.00430090
mov edx, 0x6ddb3c
lea ecx, [ebp - 0x47c]
call fcn.00430120
lea ecx, [ebp - 0x464]
call fcn.00405d80
mov byte [ebp - 4], 1
push ecx
push 0x5c
lea ecx, [ebp - 0x47c]
call fcn.00435770
cmp eax, 0xffffffff
jne 0x49d927
push ecx
push 0x2f
lea ecx, [ebp - 0x47c]
call fcn.00435770
cmp eax, 0xffffffff
jne 0x49d927
lea ecx, [ebp - 0x464]
call fcn.0041cd30
push 0x412
lea eax, [ebp - 0x42c]
push 0
push eax
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x49d95b
cmp eax, 0x208
jae 0x49d95b
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x464]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00405ec0
jmp 0x49d95b
push eax
push 0
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x47c]
call fcn.0040c900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
push eax
call fcn.00405cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call fcn.00405ce0
lea ecx, [ebp - 0x464]
call fcn.00405c90
test al, al
jne 0x49dcd5
mov ecx, esi
call fcn.00405c90
test al, al
jne 0x49dcd5
mov ecx, ebx
call fcn.00405c90
test al, al
jne 0x49dcd5
push esi
lea ecx, [ebp - 0x4c4]
call fcn.00406ff0
mov byte [ebp - 4], 3
mov edx, 0x6ddb3c
lea ecx, [ebp - 0x4c4]
call fcn.00430090
mov edx, 0x6ddb3c
lea ecx, [ebp - 0x4c4]
call fcn.00430120
mov edx, 0x10
lea ecx, [ebp - 0x464]
call fcn.004352c0
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x434], 0
call fcn.0044e0b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x544]
call fcn.0044d760
mov byte [ebp - 4], 5
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x434]
call fcn.0044e160
mov edi, dword [ebp - 0x434]
test al, al
je 0x49dc7e
nop dword [eax + eax]
lea ecx, [ebp - 0x44c]
call fcn.00405d80
mov byte [ebp - 4], 7
lea eax, [ebp - 0x51c]
push eax
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x560]
call fcn.00434fa0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44c]
push eax
call fcn.00405cf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x560]
call fcn.00405ce0
mov edx, 0x10
lea ecx, [ebp - 0x44c]
call fcn.004352c0
push 4
mov dword [ebp - 0x430], 0
call fcn.0064fb19
add esp, 4
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 9
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 7
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x504]
call fcn.0044d760
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4c4]
push eax
lea edx, [ebp - 0x44c]
lea ecx, [ebp - 0x494]
call fcn.00434fa0
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x430]
call fcn.0044e160
test al, al
je 0x49dc42
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.00434fa0
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4ac]
push ebx
push eax
call fcn.0049d710
test al, al
jne 0x49dbf3
lea eax, [ebp - 0x504]
mov ecx, esi
push eax
call fcn.0044ded0
test al, al
je 0x49db67
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4ac]
call fcn.00405ce0
jmp 0x49db10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4ac]
call fcn.00405ce0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x494]
call fcn.00405ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4dc]
call fcn.00405ce0
mov byte [ebp - 4], 7
test esi, esi
je 0x49dbbf
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x49dbb4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x49dbb4
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.0064fde3
add esp, 8
lea eax, [ebp - 0x544]
mov dword [ebp - 0x430], 0
push eax
mov ecx, edi
call fcn.0044ded0
test al, al
je 0x49dc6f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.00405ce0
jmp 0x49da20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4ac]
call fcn.00405ce0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x494]
call fcn.00405ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4dc]
call fcn.00405ce0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x430]
call fcn.0044e120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.00405ce0
mov bl, 1
jmp 0x49dc80
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x494]
call fcn.00405ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4dc]
call fcn.00405ce0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x430]
call fcn.0044e120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.00405ce0
xor bl, bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x51c]
call fcn.00405ce0
mov byte [ebp - 4], 3
test edi, edi
je 0x49dcba
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x49dcaf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x49dcaf
mov dword [edi], 0xffffffff
push 4
push edi
call fcn.0064fde3
add esp, 8
mov dword [ebp - 0x434], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.00405ce0
jmp 0x49dcd7
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x464]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.00405ce0
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.0064fb08
mov esp, ebp
pop ebp
ret 0xc