Function at 0x10006640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f348
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101694f0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x234], ax
push 0x206
push 0
lea ecx, [ebp - 0x232]
push ecx
call fcn.100fd100
add esp, 0xc
call fcn.10005a90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100066a6
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100066ad
xor eax, eax
jmp 0x1000692b
mov eax, dword [ebp - 0x14]
push eax
push 0x101710a8
push 0x1014acb0
push 0x1014acb8
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
push 0x101712b0
push 0x1014acc8
push 0x1014acd0
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
push 0x10171cd8
push 0x1014ace0
push 0x1014ace8
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
push 0x10171ee0
push str.ver2
push 0x1014ad04
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
push 0x101714b8
push str.file
push 0x1014ad20
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
push 0x101716c0
push str.message
push 0x1014ad40
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
push 0x101720e8
push str.title
push 0x1014ad5c
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
push 0x101722f0
push str.newurl
push 0x1014ad7c
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x234]
push eax
push str.type
push 0x1014ad98
call sym.MTVersion.dll_public:_static_unsigned_long_int___cdecl_COPini::Read_wchar_t___wchar_t___wchar_t__const__wchar_t__
add esp, 0x10
lea ecx, [ebp - 0x234]
push ecx
call fcn.100fc22d
add esp, 4
mov dword [0x1016ab18], eax
lea ecx, [ebp - 0x20]
call fcn.100045c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100045c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.100045c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.100045c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.100045c0
mov byte [ebp - 4], 4
push 0x101710a8
push 0x1014ada8
lea edx, [ebp - 0x20]
push edx
call fcn.10003d30
add esp, 0xc
push 0x1014adb0
push 0x1014adc0
lea eax, [ebp - 0x24]
push eax
call fcn.10003d30
add esp, 0xc
push 0x10171cd8
push 0x1014adc8
lea ecx, [ebp - 0x10]
push ecx
call fcn.10003d30
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
push 0x1014add0
lea eax, [ebp - 0x1c]
push eax
call fcn.10003d30
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10006a00
movzx ecx, al
test ecx, ecx
jne 0x1000688b
lea ecx, [ebp - 0x24]
call fcn.10006a00
movzx edx, al
test edx, edx
jne 0x1000688b
lea ecx, [ebp - 0x10]
call fcn.10006a00
movzx eax, al
test eax, eax
jne 0x1000688b
lea ecx, [ebp - 0x1c]
call fcn.10006a00
movzx ecx, al
test ecx, ecx
je 0x100068dc
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10004630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10004630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10004630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10004630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004630
mov eax, dword [ebp - 0x238]
jmp 0x1000692b
mov dword [ebp - 0x23c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.10004630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10004630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10004630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10004630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10004630
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.100fb7fe
mov esp, ebp
pop ebp
ret