Function at 0x59de80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9636
mov eax, dword fs:[0]
push eax
mov eax, 0x26778
call fcn.004855d0
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26764], ecx
cmp dword [ebp + 8], 0
jne 0x59dec2
jmp 0x59e508
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
call fcn.004276b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.0042f000
mov byte [ebp - 4], 1
mov ecx, dword [0x616d3c]
push ecx
push 0x2f
lea ecx, [ebp - 0x248]
call fcn.0043dc00
mov dword [ebp - 0x2675c], eax
cmp dword [ebp - 0x2675c], 0
jge 0x59df30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00427660
jmp 0x59e508
lea ecx, [ebp - 0x248]
call fcn.0042f150
push eax
mov edx, dword [ebp - 0x2675c]
add edx, 1
push edx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x248]
call fcn.00438e40
mov dword [ebp - 0x26770], eax
mov ecx, dword [ebp - 0x26770]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00430d70
lea ecx, [ebp - 0x2f0]
call fcn.00427660
lea ecx, [ebp - 0x278]
call fcn.0042f150
cmp eax, 1
jae 0x59dfb1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00427660
jmp 0x59e508
mov dword [ebp - 0x26774], str.kantu
mov dword [ebp - 0x26778], str.wnkt
mov byte [ebp - 0x26751], 0
push 0
mov edx, dword [ebp - 0x26774]
push edx
lea ecx, [ebp - 0x248]
call fcn.0043dc20
mov dword [ebp - 0x2677c], eax
push 0
mov eax, dword [ebp - 0x26778]
push eax
lea ecx, [ebp - 0x248]
call fcn.0043dc20
mov dword [ebp - 0x26780], eax
cmp dword [ebp - 0x2677c], 0xffffffff
jle 0x59e019
cmp dword [ebp - 0x26780], 0xffffffff
jle 0x59e019
mov byte [ebp - 0x26751], 1
lea ecx, [ebp - 0x290]
call fcn.0042f000
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], 0
je 0x59e054
push 0x60e2f0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004d93a0
add esp, 8
test eax, eax
je 0x59e054
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x290]
call fcn.00427640
jmp 0x59e066
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x290]
call fcn.0042ef10
push 0x60e2cc
lea ecx, [ebp - 0x230]
call fcn.004276b0
mov byte [ebp - 4], 3
call fcn.00429480
mov ecx, eax
call fcn.004b21b0
push eax
lea ecx, [ebp - 0x2d8]
call fcn.004276b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0042ef10
push str.Download
lea ecx, [ebp - 0x230]
call fcn.00427600
push 0x60e308
lea ecx, [ebp - 0x230]
call fcn.00427600
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x230]
call fcn.00427620
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x59e104
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call fcn.004b4e47
add esp, 4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004b85c9
add esp, 8
mov byte [ebp - 4], 5
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x308]
push eax
call fcn.004b85c9
add esp, 8
mov dword [ebp - 0x26784], eax
mov ecx, dword [ebp - 0x26784]
call fcn.00427720
push eax
lea ecx, [ebp - 0x920]
push ecx
call fcn.004dc9a0
add esp, 8
lea ecx, [ebp - 0x308]
call fcn.00427780
lea ecx, [ebp - 0x2c0]
call fcn.00427720
push eax
lea edx, [ebp - 0x720]
push edx
call fcn.004dc9a0
add esp, 8
lea ecx, [ebp - 0x26750]
call fcn.004bf4a9
mov byte [ebp - 4], 6
sub esp, 0x300
mov ecx, 0xc0
lea esi, [ebp - 0x920]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x26750]
call fcn.004bf507
lea ecx, [ebp - 0x26750]
call fcn.004bfdcc
lea ecx, [ebp - 0x620]
call fcn.004307a0
xorps xmm0, xmm0
movsd qword [ebp - 0x2676c], xmm0
mov eax, 1
test eax, eax
je 0x59e23a
lea ecx, [ebp - 0x26750]
call fcn.004bfb2b
test eax, eax
je 0x59e205
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x26750]
call fcn.004bf8ad
movsd xmm0, qword [ebp - 0x310]
movsd qword [ebp - 0x2676c], xmm0
lea ecx, [ebp - 0x26750]
call fcn.004bfb37
test eax, eax
je 0x59e238
lea edx, [ebp - 0x620]
push edx
lea ecx, [ebp - 0x26750]
call fcn.004bf8ad
movsd xmm0, qword [ebp - 0x310]
movsd qword [ebp - 0x2676c], xmm0
jmp 0x59e23a
jmp 0x59e1cb
mov dword [ebp - 0x26760], 1
mov dword [ebp - 0x26758], 0
movsd xmm0, qword [ebp - 0x2676c]
ucomisd xmm0, qword [ebp - 0x318]
lahf
test ah, 0x44
jp 0x59e27a
movsd xmm0, qword [ebp - 0x2676c]
ucomisd xmm0, qword [0x6195e8]
lahf
test ah, 0x44
jp 0x59e284
mov dword [ebp - 0x26760], 0
cmp dword [ebp - 0x26760], 0
jne 0x59e2a6
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call fcn.004b4e47
add esp, 4
jmp 0x59e3fa
movzx eax, byte [ebp - 0x26751]
test eax, eax
je 0x59e2c1
push 0x60e30c
mov ecx, dword [ebp - 0x26764]
call fcn.0059ddf0
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x59e3fa
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call fcn.004b73e0
add esp, 4
test eax, eax
je 0x59e3fa
push str.DoRunS
lea ecx, [ebp - 0x2a8]
call fcn.004276b0
mov byte [ebp - 4], 7
call fcn.004b80ae
test eax, eax
je 0x59e3a1
push 0x60e304
lea ecx, [ebp - 0x260]
call fcn.004276b0
mov byte [ebp - 4], 8
push 0x60e364
lea ecx, [ebp - 0x260]
call fcn.00427640
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00427620
push 0x60e368
lea ecx, [ebp - 0x260]
call fcn.00427600
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x260]
call fcn.00427620
push 0
push 0
push 0
lea ecx, [ebp - 0x260]
call fcn.004275c0
push eax
call fcn.004b4b35
add esp, 0x10
mov dword [ebp - 0x26758], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x260]
call fcn.00427660
jmp 0x59e3c7
lea ecx, [ebp - 0x2a8]
call fcn.004275c0
push eax
lea ecx, [ebp - 0x230]
call fcn.004275c0
push eax
call fcn.004b492f
add esp, 8
mov dword [ebp - 0x26758], eax
cmp dword [ebp - 0x26758], 0
je 0x59e3eb
movzx eax, byte [ebp - 0x26751]
test eax, eax
je 0x59e3eb
push 0x60e330
mov ecx, dword [ebp - 0x26764]
call fcn.0059ddf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a8]
call fcn.00427660
movzx ecx, byte [ebp - 0x26751]
test ecx, ecx
je 0x59e49c
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004d7c10
add esp, 0xc
call fcn.00429480
mov ecx, eax
call fcn.004b21a4
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.004d95d7
add esp, 8
push str.Config
lea edx, [ebp - 0x218]
push edx
call fcn.004ddf30
add esp, 8
push 0x60e380
lea eax, [ebp - 0x218]
push eax
call fcn.004ddf30
add esp, 8
push 0x60e384
lea ecx, [ebp - 0x218]
push ecx
call fcn.004ddf30
add esp, 8
lea edx, [ebp - 0x218]
push edx
push 0x60e370
push str.stat
push str.InstallWnPicture
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26750]
call fcn.004bf502
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c0]
call fcn.00427780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d8]
call fcn.00427660
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00427660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00427660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00427660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00427660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret 8