Function at 0x59ebf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9774
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
call fcn.00429480
mov ecx, eax
call fcn.004b2f5c
mov byte [ebp - 0xa4], al
movzx eax, byte [ebp - 0xa4]
test eax, eax
je 0x59ec50
push str.CRunOpenAdConfig::DoOpenMiNiNews_bShortInstallTimetrue_
call fcn.004bb62d
add esp, 4
jmp 0x59f02c
mov byte [ebp - 0xa2], 0
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa3], 0
call fcn.004b522c
mov dword [ebp - 0xb0], eax
push 0
call fcn.0059e770
add esp, 4
mov dword [ebp - 0xa8], eax
push 0
push 0x60e9f4
push 0x60ea74
call fcn.00429480
mov ecx, eax
call fcn.0059b780
mov dword [ebp - 0xb4], eax
push 0
push 0x60ea84
push 0x60ea30
call fcn.00429480
mov ecx, eax
call fcn.0059b780
mov dword [ebp - 0xc4], eax
push 0
push 0x60ea48
push 0x60eb9c
call fcn.00429480
mov ecx, eax
call fcn.0059b780
mov dword [ebp - 0xb8], eax
push 0
push 0x60eacc
push 0x60eab4
call fcn.00429480
mov ecx, eax
call fcn.0059b780
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [ebp - 0xb0]
jne 0x59ed0d
mov byte [ebp - 0xa1], 1
mov edx, dword [ebp - 0xbc]
cmp edx, dword [ebp - 0xb0]
jne 0x59ed22
mov byte [ebp - 0xa3], 1
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x59ed4a
movzx ecx, byte [ebp - 0xa3]
test ecx, ecx
je 0x59ed4a
push str.CRunOpenAdConfig::DoOpenMiNiNews_bFirstAlreadyOpentrue_bSecondAlreadyOpentrue_
call fcn.004bb62d
add esp, 4
jmp 0x59f02c
movzx edx, byte [ebp - 0xa1]
test edx, edx
jne 0x59ed94
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xa8]
push eax
call fcn.004de766
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xe10
jl 0x59ed85
mov byte [ebp - 0xa2], 1
jmp 0x59ed92
push str.CRunOpenAdConfig::DoOpenMiNiNews__bFirstAlreadyOpen_nSettingMiNiFramePopServerTime___3600_
call fcn.004bb62d
add esp, 4
jmp 0x59ee07
mov ecx, dword [ebp - 0xc4]
sub ecx, dword [ebp - 0xa8]
push ecx
call fcn.004de766
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x2a30
jl 0x59edfa
mov edx, dword [ebp - 0xb4]
sub edx, dword [ebp - 0xa8]
push edx
call fcn.004de766
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xe10
jl 0x59edeb
mov byte [ebp - 0xa2], 1
jmp 0x59edf8
push str.CRunOpenAdConfig::DoOpenMiNiNews_nSettingMiNiFramePopServerTime___3600_
call fcn.004bb62d
add esp, 4
jmp 0x59ee07
push str.CRunOpenAdConfig::DoOpenMiNiNews_nMiNiFramePopServerTime___10800_
call fcn.004bb62d
add esp, 4
movzx eax, byte [ebp - 0xa2]
test eax, eax
jne 0x59ee17
jmp 0x59f02c
call fcn.00429480
mov ecx, eax
call fcn.004b21bc
push eax
lea ecx, [ebp - 0x40]
call fcn.004276b0
mov dword [ebp - 4], 0
push 0x60ebb4
lea ecx, [ebp - 0x40]
call fcn.00427600
push 0x60edd4
lea ecx, [ebp - 0xa0]
call fcn.004276b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004275c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x59f00e
lea ecx, [ebp - 0xa0]
call fcn.0042f120
movzx ecx, al
test ecx, ecx
jne 0x59f00e
push 0x60edf8
push str.MiNiExeName
push 0x60edc4
lea edx, [ebp - 0x58]
push edx
call fcn.00429480
mov ecx, eax
call fcn.004b2422
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0042f120
movzx eax, al
test eax, eax
je 0x59eec0
push str.WnZipMiNiPure.exe
lea ecx, [ebp - 0x58]
call fcn.00427640
lea ecx, [ebp - 0x58]
call fcn.004275c0
push eax
call fcn.004b7778
add esp, 4
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x59f002
lea ecx, [ebp - 0x28]
call fcn.0042f000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0042f120
movzx ecx, al
test ecx, ecx
je 0x59ef10
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042ef10
jmp 0x59efcf
call fcn.00429480
mov ecx, eax
call fcn.004b21bc
push eax
lea ecx, [ebp - 0x28]
call fcn.00427640
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00427620
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x88]
call fcn.0042f050
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x70]
call fcn.0042f050
mov byte [ebp - 4], 5
lea eax, [ebp - 0x88]
push eax
call fcn.004b81ca
add esp, 4
lea ecx, [ebp - 0x70]
push ecx
call fcn.004b81ca
add esp, 4
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0043dd50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x59efb4
lea ecx, [ebp - 0x28]
call fcn.004275c0
push eax
lea ecx, [ebp - 0x40]
call fcn.004275c0
push eax
call fcn.004b47d9
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.004275c0
push eax
call fcn.004b7c7d
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00427660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00427660
lea ecx, [ebp - 0x28]
call fcn.004275c0
push eax
push str.CRunOpenAdConfig::DoOpenMiNiNews__s_
call fcn.004bb62d
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004275c0
push eax
call fcn.004b4cbc
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00427660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00427660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00427660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret