Function at 0x418020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c56c
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x147
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
call fcn.004e2e2c
add esp, 4
test esi, esi
jne 0x41808c
add eax, 0x15180
jmp 0x4180ae
cmp esi, 1
jne 0x418098
add eax, 0x3f480
jmp 0x4180ae
cmp esi, 2
jne 0x4180a4
add eax, 0x93a80
jmp 0x4180ae
cmp esi, 3
jne 0x4180ae
add eax, 0x127500
push eax
push 0x5da300
mov ecx, 0x5d58dc
call fcn.0047ab30
mov byte [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
push 1
push 0x5d58dc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push dword [0x5c7a40]
push eax
call fcn.004cd840
mov ecx, eax
call fcn.004cde90
test al, al
jne 0x418105
lea ecx, [ebp - 0x228]
call fcn.00450cd0
mov eax, dword [0x5c6ad0]
mov ecx, str.http:__ime.sogou.com_pyup.gif_
mov dword [ebp - 0x21c], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x41812f
movzx eax, cx
lea ecx, [ebp - 0x21c]
push eax
call fcn.00413df0
jmp 0x41816d
push str.http:__ime.sogou.com_pyup.gif_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x418167
push edi
lea ecx, [ebp - 0x21c]
call fcn.00413af0
test eax, eax
je 0x418167
lea eax, [edi + edi]
push eax
push str.http:__ime.sogou.com_pyup.gif_
push dword [ebp - 0x21c]
call fcn.004d9a60
add esp, 0xc
mov edi, dword [ebp - 0x220]
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xa
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.0041ecd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4181b6
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415220
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x220], eax
push esi
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xb
push str.qtipn_d
push eax
call fcn.00415720
mov esi, dword [ebp - 0x220]
add esp, 0xc
mov eax, dword [esi - 8]
test eax, eax
je 0x4181f4
push esi
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415220
push ecx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
lea ecx, [ebp - 0x248]
call fcn.00439910
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x230], 0
call fcn.00439ab0
mov eax, dword [edi + 0xa4]
push 0
push 0
push 0x505
mov byte [eax + 0x7ec], 0
mov eax, dword [edi + 0xa4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x248]
call fcn.00439e10
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, 0x5c6ad4
je 0x418295
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x418295
push esi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x21c]
lea ecx, [eax - 0xc]
cmp ecx, 0x5c6ad4
je 0x4182b9
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x4182b9
push esi
call fcn.004d71b8
add esp, 4
lea ecx, [ebp - 0x228]
call fcn.00450c20
xor eax, eax
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.004d6cfd
mov esp, ebp
pop ebp
ret 0x10