Function at 0x406ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532806
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x4073b9
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x10
jne 0x406f3a
mov dword [esi + 0x88], 1
call fcn.00408bc0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x88], 0
je 0x40709b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x40709b
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x40709b
mov dword [esi + 0x88], 1
cmp dword [eax + 8], 1
jne 0x407085
mov eax, dword [eax + 0xc]
cmp eax, 0x64
jne 0x406f90
push 0
push 0xf022
push 0x112
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 0x65
jne 0x406fa9
call fcn.00408bc0
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 0x66
jne 0x406fc2
call fcn.00409140
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 0x7d1
jne 0x40700c
push 0
push 0x59fc64
push 0x59fc88
push 0
push eax
lea ecx, [esi + 0x24]
call fcn.00468df0
push eax
call fcn.00530ad2
add esp, 0x14
test eax, eax
je 0x406ffd
cmp dword [eax + 0xfc], 1
sete al
mov byte [esi + 0x98], al
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 0x3ea
jne 0x407027
call fcn.00409860
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 4
jne 0x407045
mov ecx, str.https:__pdfcvt.keansoft.cn_help.htmllicence
call fcn.004133f0
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 8
jne 0x407063
mov ecx, str.https:__pdfcvt.keansoft.cn_help.htmldeclare
call fcn.004133f0
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
cmp eax, 0x68
jne 0x407085
call fcn.00409350
push 5
mov ecx, esi
call fcn.00409d50
mov ecx, dword [ebp + 0x18]
mov eax, 1
mov dword [ecx], eax
jmp 0x406f14
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [esi + 0x88], 0
mov dword [ecx], eax
jmp 0x406f14
mov eax, dword [esi + 0x80]
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
cmp ebx, 2
jne 0x4070d3
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
sub esp, 0xc
mov ecx, esi
call fcn.00471c10
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x4070f4
mov eax, 1
jmp 0x40710e
cmp ebx, 1
jne 0x4070f4
sub esp, 0x10
mov dword [ebp + 0x1c], ebx
mov ecx, esi
call fcn.00471d80
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x4070f4
mov eax, ebx
jmp 0x40710e
push 0
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 8]
call fcn.00406c40
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x80], ecx
test eax, eax
jne 0x406f21
cmp ebx, 0x7e9
jne 0x4071c4
test edi, edi
je 0x4071b6
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x407142
mov dword [esi + 0xa0], eax
jmp 0x407195
cmp eax, 1
jne 0x407186
mov eax, dword [edi]
mov ebx, dword [edi + 4]
or eax, ebx
je 0x40717a
mov eax, dword [edi + 0xc]
mov ecx, 0x64
mul ecx
mov edx, 0x64
mov ecx, eax
mov eax, dword [edi + 8]
mul edx
push ebx
push dword [edi]
add ecx, edx
push ecx
push eax
call fcn.0050a710
mov dword [esi + 0xa0], eax
jmp 0x407195
mov dword [esi + 0xa0], 0x63
jmp 0x407195
cmp eax, 2
jne 0x407195
mov dword [esi + 0xa0], 0x64
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.004046b0
push 0x30
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00509dd1
add esp, 8
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x406f21
cmp ebx, 0x7ea
jne 0x40720d
cmp edi, dword [esi + 0x90]
jbe 0x4071da
mov dword [esi + 0x90], edi
cmp edi, 2
jne 0x4071b6
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 0x24]
push eax
mov dword [esi + 0x94], eax
mov eax, dword [ecx]
push 0
push 0x7eb
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x406f21
cmp ebx, 0x7eb
jne 0x4072c2
cmp dword [ebp + 0x14], 0
je 0x4072a6
push 0x1fb
lea ecx, [ebp - 0x88]
call fcn.0046c920
mov dword [ebp - 4], 5
mov dword [ebp - 0x88], vtable.RC::RCWidgetMessageBox.1.0
mov dword [ebp - 0x68], vtable.RC::RCWidgetMessageBox.0
push ecx
mov dword [ebp - 4], 6
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x88]
call fcn.0046cab0
push 7
mov ecx, esi
call fcn.00409d50
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], vtable.RC::RCWidgetMessageBox.1.0
mov dword [ebp - 0x68], vtable.RC::RCWidgetMessageBox.0
call fcn.0046c9e0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], 0
jmp 0x406f21
call fcn.00409350
push 0
mov ecx, esi
call fcn.00409d50
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x406f21
cmp ebx, 0x7e8
jne 0x407346
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x88], 1
cmp eax, 0x203
je 0x4072e5
cmp eax, 0x201
jne 0x40732f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407328
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x40732f
push ecx
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x40732f
mov ecx, esi
call fcn.00409d00
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x88], 0
je 0x4073b9
jmp 0x406f21
cmp ebx, 0x111
jne 0x4073b9
movzx eax, di
mov ecx, 0x902
cmp cx, ax
jne 0x4073af
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffffff7f
or ecx, 0x40000
cmp eax, ecx
je 0x407384
push ecx
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x406f21
mov ecx, 0x903
cmp cx, ax
je 0x40735b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18