Function at 0x423340
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0458
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
push 0x1b
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Amazon_Games_Master_Process
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004225a0
mov dword [ebp - 4], 0
call fcn.0043ce00
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00419480
lea eax, [ebp - 0x44]
push eax
call fcn.00422ee0
mov dword [ebp - 4], 1
call fcn.00423090
test al, al
je 0x423698
mov ecx, str.Another_Master_Process_instance_already_found_running__attempting_to_focus
call fcn.00413ab0
push 0x2f
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Amazon_Games_ServicesAmazon_Games_Services.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004225a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
push 0x19
xor eax, eax
mov dword [ebp - 0x58], 0
push str.Amazon_Games_Services.exe
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.004225a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.00422cc0
lea ecx, [ebp - 0x68]
mov bh, al
call fcn.00419480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00419480
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x51b648
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004225a0
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x51b71c
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.004225a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
push 0x13
xor eax, eax
mov dword [ebp - 0x70], 0
push str.Amazon_Games_UI.exe
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.004225a0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x58]
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
test esi, esi
je 0x423555
push 0x5513c0
mov dword [ebp - 0x48], 0x5513c0
call fcn.0048f2b8
add esp, 4
test eax, eax
je 0x4234ed
push eax
call fcn.0048f7a2
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
mov ecx, 0x540188
push esi
cmovae eax, dword [ebp - 0x68]
push eax
mov byte [0x5500d9], 0
call fcn.004225a0
push 0
push 0x445740
call edi
mov bl, byte [0x5500d9]
push 0x5513c0
mov byte [ebp - 4], 8
call fcn.0048f2dd
add esp, 4
test eax, eax
je 0x42353c
push eax
call fcn.0048f7a2
add esp, 4
mov byte [ebp - 4], 6
test bl, bl
je 0x423555
mov ecx, str.Refocused_existing_app_by_tray_icon
call fcn.00413ab0
mov bl, 1
jmp 0x42360b
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4235ff
push 0x5513c0
mov dword [ebp - 0x48], 0x5513c0
call fcn.0048f2b8
add esp, 4
test eax, eax
je 0x423581
push eax
call fcn.0048f7a2
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
mov ecx, 0x540170
push dword [ebp - 0x70]
cmovae eax, dword [ebp - 0x80]
push eax
mov byte [0x5500d9], 0
call fcn.004225a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x540188
push eax
call fcn.004225a0
push 0
push 0x445880
call edi
mov bl, byte [0x5500d9]
push 0x5513c0
mov byte [ebp - 4], 0xa
call fcn.0048f2dd
add esp, 4
test eax, eax
je 0x4235e9
push eax
call fcn.0048f7a2
add esp, 4
mov byte [ebp - 4], 6
test bl, bl
je 0x4235ff
mov ecx, str.Refocused_existing_app_by_window_name
call fcn.00413ab0
mov bl, 1
jmp 0x42360b
mov ecx, str.Process_running_but_could_not_find_UI_for_focus__restarting
call fcn.0041c7c0
xor bl, bl
lea ecx, [ebp - 0x80]
call fcn.00419480
lea ecx, [ebp - 0x68]
call fcn.00419480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00419480
test bl, bl
jne 0x42362f
test bh, bh
je 0x423695
mov edx, 0x53f1a8
mov byte [ebp - 0x30], bh
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], bl
call fcn.00432330
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.004241f0
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x423849
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x423849
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x423849
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x423849
mov ebx, dword [ebp - 0x38]
push str.SONIC_BYPASS_UPDATES
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004cbb39
add esp, 0xc
test eax, eax
jne 0x423764
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x423764
push eax
call fcn.004c6fff
add esp, 4
mov ecx, str.Update_check_bypassed
call fcn.00413ab0
push 5
push str.Start
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00418ea0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 7
push str.Process
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418ea0
push 1
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00445990
mov byte [ebp - 4], 0xd
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x423794
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42378a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42386d
jmp 0x42378a
mov ecx, str.Checking_for_updates
call fcn.00413ab0
call fcn.0042bba0
test al, al
je 0x4236da
mov ecx, str.Update_required__exiting_master_process
call fcn.00413ab0
jmp 0x423849
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4237cc
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4237c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423872
push edx
push ecx
call fcn.004a68a5
add esp, 8
movaps xmm0, xmmword [0x522c50]
lea esi, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xf
mov edi, 7
mov dword [ebp - 0x18], 0x15
mov dword [ebp - 0x14], 0x16
push 0x42b7c0
push dword [esi]
call fcn.004cb69a
add esp, 8
lea esi, [esi + 4]
sub edi, 1
jne 0x4237f4
push 1
push 0x42b870
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ecx
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.00422730
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea ecx, [ebx + 4]
call fcn.00427c50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00423a30
lea ecx, [ebx + 4]
call fcn.004280f0
lea ecx, [ebp - 0x44]
call fcn.004245a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6894
mov esp, ebp
pop ebp
ret
call fcn.004c6faf
call fcn.004c6faf
int3