Function at 0x469a40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a4b31
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0xec]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
test eax, eax
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x18], edi
je 0x469ab1
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, dword [esp + 0xe8]
ja 0x469d64
push esi
call dword [0x4a7350]
test eax, eax
je 0x469d69
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x469acb
xor eax, eax
jmp 0x469ad3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0xe8]
jae 0x469d64
lea ecx, [esp + 0x3c]
call fcn.0047ae70
lea ecx, [esp + 0x3c]
push ecx
mov eax, esi
mov dword [esp + 0xe0], 0
call fcn.0040e3a0
test al, al
je 0x469d34
lea ecx, [esp + 0x3c]
call fcn.0047a270
mov esi, eax
test esi, esi
je 0x469d2b
push 0x800
call fcn.0047e2d5
add esp, 4
push ebx
mov ecx, esi
mov ebp, eax
call fcn.0047a2a0
test eax, eax
je 0x469d1e
mov ecx, eax
call fcn.0047a270
test eax, eax
mov dword [esp + 0x14], eax
je 0x469d1e
mov ecx, dword [esp + 0x14]
mov eax, 0x4ba854
lea esi, [esp + 0x94]
call fcn.004699e0
mov byte [esp + 0xdc], 1
cmp dword [esp + 0xa8], 0
jbe 0x469cde
push 0x800
push 0
push ebp
call fcn.00485090
add esp, 0xc
cmp dword [esp + 0xac], 0x10
jb 0x469ba1
mov ebx, dword [esp + 0x98]
test ebx, ebx
jne 0x469ba8
xor ebp, ebp
jmp 0x469be9
lea ebx, [esp + 0x98]
mov edi, dword [0x4a72d0]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call edi
mov esi, eax
lea edx, [esi + 1]
cmp edx, 0x400
jg 0x469be9
lea eax, [esi + esi + 2]
push eax
push 0
push ebp
call fcn.00485090
add esp, 0xc
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00404920
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
lea ebx, [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], esi
call fcn.0046b7e0
lea esi, [esp + 0x2c]
mov edi, eax
call fcn.0046b850
lea ecx, [esp + 0x24]
mov bl, al
call fcn.00404eb0
test bl, bl
je 0x469cda
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00404920
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0xe4], 2
call fcn.0046b6d0
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 1
call fcn.00404eb0
mov ecx, dword [esp + 0x14]
mov eax, str.active
lea esi, [esp + 0xb0]
call fcn.004699e0
mov ecx, 0x4be488
mov edi, esi
mov byte [esp + 0xdc], 3
call fcn.0046c180
test al, al
je 0x469ca6
mov ecx, 0x4befea
call fcn.0046c180
test al, al
je 0x469cce
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00404920
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x1c]
mov byte [esp + 0xdc], 5
call fcn.00432410
mov ecx, ebx
call fcn.00404eb0
lea ecx, [esp + 0xb0]
call fcn.00403a20
mov edi, dword [esp + 0x18]
mov eax, edi
call fcn.00403ab0
cmp eax, dword [esp + 0xe8]
mov byte [esp + 0xdc], 0
lea ecx, [esp + 0x94]
jae 0x469d19
call fcn.00403a20
mov ecx, dword [esp + 0x14]
call fcn.0047a2e0
test eax, eax
mov dword [esp + 0x14], eax
jne 0x469b4d
jmp 0x469d1e
call fcn.00403a20
test ebp, ebp
je 0x469d2b
push ebp
call fcn.0047fac6
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.0047a140
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0x70]
cmp eax, 0x4dbc60
mov dword [esp + 0x3c], vtable.TiXmlDocument.0
je 0x469d5b
push eax
call fcn.0047fac6
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.0047a9a0
mov eax, 1
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0047f0e0
add esp, 0xcc
ret