Function at 0x4e87c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x530], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x548]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x490], 9
mov dword [esp + 0x10], edi
mov esi, edx
jne 0x4e89aa
lea eax, [esp + 0x7c]
push eax
call fcn.00487070
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [esp + 0x558], 0
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], esp
push ecx
lea esi, [esp + 0xb4]
call fcn.0048a840
test eax, eax
je 0x4e8990
push str.IDS_QUIT_PROMPT
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov ebx, 8
mov byte [esp + 0x550], 1
cmp dword [eax + 0x18], ebx
jb 0x4e8886
mov eax, dword [eax + 4]
jmp 0x4e8889
add eax, 4
push eax
lea ecx, [esp + 0x80]
call fcn.00489270
mov byte [esp + 0x550], 0
cmp dword [esp + 0x30], ebx
jb 0x4e88b1
mov edx, dword [esp + 0x1c]
push edx
call fcn.0053d782
add esp, 4
push str.IDS_QUIT
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov byte [esp + 0x550], 2
cmp dword [eax + 0x18], ebx
jb 0x4e88d6
mov eax, dword [eax + 4]
jmp 0x4e88d9
add eax, 4
push 1
push 2
mov ecx, eax
lea edx, [esp + 0x84]
call fcn.00489670
mov byte [esp + 0x550], 0
cmp dword [esp + 0x30], ebx
jb 0x4e8906
mov eax, dword [esp + 0x1c]
push eax
call fcn.0053d782
add esp, 4
push str.IDS_BTN_CONTINUE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov byte [esp + 0x550], 3
cmp dword [eax + 0x18], ebx
jb 0x4e892b
mov eax, dword [eax + 4]
jmp 0x4e892e
add eax, 4
push 1
push 1
mov ecx, eax
lea edx, [esp + 0x84]
call fcn.00489670
mov byte [esp + 0x550], 0
cmp dword [esp + 0x30], ebx
jb 0x4e895b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0053d782
add esp, 4
mov eax, 1
lea ecx, [esp + 0x7c]
call fcn.00489750
push 0
push 0
lea esi, [esp + 0x84]
mov byte [esp + 0x24a], 1
call fcn.00488ed0
cmp eax, 2
jne 0x4e8990
mov edx, dword [edi + 0x30]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x554], 0xffffffff
call fcn.00487240
jmp 0x4e8f8d
cmp dword [edi + 0x3a0], 1
jne 0x4e8e47
lea ecx, [esp + 0x7c]
push ecx
call fcn.00487070
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [esp + 0x554], 4
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov edx, dword [edi + 0x30]
mov dword [esp + 0x1c], esp
push edx
lea esi, [esp + 0xb4]
call fcn.0048a840
test eax, eax
je 0x4e8e2d
lea esi, [esp + 0x34]
call fcn.004e5930
mov byte [esp + 0x550], 5
mov eax, 3
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, esi
push eax
lea ecx, [esp + 0x80]
mov ebx, 7
mov edi, str.ac_s10_1
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 0xe9a9
mov dword [esp + 0x74], edi
mov dword [esp + 0x44], 0x72
mov dword [esp + 0x48], 0x13
call fcn.00489c80
mov eax, esi
call fcn.004e5970
push str.IDS_QUIT_REGISTRATION_P1
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], 1
call fcn.004adb10
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x55c], 6
call fcn.00412610
mov ecx, esi
mov byte [esp + 0x550], 5
call fcn.0040f400
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 0x154
mov dword [esp + 0x50], 0x14
call fcn.00489c80
lea eax, [esp + 0x34]
call fcn.004e5970
lea ecx, [esp + 0x34]
mov eax, 3
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 0xe9a9
mov dword [esp + 0x74], edi
mov dword [esp + 0x44], 0x72
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00489c80
lea eax, [esp + 0x34]
call fcn.004e5970
push str.IDS_QUIT_REGISTRATION_P2
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], 1
call fcn.004adb10
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x55c], bl
call fcn.00412610
mov ecx, esi
mov byte [esp + 0x550], 5
call fcn.0040f400
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], 2
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x154
mov dword [esp + 0x50], 0x14
call fcn.00489c80
lea eax, [esp + 0x34]
call fcn.004e5970
mov eax, 3
lea edx, [esp + 0x34]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], 0xe9a9
mov dword [esp + 0x74], edi
mov dword [esp + 0x44], 0x72
mov dword [esp + 0x48], ebx
call fcn.00489c80
lea eax, [esp + 0x34]
call fcn.004e5970
push str.IDS_QUIT_REGISTRATION_P3
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], 1
call fcn.004adb10
push 0xffffffffffffffff
push 0
push eax
mov ebx, 8
lea eax, [esp + 0x5c]
mov byte [esp + 0x55c], bl
call fcn.00412610
mov ecx, esi
mov byte [esp + 0x550], 5
call fcn.0040f400
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], edi
push ecx
lea edx, [esp + 0x80]
mov edi, 0x14
push edx
mov dword [esp + 0x7c], 4
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x154
mov dword [esp + 0x50], edi
call fcn.00489c80
lea eax, [esp + 0x34]
call fcn.004e5970
push str.IDS_QUIT_CONFIRMATION
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], 1
call fcn.004adb10
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x55c], 9
call fcn.00412610
mov ecx, esi
mov byte [esp + 0x550], 5
call fcn.0040f400
mov dword [esp + 0x6c], str.ac_s11b_1
mov dword [esp + 0x3c], 0x6e
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], 0x168
mov dword [esp + 0x48], edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00489c80
push str.IDS_QUIT_REGISTRATION_DESC
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov byte [esp + 0x550], 0xa
cmp dword [eax + 0x18], ebx
jb 0x4e8d19
mov eax, dword [eax + 4]
jmp 0x4e8d1c
add eax, 4
push 0
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00489000
lea ecx, [esp + 0x18]
mov byte [esp + 0x550], 5
call fcn.0040f400
mov ecx, str.ac_s11b_1
lea eax, [esp + 0x7c]
call fcn.004894c0
push str.IDS_QUIT
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov byte [esp + 0x550], 0xb
cmp dword [eax + 0x18], ebx
jb 0x4e8d70
mov eax, dword [eax + 4]
jmp 0x4e8d73
add eax, 4
push 1
push 2
mov ecx, eax
lea edx, [esp + 0x84]
call fcn.00489670
lea ecx, [esp + 0x18]
mov byte [esp + 0x550], 5
call fcn.0040f400
push str.IDS_CONTINUE_REGISTRATION
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004adb10
mov byte [esp + 0x550], 0xc
cmp dword [eax + 0x18], ebx
jb 0x4e8dbb
mov eax, dword [eax + 4]
jmp 0x4e8dbe
add eax, 4
push 1
push 1
mov ecx, eax
lea edx, [esp + 0x84]
call fcn.00489670
lea ecx, [esp + 0x18]
mov byte [esp + 0x550], 5
call fcn.0040f400
mov eax, 1
lea ecx, [esp + 0x7c]
call fcn.00489750
push 0
push 0
lea esi, [esp + 0x84]
mov byte [esp + 0x24a], 1
call fcn.00488ed0
cmp eax, 2
jne 0x4e8e1a
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [esp + 0x68], ebx
jb 0x4e8e2d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0053d782
add esp, 4
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x554], 0xffffffff
call fcn.00487240
jmp 0x4e8f8d
cmp byte [edi + 0x49c], 0
jne 0x4e8ea4
mov eax, dword [edi + 0x4f4]
test eax, eax
je 0x4e8ea4
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x84]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4e8ea4
mov ecx, dword [edi + 0x30]
push 0
push 0x1388
push 5
push ecx
mov byte [edi + 0x49c], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [edi + 0x30]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e8f8d
mov eax, dword [edi + 0x430]
test eax, eax
je 0x4e8f87
mov eax, dword [eax + 0x280]
test eax, eax
je 0x4e8f87
call fcn.004c0130
test al, al
jne 0x4e8f87
lea eax, [esp + 0x2dc]
push eax
call fcn.00487070
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
mov ebx, 0xd
mov dword [esp + 0x558], ebx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x1c], esp
push ecx
lea esi, [esp + 0x314]
call fcn.0048a840
test eax, eax
je 0x4e8f6d
push 0
lea eax, [edi + 0x54]
mov ecx, str.IDS_MSG_QUIT_SYNCING_PROMPT
lea esi, [esp + 0x1c]
call fcn.004adac0
mov byte [esp + 0x550], 0xe
cmp dword [eax + 0x18], 8
jb 0x4e8f3a
mov eax, dword [eax + 4]
jmp 0x4e8f3d
add eax, 4
push 0
mov edx, eax
lea ecx, [esp + 0x2e0]
call fcn.00489000
lea ecx, [esp + 0x18]
mov byte [esp + 0x550], bl
call fcn.0040f400
push 0
push 1
lea esi, [esp + 0x2e4]
call fcn.00488ed0
lea edx, [esp + 0x2dc]
push edx
mov dword [esp + 0x554], 0xffffffff
call fcn.00487240
jmp 0x4e8f8d
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esp + 0x548]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x530]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret