Function at 0x43a040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61f3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x68d9ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x40c]
test ecx, ecx
je 0x43a965
cmp dword [ebp + 8], 0
jne 0x43a3c2
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
cmp byte [0x69c3c5], 0
jne 0x43a18d
lea eax, [ebp - 0x1c]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410c00
cmp dword [ebx + 0x384], 0
mov dword [ebp - 4], 0
je 0x43a0d6
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x43a0d6
push eax
call esi
test eax, eax
je 0x43a0d6
push dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x384]
call fcn.0048cdd0
lea eax, [ebp - 0x20]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00411300
mov ecx, dword [ebx + 0x388]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x43a103
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43a103
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x18]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410f80
mov ecx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43a133
cmp dword [eax - 0xc], 0
je 0x43a133
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a14e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a16c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a18d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x69c3c6], 0
jne 0x43a28f
lea eax, [ebp - 0x18]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410ce0
cmp dword [ebx + 0x394], 0
mov dword [ebp - 4], 3
je 0x43a1d8
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43a1d8
push eax
call esi
test eax, eax
je 0x43a1d8
push dword [ebp - 0x18]
mov ecx, dword [ebx + 0x394]
call fcn.0048cdd0
lea eax, [ebp - 0x20]
push eax
call fcn.00423940
mov ecx, eax
call fcn.004113e0
mov ecx, dword [ebx + 0x398]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x43a205
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43a205
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00411060
mov ecx, dword [ebx + 0x39c]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x43a235
cmp dword [eax - 0xc], 0
je 0x43a235
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x1c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 4
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a250
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a26e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a28f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x69c3c7], 0
jne 0x43a391
lea eax, [ebp - 0x18]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410b20
cmp dword [ebx + 0x3a4], 0
mov dword [ebp - 4], 6
je 0x43a2da
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43a2da
push eax
call esi
test eax, eax
je 0x43a2da
push dword [ebp - 0x18]
mov ecx, dword [ebx + 0x3a4]
call fcn.0048cdd0
lea eax, [ebp - 0x20]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00411220
mov ecx, dword [ebx + 0x3a8]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x43a307
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43a307
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410ea0
mov ecx, dword [ebx + 0x3ac]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x43a337
cmp dword [eax - 0xc], 0
je 0x43a337
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x1c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 7
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a352
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a370
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a391
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00423940
mov ecx, eax
call fcn.0040ffb0
mov ecx, dword [ebx + 0x380]
mov dword [ebp - 4], 9
test ecx, ecx
je 0x43a3ba
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x24]
jmp 0x43a949
lea eax, [ebp - 0x20]
push eax
call fcn.0045bd60
push dword [ebp - 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], 0xa
call esi
or edi, 0xffffffff
test eax, eax
je 0x43a44d
push ecx
mov esi, esp
mov byte [0x69c3c5], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
push eax
call fcn.00407060
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push dword [ebx + 0x384]
push eax
call fcn.0043a980
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00423940
mov ecx, eax
call fcn.00413380
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a447
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x18]
push eax
call fcn.0045c470
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045c3f0
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00423940
mov ecx, eax
call fcn.00413480
push dword [ebp - 0x1c]
call fcn.00423940
mov ecx, eax
call fcn.00413400
mov ecx, dword [ebx + 0x388]
test ecx, ecx
je 0x43a4a3
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x38c]
test ecx, ecx
je 0x43a4b5
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a4d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a4f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a512
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x18]
push eax
call fcn.0045bfb0
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xe
call esi
test eax, eax
je 0x43a59a
push ecx
mov esi, esp
mov byte [0x69c3c6], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00407060
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push dword [ebx + 0x394]
push eax
call fcn.0043a980
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00423940
mov ecx, eax
call fcn.004133a0
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a594
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045c490
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x10
call fcn.0045c410
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00423940
mov ecx, eax
call fcn.004134a0
push dword [ebp - 0x20]
call fcn.00423940
mov ecx, eax
call fcn.00413420
mov ecx, dword [ebx + 0x398]
test ecx, ecx
je 0x43a5f0
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x39c]
test ecx, ecx
je 0x43a602
mov eax, dword [ecx]
push dword [ebp - 0x20]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a620
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a63e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a65f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x18]
push eax
call fcn.0045bb10
push dword [ebp - 0x18]
mov dword [ebp - 4], 0x12
call esi
test eax, eax
je 0x43a6e1
push ecx
mov esi, esp
mov byte [0x69c3c7], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00407060
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push dword [ebx + 0x3a4]
push eax
call fcn.0043a980
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.00423940
mov ecx, eax
call fcn.00413360
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a6e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045c450
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x14
call fcn.0045c3d0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00423940
mov ecx, eax
call fcn.00413460
push dword [ebp - 0x20]
call fcn.00423940
mov ecx, eax
call fcn.004133e0
mov ecx, dword [ebx + 0x3a8]
test ecx, ecx
je 0x43a737
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x3ac]
test ecx, ecx
je 0x43a749
mov eax, dword [ecx]
push dword [ebp - 0x20]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a767
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a7a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00423940
mov ecx, eax
call fcn.004105c0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0x16
push eax
call fcn.00423940
mov ecx, eax
call fcn.0040ffb0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x17
push eax
call fcn.00423940
mov ecx, eax
call fcn.00410920
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x18
cmp dword [eax - 0xc], 0
je 0x43a804
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x43a804
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43a8f8
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x24]
push eax
call fcn.0045c390
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x19
call fcn.0041aa00
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a83e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x24]
push eax
call fcn.00440a10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1a
call fcn.0041aa00
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a878
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x28]
push eax
call fcn.004073d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
call fcn.0041aa00
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a8b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x43a8f8
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x43a8f8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x43a8f8
push ecx
call fcn.00423940
mov ecx, eax
call fcn.00412470
push dword [ebp + 8]
call fcn.00423940
mov ecx, eax
call fcn.004119a0
push dword [ebp - 0x10]
call fcn.00423940
mov ecx, eax
call fcn.004131c0
mov ecx, dword [ebx + 0x380]
test ecx, ecx
je 0x43a90a
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a928
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43a965
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4