Function at 0x4ced50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f62c5
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
jne 0x4ced88
mov byte [0x59981a], 1
cmp dword [ebp + 0x10], 0xc
jne 0x4ceda7
movzx eax, byte [0x59981a]
test eax, eax
jne 0x4ceda0
xor eax, eax
jmp 0x4cf5dd
mov dword [ebp + 0x10], 0
cmp dword [ebp + 0x10], 0xd
jne 0x4cf2df
mov ecx, dword [0x595b3c]
and ecx, 8
jne 0x4cf2d8
push 1
call fcn.0041d260
mov ecx, eax
call fcn.004da7c0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x595c94
test eax, eax
je 0x4cedf3
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0x248], ecx
jmp 0x4cedfd
mov dword [ebp - 0x248], 0
push 0x51315c
mov edx, dword [ebp - 0x248]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0xb4]
call fcn.00417720
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb4]
push eax
push 0x595c94
call fcn.004c8a00
add esp, 8
mov byte [ebp - 0x91], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00414bf0
movzx ecx, byte [ebp - 0x91]
test ecx, ecx
je 0x4cf2d8
mov edx, 0x595c94
test edx, edx
je 0x4ceeaa
mov eax, 0x595c94
add eax, 4
mov dword [ebp - 0x254], eax
jmp 0x4ceeb4
mov dword [ebp - 0x254], 0
push 0x51316c
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00417720
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.0048f450
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00414bf0
mov eax, 0x595c94
test eax, eax
je 0x4cef49
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0x260], ecx
jmp 0x4cef53
mov dword [ebp - 0x260], 0
push str.LatestHtmlScreens_
mov edx, dword [ebp - 0x260]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x268]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00417720
mov byte [ebp - 4], 5
mov eax, 0x595c94
test eax, eax
je 0x4cefb6
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0x26c], ecx
jmp 0x4cefc0
mov dword [ebp - 0x26c], 0
push 0x5131bc
mov edx, dword [ebp - 0x26c]
push edx
lea eax, [ebp - 0x184]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x274]
push edx
lea ecx, [ebp - 0x168]
call fcn.00417720
mov byte [ebp - 4], 7
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.004c8a00
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x168]
call fcn.00414a10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x184]
call fcn.00414bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.00414bf0
lea edx, [ebp - 0x1a4]
push edx
call fcn.004c5660
add esp, 4
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 0
je 0x4cf0aa
mov edx, dword [ebp - 0x280]
add edx, 4
mov dword [ebp - 0x284], edx
jmp 0x4cf0b4
mov dword [ebp - 0x284], 0
push str.__latest
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00417720
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c0]
call fcn.00414bf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a4]
call fcn.00414a10
lea ecx, [ebp - 0x50]
test ecx, ecx
je 0x4cf127
lea edx, [ebp - 0x50]
add edx, 4
mov dword [ebp - 0x290], edx
jmp 0x4cf131
mov dword [ebp - 0x290], 0
mov eax, 0x595c94
test eax, eax
je 0x4cf14a
mov ecx, 0x595c94
add ecx, 4
mov dword [ebp - 0x294], ecx
jmp 0x4cf154
mov dword [ebp - 0x294], 0
push 0x513200
mov edx, dword [ebp - 0x294]
push edx
lea eax, [ebp - 0x1dc]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 0xd
push str.Setup.exe
mov edx, dword [ebp - 0x29c]
push edx
lea eax, [ebp - 0x1f8]
push eax
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00407b10
add esp, 0xc
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x30]
call fcn.00417720
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x214]
call fcn.00414bf0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1f8]
call fcn.00414bf0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1dc]
call fcn.00414bf0
mov ecx, 0x595c94
test ecx, ecx
je 0x4cf23e
mov edx, 0x595c94
add edx, 4
mov dword [ebp - 0x2b0], edx
jmp 0x4cf248
mov dword [ebp - 0x2b0], 0
push 0x513210
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00407a80
add esp, 0xc
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 0x14
push 0
push 0
mov ecx, dword [ebp - 0x2b8]
call fcn.00413e50
push eax
push 0x595b54
push 0x927c0
lea ecx, [ebp - 0x2c]
call fcn.00413e50
push eax
call fcn.00485910
add esp, 0x18
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x230]
call fcn.00414bf0
push 0x5b
call fcn.004cb100
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00414a10
xor eax, eax
jmp 0x4cf5dd
movzx eax, byte [0x595b2a]
test eax, eax
jne 0x4cf2f7
cmp dword [ebp + 0x10], 0xa
je 0x4cf2f7
xor eax, eax
jmp 0x4cf5dd
cmp dword [ebp + 0x10], 0xb
jne 0x4cf369
movzx ecx, byte [0x599818]
test ecx, ecx
je 0x4cf362
push 0x18
call fcn.00448a59
add esp, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0x15
cmp dword [ebp - 0x238], 0
je 0x4cf33b
mov ecx, dword [ebp - 0x238]
call fcn.0041e6d0
mov dword [ebp - 0x2bc], eax
jmp 0x4cf345
mov dword [ebp - 0x2bc], 0
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
push 0
call fcn.004c7190
add esp, 4
xor eax, eax
jmp 0x4cf5dd
cmp dword [ebp + 0x10], 0xa
jne 0x4cf39a
mov eax, dword [0x595b3c]
and eax, 0x10
je 0x4cf38a
push 0x5c
call fcn.004cb100
add esp, 4
xor eax, eax
jmp 0x4cf5dd
mov ecx, dword [ebp + 0xc]
mov dword [0x599814], ecx
mov byte [0x599819], 1
cmp dword [ebp + 0x10], 0
jne 0x4cf408
mov byte [0x599818], 1
mov edx, dword [0x595b3c]
and edx, 0x10
jne 0x4cf3d6
push 1
call fcn.004e9860
add esp, 4
mov ecx, 0x595ce0
call fcn.004cd530
movzx eax, byte [0x595d54]
test eax, eax
je 0x4cf3d6
call fcn.004c1f10
mov ecx, dword [0x595b3c]
and ecx, 0x20
je 0x4cf3e8
mov byte [0x599819], 1
cmp dword [ebp + 0xc], 0
je 0x4cf408
push 1
call fcn.0041d260
mov ecx, eax
call fcn.004da7c0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [0x599818]
test eax, eax
je 0x4cf41e
movzx ecx, byte [0x599819]
test ecx, ecx
jne 0x4cf425
xor eax, eax
jmp 0x4cf5dd
push 0x18
call fcn.00448a59
add esp, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0x16
cmp dword [ebp - 0x240], 0
je 0x4cf458
mov ecx, dword [ebp - 0x240]
call fcn.0041e6d0
mov dword [ebp - 0x2c0], eax
jmp 0x4cf462
mov dword [ebp - 0x2c0], 0
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
push 0
call fcn.004c7190
add esp, 4
call fcn.004ca510
movzx eax, byte [0x595b29]
test eax, eax
je 0x4cf4c7
cmp dword [0x599814], 0
jne 0x4cf4a4
call fcn.00404770
mov ecx, eax
call fcn.004c8280
mov ecx, dword [0x599814]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff4c
add ecx, 0x5a
push ecx
call fcn.004cb100
add esp, 4
xor eax, eax
jmp 0x4cf5dd
cmp dword [0x599814], 0x80004005
jne 0x4cf58c
cmp dword [0x595b30], 0
jne 0x4cf58c
push 0
push 0x34
push 0
push 0x37
push 0x18
push 0x37
call fcn.0041d260
mov edx, dword [eax + 4]
push edx
call fcn.004be4a0
add esp, 0x1c
cmp eax, 6
jne 0x4cf582
lea ecx, [ebp - 0x241]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x70]
call fcn.004148f0
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x90]
push eax
call fcn.004cd960
add esp, 4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x8c]
call fcn.00413e50
push eax
push str.inst_fallback
lea ecx, [ebp - 0x70]
push ecx
call fcn.004c5b80
add esp, 0xc
lea ecx, [ebp - 0x6c]
call fcn.00413e50
push eax
call fcn.004c5ab0
add esp, 4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x90]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00414a10
jmp 0x4cf58c
push 8
call fcn.004ce2b0
add esp, 4
cmp dword [0x599814], 0x80004004
je 0x4cf5a4
cmp dword [0x599814], 0x80004005
jne 0x4cf5cd
push 0
mov edx, dword [0x599814]
sub edx, 0x80004004
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 8
push edx
push 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x4cf5dd
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ce920
add esp, 4
jmp 0x4cf5dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret