Function at 0x416750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
mov dword [0x732144], 1
mov dword [0x74b1ec], 0
movzx eax, byte [esi + 1]
add eax, 0xfffffffd
cmp eax, 9
ja case.0x416789.5
movzx eax, byte [eax + 0x416a48]
jmp dword [eax*4 + 0x416a34]
movzx ecx, word [esi + 0x10]
push 0
push ecx
mov ecx, 0x74b200
call fcn.00415e00
movzx edx, word [esi + 0x10]
mov eax, dword [0x74b204]
push edx
add esi, 0x12
push esi
push eax
call fcn.0062f860
add esp, 0xc
mov al, 1
pop esi
add esp, 0x208
ret
mov ecx, dword [0x74c4f0]
push esi
call fcn.00425a00
mov al, 1
pop esi
add esp, 0x208
ret
cmp byte [esi + 0x10], 0x15
jb 0x4167e2
mov byte [esi + 0x10], 0
movzx eax, byte [esi + 0x10]
lea ecx, [eax - 1]
cmp ecx, 0x13
ja case.0x4167f9.2
movzx ecx, byte [ecx + 0x416a74]
jmp dword [ecx*4 + 0x416a54]
mov ecx, 0x74cdb0
call fcn.00462bd0
movzx edx, byte [esi + 0x10]
mov eax, dword [edx*4 + 0x724bf8]
push 1
push 0x6d1f1c
push 0
push 0
push eax
call fcn.0046a850
add esp, 0x14
mov al, 1
pop esi
add esp, 0x208
ret
mov ecx, 0x74cdb0
call fcn.00462bd0
movzx ecx, byte [esi + 0x10]
mov edx, dword [ecx*4 + 0x724bf8]
push 1
push 0x6d1f1c
push 0
push 0
push edx
call fcn.0046a850
add esp, 0x14
mov al, 1
pop esi
add esp, 0x208
ret
push 0
call fcn.0045ff90
add esp, 4
mov al, 1
pop esi
add esp, 0x208
ret
mov ecx, dword [eax*4 + 0x724bf8]
push 1
push 0x6d1f1c
push 0
push 0
push ecx
call fcn.0046a850
add esp, 0x14
call fcn.0045c2e0
mov ecx, dword [eax + 0x148]
test ecx, ecx
je 0x4168b6
push 1
call fcn.0045c2e0
mov ecx, dword [eax + 0x148]
call fcn.005e8980
call fcn.0045c2e0
mov ecx, dword [eax + 0x144]
test ecx, ecx
je 0x41698c
push 1
call fcn.0045c2e0
mov ecx, dword [eax + 0x144]
call fcn.005e8980
mov al, 1
pop esi
add esp, 0x208
ret
mov edx, dword [eax*4 + 0x724bf8]
push 1
push 0x6d1f1c
push 0
push 0
push edx
call fcn.0046a850
add esp, 0x14
mov al, 1
pop esi
add esp, 0x208
ret
mov eax, dword [eax*4 + 0x724bf8]
push 1
push 0x6d1f1c
push 0
push 0
push eax
call fcn.0046a850
add esp, 0x14
mov al, 1
pop esi
add esp, 0x208
ret
mov ecx, dword [0x72c634]
mov edx, dword [eax*4 + 0x724bf8]
push 1
push ecx
push 0
push 0x23
push edx
mov ecx, 0x74cdb0
call fcn.0046a500
mov al, 1
pop esi
add esp, 0x208
ret
mov eax, dword [eax*4 + 0x724bf8]
mov dword [0x74b1ec], eax
call fcn.0041d590
cmp dword [eax], 1
je 0x416982
movzx ecx, byte [esi + 0x10]
mov edx, dword [ecx*4 + 0x724bf8]
push edx
call fcn.0040f3d0
add esp, 4
mov ecx, 0x74cdb0
call fcn.00462bd0
mov al, 1
pop esi
add esp, 0x208
ret
push str..xml
mov ecx, 0x74b228
call fcn.0051e940
push eax
lea eax, [esp + 0xc]
push str.datauserdb_d_s
push eax
call fcn.0062f64e
add esp, 0x10
push str..xml
mov ecx, 0x74b228
call fcn.0051e940
push eax
lea ecx, [esp + 0x110]
push str.userdb_d_s
push ecx
call fcn.0062f64e
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4169f1
test al, 0x10
je 0x416a00
lea eax, [esp + 4]
push eax
mov ecx, 0x74b228
call fcn.0051e980
lea ecx, [esp + 0x108]
push ecx
mov ecx, 0x74b228
call fcn.0051ed10
push esi
call fcn.0044e000
mov ecx, eax
call fcn.0044e2a0
mov al, 1
pop esi
add esp, 0x208
ret
xor al, al
pop esi
add esp, 0x208
ret