Function at 0x423090
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f03c6
mov eax, dword fs:[0]
push eax
sub esp, 0x274
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
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x256], 1
mov byte [ebp - 0x257], 0
or edi, 0xffffffff
mov dword [ebp - 0x1c], 0x51b69c
mov dword [ebp - 0x18], str.Amazon_Games_UI.exe
mov dword [ebp - 0x14], str.Amazon_Games_Services.exe
mov dword [ebp - 0x25c], eax
nop dword [eax]
mov edx, dword [eax]
xor eax, eax
mov word [ebp - 0x278], ax
mov eax, edx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423114
sub eax, esi
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
push edx
call fcn.004225a0
push 0x22c
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.004beb60
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x250], 0x22c
lea eax, [ebp - 0x250]
mov dword [ebp - 0x248], 0xffffffff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, eax
mov byte [ebp - 0x255], 0
nop dword [eax]
test esi, esi
je 0x4231f6
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push ebx
mov dword [ebp - 0x248], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
mov eax, dword [ebp - 0x248]
test esi, esi
cmove eax, edi
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004ce178
add esp, 8
test eax, eax
jne 0x423180
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 0x248]
je 0x423180
mov byte [ebp - 0x255], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x278]
call fcn.00419480
cmp byte [ebp - 0x255], 0
je 0x423296
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x280]
mov edx, 0x53f1a8
mov eax, dword [eax]
mov dword [ebp - 0x254], eax
call fcn.00432330
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
push str.Existing_process_detected_as_running__processName:__s_
push 2
call fcn.0041d130
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x27c]
test esi, esi
je 0x42327f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42327f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42327f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov bl, byte [ebp - 0x256]
mov bh, 1
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x257], bh
jmp 0x4232a4
mov bh, byte [ebp - 0x257]
xor bl, bl
mov byte [ebp - 0x256], bl
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x25c], eax
cmp eax, ecx
jne 0x4230f0
test bh, bh
je 0x42331a
test bl, bl
jne 0x42331a
mov edx, 0x53f178
lea ecx, [ebp - 0x260]
call fcn.00432330
push str.At_least_one_process_appears_to_be_orphaned_from_previous_session__or_closing_
mov dword [ebp - 4], 2
mov ecx, dword [eax]
push 3
call fcn.00413c00
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x42331a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42331a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42331a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
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