Function at 0x43ce30
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9906
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x7ca418]
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 edi, ecx
mov dword [ebp - 0x474], edi
mov eax, dword [0x7e3d4c]
test eax, eax
jne 0x43cea4
push 0xac
call fcn.00458642
add esp, 4
mov dword [ebp - 0x470], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x43ce96
mov ecx, eax
call fcn.00430950
jmp 0x43ce98
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x7e3d4c], eax
push str.5312d
push 0
mov ecx, eax
call int.00432470
xor esi, esi
lea ebx, [edi + 0x68]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x46c], esi
jb 0x43cec7
mov eax, dword [ebx]
jmp 0x43cec9
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d22e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ea000
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004ea000
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x3e8
push 0
call fcn.00468aa7
push 0x3e8
push 0
mov esi, eax
call fcn.00468aa7
push eax
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._s_drd_d_
push eax
call fcn.00435fe0
xor eax, eax
mov dword [ebp - 0x424], 7
add esp, 0x24
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x43cf74
xor ecx, ecx
jmp 0x43cf8f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cf80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00420aa0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00472075
add esp, 4
cmp dword [ebx + 0x14], 8
jb 0x43cfd0
mov eax, dword [ebx]
jmp 0x43cfd2
mov eax, ebx
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0045d2d5
add esp, 8
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x438]
call fcn.00422840
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
cmp dword [ebx + 0x14], 8
jb 0x43d01a
mov eax, dword [ebx]
jmp 0x43d01c
mov eax, ebx
push ecx
push eax
call fcn.004700a8
add esp, 8
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d10a
xor eax, eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
push str.c88257c112fa
push dword [edi + 0x24]
mov byte [ebp - 4], 3
call fcn.0043d770
add esp, 8
test eax, eax
je 0x43d08a
push eax
lea ecx, [ebp - 0x450]
call fcn.00420a50
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
lea eax, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x450]
cmp dword [ebp - 0x424], 8
push ecx
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004734ce
add esp, 8
mov esi, eax
mov dword [ebp - 0x46c], esi
push str.9c6a6
push 0
call fcn.00436790
mov ecx, eax
call int.00432470
test esi, esi
jne 0x43d0e8
mov ecx, edi
mov dword [edi + 0xcc], esi
call fcn.0043ea70
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x43d10a
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00420ba0
mov eax, dword [edi + 8]
xor edx, edx
mov esi, dword [edi + 4]
mov ecx, eax
sub ecx, esi
xor edi, edi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x470], ecx
test ecx, ecx
je 0x43d151
mov eax, ecx
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x43d149
mov eax, dword [ecx]
push 0
push 0
push 0x469
call dword [eax]
mov eax, dword [ebp - 0x470]
inc edi
add esi, 4
cmp edi, eax
jne 0x43d130
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
mov edi, dword [ebp - 0x474]
imul eax, dword [edi + 0xc8], 0x3e8
push eax
call esi
cmp dword [edi + 0x94], 8
lea eax, [edi + 0x80]
jb 0x43d182
mov eax, dword [eax]
push eax
call fcn.004701a5
add edi, 0x98
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x43d199
mov edi, dword [edi]
push edi
call fcn.004701a5
add esp, 4
cmp dword [ebx + 0x14], 8
jb 0x43d1aa
mov ebx, dword [ebx]
push ebx
call fcn.004701a5
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004701a5
mov eax, dword [ebp - 0x454]
add esp, 8
cmp eax, 8
jb 0x43d1eb
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00420ba0
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x458], 0
cmp eax, 8
jb 0x43d226
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00420ba0
mov eax, dword [ebp - 0x46c]
jmp 0x43d230
mov eax, esi
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.004584a2
mov esp, ebp
pop ebp
ret