Function at 0x4068d0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58605f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5effd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x10]
push eax
push str.INotifyCefBrowserJsInvoker_JsExternalName:__s_n
call fcn.0040bbe0
add esp, 8
call fcn.00412f00
movzx ecx, al
test ecx, ecx
je 0x406a45
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x20]
call fcn.00404d70
mov dword [ebp - 4], 0
push str.onMouseDown
lea eax, [ebp - 0x20]
push eax
call fcn.0040c150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40697d
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.0040c180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00403170
jmp 0x406c61
push str.minimizeWindow
lea edx, [ebp - 0x20]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x4069aa
push 6
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.00418096
jmp 0x406a36
push str.closeWindow
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x406a36
push 1
push 0x5caa30
push 0x5ca96c
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.0041b53b
cmp eax, 1
jne 0x406a36
push 0
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.00418096
push 0
call fcn.004053a0
mov ecx, eax
call fcn.00418096
call fcn.00413fd0
mov ecx, eax
call fcn.00414d90
push 0x5caa38
call fcn.0040d3d0
mov ecx, eax
call fcn.0040d320
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00403170
cmp dword [ebp + 0x14], 0
jbe 0x406a73
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, 4
imul edx, eax, 0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + edx]
push edx
call fcn.00404d70
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.00406c80
lea ecx, [ebp - 0x24]
call fcn.004032f0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.00406fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040bea0
movzx edx, al
test edx, edx
je 0x406ad7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00403170
jmp 0x406c61
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov eax, 4
imul edx, eax, 0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + edx]
push edx
call fcn.00404d70
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb8
call fcn.00408c30
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x406b2a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00403170
jmp 0x406c61
push 0x10
call fcn.00414fbd
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28], 0
je 0x406b4e
mov ecx, dword [ebp - 0x28]
call fcn.00405090
mov dword [ebp - 0x2c], eax
jmp 0x406b55
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00402aa0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00403d10
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.00403d10
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xc], 0
push 0
push str.mini_download
lea ecx, [ebp - 0x1c]
call fcn.0040a9d0
cmp eax, 0xffffffff
je 0x406bbc
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xc], 1
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0xc]
test eax, eax
jne 0x406bfa
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + eax]
push eax
call fcn.00404d70
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
call fcn.004053a0
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00408cc0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0xc]
test edx, edx
je 0x406c22
call fcn.00404730
mov ecx, eax
call fcn.00404330
push str.miniDownloadStart
call fcn.0040d3d0
mov ecx, eax
call fcn.0040d320
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x408540
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00403170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14