Function at 0x485a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0ce9
mov eax, dword fs:[0]
push eax
mov eax, 0x10d8
call fcn.0048d860
mov eax, dword [0x4f3168]
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 dword [ebp - 0x10a8], ecx
mov esi, dword [ebp + 8]
push esi
call dword [0x4b42d0]
test eax, eax
je 0x4863c2
xor ebx, ebx
mov dword [ebp - 0x10cc], ebx
mov dword [ebp - 0x10c8], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
mov dword [ebp - 4], ebx
call dword [0x4b42a8]
cmp eax, 0xffffffff
jne 0x485ab6
call fcn.004023e0
test eax, eax
jne 0x4863c2
jmp 0x485abe
mov ebx, eax
mov dword [ebp - 0x10cc], ebx
mov edi, dword [0x4b4240]
push 0
lea eax, [ebp - 0x10a0]
push eax
push 0x40
lea eax, [ebp - 0x1098]
push eax
push ebx
mov dword [ebp - 0x10a0], 0
call edi
test eax, eax
jne 0x485aec
call fcn.004023e0
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
mov dword [ebp - 0x10bc], 0x40
call fcn.0048d890
mov eax, dword [ebp - 0x10a8]
add esp, 0xc
cmp byte [eax + 0x2c], 0
jne 0x4863b7
lea esp, [esp]
push 0
lea eax, [ebp - 0x10a0]
push eax
push 0x22
lea eax, [ebp - 0x1010]
push eax
push ebx
mov dword [ebp - 0x10a0], 0
call edi
test eax, eax
jne 0x485b4c
call fcn.004023e0
test eax, eax
jmp 0x485b53
cmp dword [ebp - 0x10a0], 0x22
jne 0x4863b7
mov esi, dword [ebp - 0x1010]
push 0
lea eax, [ebp - 0x10a0]
push eax
add esi, 0xffffffde
push esi
lea eax, [ebp - 0xfee]
push eax
push ebx
mov dword [ebp - 0x10a0], 0
call edi
test eax, eax
jne 0x485b8d
call fcn.004023e0
test eax, eax
jmp 0x485b93
cmp dword [ebp - 0x10a0], esi
jne 0x486391
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10a0], esi
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 1
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10ac], edi
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 2
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10b8], ebx
movzx edx, word [ebp - 0x1004]
shr edx, 1
mov byte [ebp - 4], 3
js 0x4863e5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x485c19
push edx
lea ecx, [ebp - 0x10a0]
call fcn.00403f10
mov esi, dword [ebp - 0x10a0]
movzx eax, word [ebp - 0x1004]
push eax
lea eax, [ebp - 0xfee]
push eax
push esi
call fcn.0048cf60
movzx eax, word [ebp - 0x1004]
shr eax, 1
add esp, 0xc
cmp eax, 0xffffffff
jne 0x485c4b
push dword [esi - 8]
push esi
call fcn.0048c574
add esp, 8
test eax, eax
js 0x4863e5
cmp eax, dword [esi - 8]
jg 0x4863e5
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov si, word [ebp - 0x1002]
movzx eax, word [ebp - 0x1004]
movzx edx, si
shr edx, 1
mov dword [ebp - 0x109c], eax
js 0x4863e5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x485cae
push edx
lea ecx, [ebp - 0x10ac]
call fcn.00403f10
mov si, word [ebp - 0x1002]
mov edi, dword [ebp - 0x10ac]
movzx eax, si
mov esi, dword [ebp - 0x109c]
lea ecx, [ebp - 0xfee]
push eax
lea eax, [ecx + esi]
push eax
push edi
call fcn.0048cf60
movzx eax, word [ebp - 0x1002]
shr eax, 1
add esp, 0xc
cmp eax, 0xffffffff
jne 0x485ce5
push dword [edi - 8]
push edi
call fcn.0048c574
add esp, 8
test eax, eax
js 0x4863e5
cmp eax, dword [edi - 8]
jg 0x4863e5
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
movzx eax, word [ebp - 0x1002]
movzx edx, word [ebp - 0x1000]
add esi, eax
shr edx, 1
js 0x4863e5
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x485d3a
push edx
lea ecx, [ebp - 0x10b8]
call fcn.00403f10
mov ebx, dword [ebp - 0x10b8]
movzx eax, word [ebp - 0x1000]
push eax
lea eax, [ebp - 0xfee]
add eax, esi
push eax
push ebx
call fcn.0048cf60
movzx eax, word [ebp - 0x1000]
shr eax, 1
add esp, 0xc
cmp eax, 0xffffffff
jne 0x485d6e
push dword [ebx - 8]
push ebx
call fcn.0048c574
add esp, 8
test eax, eax
js 0x4863e5
cmp eax, dword [ebx - 8]
jg 0x4863e5
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
xor ebx, ebx
mov dword [ebp - method.ST_KEYWORD.virtual_0], 0x4cbc4c
mov dword [ebp - 0x1028], 0x4cbc58
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1024], eax
movq xmm0, qword [ebp - 0xffe]
movq qword [ebp - 0x1020], xmm0
movq xmm0, qword [ebp - 0xff6]
mov byte [ebp - 4], 4
movq qword [ebp - 0x1018], xmm0
jmp 0x485de0
cmp dword [edi - 0xc], 0
jle 0x485eed
push 0x2c
push edi
call fcn.0048f278
mov esi, eax
add esp, 8
test esi, esi
je 0x485eed
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
je 0x485ef0
mov eax, esi
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0x10ac]
call fcn.00403df0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0044f5e0
mov ecx, eax
call fcn.0044f530
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1024]
lea eax, [edx - 0x10]
mov dword [ebp - 0x109c], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov dword [ebp - 0x10a4], ecx
cmp eax, ecx
je 0x485ec1
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10b0], eax
jl 0x485eb2
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x485eb2
push dword [ebp - 0x109c]
call fcn.00402420
mov edx, dword [ebp - 0x10b0]
add esp, 4
mov dword [ebp - 0x109c], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485ea7
mov eax, dword [ebp - 0x10a4]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x109c]
add eax, 0x10
mov dword [ebp - 0x1024], eax
jmp 0x485ec1
push dword [edx - 0xc]
lea ecx, [ebp - 0x1024]
push edx
call fcn.004040d0
mov edx, dword [ebp - 0x10d8]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485ee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ebx, [esi + 1]
jmp 0x485fc4
or esi, 0xffffffff
push ebx
lea eax, [ebp - 0x10e4]
push eax
lea ecx, [ebp - 0x10ac]
call fcn.00405280
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0044f5e0
mov ecx, eax
call fcn.0044f530
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1024]
lea eax, [edx - 0x10]
mov dword [ebp - 0x10a4], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov dword [ebp - 0x109c], ecx
cmp eax, ecx
je 0x485fa0
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10b0], eax
jl 0x485f91
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x485f91
push dword [ebp - 0x10a4]
call fcn.00402420
mov edx, dword [ebp - 0x10b0]
add esp, 4
mov dword [ebp - 0x10a4], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485f86
mov eax, dword [ebp - 0x109c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10a4]
add eax, 0x10
mov dword [ebp - 0x1024], eax
jmp 0x485fa0
push dword [edx - 0xc]
lea ecx, [ebp - 0x1024]
push edx
call fcn.004040d0
mov edx, dword [ebp - 0x10e4]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485fc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10a8]
push 0xffffffffffffffff
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10c4], eax
mov byte [ebp - 0x10c0], 0
call dword [0x4b41c0]
test eax, eax
je 0x485fed
cmp eax, 0x80
jne 0x485ff4
mov byte [ebp - 0x10c0], 1
mov eax, dword [ebp - 0x10a8]
mov byte [ebp - 4], 7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x486018
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x102c]
push eax
call fcn.0047b700
cmp byte [ebp - 0x10c0], 0
mov byte [ebp - 4], 4
je 0x486038
push dword [ebp - 0x10c4]
call dword [0x4b41c4]
mov byte [ebp - 0x10c0], 0
mov dword [ebp - 0x10c4], 0
cmp esi, 0xffffffff
jne 0x485de0
mov ebx, dword [ebp - 0x10b8]
lea ecx, [ebp - 0x1058]
call fcn.0047a850
mov eax, dword [0x4f2efc]
mov ecx, 0x4f2efc
mov byte [ebp - 4], 8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x109c], eax
mov byte [ebp - 4], 9
xor esi, esi
lea esp, [esp]
movzx eax, byte [ebp + esi - 0xffe]
push eax
lea eax, [ebp - 0x109c]
push 0x4cb820
push eax
call fcn.00419050
inc esi
add esp, 0xc
cmp esi, 0x10
jb 0x486080
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x109c]
push eax
call fcn.0047eb10
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
je 0x4860e6
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x109c]
push eax
lea ecx, [ebp - 0x10b1]
call fcn.00416120
test al, al
jne 0x4860e3
mov dword [ebp - 0x10e0], esi
lea eax, [ebp - 0x10e0]
jmp 0x4860f4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10dc], eax
lea eax, [ebp - 0x10dc]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ecx]
mov cl, byte [ebp - 0x100c]
je 0x48610a
mov eax, 1
jmp 0x486111
mov al, cl
and al, 1
movzx eax, al
movq xmm0, qword [ebp - 0xffe]
mov esi, dword [ebp - 0x1034]
shr cl, 1
and cl, 1
mov word [ebp - 0x1050], ax
movzx eax, cl
mov word [ebp - 0x104e], ax
mov eax, dword [ebp - 0x1008]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x104c], eax
mov eax, dword [ebp - 0x10bc]
movq qword [ebp - 0x1044], xmm0
movq xmm0, qword [ebp - 0xff6]
add esi, 0xfffffff0
mov dword [ebp - 0x1048], eax
movq qword [ebp - 0x103c], xmm0
mov dword [ebp - 0x10a4], ecx
cmp ecx, esi
je 0x4861bd
cmp dword [esi + 0xc], 0
jl 0x4861ae
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4861ae
push ecx
call fcn.00402420
add esp, 4
mov edi, eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4861a3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x1034], eax
jmp 0x4861bd
push dword [edi - 0xc]
lea ecx, [ebp - 0x1034]
push edi
call fcn.004040d0
mov esi, dword [ebp - 0x1030]
lea edi, [ebx - 0x10]
add esi, 0xfffffff0
cmp edi, esi
je 0x486215
cmp dword [esi + 0xc], 0
jl 0x486206
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x486206
push edi
call fcn.00402420
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4861fb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1030], eax
jmp 0x486215
push dword [ebx - 0xc]
lea ecx, [ebp - 0x1030]
push ebx
call fcn.004040d0
mov eax, dword [ebp - 0x10a8]
push 0xffffffffffffffff
mov esi, dword [eax]
xor bl, bl
push esi
mov dword [ebp - 0x10d4], esi
mov byte [ebp - 0x10d0], bl
call dword [0x4b41c0]
test eax, eax
je 0x48623f
cmp eax, 0x80
jne 0x486247
mov bl, 1
mov byte [ebp - 0x10d0], bl
mov eax, dword [ebp - 0x10a8]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x48626b
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.0047b700
test bl, bl
je 0x48627d
push esi
call dword [0x4b41c4]
mov byte [ebp - 0x10d0], 0
mov esi, dword [ebp - 0x10bc]
mov edx, dword [ebp - 0x109c]
add esi, dword [ebp - 0x1010]
add edx, 0xfffffff0
mov dword [ebp - 0x10d4], 0
mov dword [ebp - 0x10bc], esi
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4862bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1030]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4862e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1034]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486301
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1024]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486325
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486340
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10a4]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486361
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10a0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [0x4b4240]
mov ebx, dword [ebp - 0x10cc]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0048d890
mov eax, dword [ebp - 0x10a8]
add esp, 0xc
cmp byte [eax + 0x2c], 0
je 0x485b20
test ebx, ebx
je 0x4863c2
push ebx
call dword [0x4b42a4]
mov eax, 1
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.0048caf4
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00402400
int3