Function at 0x10050840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ea1d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x8c], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
push 0xe
mov dword [ebp - 0x88], ecx
mov dword [0x10496d8c], ecx
lea ecx, [ebp - 0x28]
push str.Nvidia_Overlay
mov dword [ebp - 0x84], edx
mov dword [0x10496d84], edi
mov dword [0x10496d7c], eax
mov dword [0x10496d88], edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1004ad40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10050c20
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x80], 0x30
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0x10050b00
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call esi
push 0x7f00
push 0
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x100c496c
call esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x10050975
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push edi
push 0x90000000
push str.Test1
push str.Test1
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x10496d80], eax
test eax, eax
jne 0x10050a25
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x100509ea
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100509e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050ad0
push ecx
push edx
call fcn.1007c492
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10050a1e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050a14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050ad0
push ecx
push edx
call fcn.1007c492
add esp, 8
xor eax, eax
jmp 0x10050ae5
push 0xa0
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
movaps xmm0, xmmword [0x100c8120]
lea eax, [ebp - 0x50]
push eax
push dword [0x10496d80]
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
push 5
push dword [0x10496d80]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x10496d80]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [0x10496d80]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x10050aaa
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10050aa0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050ad0
push ecx
push edx
call fcn.1007c492
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10050ae0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050ad6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050ad6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007c492
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007c3f4
mov esp, ebp
pop ebp
ret