Function at 0x582970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d240e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
call fcn.00447430
mov ecx, eax
call fcn.004d711e
mov byte [ebp - 0x8c], al
movzx eax, byte [ebp - 0x8c]
test eax, eax
je 0x5829d0
push str.CRunSoftOperator::DoOpenMiNiNews_bShortInstallTimetrue_
call fcn.004dfa5f
add esp, 4
jmp 0x582d73
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 0
mov byte [ebp - 0x8b], 0
call fcn.004d8ff0
mov dword [ebp - 0x98], eax
push 0
call fcn.005830e0
add esp, 4
mov dword [ebp - 0x90], eax
push 0
push 0x694180
push 0x694004
call fcn.00447430
mov ecx, eax
call fcn.005bdac0
mov dword [ebp - 0x9c], eax
push 0
push 0x694224
push 0x694254
call fcn.00447430
mov ecx, eax
call fcn.005bdac0
mov dword [ebp - 0xac], eax
push 0
push 0x694014
push 0x694298
call fcn.00447430
mov ecx, eax
call fcn.005bdac0
mov dword [ebp - 0xa0], eax
push 0
push 0x69426c
push 0x693f3c
call fcn.00447430
mov ecx, eax
call fcn.005bdac0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x98]
jne 0x582a8d
mov byte [ebp - 0x89], 1
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ebp - 0x98]
jne 0x582aa2
mov byte [ebp - 0x8b], 1
movzx eax, byte [ebp - 0x89]
test eax, eax
je 0x582aca
movzx ecx, byte [ebp - 0x8b]
test ecx, ecx
je 0x582aca
push str.CRunSoftOperator::DoOpenMiNiNews_bFirstAlreadyOpentrue_bSecondAlreadyOpentrue_
call fcn.004dfa5f
add esp, 4
jmp 0x582d73
movzx edx, byte [ebp - 0x89]
test edx, edx
jne 0x582b14
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x90]
push eax
call fcn.004ebc1b
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xe10
jl 0x582b05
mov byte [ebp - 0x8a], 1
jmp 0x582b12
push str.CRunSoftOperator::DoOpenMiNiNews__bFirstAlreadyOpen_nSettingMiNiFramePopServerTime___3600_
call fcn.004dfa5f
add esp, 4
jmp 0x582b87
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0x90]
push ecx
call fcn.004ebc1b
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x2a30
jl 0x582b7a
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0x90]
push edx
call fcn.004ebc1b
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xe10
jl 0x582b6b
mov byte [ebp - 0x8a], 1
jmp 0x582b78
push str.CRunSoftOperator::DoOpenMiNiNews_nSettingMiNiFramePopServerTime___3600_
call fcn.004dfa5f
add esp, 4
jmp 0x582b87
push str.CRunSoftOperator::DoOpenMiNiNews_nMiNiFramePopServerTime___10800_
call fcn.004dfa5f
add esp, 4
movzx eax, byte [ebp - 0x8a]
test eax, eax
jne 0x582b97
jmp 0x582d73
call fcn.00447430
mov ecx, eax
call fcn.004d633c
push eax
lea ecx, [ebp - 0x58]
call fcn.00446660
mov dword [ebp - 4], 0
push 0x693e74
lea ecx, [ebp - 0x58]
call fcn.004465f0
lea ecx, [ebp - 0x58]
call fcn.004465b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x582d64
push 0x693f6c
push str.MiNiExeName
push 0x6945d4
lea ecx, [ebp - 0x40]
push ecx
call fcn.00447430
mov ecx, eax
call fcn.004d653f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0044ec90
movzx edx, al
test edx, edx
je 0x582c16
push str.WnZipMiNiPure.exe
lea ecx, [ebp - 0x40]
call fcn.0044c0b0
lea ecx, [ebp - 0x40]
call fcn.004465b0
push eax
call fcn.004da7f1
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x582d58
lea ecx, [ebp - 0x28]
call fcn.0044ee30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0044ec90
movzx eax, al
test eax, eax
je 0x582c66
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045d810
jmp 0x582d25
call fcn.00447430
mov ecx, eax
call fcn.004d633c
push eax
lea ecx, [ebp - 0x28]
call fcn.0044c0b0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044c090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.0044ee80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0044ee80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x88]
push edx
call fcn.004db4ab
add esp, 4
lea eax, [ebp - 0x70]
push eax
call fcn.004db4ab
add esp, 4
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004676f0
add esp, 8
movzx eax, al
test eax, eax
je 0x582d0a
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x58]
call fcn.004465b0
push eax
call fcn.004d8472
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
call fcn.004dac20
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00446610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00446610
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
push str.CRunSoftOperator::DoOpenMiNiNews__s_
call fcn.004dfa5f
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
call fcn.004d88e8
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00446610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret