Function at 0x43c9dc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5653ac
call fcn.0052a208
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x818
mov ecx, dword [esi + 0xc]
add ecx, edi
call fcn.0043a0a0
mov ecx, dword [esi + 0xc]
add ecx, edi
call fcn.0043a075
xor ebx, ebx
cmp eax, ebx
je 0x43ce0b
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x820]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jle 0x43cabb
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x81c]
mov eax, dword [eax + ecx*4]
cmp eax, ebx
je 0x43caab
mov edi, 0x4000000
test dword [eax + 8], edi
jne 0x43caab
xor edx, edx
cmp dword [eax + 0xb4], ebx
jle 0x43ca7e
mov ecx, dword [eax + 0xb0]
mov ecx, dword [ecx + edx*4]
cmp ecx, ebx
je 0x43ca75
test dword [ecx + 0xa8], edi
jne 0x43ca75
inc dword [ebp - 0x1c]
mov dword [ecx + 0x84], ebx
mov dword [ecx + 0x88], ebx
inc edx
cmp edx, dword [eax + 0xb4]
jl 0x43ca51
cmp dword [eax + 0xb4], 1
jle 0x43caab
lea edi, [eax + 0xd0]
mov eax, dword [eax + 0xd0]
cmp dword [eax - 8], ebx
je 0x43caab
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43caab
push dword [edi]
call fcn.0041dc7c
pop ecx
mov ecx, dword [ebp - 0x10]
inc ecx
cmp ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jl 0x43ca2d
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0043ce1c
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x7f0]
cmp ecx, ebx
je 0x43cbaa
mov eax, dword [eax + 0x7f4]
test eax, eax
je 0x43cb9b
mov ecx, dword [ecx + 0xb4]
mov eax, dword [eax + 0xb4]
cmp ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
mov ebx, ecx
jl 0x43cb00
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x43cb45
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x7f0]
mov eax, dword [eax + 0xb0]
push dword [eax + edi*4]
push dword [ebp - 0x54]
call fcn.00546045
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x7f4]
mov eax, dword [eax + 0xb0]
push dword [eax + edi*4]
push dword [ebp - 0x54]
call fcn.00546045
inc edi
cmp edi, ebx
jl 0x43cb06
cmp ebx, dword [ebp - 0x18]
jge 0x43cb6f
mov edi, ebx
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x7f0]
mov eax, dword [eax + 0xb0]
push dword [eax + edi*4]
push dword [ebp - 0x54]
call fcn.00546045
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x43cb4c
cmp ebx, dword [ebp - 0x10]
jge 0x43cbaa
mov edi, ebx
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x7f4]
mov eax, dword [eax + 0xb0]
push dword [eax + edi*4]
push dword [ebp - 0x54]
call fcn.00546045
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x43cb76
jmp 0x43cbaa
add ecx, 0xac
push ecx
lea ecx, [ebp - 0x5c]
call fcn.005459a4
mov eax, dword [0x648108]
test eax, eax
mov dword [ebp - 0x20], eax
jg 0x43cbbc
push 1
pop eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x1c]
cmp eax, edi
jge 0x43cbc5
mov edi, eax
test edi, edi
jg 0x43cbcc
push 1
pop edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xbc]
test eax, eax
jg 0x43cbdd
push 1
pop eax
cdq
idiv edi
test eax, eax
mov dword [ebp - 0x30], eax
jg 0x43cbee
mov dword [ebp - 0x30], 1
mov eax, dword [0x648110]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [0x648118]
push 5
mov dword [ebp - 0x34], eax
call fcn.00428d99
mov eax, dword [esi + 8]
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x43cc1b
cmp dword [eax], ecx
jne 0x43cdf8
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
jle 0x43ccc4
mov eax, dword [esi + 8]
test eax, eax
je 0x43cc37
cmp dword [eax], 0
jne 0x43ccc4
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x81c]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x43ccb5
and dword [ebp - 0x18], 0
cmp dword [ebx + 0xb4], 0
jle 0x43ccb5
mov eax, dword [esi + 8]
test eax, eax
je 0x43cc63
cmp dword [eax], 0
jne 0x43ccb5
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x43cca7
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x43cca7
push 0
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43cca7
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x43cc9d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 0xd4], 0
inc dword [ebp - 0x24]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0xb4]
jl 0x43cc57
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jl 0x43cc27
mov edi, dword [esi + 8]
xor ebx, ebx
cmp edi, ebx
je 0x43ccd5
cmp dword [edi], ebx
jne 0x43cdf8
xor eax, eax
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], eax
jle 0x43cdf8
cmp edi, ebx
je 0x43ccfb
cmp dword [edi], ebx
jne 0x43cd7e
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x81c]
mov ecx, dword [ecx + eax*4]
cmp ecx, ebx
je 0x43cd6e
test byte [ecx + 0xb], 4
jne 0x43cd6e
xor edx, edx
cmp dword [ecx + 0xb4], ebx
jle 0x43cd6e
cmp edi, ebx
je 0x43cd23
cmp dword [edi], ebx
jne 0x43cd6e
mov eax, dword [ecx + 0xb0]
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x43cd65
test byte [eax + 0xab], 4
jne 0x43cd65
cmp dword [eax + 0x58], 0x64
jne 0x43cd45
cmp dword [eax + 0x60], 0x64
je 0x43cd65
inc dword [ebp - 0x28]
cmp dword [eax + 0xd4], 0
je 0x43cd54
inc dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
inc ebx
cmp dword [eax + 0x84], ebx
jge 0x43cd63
inc dword [ebp - 0x1c]
xor ebx, ebx
inc edx
cmp edx, dword [ecx + 0xb4]
jl 0x43cd1b
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jl 0x43ccef
cmp dword [ebp - 0x28], ebx
je 0x43cdf8
cmp edi, ebx
je 0x43cd8b
cmp dword [edi], ebx
jne 0x43cdf8
cmp dword [ebp - 0x18], ebx
jne 0x43cd95
cmp dword [ebp - 0x1c], ebx
je 0x43cdf8
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0xa
jne 0x43cddc
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jge 0x43cddc
cmp dword [ebp - 0x1c], ebx
jle 0x43cddc
mov eax, dword [ebp - 0x18]
lea edi, [eax + 1]
cmp edi, dword [ebp - 0x20]
jg 0x43cddc
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x43cdc1
cmp dword [eax], ebx
jne 0x43cddc
push dword [ebp - 0x34]
lea eax, [ebp - 0x5c]
mov ecx, esi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.0043cf13
test eax, eax
jne 0x43cddc
inc edi
jmp 0x43cdb1
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x43cde7
cmp dword [eax], ebx
jne 0x43cdf8
push eax
push 0x1f4
call fcn.00422423
pop ecx
jmp 0x43cc09
mov ecx, esi
call fcn.0043d0d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0043ce91
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret