Function at 0x442ee9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44efcd
mov eax, dword fs:[0]
push eax
mov eax, 0x143c
call fcn.0041c220
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1444], ebx
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x442f73
cmp word [edi], ax
je 0x442f73
push eax
push edi
call fcn.00426808
pop ecx
pop ecx
test eax, eax
jne 0x442f73
xor ebx, ebx
mov ecx, edi
call fcn.00407f4b
test al, al
je 0x442f6d
push edi
call fcn.00426c91
pop ecx
test eax, eax
je 0x442f6d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jl 0x442f43
mov ebx, dword [ebp - 0x1444]
xor edi, edi
test esi, esi
je 0x442fb7
cmp word [esi], di
je 0x442fb7
push edi
push esi
call fcn.00426808
pop ecx
pop ecx
test eax, eax
jne 0x442fb7
mov ecx, esi
call fcn.00407f4b
test al, al
je 0x442fb5
push esi
call fcn.00426c91
pop ecx
test eax, eax
je 0x442fb5
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x442f8b
xor edi, edi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x1428], edi
mov dword [ebp - 0x1418], edi
mov dword [ebp - 0x1414], ecx
mov word [ebp - 0x1428], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x1440], edi
mov dword [ebp - 0x1430], edi
mov dword [ebp - 0x142c], ecx
mov word [ebp - 0x1440], ax
lea eax, [ebp - 0x1440]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x1428]
mov ecx, esi
call fcn.00409633
mov dword [esp], 0x400
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.0041cea0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x1000
lea eax, [ebp - 0x1410]
push edi
push eax
call fcn.0041cea0
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0x800
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0x1418], 0
push 8
pop esi
je 0x4430ea
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1410]
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push ecx
push eax
call fcn.00421ee2
pop ecx
pop ecx
test eax, eax
je 0x4430ea
cmp dword [ebp - 0x1414], esi
lea ecx, [ebp - 0x1428]
cmovae ecx, dword [ebp - 0x1428]
call fcn.00407f72
test al, al
je 0x4430ea
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
push ecx
cmovae eax, dword [ebp - 0x1428]
push eax
call fcn.004073db
cmp byte [ebx + 0x48], 0
pop ecx
pop ecx
jne 0x4430ea
cmp dword [ebp - 0x1414], esi
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
push eax
call fcn.00426cb9
pop ecx
mov eax, dword [ebp - 0x142c]
cmp eax, esi
jb 0x44313e
mov ecx, dword [ebp - 0x1440]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1448], eax
mov dword [ebp - 0x1444], ecx
cmp eax, 0x1000
jb 0x443135
lea eax, [ebp - 0x1448]
push eax
lea eax, [ebp - 0x1444]
push eax
call fcn.0040247c
mov eax, dword [ebp - 0x1448]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1444]
push eax
push ecx
call fcn.0041b163
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1430], edi
mov word [ebp - 0x1440], ax
mov eax, dword [ebp - 0x1414]
mov dword [ebp - 0x142c], 7
cmp eax, esi
jb 0x4431ab
mov ecx, dword [ebp - 0x1428]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1444], eax
mov dword [ebp - 0x1448], ecx
cmp eax, 0x1000
jb 0x4431a2
lea eax, [ebp - 0x1444]
push eax
lea eax, [ebp - 0x1448]
push eax
call fcn.0040247c
mov eax, dword [ebp - 0x1444]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1448]
push eax
push ecx
call fcn.0041b163
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b155
leave
ret 8