Function at 0x443040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e94f3
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x7cf070]
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 - 0x844], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], ebx
mov dword [ebp - 0x854], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x443095
xor eax, eax
jmp 0x443895
mov eax, dword [edi + 0x24]
lea esi, [edi + 0x24]
mov dword [ebp - 0x850], esi
cmp dword [eax - 0xc], ebx
jne 0x443860
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x4430bf
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
mov dword [ebp - 4], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x4430e9
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x848], eax
push 0x7e8b7c
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 1
call fcn.00405050
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x830]
call fcn.0040c040
push 0x7e8b84
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00405050
push ecx
push 0
push dword [edi + 8]
lea esi, [edi + 8]
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x830]
call fcn.0040c780
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.00405050
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x840]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44317d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x44323b
lea ecx, [ebp - 0x834]
call fcn.00407040
push ecx
push 0x7e8b88
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x840]
call fcn.0044cfd0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x840]
cmp dword [eax - 0xc], 0
je 0x4431e3
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x834]
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x840]
jmp 0x443270
mov ecx, str.GGLUUUUUdprux18CEOequ__057FQYcmu:__KMVbdfp_1:ADHRYfgjpt14_HM
call fcn.0045f920
push eax
lea eax, [ebp - 0x84c]
push esi
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 5
call fcn.00405050
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x84c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44322f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x840]
jmp 0x443270
mov ecx, str.FUWXXXXXbdpt_8:AFKPTXbq_4BHSXY_akz13AGQX_mt_._:BBMZhiipp__03_
call fcn.0045f920
push eax
lea eax, [ebp - 0x84c]
push esi
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 6
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x84c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443287
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x834]
push eax
call fcn.00405050
mov eax, dword [0x7e8b78]
cmp dword [eax - 0xc], 0
je 0x44331e
mov ecx, str.BKKLLLLLVVert___2ACNSZfjtww_47DGIKLR_f
call fcn.0045f920
push eax
lea eax, [ebp - 0x83c]
push 0x7e8b78
push eax
call fcn.00404720
add esp, 0xc
push 0x7e8b80
push eax
lea eax, [ebp - 0x84c]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x840], 1
call fcn.004047f0
add esp, 0xc
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x848]
mov ebx, 3
push eax
mov dword [ebp - 0x840], ebx
call fcn.00405050
mov esi, dword [ebp - 0x848]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443324
mov byte [ebp - 0x835], 1
jmp 0x44332b
mov esi, dword [ebp - 0x848]
mov byte [ebp - 0x835], 0
mov dword [ebp - 4], 7
test bl, 2
je 0x44335d
mov edx, dword [ebp - 0x84c]
and ebx, 0xfffffffd
mov dword [ebp - 0x840], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44335d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 1
je 0x443389
mov edx, dword [ebp - 0x83c]
and ebx, 0xfffffffe
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443389
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x835], 0
je 0x44355f
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405050
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.0040ba60
mov eax, dword [ebp - 0x844]
push ecx
push 0
lea ecx, [ebp - 0x830]
push dword [eax + 8]
lea eax, [ebp - 0x83c]
push eax
call fcn.0040c780
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 9
call fcn.00405050
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x83c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4433fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x4434af
lea ecx, [ebp - 0x834]
call fcn.00407040
push ecx
push 0x7e8b88
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x840]
call fcn.0044cfd0
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x840]
cmp dword [eax - 0xc], 0
je 0x443464
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x834]
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x840]
jmp 0x4434ed
mov ecx, str.MRUcccccijpr__7_OVcq___1:HVelmxz49_IWeky18_N_ffpw003_IQW__kmnq9_HNW_gu_46_MSVcmx_225:IKKKU_kkkp
call fcn.0045f920
push eax
mov eax, dword [ebp - 0x844]
add eax, 8
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0xb
call fcn.00405050
lea ecx, [ebp - 0x83c]
call fcn.004025b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x840]
jmp 0x4434ed
mov ecx, str.LPTcccccrz.259::HJOZ_eiw___1_MT_fou9GRWfly_002KOY_ltwx__9_GTUdfs__.__ADES_ggn__:AJL__egl_03
call fcn.0045f920
push eax
mov eax, dword [ebp - 0x844]
add eax, 8
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0xc
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x83c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443504
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x834]
push eax
push ecx
mov ecx, str.CLPloqqw_6LZ_lr___6__KVbjy_15BK
call fcn.0045f920
add esp, 4
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.00406410
add esp, 0xc
mov ecx, dword [ebp - 0x850]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004071f0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x83c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44355f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x844]
mov eax, dword [eax + 0x8c]
cmp dword [eax - 0xc], 0
je 0x4435ed
mov ecx, str.ADIPPPPPUUZgpz_6LNV_chkt2_HW_ds__7CMU
call fcn.0045f920
push eax
mov eax, dword [ebp - 0x844]
add eax, 0x8c
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.00404720
add esp, 0xc
push 0x7e8b80
push eax
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 0xe
or ebx, 4
push eax
mov dword [ebp - 0x840], ebx
call fcn.004047f0
add esp, 0xc
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x848]
or ebx, 8
push eax
mov dword [ebp - 0x840], ebx
call fcn.00405050
mov esi, dword [ebp - 0x848]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x835], 1
test eax, eax
jne 0x4435f4
mov byte [ebp - 0x835], 0
mov dword [ebp - 4], 0xe
test bl, 8
je 0x443626
mov edx, dword [ebp - 0x83c]
and ebx, 0xfffffff7
mov dword [ebp - 0x840], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443626
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 4
je 0x44364f
mov edx, dword [ebp - 0x84c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44364f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x835], 0
je 0x443812
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405050
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.0040ba60
mov ebx, dword [ebp - 0x844]
lea eax, [ebp - 0x83c]
push ecx
add ebx, 8
lea ecx, [ebp - 0x830]
push 0
push dword [ebx]
push eax
call fcn.0040c780
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x10
call fcn.00405050
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x83c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4436c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x44376b
lea ecx, [ebp - 0x834]
call fcn.00407040
push ecx
push 0x7e8b88
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x844]
call fcn.0044cfd0
add esp, 8
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x844]
cmp dword [eax - 0xc], 0
je 0x443729
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x834]
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x844]
jmp 0x4437a0
mov ecx, str.GSSYYYYYdkp___0__DEQ_dlnvw__39:_BCOOSV_cjoottu_1:EPX_jmrx_002_CGGMQZiw1_DLYhsz__2_BOQ__ddhjjlrw19:_JN
call fcn.0045f920
push eax
lea eax, [ebp - 0x83c]
push ebx
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x12
call fcn.00405050
lea ecx, [ebp - 0x83c]
call fcn.004025b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x844]
jmp 0x4437a0
mov ecx, str.KNU_____cfs_044BM_js__59:_EQRSciklt_99GL_dhnv_KVdsz_6_BNU_htz_48_AJP_fs_557FSWfors.:GJQYg
call fcn.0045f920
push eax
lea eax, [ebp - 0x83c]
push ebx
push eax
call fcn.00404720
add esp, 0xc
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x13
call fcn.00405050
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x83c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4437b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x834]
push eax
push ecx
mov ecx, str.HRT_____gtwy7AFNSbnrx_.3AJT_jpxx____5_
call fcn.0045f920
add esp, 4
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.00406410
add esp, 0xc
mov ecx, dword [ebp - 0x850]
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004071f0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x83c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443812
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x830]
call fcn.0040c190
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443838
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x44385a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x850]
mov ecx, dword [ebp - 0x854]
mov ecx, dword [ecx]
test ecx, ecx
je 0x443884
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x443884
push ecx
push eax
call fcn.005ed2a5
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x443889
or ecx, 0xffffffff
jmp 0x44388d
sub ecx, dword [esi]
sar ecx, 1
xor eax, eax
cmp ecx, 0xffffffff
setne al
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.005e9199
mov esp, ebp
pop ebp
ret 4