Function at 0x408834
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52a6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x581980]
xor eax, esp
mov dword [esp + 0x8d0], eax
push ebx
push esi
push edi
mov eax, dword [0x581980]
xor eax, esp
push eax
lea eax, [esp + 0x8e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0
cmp eax, 0x465
ja 0x408756
je 0x407aa6
sub eax, 2
je 0x407a83
sub eax, 0x111
je 0x407a73
sub eax, 0x103
jne case.0x40877c.1128
push esi
mov esi, ebx
call fcn.00409bc0
mov dword [esp + 0x18], eax
jmp case.0x40877c.1128
push esi
push edx
call fcn.004097d0
mov dword [esp + 0x18], eax
jmp case.0x40877c.1128
cmp byte [0x5875c0], 0
jne 0x407a9b
mov eax, dword [ebx + 4]
push 0x56425c
push eax
call dword [sym.imp.USER32.dll_RemovePropW]
mov dword [esi], 0
jmp case.0x40877c.1128
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [esp + 0xd8], cx
push edi
or eax, 0xffffffff
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
call fcn.00402710
sub esp, 0x1c
mov dword [esp + 0x90c], ebx
mov esi, esp
mov dword [esp + 0x2c], esp
mov edi, 7
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x14
mov eax, str.javascript:HEZI_API_
mov word [esi], dx
call fcn.00403af0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x928], 1
mov dword [esp + 0x4c], esp
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [esp + 0x110]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402710
mov byte [esp + 0x928], bl
lea ebx, [esp + 0x1d0]
call fcn.00457290
add esp, 0x38
mov edi, eax
lea esi, [esp + 0xd4]
mov byte [esp + 0x8f0], 2
call fcn.00402120
xor ebx, ebx
mov byte [esp + 0x8f0], bl
cmp dword [esp + 0x1ac], 8
jb 0x407b7d
mov eax, dword [esp + 0x198]
push eax
call fcn.004f287e
add esp, 4
sub esp, 0x1c
mov esi, esp
mov edi, 7
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], ebx
xor ecx, ecx
mov word [esp + 0x1b4], cx
mov dword [esp + 0x2c], esp
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 1
mov eax, 0x5652c0
mov word [esi], dx
call fcn.00403af0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x928], 3
mov dword [esp + 0x4c], esp
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [esp + 0x110]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402710
mov byte [esp + 0x928], bl
lea ebx, [esp + 0x198]
call fcn.004574a0
add esp, 0x38
mov edi, eax
lea esi, [esp + 0xd4]
mov byte [esp + 0x8f0], 4
call fcn.00402120
xor ebx, ebx
mov byte [esp + 0x8f0], bl
cmp dword [esp + 0x174], 8
jb 0x407c36
mov eax, dword [esp + 0x160]
push eax
call fcn.004f287e
add esp, 4
mov eax, 7
mov dword [esp + 0x174], eax
xor ecx, ecx
mov dword [esp + 0x13c], eax
xor edx, edx
push 8
mov eax, 0x5652c4
lea esi, [esp + 0x12c]
mov dword [esp + 0x174], ebx
mov word [esp + 0x164], cx
mov dword [esp + 0x13c], ebx
mov word [esp + 0x12c], dx
call fcn.00403af0
mov byte [esp + 0x8f0], 5
cmp dword [esp + 0x13c], 8
mov eax, dword [esp + 0x128]
jae 0x407c99
mov eax, esi
push eax
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
sub esp, 0x1c
mov esi, esp
mov edi, eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [esp + 0x2c], esp
mov word [esi], ax
push 0xf
mov eax, str.WM_ADBOXDLG_MSG
call fcn.00403af0
sub esp, 0x1c
mov byte [esp + 0x928], 6
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebx
lea eax, [esp + 0x110]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00402710
mov byte [esp + 0x928], 5
call fcn.004590f0
add esp, 0x38
cmp edi, ebx
je 0x407d1f
push ebx
push ebx
push 0x498
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4086fa
lea eax, [esp + 0x374]
call fcn.00409370
lea eax, [esp + 0x6fc]
call fcn.00409370
push 0x170
lea ecx, [esp + 0x700]
push ebx
push ecx
mov byte [esp + 0x8fc], 8
call fcn.004f50f0
mov eax, dword [esp + 0xe0]
add esp, 0xc
cmp dword [esp + 0xe8], 8
jae 0x407d6d
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x144]
call fcn.00403be0
lea edx, [esp + 0x144]
push edx
lea edi, [esp + 0x84]
mov byte [esp + 0x8f4], 9
call fcn.00457030
add esp, 4
mov esi, 8
mov byte [esp + 0x8f0], 0xb
cmp dword [esp + 0x158], esi
jb 0x407dbe
mov eax, dword [esp + 0x144]
push eax
call fcn.004f287e
add esp, 4
lea edx, [esp + 0x6fc]
push edx
sub esp, 0x1c
xor ecx, ecx
mov word [esp + 0x164], cx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [esp + 0x17c], 7
mov dword [esp + 0x178], ebx
push ebx
lea eax, [esp + 0xa8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00403a00
call fcn.0045f080
mov dword [esp + 0x14], vtable.CURLEncode.0
mov byte [esp + 0x8f0], 0xc
mov ebx, dword [esp + 0xd4]
cmp dword [esp + 0xe8], esi
jae 0x407e33
lea ebx, [esp + 0xd4]
call fcn.00456f70
xor ebx, ebx
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
lea ecx, [esp + 0x17c]
push ecx
mov ecx, eax
mov byte [esp + 0x8f4], 0xd
call fcn.0045cef0
mov edi, eax
lea esi, [esp + 0x9c]
mov byte [esp + 0x8f0], 0xe
call fcn.00403690
mov byte [esp + 0x8f0], 0xd
cmp dword [esp + 0x190], 0x10
jb 0x407ea2
mov edx, dword [esp + 0x17c]
push edx
call fcn.004f287e
add esp, 4
push 0x170
lea eax, [esp + 0x378]
push ebx
mov esi, 0xf
push eax
mov dword [esp + 0x19c], esi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
call fcn.004f50f0
add esp, 0xc
lea ecx, [esp + 0x374]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xc4]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403a00
call fcn.0045f080
xor eax, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
mov ecx, str.webgame
lea edi, [esp + 0x390]
mov byte [esp + 0x8f0], 0xf
call fcn.0040a0b0
test al, al
je 0x40823d
mov eax, dword [esp + 0x400]
mov esi, 0x10
cmp dword [esp + 0x414], esi
jae 0x407f59
lea eax, [esp + 0x400]
push eax
lea ecx, [esp + 0x27c]
call fcn.0040a4f0
mov byte [esp + 0x8f0], 0x10
mov eax, dword [esp + 0x41c]
cmp dword [esp + 0x430], esi
jae 0x407f85
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x35c]
call fcn.0040a4f0
mov byte [esp + 0x8f0], 0x11
mov eax, dword [esp + 0x374]
cmp dword [esp + 0x388], esi
jae 0x407fb1
lea eax, [esp + 0x374]
push eax
lea ecx, [esp + 0x308]
call fcn.0040a4f0
mov byte [esp + 0x8f0], 0x12
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3f8], esi
jae 0x407fdd
lea eax, [esp + 0x3e4]
push eax
lea ecx, [esp + 0x244]
call fcn.0040a4f0
lea ecx, [esp + 0x278]
push ecx
lea ebx, [esp + 0x540]
mov byte [esp + 0x8f4], 0x13
call fcn.004570c0
add esp, 4
mov esi, eax
lea edx, [esp + 0x358]
push edx
lea ebx, [esp + 0x620]
mov byte [esp + 0x8f4], 0x14
call fcn.004570c0
add esp, 4
mov edi, eax
lea eax, [esp + 0x304]
push eax
lea ebx, [esp + 0x6e4]
mov byte [esp + 0x8f4], 0x15
call fcn.004570c0
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x240]
push ecx
lea ebx, [esp + 0x674]
mov byte [esp + 0x8f4], 0x16
call fcn.004570c0
add esp, 4
mov edx, 8
mov byte [esp + 0x8f0], 0x17
cmp dword [esi + 0x14], edx
jb 0x408082
mov esi, dword [esi]
cmp dword [edi + 0x14], edx
jb 0x408089
mov edi, dword [edi]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x14], edx
jb 0x408094
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x40809b
mov eax, dword [eax]
push esi
push edi
push ecx
push eax
push str.app_s.webgame._s._s._s
lea eax, [esp + 0x588]
call fcn.004578e0
add esp, 0x14
mov edi, eax
lea esi, [esp + 0xb8]
mov byte [esp + 0x8f0], 0x18
call fcn.00402120
lea esi, [esp + 0x574]
call fcn.00402850
lea esi, [esp + 0x670]
call fcn.00402850
lea esi, [esp + 0x6e0]
call fcn.00402850
lea esi, [esp + 0x61c]
call fcn.00402850
lea esi, [esp + 0x53c]
call fcn.00402850
lea ecx, [esp + 0x240]
call fcn.00403c70
lea ecx, [esp + 0x304]
call fcn.00403c70
lea ecx, [esp + 0x358]
call fcn.00403c70
mov byte [esp + 0x8f0], 0xf
lea ecx, [esp + 0x278]
call fcn.00403c70
xor ebx, ebx
lea edi, [esp + 0xf0]
call fcn.00406120
mov byte [esp + 0x8f0], 0x22
mov eax, dword [esp + 0x100]
push 0x5641f8
xor edi, edi
lea ecx, [esp + 0xf4]
call fcn.00401f90
test eax, eax
je 0x408593
push 0x44
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.004f50f0
mov ecx, dword [esp + 0xc4]
mov esi, 8
add esp, 0xc
mov dword [esp + 0x34], 0x44
cmp dword [esp + 0xcc], esi
jae 0x4081a9
lea ecx, [esp + 0xb8]
mov eax, dword [esp + 0xf0]
cmp dword [esp + 0x104], esi
jae 0x4081c0
lea eax, [esp + 0xf0]
push ecx
push eax
push str.__s___s
lea eax, [esp + 0x118]
call fcn.004578e0
add esp, 0xc
mov byte [esp + 0x8f0], 0x23
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x120], esi
jae 0x4081f5
lea eax, [esp + 0x10c]
push eax
call fcn.004f319b
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408523
sub esp, 0x1c
mov eax, str.gameOpen
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
jmp 0x40857c
mov ecx, str.flashgame
lea edi, [esp + 0x390]
call fcn.0040a0b0
test al, al
je 0x408376
mov eax, dword [esp + 0x374]
mov esi, 0x10
cmp dword [esp + 0x388], esi
jae 0x408272
lea eax, [esp + 0x374]
push eax
lea ecx, [esp + 0x2b4]
call fcn.0040a4f0
mov byte [esp + 0x8f0], 0x19
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3f8], esi
jae 0x40829e
lea eax, [esp + 0x3e4]
push eax
lea ecx, [esp + 0x2ec]
call fcn.0040a4f0
lea edx, [esp + 0x2b0]
push edx
lea ebx, [esp + 0x658]
mov byte [esp + 0x8f4], 0x1a
call fcn.004570c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x2e8]
push eax
lea ebx, [esp + 0x4ec]
mov byte [esp + 0x8f4], 0x1b
call fcn.004570c0
add esp, 4
mov ecx, 8
mov byte [esp + 0x8f0], 0x1c
cmp dword [esi + 0x14], ecx
jb 0x4082ff
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x408306
mov eax, dword [eax]
push esi
push eax
push str.app_s.flashgame._s
lea eax, [esp + 0x6b4]
call fcn.004578e0
add esp, 0xc
mov edi, eax
lea esi, [esp + 0xb8]
mov byte [esp + 0x8f0], 0x1d
call fcn.00402120
lea esi, [esp + 0x6a8]
call fcn.00402850
lea esi, [esp + 0x4e8]
call fcn.00402850
lea esi, [esp + 0x654]
call fcn.00402850
lea ecx, [esp + 0x2e8]
call fcn.00403c70
mov byte [esp + 0x8f0], 0xf
lea ecx, [esp + 0x2b0]
jmp 0x408138
mov ecx, 0x565364
lea edi, [esp + 0x390]
call fcn.0040a0b0
test al, al
je 0x40843a
cmp dword [esp + 0x764], 0x10
mov eax, dword [esp + 0x750]
jae 0x4083a7
lea eax, [esp + 0x750]
push eax
lea ecx, [esp + 0x340]
call fcn.0040a4f0
lea ecx, [esp + 0x33c]
push ecx
lea ebx, [esp + 0x6c8]
mov byte [esp + 0x8f4], 0x1e
call fcn.004570c0
add esp, 4
mov byte [esp + 0x8f0], 0x1f
cmp dword [eax + 0x14], 8
jb 0x4083e3
mov eax, dword [eax]
push eax
push 0x565368
lea eax, [esp + 0x5b4]
call fcn.004578e0
add esp, 8
mov edi, eax
lea esi, [esp + 0xb8]
mov byte [esp + 0x8f0], 0x20
call fcn.00402120
lea esi, [esp + 0x5ac]
call fcn.00402850
lea esi, [esp + 0x6c4]
call fcn.00402850
mov byte [esp + 0x8f0], 0xf
lea ecx, [esp + 0x33c]
jmp 0x408138
mov ecx, str.browser
lea edi, [esp + 0x390]
call fcn.0040a0b0
test al, al
je 0x40813f
cmp dword [esp + 0x764], 0x10
mov eax, dword [esp + 0x750]
jae 0x40846b
lea eax, [esp + 0x750]
push eax
lea ecx, [esp + 0x228]
call fcn.0040a4f0
sub esp, 0x1c
mov byte [esp + 0x90c], 0x21
lea edx, [esp + 0x240]
mov ebx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004570c0
add esp, 4
call fcn.00406620
lea ecx, [esp + 0x224]
mov byte [esp + 0x8f0], 0xf
call fcn.00403c70
sub esp, 0x1c
mov eax, str.urlOpen
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
lea esi, [esp + 0xb8]
call fcn.00402850
lea ecx, [esp + 0x9c]
call fcn.00403c70
lea ecx, [esp + 0x80]
call fcn.00403c70
lea esi, [esp + 0x6fc]
call fcn.00409440
lea esi, [esp + 0x374]
call fcn.00409440
lea esi, [esp + 0x128]
call fcn.00402850
lea esi, [esp + 0xd4]
call fcn.00402850
jmp case.0x40877c.1128
cmp dword [esp + 0x764], 0x10
mov eax, dword [esp + 0x750]
jae 0x40853b
lea eax, [esp + 0x750]
push eax
lea ecx, [esp + 0x260]
call fcn.0040a4f0
sub esp, 0x1c
mov byte [esp + 0x90c], 0x24
lea eax, [esp + 0x278]
mov ebx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004570c0
add esp, 4
call fcn.00406620
lea ecx, [esp + 0x25c]
call fcn.00403c70
xor ebx, ebx
push esi
call fcn.004f3161
add esp, 4
lea esi, [esp + 0x10c]
call fcn.00402850
jmp 0x40860e
mov ecx, 0x56480c
lea edi, [esp + 0x750]
call fcn.0040a4a0
test eax, eax
jne 0x4085b5
mov ecx, edi
push ecx
mov edx, str.http:__web.2144.cn
call fcn.00403440
cmp dword [esp + 0x764], 0x10
mov eax, dword [esp + 0x750]
jae 0x4085cd
lea eax, [esp + 0x750]
push eax
lea ecx, [esp + 0x298]
call fcn.0040a4f0
sub esp, 0x1c
mov byte [esp + 0x90c], 0x25
lea edx, [esp + 0x2b0]
mov ebx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004570c0
add esp, 4
call fcn.00406620
lea ecx, [esp + 0x294]
call fcn.00403c70
xor ebx, ebx
mov edi, 8
cmp dword [esp + 0x104], edi
jb 0x40862c
mov eax, dword [esp + 0xf0]
push eax
call fcn.004f287e
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], cx
cmp dword [esp + 0xcc], edi
jb 0x408662
mov edx, dword [esp + 0xb8]
push edx
call fcn.004f287e
add esp, 4
mov dword [esp + 0xcc], esi
xor eax, eax
mov esi, 0x10
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
cmp dword [esp + 0xb0], esi
jb 0x408698
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004f287e
add esp, 4
mov edi, 0xf
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x94], esi
jb 0x4086cb
mov edx, dword [esp + 0x80]
push edx
call fcn.004f287e
add esp, 4
lea esi, [esp + 0x6fc]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.00409440
lea esi, [esp + 0x374]
call fcn.00409440
xor ebx, ebx
mov esi, 8
cmp dword [esp + 0x13c], esi
jb 0x408718
mov eax, dword [esp + 0x128]
push eax
call fcn.004f287e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x13c], 7
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], cx
cmp dword [esp + 0xe8], esi
jb case.0x40877c.1128
mov edx, dword [esp + 0xd4]
push edx
call fcn.004f287e
add esp, 4
jmp case.0x40877c.1128
cmp eax, 0x7e9
ja case.0x40877c.1128
je 0x40926e
add eax, 0xfffffb9a
cmp eax, 0x13
ja case.0x40877c.1128
movzx eax, byte [eax + 0x409354]
jmp dword [eax*4 + 0x409324]
mov ecx, str.taryMenu_show
mov eax, edx
call fcn.0040a9b0
test al, al
je 0x4087a4
mov ecx, dword [ebx + 4]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40877c.1128
mov eax, dword [esp + 0x10]
mov ecx, str.taryMenu_quit
call fcn.0040a9b0
test al, al
je case.0x40877c.1128
mov edx, dword [ebx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x508], 0
jne 0x4087f4
push 0
push 0
push ebx
push 0x406c50
push 0
push 0
mov dword [ebx + 0x510], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00405fb0
mov eax, dword [ebx + 4]
push 0
push 0
push 0x471
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40877c.1128
mov ebx, dword [ebx + 0x3e0]
test ebx, ebx
je case.0x40877c.1128
push edi
push edx
push 0x46a
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40877c.1128
mov ecx, edi
lea esi, [esp + 0x80]
call fcn.00402810
mov esi, str.about:blank
lea ecx, [esp + 0x80]
mov dword [esp + 0x8f0], 0x26
call fcn.00401f60
test eax, eax
je 0x408887
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x40887a
lea eax, [esp + 0x80]
mov ecx, dword [ebx + 0x3e8]
push eax
push ecx
call fcn.0041a040
cmp dword [ebx + 0x414], 0x10
lea eax, [ebx + 0x400]
jb 0x408898
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2d0]
call fcn.0040a4f0
lea edx, [esp + 0x2cc]
push edx
lea ebx, [esp + 0x5e8]
mov byte [esp + 0x8f4], 0x27
call fcn.004570c0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4088cc
mov eax, dword [eax]
lea ecx, [esp + 0x80]
push ecx
mov edx, eax
call fcn.004034a0
cmp eax, 0xffffffff
lea esi, [esp + 0x5e4]
setne bl
call fcn.00402850
lea ecx, [esp + 0x2cc]
call fcn.00403c70
test bl, bl
je 0x408939
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x508], 0
jne 0x408939
push 0
push 0
push eax
push 0x406c50
push 0
push 0
mov dword [eax + 0x508], 1
mov dword [eax + 0x510], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x408944
mov esi, edi
call fcn.004047d0
lea esi, [esp + 0x80]
call fcn.00402850
jmp case.0x40877c.1128
mov ecx, edx
lea esi, [esp + 0x10c]
call fcn.00402810
lea eax, [esp + 0x86c]
mov dword [esp + 0x8f0], 0x28
call fcn.00403260
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
mov eax, 0x5641f8
lea ecx, [esp + 0x9c]
mov byte [esp + 0x8f0], 0x2a
call fcn.00403be0
mov byte [esp + 0x8f0], 0x2b
cmp dword [esp + 0x120], 8
mov ebx, dword [esp + 0x10c]
jae 0x4089cc
mov ebx, esi
call fcn.00456f70
lea edx, [esp + 0x80]
push edx
mov edx, eax
call fcn.00403440
push 0x70
lea eax, [esp + 0x870]
push 0
push eax
call fcn.004f50f0
sub esp, 0x10
lea eax, [esp + 0x9c]
mov esi, esp
lea ebx, [esp + 0x888]
mov dword [esp + 0x30], esp
call fcn.00403420
call fcn.0045f800
mov ecx, ebx
push ecx
lea ebx, [esp + 0x690]
call fcn.004570c0
add esp, 4
mov edi, eax
lea esi, [esp + 0x9c]
mov byte [esp + 0x8f0], 0x2c
call fcn.00402120
mov esi, ebx
mov byte [esp + 0x8f0], 0x2b
call fcn.00402850
sub esp, 0x1c
lea ecx, [esp + 0xb8]
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.00402810
call fcn.00406620
sub esp, 0x1c
mov eax, str.urlOpen
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00403be0
call fcn.00405dc0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x408a88
call fcn.004047d0
lea esi, [esp + 0x9c]
call fcn.00402850
lea ecx, [esp + 0x80]
call fcn.00403c70
lea esi, [esp + 0x86c]
call fcn.00403290
lea esi, [esp + 0x10c]
call fcn.00402850
jmp case.0x40877c.1128
mov ecx, edi
lea esi, [esp + 0x80]
call fcn.00402810
mov edx, esi
push edx
lea edi, [esp + 0x110]
mov dword [esp + 0x8f4], 0x2d
call fcn.00457030
add esp, 4
xor eax, eax
mov byte [esp + 0x8f0], 0x2f
push 0x94
push eax
lea edi, [ebx + 0x458]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.004f50f0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
sub esp, 0x1c
lea eax, [esp + 0x12c]
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.00403420
mov ecx, edi
call fcn.0045e7e0
mov eax, dword [ebx + 0x4e4]
test eax, eax
js 0x408b56
cmp eax, 0x32
jg 0x408b5b
mov eax, 1
jmp 0x408b6c
cmp eax, 0x32
jle 0x408b67
cmp eax, 0x96
mov eax, 2
jle 0x408b6c
mov eax, 3
mov ecx, ebx
mov dword [ebx + 0x4e8], eax
call fcn.004062c0
lea esi, [esp + 0x1c]
call fcn.004044f0
lea ecx, [esp + 0x10c]
call fcn.00403c70
lea esi, [esp + 0x80]
call fcn.00402850
jmp case.0x40877c.1128
lea ecx, [ebx + 0x4f8]
push ecx
push 0
push ebx
push 0x406c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x4f0], eax
jmp case.0x40877c.1128
mov edx, dword [ebx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x508], 0
jne 0x408bfd
push 0
push 0
push ebx
push 0x406c50
push 0
push 0
mov dword [ebx + 0x510], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00405fb0
mov eax, dword [ebx + 4]
push 0
push 0
push 0x471
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40877c.1128
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x510], 0
je 0x408c47
cmp dword [ebx + 0x514], 0
jne 0x408c47
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x40877c.1128
mov edx, dword [ebx + 4]
push 0
push 0xc8
push 0xe
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x40877c.1128
lea ecx, [ebx + 0x574]
lea esi, [esp + 0x128]
call fcn.00402810
mov dword [esp + 0x8f0], 0x30
mov eax, 7
xor esi, esi
xor ecx, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], cx
xor edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], esi
mov word [esp + 0x80], dx
push 0x3c
lea eax, [ebx + 0x41c]
push esi
push eax
mov byte [esp + 0x8fc], 0x33
call fcn.004f50f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 3
push str.https:__www.92wu.cn_switch_update_type_d
lea eax, [esp + 0xf8]
call fcn.004578e0
add esp, 8
lea eax, [esp + 0x80]
mov byte [esp + 0x8f0], 0x34
cmp dword [esp + 0x104], 8
push 1
push eax
mov eax, dword [esp + 0xf8]
jae 0x408d27
lea eax, [esp + 0xf8]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.00403be0
call fcn.00405c40
cmp eax, esi
je 0x408ea6
lea ecx, [esp + 0x80]
push ecx
lea edi, [esp + 0x508]
call fcn.00457030
add esp, 4
mov edi, 0x10
mov byte [esp + 0x8f0], 0x35
cmp dword [eax + 0x14], edi
jb 0x408d6d
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x110]
call fcn.0040a4f0
lea ecx, [esp + 0x504]
mov byte [esp + 0x8f0], 0x37
call fcn.00403c70
lea edx, [esp + 0x1c]
push edx
sub esp, 0x1c
lea eax, [esp + 0x12c]
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.00403420
lea ecx, [ebx + 0x41c]
call fcn.0045df60
test al, al
jne 0x408de0
sub esp, 0x1c
mov eax, str.JsonUpdateError
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
lea ecx, [esp + 0x10c]
call fcn.00403c70
jmp 0x408ebe
cmp dword [ebx + 0x41c], 0
je 0x408e98
cmp dword [ebx + 0x434], edi
lea eax, [ebx + 0x420]
jb 0x408dfd
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x324]
call fcn.0040a4f0
lea eax, [esp + 0x320]
push eax
lea ebx, [esp + 0x524]
mov byte [esp + 0x8f4], 0x38
call fcn.004570c0
add esp, 4
mov edi, eax
lea esi, [esp + 0x9c]
mov byte [esp + 0x8f0], 0x39
call fcn.00402120
mov esi, ebx
call fcn.00402850
lea ecx, [esp + 0x320]
mov byte [esp + 0x8f0], 0x37
call fcn.00403c70
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00458320
add esp, 4
test al, al
je 0x408e98
mov esi, dword [esp + 0x14]
lea edx, [esi + 0x4f4]
push edx
push 0
push esi
push 0x406c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4ec], eax
lea ecx, [esp + 0x10c]
call fcn.00403c70
jmp 0x408ebe
sub esp, 0x1c
mov eax, str.GetUpdateError
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
lea esi, [esp + 0xf0]
call fcn.00402850
lea esi, [esp + 0x1c]
call fcn.004044f0
lea esi, [esp + 0x80]
call fcn.00402850
lea esi, [esp + 0x9c]
call fcn.00402850
lea esi, [esp + 0x128]
call fcn.00402850
jmp case.0x40877c.1128
call fcn.00457b10
push eax
lea edi, [esp + 0x1d4]
call fcn.00457030
add esp, 4
mov dword [esp + 0x8f0], 0x3a
call fcn.00457950
push eax
lea edi, [esp + 0x55c]
call fcn.00457030
add esp, 4
push eax
mov eax, 0x56545c
lea ecx, [esp + 0xbc]
mov byte [esp + 0x8f4], 0x3b
call fcn.0040a110
add esp, 4
mov ecx, edi
mov byte [esp + 0x8f0], 0x3d
call fcn.00403c70
call fcn.00457950
push eax
lea edi, [esp + 0x594]
call fcn.00457030
add esp, 4
push eax
mov eax, str.NewsClient_delete.exe
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x8f4], 0x3e
call fcn.0040a110
add esp, 4
mov ecx, edi
mov byte [esp + 0x8f0], 0x40
call fcn.00403c70
call fcn.00457950
push eax
lea edi, [esp + 0x5cc]
call fcn.00457030
add esp, 4
push eax
mov eax, str.NewsClient_new.exe
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x8f4], 0x41
call fcn.0040a110
add esp, 4
mov ecx, edi
mov byte [esp + 0x8f0], 0x43
call fcn.00403c70
mov ecx, dword [esp + 0x1ec]
mov esi, 0x10
cmp dword [esp + 0x200], esi
jae 0x408ffb
lea ecx, [esp + 0x1ec]
mov eax, dword [esp + 0x1d0]
cmp dword [esp + 0x1e4], esi
jae 0x409012
lea eax, [esp + 0x1d0]
push ecx
push eax
call fcn.004f31f0
mov ecx, dword [esp + 0xc0]
add esp, 8
cmp dword [esp + 0xcc], esi
jae 0x409033
lea ecx, [esp + 0xb8]
mov eax, dword [esp + 0x1b4]
cmp dword [esp + 0x1c8], esi
jae 0x40904a
lea eax, [esp + 0x1b4]
push ecx
push eax
call fcn.004f31f0
push 0x44
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004f50f0
lea edx, [esp + 0xcc]
add esp, 0x14
xor ecx, ecx
push edx
lea ebx, [esp + 0x604]
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 1
mov word [esp + 0x68], cx
call fcn.004570c0
add esp, 4
mov edi, 8
mov byte [esp + 0x8f0], 0x44
cmp dword [eax + 0x14], edi
jb 0x4090a4
mov eax, dword [eax]
push eax
push str.__s__reboot
lea eax, [esp + 0x210]
call fcn.004578e0
add esp, 8
lea esi, [esp + 0x600]
mov byte [esp + 0x8f0], 0x46
call fcn.00402850
mov eax, dword [esp + 0x208]
cmp dword [esp + 0x21c], edi
jae 0x4090e4
lea eax, [esp + 0x208]
push eax
call fcn.004f319b
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0x80
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4091cd
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [edi + 0x420]
push ecx
lea ebx, [esp + 0x63c]
call fcn.004570c0
lea ecx, [edi + 0x590]
mov edx, 8
add esp, 4
cmp dword [ecx + 0x14], edx
jb 0x40914f
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x409156
mov eax, dword [eax]
push ecx
push eax
push 0x56495c
push str.client
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [esp + 0x638]
call fcn.00402850
sub esp, 0x1c
mov eax, str.UpdateSuccess
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
push 0
push 0
push edi
push 0x406c50
push 0
push 0
mov dword [edi + 0x510], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00405fb0
mov edx, dword [edi + 4]
push 0
push 0
push 0x471
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4091e5
sub esp, 0x1c
mov eax, str.UpdateError
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.00403be0
call fcn.00405dc0
lea esi, [esp + 0x208]
call fcn.00402850
lea ecx, [esp + 0x1b4]
call fcn.00403c70
lea ecx, [esp + 0x1ec]
call fcn.00403c70
lea ecx, [esp + 0xb8]
call fcn.00403c70
lea ecx, [esp + 0x1d0]
call fcn.00403c70
jmp case.0x40877c.1128
cmp dword [ebx + 0x5a4], 8
lea eax, [ebx + 0x590]
jb 0x409237
mov eax, dword [eax]
push eax
push 0
push 0x565274
push 0x565284
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne case.0x40877c.1128
push eax
push eax
push ebx
push 0x406c70
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40877c.1128
cmp edx, 0x80
je 0x40927d
mov eax, 1
jmp 0x4092fc
sub edi, 0x201
je 0x409292
sub edi, 4
jne case.0x40877c.1128
push ebx
call fcn.00401e30
jmp case.0x40877c.1128
mov eax, dword [ebx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
call esi
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call esi
push eax
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8d0]
xor ecx, esp
call fcn.004f2889
mov esp, ebp
pop ebp
ret 0x10