Function at 0x413920
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4272e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x848
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
mov dword [esi], 0x428f84
mov eax, dword [esi + 0x40]
mov ebx, dword [0x4285c8]
lea edi, [esi + 0x40]
mov dword [esp + 0x860], 2
test eax, eax
je 0x413a70
mov eax, dword [0x430684]
test eax, eax
je 0x413981
mov ecx, dword [0x430688]
test ecx, ecx
jne 0x413a63
lea eax, [esp + 0x58]
push 0x400
push eax
push 0
call dword [0x4280c0]
lea ecx, [esp + 0x58]
push ecx
call ebx
mov eax, dword [0x43068c]
xor ebp, ebp
test eax, eax
jle 0x4139b6
lea edx, [esp + 0x58]
push edx
call ebx
mov eax, dword [0x43068c]
inc ebp
cmp ebp, eax
jl 0x4139a5
lea eax, [esp + 0x58]
push str.MiniUI.dll
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [0x4285cc]
push 0
call dword [0x4280c4]
push eax
call fcn.004023c0
add esp, 8
test eax, eax
jne 0x413a21
lea edx, [esp + 0x58]
test edx, edx
je 0x413a1d
lea eax, [esp + 0x58]
push eax
call dword [0x4285d0]
test eax, eax
je 0x413a21
lea ecx, [esp + 0x58]
push ecx
call fcn.004090f0
add esp, 4
test eax, eax
jne 0x413a21
push 1
call fcn.00425090
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.004252a0
add esp, 0xc
xor eax, eax
jmp 0x413a2c
lea eax, [esp + 0x58]
push eax
call dword [0x4280d4]
test eax, eax
mov dword [0x430688], eax
je 0x413a70
push str.GetMiniUI
push eax
call dword [0x4280d8]
test eax, eax
mov dword [0x430684], eax
jne 0x413a63
mov ecx, dword [0x430688]
push ecx
call dword [0x4280dc]
mov dword [0x430688], 0
jmp 0x413a70
call eax
test eax, eax
je 0x413a70
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x58]
mov eax, dword [esi + 0x44]
xor ebp, ebp
cmp eax, ebp
mov dword [edi], ebp
je 0x413c4e
mov eax, dword [0x430684]
cmp eax, ebp
je 0x413a94
cmp dword [0x430688], ebp
jne 0x413c3e
lea eax, [esp + 0x58]
push 0x400
push eax
push ebp
call dword [0x4280c0]
lea ecx, [esp + 0x58]
push ecx
call ebx
mov eax, dword [0x43068c]
xor edi, edi
cmp eax, ebp
jle 0x413ac8
lea edx, [esp + 0x58]
push edx
call ebx
mov eax, dword [0x43068c]
inc edi
cmp edi, eax
jl 0x413ab7
lea eax, [esp + 0x58]
push str.MiniUI.dll
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [0x4285cc]
call dword [0x4280c4]
push ebp
push ebp
push 3
push ebp
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ebp
call dword [0x4280c8]
mov edi, eax
cmp edi, 0xffffffff
je 0x413b42
lea edx, [esp + 0x24]
push ebp
push edx
lea eax, [esp + 0x18]
push 4
push eax
lea ecx, [esp + 0x2c]
push 4
push ecx
push 0x22204c
push edi
call dword [0x4280cc]
push edi
mov ebp, eax
call dword [0x4280d0]
test ebp, ebp
je 0x413b42
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x413bfe
lea edx, [esp + 0x58]
test edx, edx
je 0x413bfa
lea eax, [esp + 0x58]
push eax
call dword [0x4285d0]
test eax, eax
je 0x413bfe
lea ecx, [esp + 0x14]
call fcn.0041fbd0
lea ecx, [esp + 0x14]
mov byte [esp + 0x860], 3
xor edi, edi
call fcn.0041fc80
test eax, eax
je 0x413baa
lea ecx, [esp + 0x30]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0041fc10
test eax, eax
jne 0x413bbd
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041fa60
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x860], 2
call fcn.0041fc00
jmp 0x413be5
mov eax, dword [esp + 0x20]
cmp eax, 3
je 0x413bcb
cmp eax, 2
jne 0x413bd0
mov edi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x860], 2
call fcn.0041fc00
test edi, edi
jne 0x413bfe
push 1
call fcn.00425090
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.004252a0
add esp, 0xc
xor eax, eax
jmp 0x413c09
lea eax, [esp + 0x58]
push eax
call dword [0x4280d4]
xor ebp, ebp
mov dword [0x430688], eax
cmp eax, ebp
je 0x413c4e
push str.GetMiniUI
push eax
call dword [0x4280d8]
cmp eax, ebp
mov dword [0x430684], eax
jne 0x413c3e
mov ecx, dword [0x430688]
push ecx
call dword [0x4280dc]
mov dword [0x430688], ebp
jmp 0x413c4e
call eax
cmp eax, ebp
je 0x413c4e
mov edx, dword [eax]
lea ecx, [esi + 0x44]
push ecx
push eax
call dword [edx + 0x58]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x44], ebp
cmp ecx, ebp
je 0x413c5f
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x68], ebp
lea ecx, [esi + 0x64]
mov byte [esp + 0x860], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x860], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x860], 0xffffffff
call sub.MFC42u.DLL_CWnd::CWnd
mov ecx, dword [esp + 0x858]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x854
ret