Function at 0x43a770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623690
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x690a1c]
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 0x43b095
cmp dword [ebp + 8], 0
jne 0x43aaf2
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
cmp byte [0x69f755], 0
jne 0x43a8bd
lea eax, [ebp - 0x1c]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410cd0
cmp dword [ebx + 0x384], 0
mov dword [ebp - 4], 0
je 0x43a806
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x43a806
push eax
call esi
test eax, eax
je 0x43a806
push dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x384]
call fcn.0048d490
lea eax, [ebp - 0x20]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.004113d0
mov ecx, dword [ebx + 0x388]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x43a833
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43a833
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x18]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00411050
mov ecx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43a863
cmp dword [eax - 0xc], 0
je 0x43a863
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 0x43a87e
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 0x43a89c
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 0x43a8bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x69f756], 0
jne 0x43a9bf
lea eax, [ebp - 0x18]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410db0
cmp dword [ebx + 0x394], 0
mov dword [ebp - 4], 3
je 0x43a908
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43a908
push eax
call esi
test eax, eax
je 0x43a908
push dword [ebp - 0x18]
mov ecx, dword [ebx + 0x394]
call fcn.0048d490
lea eax, [ebp - 0x20]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.004114b0
mov ecx, dword [ebx + 0x398]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x43a935
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43a935
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00411130
mov ecx, dword [ebx + 0x39c]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x43a965
cmp dword [eax - 0xc], 0
je 0x43a965
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 0x43a980
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 0x43a99e
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 0x43a9bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x69f757], 0
jne 0x43aac1
lea eax, [ebp - 0x18]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410bf0
cmp dword [ebx + 0x3a4], 0
mov dword [ebp - 4], 6
je 0x43aa0a
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43aa0a
push eax
call esi
test eax, eax
je 0x43aa0a
push dword [ebp - 0x18]
mov ecx, dword [ebx + 0x3a4]
call fcn.0048d490
lea eax, [ebp - 0x20]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.004112f0
mov ecx, dword [ebx + 0x3a8]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x43aa37
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x43aa37
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410f70
mov ecx, dword [ebx + 0x3ac]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x43aa67
cmp dword [eax - 0xc], 0
je 0x43aa67
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 0x43aa82
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 0x43aaa0
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 0x43aac1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410080
mov ecx, dword [ebx + 0x380]
mov dword [ebp - 4], 9
test ecx, ecx
je 0x43aaea
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x24]
jmp 0x43b079
lea eax, [ebp - 0x20]
push eax
call fcn.0045c450
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 0x43ab7d
push ecx
mov esi, esp
mov byte [0x69f755], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
push eax
call fcn.00407150
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.0043b0b0
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00423a70
mov ecx, eax
call fcn.00413440
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 0x43ab77
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.0045cb60
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045cae0
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00423a70
mov ecx, eax
call fcn.00413540
push dword [ebp - 0x1c]
call fcn.00423a70
mov ecx, eax
call fcn.004134c0
mov ecx, dword [ebx + 0x388]
test ecx, ecx
je 0x43abd3
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x38c]
test ecx, ecx
je 0x43abe5
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 0x43ac03
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 0x43ac21
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 0x43ac42
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.0045c6a0
push dword [ebp - 0x18]
mov dword [ebp - 4], 0xe
call esi
test eax, eax
je 0x43acca
push ecx
mov esi, esp
mov byte [0x69f756], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00407150
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.0043b0b0
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00423a70
mov ecx, eax
call fcn.00413460
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 0x43acc4
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.0045cb80
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x10
call fcn.0045cb00
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00423a70
mov ecx, eax
call fcn.00413560
push dword [ebp - 0x20]
call fcn.00423a70
mov ecx, eax
call fcn.004134e0
mov ecx, dword [ebx + 0x398]
test ecx, ecx
je 0x43ad20
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x39c]
test ecx, ecx
je 0x43ad32
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 0x43ad50
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 0x43ad6e
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 0x43ad8f
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.0045c200
push dword [ebp - 0x18]
mov dword [ebp - 4], 0x12
call esi
test eax, eax
je 0x43ae11
push ecx
mov esi, esp
mov byte [0x69f757], 1
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00407150
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.0043b0b0
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.00423a70
mov ecx, eax
call fcn.00413420
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 0x43ae11
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.0045cb40
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x14
call fcn.0045cac0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00423a70
mov ecx, eax
call fcn.00413520
push dword [ebp - 0x20]
call fcn.00423a70
mov ecx, eax
call fcn.004134a0
mov ecx, dword [ebx + 0x3a8]
test ecx, ecx
je 0x43ae67
mov eax, dword [ecx]
push dword [ebp - 0x1c]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x3ac]
test ecx, ecx
je 0x43ae79
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 0x43ae97
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 0x43aeb5
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 0x43aed6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410690
lea eax, [ebp + 8]
mov dword [ebp - 4], 0x16
push eax
call fcn.00423a70
mov ecx, eax
call fcn.00410080
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x17
push eax
call fcn.00423a70
mov ecx, eax
call fcn.004109f0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x18
cmp dword [eax - 0xc], 0
je 0x43af34
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x43af34
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43b028
mov ecx, dword [ebx + 0x40c]
lea eax, [ebp - 0x24]
push eax
call fcn.0045ca80
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x19
call fcn.0041aac0
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 0x43af6e
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.00441140
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1a
call fcn.0041aac0
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 0x43afa8
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.004074c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
call fcn.0041aac0
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 0x43afe2
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 0x43b028
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x43b028
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x43b028
push ecx
call fcn.00423a70
mov ecx, eax
call fcn.00412540
push dword [ebp + 8]
call fcn.00423a70
mov ecx, eax
call fcn.00411a70
push dword [ebp - 0x10]
call fcn.00423a70
mov ecx, eax
call fcn.00413280
mov ecx, dword [ebx + 0x380]
test ecx, ecx
je 0x43b03a
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 0x43b058
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 0x43b076
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 0x43b095
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