Function at 0x4143fd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x47099e
call fcn.00450afd
mov eax, dword [ebp + 0x41c]
mov ebx, dword [ebp + 0x42c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x420]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x428]
mov esi, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x414616
push dword [ebp + 0x424]
call fcn.0041463e
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
inc edi
push 0x110
mov dword [ebp - 0x18], edi
call fcn.0044f620
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x41448b
push eax
call fcn.00419f8f
jmp 0x41448d
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x2c]
mov dword [esi + 4], eax
mov dword [eax + 0x74], ecx
mov eax, dword [esi + 4]
mov dword [eax + 0x6c], edi
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.004019b7
mov eax, dword [esi + 4]
mov dword [ebp - 4], edi
lea edi, [eax + 0x78]
lea eax, [ebp - 0x10]
call fcn.004019fc
mov eax, edi
call fcn.0041c6f8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401464
push 0x280c
call fcn.0044f620
mov ebx, eax
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
xor edx, edx
mov dword [ebx], eax
mov dword [ebx + 0x2808], edx
mov eax, dword [esi + 0xc]
pop ecx
jmp 0x4144fa
mov eax, dword [ecx]
inc dword [ebp - 0x18]
lea ecx, [eax + 0x2808]
cmp dword [ecx], edx
jne 0x4144f5
mov ecx, dword [ebp + 0x424]
push dword [ebp - 0x20]
mov dword [eax + 0x2808], ebx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
inc dword [eax]
mov eax, dword [esi + 4]
mov dword [eax + 0x70], ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004019b7
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
lea edi, [ecx + 0x108]
call fcn.004019fc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp + 0x424]
push dword [ebp - 0x24]
mov dword [ebx + 0x2804], eax
mov edi, 0x800
lea eax, [ebx + 4]
push edi
push eax
call fcn.0044ffc6
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4145ac
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00450bc0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x414616
test eax, eax
je 0x414616
lea eax, [ebp]
push eax
jmp 0x4145af
push dword [ebp - 0x14]
lea eax, [ebx + 0x1004]
push edi
push eax
call fcn.0044ffc6
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4145dc
push dword [ebp - 0x1c]
add ebx, 0x2004
push 0x400
push ebx
call fcn.0044ffc6
add esp, 0xc
push dword [ebp + 0x430]
mov ecx, dword [ebp - 0x1c]
push dword [ebp + 0x424]
mov edi, dword [esi + 4]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.0041a459
push dword [ebp - 0x28]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x414616
mov eax, dword [ebp + 0x424]
jmp 0x414619
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0044eff8
add ebp, 0x414
leave
ret 0x18