Function at 0x42e290
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a26de
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x280], 0
mov ebp, dword [esp + 0x28c]
cmp dword [ebp - 0xc], 0
je 0x42e6de
push ebp
call dword [0x4a7350]
test eax, eax
je 0x42e6de
push ebp
call dword [0x4a70f4]
test al, 0x10
je 0x42e64b
lea ecx, [esp + 0x28c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0042e1f0
add esp, 8
lea edi, [esp + 0x28c]
mov byte [esp + 0x280], 1
call fcn.00403b10
mov byte [esp + 0x280], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x4be87c
call fcn.004038a0
add esp, 8
mov byte [esp + 0x280], 2
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0x104
jl 0x42e3aa
lea ecx, [esp + 0x20]
call fcn.00404eb0
lea ecx, [esp + 0x28c]
call fcn.00404eb0
jmp 0x42e706
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [0x4a721c]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e632
lea ecx, [esp + 0x50]
mov eax, ecx
mov ebx, 0x4aa6a8
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e3d0
sub eax, edi
sar eax, 1
jne 0x42e3e3
xor ecx, ecx
mov eax, 0x4aa6a8
lea edi, [eax + 2]
jmp 0x42e3f0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e3f0
sub eax, edi
sar eax, 1
jne 0x42e403
xor ebx, ebx
test ecx, ecx
jne 0x42e40b
test ebx, ebx
jmp 0x42e43e
test ebx, ebx
je 0x42e444
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e437
test dx, dx
je 0x42e433
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e437
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e411
xor eax, eax
jmp 0x42e43c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e4e9
lea ecx, [esp + 0x50]
mov eax, ecx
mov ebx, 0x4be880
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e452
sub eax, edi
sar eax, 1
jne 0x42e465
xor ecx, ecx
mov eax, 0x4be880
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e470
sub eax, edi
sar eax, 1
jne 0x42e483
xor ebx, ebx
test ecx, ecx
jne 0x42e48b
test ebx, ebx
jmp 0x42e4be
test ebx, ebx
je 0x42e4c0
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e4b7
test dx, dx
je 0x42e4b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e4b7
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e491
xor eax, eax
jmp 0x42e4bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e4e9
push ecx
mov edx, esp
lea eax, [esp + 0x290]
mov dword [esp + 0x1c], esp
push eax
push edx
lea ebx, [esp + 0x5c]
call fcn.004038a0
mov ecx, dword [esp + 0x28]
add esp, 8
push ecx
call fcn.0042e290
add esp, 8
mov ebp, dword [0x4a70f8]
nop
lea edx, [esp + 0x24]
push edx
push esi
call ebp
test eax, eax
je 0x42e632
lea ecx, [esp + 0x50]
mov eax, ecx
mov ebx, 0x4aa6a8
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e510
sub eax, edi
sar eax, 1
jne 0x42e523
xor ecx, ecx
mov eax, 0x4aa6a8
lea edi, [eax + 2]
jmp 0x42e530
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e530
sub eax, edi
sar eax, 1
jne 0x42e543
xor ebx, ebx
test ecx, ecx
jne 0x42e54b
test ebx, ebx
jmp 0x42e57e
test ebx, ebx
je 0x42e584
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e577
test dx, dx
je 0x42e573
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e577
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e551
xor eax, eax
jmp 0x42e57c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e4f0
lea ecx, [esp + 0x50]
mov eax, ecx
mov ebx, 0x4be880
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e592
sub eax, edi
sar eax, 1
jne 0x42e5a5
xor ecx, ecx
mov eax, 0x4be880
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e5b0
sub eax, edi
sar eax, 1
jne 0x42e5c3
xor ebx, ebx
test ecx, ecx
jne 0x42e5cb
test ebx, ebx
jmp 0x42e5fe
test ebx, ebx
je 0x42e604
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e5f7
test dx, dx
je 0x42e5f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e5f7
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e5d1
xor eax, eax
jmp 0x42e5fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e4f0
push ecx
mov eax, esp
lea ecx, [esp + 0x290]
mov dword [esp + 0x1c], esp
push ecx
push eax
lea ebx, [esp + 0x5c]
call fcn.004038a0
mov edx, dword [esp + 0x28]
add esp, 8
push edx
call fcn.0042e290
add esp, 8
jmp 0x42e4f0
push esi
call dword [0x4a7214]
lea ecx, [esp + 0x20]
call fcn.00404eb0
mov ebp, dword [esp + 0x28c]
jmp 0x42e6af
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e650
sub eax, edx
sar eax, 1
mov edi, eax
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi]
push eax
push 0
push ebx
mov dword [esp + 0x24], ebx
call fcn.00485090
add esp, 0xc
lea ecx, [edi + edi]
push ecx
push ebp
push ebx
call fcn.00483140
mov esi, dword [esp + 0x28]
add esp, 0xc
lea ebx, [esp + 0x18]
call fcn.00430260
add ebp, 0xfffffff0
mov dword [esp + 0x280], 0xffffffff
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42e6d7
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, 1
jmp 0x42e708
add ebp, 0xfffffff0
mov dword [esp + 0x280], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e706
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
xor eax, eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x270
ret