Function at 0x40cf30
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4be07c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x9c]
push esi
push esi
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ebp, eax
call fcn.00499531
add esp, 4
cmp ebp, esi
jne 0x40cfa4
add eax, 0x15180
jmp 0x40cfc6
cmp ebp, 1
jne 0x40cfb0
add eax, 0x3f480
jmp 0x40cfc6
cmp ebp, 2
jne 0x40cfbc
add eax, 0x93a80
jmp 0x40cfc6
cmp ebp, 3
jne 0x40cfc8
add eax, 0x127500
adc edx, esi
mov ecx, eax
mov edx, 0x4ff968
mov eax, 0x4f984c
call fcn.004404e0
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], esi
push 1
mov dword [esp + 0x25c], esi
mov edx, dword [0x4f9490]
push 0x4f984c
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00468a40
mov ecx, eax
call fcn.00468740
test al, al
jne 0x40d015
lea ecx, [esp + 0x1c]
call fcn.00447770
mov ecx, dword [0x4f9f84]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, str.http:__ime.sogou.com_pyup.gif_
shr edx, 0x10
mov dword [esp + 0x14], ecx
test edx, edx
jne 0x40d045
mov eax, str.http:__ime.sogou.com_pyup.gif_
movzx eax, ax
push eax
lea ecx, [esp + 0x18]
call fcn.004037f0
jmp 0x40d077
push str.http:__ime.sogou.com_pyup.gif_
call ebx
mov esi, eax
test esi, esi
je 0x40d077
mov ecx, esi
lea edx, [esp + 0x14]
call fcn.004034c0
test eax, eax
je 0x40d077
mov edx, dword [esp + 0x14]
lea ecx, [esi + esi]
push ecx
push str.http:__ime.sogou.com_pyup.gif_
push edx
call fcn.0049c670
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4e]
mov byte [esp + 0x260], 2
push ecx
mov word [esp + 0x50], ax
call fcn.0049ca10
lea edx, [esp + 0x50]
add esp, 0xc
push edx
mov ecx, 0x104
call fcn.00405180
add esp, 4
lea eax, [esp + 0x44]
push eax
call ebx
test eax, eax
je 0x40d0c5
mov esi, eax
lea edx, [esp + 0x44]
lea eax, [esp + 0x14]
call fcn.00403750
mov ecx, dword [0x4f9f84]
mov dword [esp + 0x18], ecx
push ebp
push str.qtipn_d
lea edx, [esp + 0x20]
mov byte [esp + 0x260], 3
call fcn.00407a00
mov ebp, dword [esp + 0x20]
mov esi, dword [ebp - 8]
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x40d101
mov edx, ebp
lea eax, [esp + 0x14]
call fcn.00403750
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.00420340
lea edx, [esp + 0x24]
mov byte [esp + 0x258], 4
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x2c], ebx
call fcn.004204e0
mov ecx, dword [edi + 0xa4]
push ebx
mov byte [ecx + 0x7e8], 0
mov edx, dword [edi + 0xa4]
mov eax, dword [edx + 4]
push ebx
push 0x505
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov esi, dword [esp + 0x40]
cmp esi, ebx
je 0x40d171
call fcn.00420ac0
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, 0x4f9f74
je 0x40d1a0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40d1a0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
lea ecx, [ebp - 0xc]
cmp ecx, 0x4f9f74
je 0x40d1be
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x40d1be
push esi
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x14]
lea edx, [esi - 0xc]
cmp edx, 0x4f9f74
je 0x40d1e0
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x40d1e0
push esi
call fcn.00498b08
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004476c0
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00497c58
add esp, 0x248
ret