Function at 0x4427a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e938c
mov eax, dword fs:[0]
push eax
sub esp, 0x834
push ebx
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x90], ebx
jne 0x443025
mov dword [edi + 0x90], 1
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x4427fd
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x442824
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x44289c
mov ecx, str.OQUZZZZZijpz__4_DPkqt_0_HSSS_ehpqwy
call fcn.0045f920
push eax
lea eax, [ebp - 0x18]
push 0x7e8b74
push eax
call fcn.00404720
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 1
push eax
call fcn.004047f0
add esp, 0x18
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov ebx, 3
push eax
mov dword [ebp - 0x20], ebx
call fcn.00405050
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x4428a0
mov byte [ebp - 0xd], 0
or ecx, 0xffffffff
mov dword [ebp - 4], 2
test bl, 2
je 0x4428d2
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffd
mov dword [ebp - 0x20], ebx
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4428d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 1
test bl, 1
je 0x4428fb
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffffe
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4428fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x442a65
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x442a4e
sub eax, 1
je 0x4429b3
sub eax, 1
jne 0x442a58
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00405050
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44295a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442a4e
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x4429a6
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x4429a6
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
je 0x4429a6
lea eax, [ebp - 0x14]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
jmp 0x442a58
mov ecx, dword [ebp - 0x1c]
call fcn.0044d460
jmp 0x442a58
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00405050
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4429ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442a4e
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x442a14
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442a14
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x442a33
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00443040
test eax, eax
jne 0x442a30
mov ecx, dword [ebp - 0x1c]
call fcn.0044d460
mov esi, dword [ebp - 0x14]
jmp 0x442a58
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
jmp 0x442a58
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
je 0x442fe1
mov eax, dword [edi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x442ace
mov ecx, str.BBHOOOOOPVY_adr___9_IN_eqt_..2AOOYfk
call fcn.0045f920
push eax
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404720
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x18]
or ebx, 4
push eax
mov dword [ebp - 0x20], ebx
call fcn.004047f0
add esp, 0x18
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1c]
or ebx, 8
push eax
mov dword [ebp - 0x20], ebx
call fcn.00405050
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x442ad2
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 6
test bl, 8
je 0x442aff
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffff7
mov dword [ebp - 0x20], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442aff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 4
je 0x442b29
mov edx, dword [ebp - 0x24]
and ebx, 0xfffffffb
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442b29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x442d0d
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x442c48
sub eax, 1
je 0x442bba
sub eax, 1
jne 0x442c52
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00405050
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442b84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442c48
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x442c52
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442c52
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jmp 0x442c2b
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00405050
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442bf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442c48
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x442c1b
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442c1b
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x442c2d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00443040
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x442c52
lea eax, [ebp - 0x14]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
jmp 0x442c52
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
jne 0x442d0d
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x442fe1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442fe1
mov ecx, str.GJQ_____cnwx_5:_CDMNW__bku_066_KS_ekk
call fcn.0045f920
push eax
lea eax, [ebp - 0x24]
push 0x7e8b74
push eax
call fcn.00404720
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004047f0
push 0
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.0044dde0
add esp, 0x1c
lea ecx, [ebp - 0x18]
call fcn.004025b0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004025b0
push ecx
push 0x7e8b88
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.0044cd40
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x442fd5
push 0x7e8b7c
lea ecx, [ebp - 0x840]
call fcn.0040c040
mov byte [ebp - 4], 0xd
jmp 0x442fab
mov eax, dword [0x7e8b78]
cmp dword [eax - 0xc], 0
je 0x442d73
mov ecx, str.LTUUUUUUdeeiimx__2559FRSfijtx_245_GPW_
call fcn.0045f920
push eax
lea eax, [ebp - 0x24]
push 0x7e8b78
push eax
call fcn.00404720
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x18]
or ebx, 0x10
push eax
mov dword [ebp - 0x20], ebx
call fcn.004047f0
add esp, 0x18
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x1c]
or ebx, 0x20
push eax
mov dword [ebp - 0x20], ebx
call fcn.00405050
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], 1
test eax, eax
jne 0x442d77
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xe
test bl, 0x20
je 0x442da4
mov edx, dword [ebp - 0x18]
and ebx, 0xffffffdf
mov dword [ebp - 0x20], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442da4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 0x10
je 0x442dcf
mov edx, dword [ebp - 0x24]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442dd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x442dd2
or ebx, 0xffffffff
cmp byte [ebp - 0xd], 0
je 0x442fe8
mov eax, dword [edi + 0x30]
sub eax, 0
je 0x442eef
sub eax, 1
je 0x442e62
sub eax, 1
jne 0x442ef9
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00405050
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442e2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442eef
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x442ef9
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442ef9
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jmp 0x442ed2
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0044edc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.00405050
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442e98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x442eef
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
jl 0x442ec2
push esi
push eax
call fcn.005ed2a5
add esp, 8
test eax, eax
je 0x442ec2
sub eax, dword [edi + 0x20]
sar eax, 1
cmp eax, 0xffffffff
jne 0x442ed4
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00443040
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x442ef9
lea eax, [ebp - 0x14]
mov dword [edi + 0x90], 2
lea ecx, [edi + 0xa0]
push eax
call fcn.00405050
jmp 0x442ef9
mov dword [edi + 0x90], 2
cmp dword [edi + 0x90], 2
jne 0x442fe8
mov eax, dword [0x7e8b74]
cmp dword [eax - 0xc], 0
je 0x442fe1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442fe1
mov ecx, str.LZ______cju017BIUcq_5DJMOQ_am_158
call fcn.0045f920
push eax
lea eax, [ebp - 0x24]
push 0x7e8b74
push eax
call fcn.00404720
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004047f0
push 0
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
call fcn.0044dde0
add esp, 0x1c
lea ecx, [ebp - 0x18]
call fcn.004025b0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004025b0
push ecx
push 0x7e8b88
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.0044cd40
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x442fd5
push 0x7e8b7c
lea ecx, [ebp - 0x840]
call fcn.0040c040
mov byte [ebp - 4], 0x15
push 0x7e8b84
lea ecx, [ebp - 0x34]
call fcn.00405050
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x840]
push dword [edi + 8]
call fcn.0040ca20
lea ecx, [ebp - 0x840]
call fcn.0040c190
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004025b0
mov ecx, edi
call fcn.00441c80
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443006
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x443025
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