Function at 0x4b8610
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x52ed1d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call dword [0x53134c]
lea edi, [esp + 0x1c]
mov dword [esp + 0x88], esi
mov dword [esp + 0x28], esi
call fcn.0045e680
mov byte [esp + 0x88], 1
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
cmp eax, esi
jle 0x4b86ae
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x4b86f3
cmp ecx, eax
jg 0x4b86f3
movzx eax, word [edi + ecx*2]
cmp ax, 0x5c
je 0x4b86ae
push 0x5c
lea edi, [esp + 0x20]
call fcn.004118c0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x54fcc8
call fcn.004036c0
add esp, 8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x20]
mov esi, dword [0x5313c0]
push eax
call esi
test eax, eax
je 0x4b86fd
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004b79c0
mov dword [esp + 0x28], eax
jmp 0x4b8855
push 0x80070057
call fcn.004026a0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov ebx, str.user.dict
call fcn.004036c0
add esp, 8
mov byte [esp + 0x88], 3
mov ecx, dword [esp + 0x24]
push ecx
call esi
test eax, eax
je 0x4b8752
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov ebx, str..conv
call fcn.004036c0
mov eax, dword [eax]
add esp, 8
push eax
mov ebx, 1
call esi
test eax, eax
jne 0x4b8756
mov byte [esp + 0x1b], bl
jmp 0x4b875b
mov bl, byte [esp + 0x38]
mov byte [esp + 0x1b], 0
test bl, 1
je 0x4b8780
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x20]
je 0x4b879e
mov edx, dword [esp + 0x24]
push ebp
call fcn.004b7eb0
mov dword [esp + 0x28], eax
jmp 0x4b882d
xor esi, esi
push esi
push 0x80
push 4
push esi
push 3
push 0xc0000000
push ecx
call dword [0x531334]
cmp eax, 0xffffffff
jne 0x4b87c3
call fcn.0041da20
jmp 0x4b87c6
mov dword [ebp + 0x28], eax
push 0x3c
lea edx, [esp + 0x44]
push esi
push edx
call fcn.00508d80
mov ecx, dword [ebp + 0x28]
add esp, 0xc
push esi
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x4c], 0x51554432
mov word [esp + 0x50], 3
mov word [esp + 0x52], si
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [0x53130c]
cmp eax, 0xffffffff
jne 0x4b880d
call fcn.0041da20
mov ecx, dword [ebp + 0x28]
push esi
lea edx, [esp + 0x30]
push edx
push 0x40
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x531320]
cmp eax, esi
jne 0x4b882d
call fcn.0041da20
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8855
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov byte [eax + 0x18], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b886a
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov byte [esp + 0x88], 1
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 0x4b8892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b88b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [0x53134c]
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004ff939
add esp, 0x78
ret 8