Function at 0x4133f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x52a540
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ebx, [esp + 0x1c]
call fcn.0045e390
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x413459
lea ecx, [eax - 1]
test ecx, ecx
jl 0x413651
cmp ecx, eax
jg 0x413651
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x413459
push 0x5c
mov edi, ebx
call fcn.004118c0
lea edi, [esp + 0x18]
call fcn.0045e680
mov byte [esp + 0x2c], 1
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x413496
lea ecx, [eax - 1]
test ecx, ecx
jl 0x413651
cmp ecx, eax
jg 0x413651
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x413496
push 0x5c
call fcn.004118c0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.celldict.dat
call fcn.004036c0
add esp, 8
mov byte [esp + 0x2c], 2
mov edx, dword [esp + 0x14]
mov esi, dword [0x5313c0]
push edx
call esi
test eax, eax
jne 0x413508
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004036c0
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.00401dd0
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413508
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x4135c4
mov edx, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edx
call dword [0x531334]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4135c4
push 0
push ebx
call dword [0x531330]
mov esi, eax
push esi
call fcn.005002a8
push esi
mov ebp, eax
push 0
push ebp
call fcn.00508d80
add esp, 0x10
xor edi, edi
test esi, esi
jbe 0x41358f
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
sub ecx, edi
push ecx
lea edx, [edi + ebp]
push edx
push ebx
mov dword [esp + 0x34], 0
call dword [0x531318]
test eax, eax
je 0x41358f
add edi, dword [esp + 0x20]
cmp edi, esi
jb 0x413564
push ebx
call dword [0x531378]
cmp edi, esi
jne 0x4135bb
mov eax, dword [esp + 0x34]
add eax, 0x164
xor ecx, ecx
mov dword [eax], ecx
push esi
mov dword [eax + 4], ecx
push ebp
mov dword [eax + 8], ecx
push eax
mov dword [eax + 0xc], ecx
call fcn.00456640
add esp, 0xc
push ebp
call fcn.00500319
add esp, 4
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 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 0x41360e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
push 0x80070057
call fcn.004026a0
int3