Function at 0x440c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
mov eax, dword [0x4c17d0]
xor eax, esp
mov dword [esp + 0x2f0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x8003
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea esi, [esp + 0xc]
call fcn.00401be0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.360base.dll
call fcn.00410570
lea edx, [esp + 0x1c]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004149a0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440c93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x14]
mov edi, 0x4ed08c
call fcn.00416980
lea eax, [esp + 0xc]
mov edi, 0x4ed090
call fcn.00416980
cmp dword [0x4eecfc], 0
jne 0x440cc7
mov ecx, dword [0x4ed08c]
push ecx
call fcn.004106c0
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440ce7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x440dad
push str.__typeutility
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x440dad
push 0x4b0d1c
lea esi, [esp + 0x24]
call fcn.00401be0
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00414ae0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
call fcn.00410bc0
test eax, eax
je 0x440d8d
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x440d8d
push str.Initialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x440d8d
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440dad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00440160
mov edx, dword [0x4ead14]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x4ead14
call eax
add eax, 0x10
lea esi, [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.00401be0
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push edx
push str._sUtilscef_s
lea edi, [esp + 0x24]
call fcn.00416250
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440e13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b0ed0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00414ae0
add esp, 0xc
push 0x4eae06
xor ebx, ebx
push 0x104
mov dword [esp + 0x1c], ebx
call fcn.00478ef6
add esp, 8
mov dword [0x4ed074], eax
cmp eax, ebx
jne 0x440e55
mov ebx, 7
jmp 0x4411a2
mov edx, dword [esp + 0xc]
xor eax, eax
mov word [esp + 0x34], ax
mov eax, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x440e71
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00409380
lea ecx, [esp + 0x30]
push ecx
lea edi, [esp + 0x50]
call fcn.00404260
mov esi, 0x10
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x440eab
mov eax, dword [eax + 4]
jmp 0x440eae
add eax, 4
mov ecx, dword [0x4ed074]
call fcn.00448170
cmp dword [esp + 0x64], esi
jb 0x440ecc
mov edx, dword [esp + 0x50]
push edx
call fcn.00477b12
add esp, 4
cmp dword [esp + 0x48], 8
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x440ef0
mov eax, dword [esp + 0x34]
push eax
call fcn.00477b12
add esp, 4
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp eax, ebx
je 0x440f2c
push eax
mov bl, 1
call edi
test eax, eax
je 0x440f19
mov eax, esi
call fcn.00410bc0
cmp eax, 1
jne 0x440f19
xor bl, bl
jmp 0x440f1f
push esi
call fcn.0042dd30
test bl, bl
sete al
test al, al
jne 0x440f4f
mov eax, dword [esp + 0xc]
push eax
call edi
test eax, eax
jne 0x440f45
lea ebx, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
jmp 0x4411a2
mov ebx, 2
jmp 0x4411a2
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x440f87
push str._lang
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x440f87
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00416a00
add eax, 0x10
mov dword [esi], eax
call fcn.00440b60
add esp, 4
mov dword [esp + 0x20], str.icudtl.dat
mov dword [esp + 0x24], str._natives_blob.bin
mov dword [esp + 0x28], str._snapshot_blob.bin
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00414ae0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call edi
test eax, eax
je 0x441173
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440fe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, 3
jb 0x440fa1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44100d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x44102d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x44104d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.004480b0
call fcn.00447eb0
xor esi, esi
cmp ebx, edi
je 0x4410b9
push str._lang
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4410b9
cmp dword [0x4ed078], edi
jne 0x4410b4
call fcn.0042d180
mov dword [0x4ed078], eax
mov esi, 1
mov edx, dword [esp + 0x2c]
push ebx
push edx
call fcn.00440510
add esp, 8
mov ebx, eax
cmp esi, edi
je 0x4410e9
cmp dword [0x4ed078], edi
je 0x4410e4
call fcn.0042d3b0
test eax, eax
je 0x4410e4
mov dword [0x4ed078], edi
call fcn.00440090
call fcn.004420d0
mov esi, dword [0x4ede7c]
cmp esi, edi
je 0x441128
mov eax, dword [esi]
cmp eax, edi
je 0x441109
push eax
call fcn.004785af
add esp, 4
mov dword [esi], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x44111c
push eax
call fcn.004785af
add esp, 4
mov dword [esi + 4], edi
push esi
mov dword [esi + 8], edi
call fcn.00477b12
add esp, 4
call fcn.00442150
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x4b0d1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x44115a
push str.OnExiting
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44115a
call eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.00477b1d
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4411a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0042f780
mov edx, dword [0x4ead14]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ead14
call eax
mov edi, eax
add edi, 0x10
push str.Utilscefcefutil.exe
lea esi, [esp + 0x30]
mov dword [esp + 0x14], edi
call fcn.00401be0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00414ae0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4411fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
xor esi, esi
push ecx
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0x4abb2c
mov dword [esp + 0x278], esi
call fcn.00401a10
test eax, eax
je 0x441286
push 0x7e
lea eax, [esp + 0x27e]
xor edx, edx
push esi
push eax
mov word [esp + 0x284], dx
call fcn.0047e260
add esp, 0xc
lea ecx, [esp + 0x278]
push ecx
lea eax, [esp + 0x6c]
call fcn.00401b50
test eax, eax
je 0x441286
lea eax, [esp + 0x278]
lea edx, [eax + 2]
jmp 0x441260
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x441260
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x27c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004168e0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x274]
mov dword [esp + 0x68], 0x4abb2c
cmp eax, esi
je 0x4412a9
push eax
call fcn.004785af
add esp, 4
mov dword [esp + 0x274], esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4412c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push ebx
mov ecx, edi
call fcn.0041b6b0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4ef409], 0
mov dword [0x4ef410], 3
je 0x44130e
mov eax, dword [0x4ef40c]
cmp eax, esi
je 0x441307
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [0x4ef409], 0
mov eax, dword [0x4ef404]
cmp eax, esi
je 0x441339
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4ef404]
cmp eax, esi
je 0x441333
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ef404], esi
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x441355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x441395
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x4413b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.00477b1d
mov esp, ebp
pop ebp
ret 0x10