Function at 0x417030
Capabilities:
Hide graphical window
Resolve function by parsing pe exports
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x4be562
mov eax, dword fs:[0]
push eax
sub esp, 0x770
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x768], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x784]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x794]
mov eax, dword [esp + 0x798]
mov esi, dword [esp + 0x79c]
mov edi, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
call fcn.00420340
xor ebx, ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov ecx, edi
mov dword [esp + 0x78c], ebx
call fcn.00420e90
push 0x206
lea eax, [esp + 0x57a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x580], dx
call fcn.0049ca10
lea ecx, [esp + 0x580]
add esp, 0xc
push ecx
mov ecx, 0x104
call fcn.00405180
mov ecx, dword [ebp + 0x30]
add esp, 4
lea edx, [esp + 0x58]
push edx
mov edx, dword [ebp + 0x28]
lea edi, [esp + 0x578]
call fcn.00413400
lea ecx, [esp + 0x1bc]
call fcn.00448930
lea ecx, [esp + 0x2e4]
call fcn.00448930
lea eax, [esp + 0x2e4]
push eax
push esi
mov byte [esp + 0x794], 3
call fcn.00416db0
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, str.dc_AutoUpBegin1
call fcn.00413470
push 0x3f
lea edx, [esp + 0x539]
push ebx
push edx
mov byte [esp + 0x540], bl
call fcn.0049ca10
mov eax, dword [ebp + 0xc]
add esp, 0xc
push eax
lea ecx, [esp + 0x410]
call fcn.00448a70
lea eax, [esp + 0x40c]
push eax
lea edi, [esp + 0x538]
mov byte [esp + 0x790], 4
call fcn.00408230
add esp, 4
push ebp
call fcn.0041ac10
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0x115c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], ebx
push esi
lea esi, [esp + 0x98]
call fcn.00446ee0
mov byte [esp + 0x78c], 5
lea edi, [eax + 0xc]
cmp byte [eax + 0x11c], bl
jne 0x4171c6
mov edi, dword [eax + 8]
mov eax, dword [0x501bbc]
mov esi, dword [ebp + 8]
cmp eax, ebx
jne 0x4171ee
push 0x20a
call fcn.00498bee
add esp, 4
cmp eax, ebx
je 0x4171e7
mov byte [eax], bl
jmp 0x4171e9
xor eax, eax
mov dword [0x501bbc], eax
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x7a8]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push edx
push 1
push esi
push 0x4d5a68
lea edx, [esp + 0x558]
push edx
push 5
push 1
lea ecx, [edi + 4]
push eax
mov edx, 0x46
call fcn.0045dc00
mov byte [esp + 0x78c], 4
mov byte [esp + 0x17], al
mov dword [esp + 0x94], vtable.t_str.0
cmp byte [esp + 0x1b0], bl
jne 0x417264
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x417264
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x4173ab
mov byte [esp + 0x70], bl
mov dword [esp + 0x6c], ebx
push ebx
mov byte [esp + 0x790], 6
mov esi, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.00444c00
lea ecx, [esp + 0x6c]
mov byte [esp + 0x78c], 4
call fcn.004476c0
mov eax, dword [esp + 0x68]
inc eax
cmp eax, 3
mov dword [esp + 0x68], eax
jl 0x4171a3
mov eax, dword [esp + 0x1c]
push eax
push str.Sgdlfailedstatus_d
lea edi, [esp + 0x1c4]
call fcn.00449010
mov ecx, 1
mov edx, 4
lea eax, [esp + 0xa8]
add esp, 8
lea esi, [esp + 0x9c]
mov dword [esp + 0x94], vtable.t_str.0
mov byte [esp + 0x1b0], cl
mov word [esp + 0x1ae], dx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x98], ebx
call fcn.004495a0
lea eax, [esp + 0xa0]
cmp byte [esp + 0x1b0], bl
jne 0x417336
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x24]
push edx
xor ecx, ecx
push str.errcode_d
lea edi, [esp + 0x9c]
mov word [eax + 4], cx
call fcn.00449010
add esp, 8
lea eax, [esp + 0xa0]
cmp byte [esp + 0x1b0], bl
jne 0x41736c
mov eax, dword [esp + 0x9c]
add eax, 4
push eax
lea eax, [esp + 0x1c0]
call fcn.00448d00
mov dword [esp + 0x94], vtable.t_str.0
cmp byte [esp + 0x1b0], bl
jne 0x4173ab
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x4173ab
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x7a4], bl
je 0x41751d
cmp byte [esp + 0x17], bl
jne 0x41751d
mov dword [esp + 0x24], ebx
mov byte [esp + 0x17], bl
lea ebx, [ebx]
mov ecx, dword [ebp + 0x20]
lea edi, [esp + 0x74]
call fcn.0040f100
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x18]
push eax
lea esi, [esp + 0x98]
call fcn.00446ee0
mov byte [esp + 0x78c], 9
mov edx, dword [ebp + 0xc]
cmp byte [eax + 0x11c], bl
je 0x417417
add eax, 0xc
jmp 0x41741a
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
push edx
add eax, 4
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.0041ba60
test al, al
sete byte [esp + 0x23]
mov dword [esp + 0x94], vtable.t_str.0
cmp byte [esp + 0x1b0], bl
jne 0x417465
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x417465
push eax
call fcn.00498f5b
add esp, 4
mov byte [esp + 0x78c], 4
mov eax, dword [esp + 0x74]
cmp byte [esp + 0x23], bl
je 0x4174c9
cmp eax, ebx
je 0x417484
push eax
call sym.PinyinUp.exe_curl_easy_cleanup
add esp, 4
mov eax, dword [esp + 0x78]
lea edx, [eax - 0xc]
mov dword [esp + 0x74], ebx
cmp edx, 0x4f9f74
je 0x4174b5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4174b5
mov eax, dword [esp + 0x78]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 3
mov dword [esp + 0x24], eax
jl 0x4173d0
jmp 0x41750c
mov byte [esp + 0x17], 1
cmp eax, ebx
je 0x4174db
push eax
call sym.PinyinUp.exe_curl_easy_cleanup
add esp, 4
mov eax, dword [esp + 0x78]
lea ecx, [eax - 0xc]
mov dword [esp + 0x74], ebx
cmp ecx, 0x4f9f74
je 0x41750c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41750c
mov eax, dword [esp + 0x78]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
push str.dcdlbylibcrul
lea eax, [esp + 0x1c0]
call fcn.00448d00
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
push ebx
push ebx
push 0x1421
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push str.UptoDstVer
lea eax, [esp + 0x1c0]
call fcn.00448d00
lea eax, [esp + 0x2f0]
cmp byte [esp + 0x400], bl
jne 0x41755d
mov eax, dword [esp + 0x2ec]
add eax, 4
push eax
lea eax, [esp + 0x1c0]
call fcn.00448d00
cmp byte [esp + 0x17], bl
jne 0x4177f4
push str.dc_AutoUp_dlfailed
lea eax, [esp + 0x1c0]
call fcn.00448d00
lea eax, [esp + 0x1c8]
cmp byte [esp + 0x2d8], bl
jne 0x41759f
mov eax, dword [esp + 0x1c4]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x1c]
push 0xffffffffffffffff
push ebx
lea edx, [eax + 4]
push str.dc_AutoUp1
lea eax, [esp + 0x64]
push eax
call fcn.004137c0
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [esp + 0x98]
call fcn.00446ee0
mov byte [esp + 0x78c], 0xa
cmp byte [eax + 0x11c], bl
je 0x4175e5
add eax, 0xc
mov dword [esp + 0x24], eax
jmp 0x4175ec
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x2c]
cmp dword [ebp], ebx
je 0x41760e
jmp 0x417600
mov ebp, dword [ebp]
add ebp, 0x124
cmp dword [ebp], ebx
jne 0x417600
push 0x128
call fcn.00498bee
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x417680
lea esi, [edi + 8]
mov dword [edi], vtable.t_str.0
mov eax, 4
mov word [esi + 0x112], ax
lea eax, [esi + 4]
mov byte [esi + 0x114], 1
mov dword [esi], eax
mov dword [eax], ebx
mov ecx, 1
mov dword [edi + 0x120], ebx
mov dword [edi + 4], ebx
call fcn.004495a0
cmp byte [esi + 0x114], bl
je 0x417670
add esi, 4
xor ecx, ecx
mov word [esi + 4], cx
mov dword [edi + 0x124], ebx
jmp 0x417682
mov esi, dword [esi]
xor ecx, ecx
mov word [esi + 4], cx
mov dword [edi + 0x124], ebx
jmp 0x417682
xor edi, edi
push 0x4dc43c
push 0x4d65ac
mov edx, edi
mov dword [ebp], edi
call fcn.00448ff0
mov edx, dword [esp + 0x2c]
add edx, 4
push edx
push 0x4d65ac
mov edx, edi
call fcn.00448ff0
add esp, 0x10
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
cmp byte [esp + 0x1b0], bl
jne 0x4176dd
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x4176dd
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x40c], esi
cmp byte [esp + 0x528], bl
jne 0x417708
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x417708
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x2e4], esi
cmp byte [esp + 0x400], bl
jne 0x417733
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x417733
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x1bc], esi
cmp byte [esp + 0x2d8], bl
jne 0x41775e
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x41775e
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], bl
call fcn.00413b70
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x4177c0
mov eax, dword [esi]
cmp eax, ebx
je 0x417786
push eax
call sym.PinyinUp.exe_curl_easy_cleanup
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x4177b3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4177b3
mov edx, dword [esi + 4]
sub edx, 0xc
push edx
call fcn.00498b08
add esp, 4
push esi
call fcn.00498355
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x4177ed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4177ed
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
xor al, al
jmp 0x41836a
mov eax, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], ecx
lea ecx, [eax - 3]
lea esi, [esp + 0x9c]
mov dword [esp + 0x94], vtable.t_str.0
mov byte [esp + 0x1b0], 1
mov word [esp + 0x1ae], ax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x98], ebx
call fcn.004495a0
lea eax, [esp + 0xa0]
cmp byte [esp + 0x1b0], bl
jne 0x41785d
mov eax, dword [esp + 0x9c]
xor edx, edx
mov word [eax + 4], dx
mov byte [esp + 0x78c], 0xb
mov eax, dword [esp + 0x1c]
push eax
push str.dc_AutoUp_dlokstatus_d
lea edi, [esp + 0x9c]
call fcn.00449010
add esp, 8
lea eax, [esp + 0xa0]
cmp byte [esp + 0x1b0], bl
jne 0x41789b
mov eax, dword [esp + 0x9c]
add eax, 4
push eax
lea eax, [esp + 0x1c0]
call fcn.00448d00
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
cmp dword [ecx], ebx
je 0x4178d8
push 0x4eb2dc
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x80800000
call fcn.004a1a26
mov esi, dword [eax + 0x10]
add esi, 0x6b4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x500838
mov ebx, 0x4f984c
call fcn.00440420
cmp eax, 1
je 0x417d11
mov ecx, dword [0x4f9f84]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x4d6464
shr ebx, 0x10
mov dword [esp + 0x18], ecx
test bx, bx
jne 0x417938
mov edx, 0x4d6464
movzx eax, dx
push eax
lea ecx, [esp + 0x1c]
call fcn.004037f0
jmp 0x41796a
push 0x4d6464
call edi
mov esi, eax
test esi, esi
je 0x41796a
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.004034c0
test eax, eax
je 0x41796a
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi]
push eax
push 0x4d6464
push ecx
call fcn.0049c670
add esp, 0xc
mov byte [esp + 0x78c], 0xc
mov edx, dword [0x4f9f84]
mov dword [esp + 0x1c], edx
test bx, bx
jne 0x417995
mov eax, 0x4d6464
movzx eax, ax
push eax
lea ecx, [esp + 0x20]
call fcn.004037f0
jmp 0x4179c7
push 0x4d6464
call edi
mov esi, eax
test esi, esi
je 0x4179c7
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.004034c0
test eax, eax
je 0x4179c7
mov edx, dword [esp + 0x1c]
lea ecx, [esi + esi]
push ecx
push 0x4d6464
push edx
call fcn.0049c670
add esp, 0xc
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
push 0
push 5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
push esi
mov ecx, ebp
mov byte [esp + 0x7a4], 0xd
call fcn.0041ad20
test al, al
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
sete bl
cmp edx, 0x4f9f74
je 0x417a19
lea ebp, [eax - 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417a19
push ebp
call fcn.00498b08
add esp, 4
mov byte [esp + 0x78c], 0xb
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x417a47
lea ebp, [eax - 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417a47
push ebp
call fcn.00498b08
add esp, 4
lea eax, [esp + 0x1bc]
test bl, bl
je 0x417bc6
push str.dc_AutoUp_Installfailed
call fcn.00448d00
cmp byte [esp + 0x2d8], 0
lea eax, [esp + 0x1c8]
jne 0x417a78
mov eax, dword [esp + 0x1c4]
mov ecx, dword [edi + 0x1c]
push 0xffffffffffffffff
push 0
lea edx, [eax + 4]
push str.dc_AutoUp1
lea eax, [esp + 0x64]
push eax
call fcn.004137c0
cmp dword [esi], 0
je 0x417aad
jmp 0x417aa0
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], 0
jne 0x417aa0
push 0x128
call fcn.00498bee
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x417ad3
mov ecx, edi
call fcn.00448930
mov dword [edi + 0x124], ebx
mov edx, edi
jmp 0x417ad5
xor edx, edx
push 0x4dc978
push 0x4d65ac
mov dword [esi], edx
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1b0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
jne 0x417b1a
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x417b1a
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x528], 0
mov dword [esp + 0x40c], esi
jne 0x417b46
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x417b46
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x400], 0
mov dword [esp + 0x2e4], esi
jne 0x417b72
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x417b72
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x2d8], 0
mov dword [esp + 0x1bc], esi
jne 0x417b9e
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x417b9e
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], 0
call fcn.00413b70
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x4177c0
call fcn.00420ac0
jmp 0x4177bc
push str.dc_AutoUp_Installok
call fcn.00448d00
cmp byte [esp + 0x2d8], 0
lea eax, [esp + 0x1c8]
jne 0x417be8
mov eax, dword [esp + 0x1c4]
mov ecx, dword [edi + 0x1c]
push 0xffffffffffffffff
push 0
lea edx, [eax + 4]
push str.dc_AutoUp1
lea eax, [esp + 0x64]
push eax
call fcn.004137c0
cmp byte [esp + 0x1b0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
jne 0x417c32
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x417c32
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x528], 0
mov dword [esp + 0x40c], esi
jne 0x417c5e
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x417c5e
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x400], 0
mov dword [esp + 0x2e4], esi
jne 0x417c8a
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x417c8a
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x2d8], 0
mov dword [esp + 0x1bc], esi
jne 0x417cb6
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x417cb6
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], 0
call fcn.00413b70
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x417cdd
call fcn.00420ac0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x417d0a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417d0a
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov al, 1
jmp 0x41836a
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x418261
mov edi, dword [eax + 4]
mov eax, dword [edi + 4]
push 0
push 0
push 0x50a
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp + 0x24]
push 1
lea ecx, [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x417d4f
call fcn.0040d7c0
jmp 0x417d52
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp byte [edi + 0x7e8], 0
je 0x418236
mov edx, dword [esp + 0x30]
mov esi, 0x4d6464
mov byte [edx], 0
mov eax, dword [0x4f9f84]
shr esi, 0x10
mov dword [esp + 0x1c], eax
test si, si
jne 0x417d97
mov ecx, 0x4d6464
movzx eax, cx
push eax
lea ecx, [esp + 0x20]
call fcn.004037f0
jmp 0x417dcd
push 0x4d6464
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x417dcd
mov ecx, ebx
lea edx, [esp + 0x1c]
call fcn.004034c0
test eax, eax
je 0x417dcd
mov eax, dword [esp + 0x1c]
lea edx, [ebx + ebx]
push edx
push 0x4d6464
push eax
call fcn.0049c670
add esp, 0xc
mov byte [esp + 0x78c], 0xe
mov ecx, dword [0x4f9f84]
mov dword [esp + 0x18], ecx
test si, si
jne 0x417df8
mov edx, 0x4d6464
movzx eax, dx
push eax
lea ecx, [esp + 0x1c]
call fcn.004037f0
jmp 0x417e2e
push 0x4d6464
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x417e2e
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.004034c0
test eax, eax
je 0x417e2e
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi]
push eax
push 0x4d6464
push ecx
call fcn.0049c670
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push ecx
mov ecx, ebp
mov byte [esp + 0x7a4], 0xf
call fcn.0041ad20
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test al, al
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
sete byte [esp + 0x23]
cmp edx, 0x4f9f74
je 0x417e84
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x417e84
push esi
call fcn.00498b08
add esp, 4
mov byte [esp + 0x78c], 0xb
mov esi, dword [esp + 0x1c]
lea eax, [esi - 0xc]
cmp eax, 0x4f9f74
je 0x417ead
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x417ead
push esi
call fcn.00498b08
add esp, 4
cmp byte [esp + 0x23], 0
mov eax, dword [0x4fd600]
je 0x4180ce
test eax, eax
je 0x417ed1
push 0
push 0
push 0x800d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x30]
mov byte [ecx], 1
cmp dword [edi + 4], 0
je 0x417f86
mov edx, dword [edi + 0x94]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebp
mov ebx, 0x4dc814
lea esi, [esp + 0x24]
call fcn.004035f0
mov eax, esi
mov esi, edi
mov byte [esp + 0x78c], 0x10
call fcn.0040ba10
mov byte [esp + 0x78c], 0xb
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x417f40
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417f40
push esi
call fcn.00498b08
add esp, 4
mov esi, edi
call fcn.0040b710
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x417f64
mov dword [edi + 0xc0], esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [edi + 4]
push 0
push edx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp byte [esp + 0x2d8], 0
lea eax, [esp + 0x1c8]
jne 0x417f9e
mov eax, dword [esp + 0x1c4]
mov ecx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push 0
lea edx, [eax + 4]
push str.dc_AutoUp1
lea eax, [esp + 0x64]
push eax
call fcn.004137c0
mov ecx, dword [esp + 0x2c]
call fcn.00447720
push 0x4dcbec
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1b0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
jne 0x418005
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x418005
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x528], 0
mov dword [esp + 0x40c], esi
jne 0x418031
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x418031
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x400], 0
mov dword [esp + 0x2e4], esi
jne 0x41805d
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x41805d
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x2d8], 0
mov dword [esp + 0x1bc], esi
jne 0x418089
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x418089
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], 0
call fcn.00413b70
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4180b0
call fcn.00420ac0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x4177ed
add eax, 0xfffffff4
push eax
call ebp
jmp 0x4177d9
test eax, eax
jne 0x41821f
cmp byte [esp + 0x2d8], 0
mov eax, dword [esp + 0x30]
mov byte [eax], 0
lea eax, [esp + 0x1c8]
jne 0x4180f5
mov eax, dword [esp + 0x1c4]
mov ecx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push 0
lea edx, [eax + 4]
push str.dc_AutoUp1
lea eax, [esp + 0x64]
push eax
call fcn.004137c0
cmp byte [esp + 0x1b0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
jne 0x41813f
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x41813f
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x528], 0
mov dword [esp + 0x40c], esi
jne 0x41816b
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x41816b
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x400], 0
mov dword [esp + 0x2e4], esi
jne 0x418197
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x418197
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x2d8], 0
mov dword [esp + 0x1bc], esi
jne 0x4181c3
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x4181c3
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], 0
call fcn.00413b70
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4181ea
call fcn.00420ac0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x417d0a
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x417d0a
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00498b08
mov al, 1
jmp 0x418367
push 0
push 2
push 0x800c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call fcn.004998fb
cmp byte [esp + 0x2d8], 0
mov eax, dword [esp + 0x30]
mov byte [eax], 1
lea eax, [esp + 0x1c8]
jne 0x418255
mov eax, dword [esp + 0x1c4]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x1c]
jmp 0x417beb
cmp byte [esp + 0x1b0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x94], esi
jne 0x418292
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x418292
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x528], 0
mov dword [esp + 0x40c], esi
jne 0x4182be
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
cmp eax, edx
je 0x4182be
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x400], 0
mov dword [esp + 0x2e4], esi
jne 0x4182ea
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x2f0]
cmp eax, ecx
je 0x4182ea
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x2d8], 0
mov dword [esp + 0x1bc], esi
jne 0x418316
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x1c8]
cmp eax, edx
je 0x418316
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x790], 0
call fcn.00413b70
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x41833d
call fcn.00420ac0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41836a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41836a
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov ecx, dword [esp + 0x784]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x768]
xor ecx, esp
call fcn.00497c58
add esp, 0x77c
ret 0x14