Function at 0x4185e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ec48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, str.hssn:__i.ni.qo.ipg_eitj_bjz_rbsxgf_rukju40kbnnlyju30609tujuTQEwTX7dN5Auydj9Z0X3MT3SBVtm54J1yUans9_tjxdExzhmP3y46xhEuslcsfpug0
mov byte [ebp - 4], 1
call fcn.00409b90
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x14]
call fcn.00404190
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418682
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4186ae
mov eax, 0x104
lea ecx, [ebp - 0x18]
call fcn.00403ef0
mov ebx, dword [ebp - 0x18]
mov eax, 0x104
cmp dword [ebx - 8], eax
jge 0x4186c2
push 0x80070057
call fcn.00401560
push ebx
xor ecx, ecx
mov dword [ebx - 0xc], eax
push eax
mov word [ebx + 0x208], cx
call dword [0x4300d0]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0041b407
add esp, 8
cmp eax, edi
jl 0x4186b8
cmp eax, dword [ebx - 8]
jg 0x4186b8
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call fcn.0041bcc1
cdq
mov ecx, 0x3b14ef
idiv ecx
push edx
call dword [0x430104]
mov edx, eax
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
push edx
call fcn.0041bcc1
cdq
mov ecx, 0x181ab
idiv ecx
lea edi, [ebp - 0x10]
push edx
push str._x_x_x.tmp
call fcn.00404190
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
lea ebx, [ebp - 0x18]
call fcn.00403e30
mov edi, dword [ebp - 0x18]
push edi
call dword [0x43011c]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x418877
cmp word [ebx], 0
je 0x418877
test edi, edi
je 0x418877
cmp word [edi], 0
je 0x418877
push ebx
mov ecx, edi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x4187ee
push 0xfab
call fcn.00407370
add esp, 4
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 4
call dword [0x43011c]
lea edx, [ebp - 0x1c]
push edx
push 0
push edi
push ebx
push 0
call dword [0x43c2c0]
test eax, eax
jne 0x418863
push edi
call dword [0x430208]
test eax, eax
je 0x418863
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
push ecx
lea ebx, [edi - 0x10]
mov dword [ebp - 0x20], esp
mov eax, ebx
mov dword [ebp - 0x20], esp
call fcn.00403c60
mov ecx, esp
add eax, 0x10
push esi
mov dword [ecx], eax
call fcn.00418a00
test eax, eax
jne 0x4188f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418837
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418854
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x4188c4
push 0xfac
call fcn.00407370
add esp, 4
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41889a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4188ba
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4188dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x43011c]
mov ecx, dword [esi + 4]
cmp dword [ecx - 0xc], 0
je 0x41899f
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x41899f
push esi
call fcn.00417d00
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.00418480
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418963
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418854
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x4188c4