Function at 0x43eaa5
Capabilities:
Check if file exists

Disassembly:
push 0x3e0
mov eax, 0x459178
call fcn.00453643
mov eax, dword [ebp + 8]
push dword [0x47e214]
mov dword [ebp - 0x3a4], eax
mov ebx, ecx
call fcn.0041368a
pop ecx
mov dword [ebp - 0x3a0], eax
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43eae1
mov ecx, dword [ebx]
jmp 0x43eae3
mov ecx, ebx
test ecx, ecx
je 0x43eaf4
cmp eax, 8
jb 0x43eaf0
mov eax, dword [ebx]
jmp 0x43eaf9
mov eax, ebx
jmp 0x43eaf9
mov eax, dword [0x47e8b8]
push eax
lea eax, [ebp - 0x270]
call fcn.004057bc
push 0xfde9
lea edx, [ebp - 0x270]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 1
call fcn.0044ddf8
pop ecx
mov esi, eax
mov byte [ebp - 4], 2
push dword [0x47e20c]
lea eax, [ebp - 0x2e0]
call fcn.00404e3b
mov byte [ebp - 4], 3
push dword [0x47e218]
push eax
lea eax, [ebp - 0x2c4]
call fcn.0040938f
mov byte [ebp - 4], 4
push dword [0x47e210]
push eax
lea eax, [ebp - 0x2a8]
call fcn.0040938f
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x43eb72
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x43eb7a
mov eax, dword [eax]
push esi
push dword [0x47e214]
push eax
push 0
call fcn.0043f6e8
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x2a8]
call fcn.00405351
push 1
lea esi, [ebp - 0x2c4]
call fcn.00405351
push 1
lea esi, [ebp - 0x2e0]
call fcn.00405351
push 1
lea esi, [ebp - 0x2fc]
call fcn.00405351
push 1
lea esi, [ebp - 0x270]
call fcn.00405695
mov dword [ebp - 0x394], 0x2a
mov dword [ebp - 0x38c], 0x3b
mov eax, dword [ebp - 0x394]
imul eax, eax, 0x1f
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0x38c]
imul eax, eax, 0x11
sub ecx, eax
mov eax, dword [ebp - 0x38c]
imul ecx, ecx, 5
sub ecx, eax
mov eax, dword [ebp - 0x38c]
sub ecx, eax
mov eax, dword [ebp - 0x38c]
sub ecx, eax
mov eax, dword [ebp - 0x394]
sub ecx, eax
mov eax, dword [ebp - 0x394]
sub ecx, eax
mov eax, dword [ebp - 0x394]
sub ecx, eax
mov eax, dword [ebp - 0x38c]
lea eax, [ecx + eax - 0x12]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
imul eax, ecx
mov ecx, dword [ebp - 0x38c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x394]
lea eax, [eax + ecx + 3]
mov dword [ebp - 0x38c], eax
xor eax, eax
push 0x206
mov byte [ebp - 4], 6
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00413610
mov dword [ebp - 0x390], 0x4e
mov dword [ebp - 0x38c], 0x20
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0x390]
sub eax, ecx
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0x38c]
imul eax, ecx
add esp, 0xc
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x38c]
sub eax, ecx
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0x390]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, 0xffffff60
sub ecx, eax
mov eax, dword [ebp - 0x390]
sub ecx, eax
mov eax, dword [ebp - 0x390]
sub ecx, eax
mov eax, dword [ebp - 0x38c]
sub ecx, eax
add ecx, dword [ebp - 0x38c]
add ecx, dword [ebp - 0x390]
mov dword [ebp - 0x390], ecx
mov eax, dword [ebp - 0x38c]
add eax, dword [ebp - 0x390]
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004417b6
lea eax, [ebp - 0x21c]
push eax
call fcn.0043f8d7
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
call fcn.004057bc
push edi
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0x238]
mov byte [ebp - 4], 7
call fcn.0040910d
mov eax, esi
push eax
lea esi, [ebp - 0x254]
call fcn.00409b7f
mov byte [ebp - 4], 8
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
jae 0x43ed95
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ee27
lea eax, [ebp - 0x350]
push eax
call fcn.0043de4e
pop ecx
mov esi, eax
mov byte [ebp - 4], 9
push dword [0x47e8bc]
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x238]
call fcn.004093c0
pop ecx
pop ecx
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x318]
mov byte [ebp - 4], 0xa
call fcn.0040942c
mov ebx, eax
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00405bd4
push 1
xor edi, edi
lea esi, [ebp - 0x318]
call fcn.00405695
push 1
lea esi, [ebp - 0x334]
call fcn.00405695
push 1
lea esi, [ebp - 0x350]
mov byte [ebp - 4], 8
call fcn.00405695
jmp 0x43ed80
mov dword [ebp - 0x39c], 0x3e
push 0x4d
pop eax
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x398], 0x5c
mov dword [ebp - 0x390], eax
push 0x1d
pop ebx
mov dword [ebp - 0x394], ebx
mov eax, dword [ebp - 0x390]
imul eax, eax, 7
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x398]
sub eax, ecx
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x398]
imul eax, ecx
mov ecx, dword [ebp - 0x398]
sub eax, ecx
mov ecx, dword [ebp - 0x39c]
sub eax, ecx
mov ecx, dword [ebp - 0x38c]
sub eax, ecx
sub eax, 0x62
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x38c]
add eax, 0x2b
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x38c]
sub ecx, eax
mov dword [ebp - 0x398], ecx
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0x390]
lea eax, [ecx + eax + 0x5b]
push 0xffffffffffffffff
mov dword [ebp - 0x39c], eax
push 0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x238]
call fcn.00405477
push 1
xor edi, edi
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00405695
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x43ef1c
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0044172d
test eax, eax
jne 0x43efe6
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x43ef41
lea eax, [ebp - 0x238]
test eax, eax
je 0x43ef5e
cmp dword [ebp - 0x224], 8
jb 0x43ef56
mov eax, dword [ebp - 0x238]
jmp 0x43ef63
lea eax, [ebp - 0x238]
jmp 0x43ef63
mov eax, dword [0x47e8b8]
push eax
lea eax, [ebp - 0x36c]
call fcn.004057bc
push 0x476e0c
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0xc
call fcn.00404e3b
push 0xfde9
lea edx, [ebp - 0x36c]
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0xd
call fcn.0044ddf8
pop ecx
mov edi, eax
push 2
lea eax, [ebp - 0x3d8]
lea esi, [ebp - 0x3ec]
mov byte [ebp - 4], 0xe
call fcn.00404e67
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [edi + 0x14], 0x10
jb 0x43efc5
mov edi, dword [edi]
call fcn.004419b3
push eax
push edi
push dword [0x47e214]
push dword [0x47e21c]
call fcn.004098d1
add esp, 0x10
push eax
call fcn.00404ee0
mov ecx, dword [ebp - 0x3a4]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x238]
call fcn.00405477
push 1
xor edi, edi
lea esi, [ebp - 0x238]
call fcn.00405695
mov dword [ebp - 0x38c], ebx
mov dword [ebp - 0x394], 0x1e
push 0x30
pop eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x398], 0x48
mov ecx, dword [ebp - 0x390]
mov edx, dword [ebp - 0x394]
cmp edx, ecx
jne 0x43f142
mov ecx, dword [ebp - 0x390]
add ecx, dword [ebp - 0x38c]
push 0xffffffffffffff90
mov dword [ebp - 0x38c], ecx
mov ecx, dword [ebp - 0x398]
mov edx, dword [ebp - 0x38c]
imul ecx, edx
mov edx, dword [ebp - 0x38c]
imul ecx, edx
mov edx, dword [ebp - 0x398]
shl edx, 4
add ecx, edx
add ecx, dword [ebp - 0x394]
pop edx
mov dword [ebp - 0x398], ecx
mov ecx, dword [ebp - 0x390]
imul ecx, ecx, 0x58
mov dword [ebp - 0x38c], ecx
mov ecx, dword [ebp - 0x38c]
imul ecx, ecx, 0x44
sub edx, ecx
mov ecx, dword [ebp - 0x398]
sub edx, ecx
mov ecx, dword [ebp - 0x398]
sub edx, ecx
add edx, dword [ebp - 0x398]
add edx, dword [ebp - 0x398]
add edx, dword [ebp - 0x38c]
add edx, dword [ebp - 0x38c]
mov dword [ebp - 0x394], edx
mov ecx, dword [ebp - 0x390]
mov edx, dword [ebp - 0x38c]
sub edx, ecx
mov dword [ebp - 0x398], edx
mov ecx, dword [ebp - 0x390]
add ecx, eax
mov dword [ebp - 0x38c], ecx
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0x38c]
imul eax, ecx
mov ecx, dword [ebp - 0x394]
sub eax, ecx
mov ecx, dword [ebp - 0x394]
sub eax, ecx
mov ecx, dword [ebp - 0x394]
sub eax, ecx
mov ecx, dword [ebp - 0x390]
sub eax, ecx
mov ecx, dword [ebp - 0x394]
sub eax, ecx
add eax, dword [ebp - 0x390]
add eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0x38c]
lea eax, [eax + ecx + 2]
mov dword [ebp - 0x394], eax
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x3a0]
call fcn.00404f00
call fcn.0045369f
ret 4