Function at 0x49c060
Capabilities:
Enumerate processes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x4ba040]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x18
call fcn.0049cb08
xorps xmm0, xmm0
mov dword [0x4beb50], eax
add esp, 4
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
nop word [eax + eax]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [0x4be698], 0xf
mov eax, str.MiniA.exe
mov edi, dword [0x4be694]
xorps xmm0, xmm0
cmova eax, dword [str.MiniA.exe]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 8], eax
cmp edi, 0x7fffffff
ja 0x49c4f2
cmp edi, 0xf
ja 0x49c111
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x20], xmm0
jmp 0x49c199
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x49c12d
mov ecx, 0x80000000
mov esi, 0x7fffffff
add ecx, 0x23
jmp 0x49c14d
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x49c169
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x49c4f7
push ecx
call fcn.0049cb08
add esp, 4
test eax, eax
je 0x49c4ec
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x49c17c
test eax, eax
je 0x49c17a
push eax
call fcn.0049cb08
add esp, 4
mov ecx, eax
jmp 0x49c17c
xor ecx, ecx
lea eax, [edi + 1]
mov dword [esp + 0x20], ecx
push eax
push dword [esp + 0xc]
mov dword [esp + 0x38], edi
push ecx
mov dword [esp + 0x40], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x60], 0x128
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x49c1f5
nop dword [eax]
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x49c4a6
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x49c1c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x49c232
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49c228
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49c4ec
push ecx
push edx
call fcn.0049c7c4
add esp, 8
xor esi, esi
cmp esi, dword [esp + 0xc]
jne 0x49c0a0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x10]
mov dword [0x4beb54], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
sub eax, dword [esp + 0x10]
mov ecx, dword [0x4beb50]
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, 0x4beb58
cmp dword [0x4beb6c], 0xf
mov dword [esp + 0x28], 0x49c000
movups xmm0, xmmword [esp + 0x20]
cmova eax, dword [0x4beb58]
mov dword [esp + 0x3c], 0
movups xmmword [0x4beb1c], xmm0
mov dword [esp + 0x40], 0
movups xmm0, xmmword [esp + 0x30]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
movups xmmword [0x4beb2c], xmm0
push 0x4beb1c
movups xmm0, xmmword [esp + 0x44]
movups xmmword [0x4beb3c], xmm0
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
push dword [0x4beb54]
movaps xmmword [esp + 0x58], xmm0
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x10]
push eax
push dword [0x4beb54]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x4beb50]
mov edx, 0x4beb58
movaps xmm0, xmmword [0x4b6d20]
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
movups xmmword [esp + 0x2c], xmm0
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
push dword [esp + 0x6c]
cmp dword [0x4beb6c], 0xf
push dword [esp + 0x20]
cmova edx, dword [0x4beb58]
push esi
push edi
mov dword [esp + 0x28], edx
mov edx, 0x4beb58
cmova edx, dword [0x4beb58]
push 0x90000000
push dword [esp + 0x2c]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [esp + 0x20]
mov dword [0x4beb14], eax
push ecx
push eax
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
push 0x800a0
push 0xffffffffffffffec
push dword [0x4beb14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push dword [0x4beb14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4beb14]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4beb18
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x49c48b
mov eax, dword [0x4beb18]
xorps xmm0, xmm0
push 0x4beb4c
push 0
push 0x4beadc
push 0x40
push dword [0x4beb14]
movlpd qword [0x4beadc], xmm0
push 1
movlpd qword [0x4beae8], xmm0
mov dword [0x4beaf0], 0
mov dword [0x4beaf8], 0
movlpd qword [0x4beb00], xmm0
movlpd qword [0x4beb08], xmm0
mov dword [0x4beafc], 1
mov dword [0x4beaf4], 1
mov dword [0x4beae4], 0x15
mov dword [0x4beb10], 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x50]
call fcn.0049bbc0
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0049c694
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x68]
cmp ecx, 0xf
jbe 0x49c234
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49c4dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49c4ec
push ecx
push edx
call fcn.0049c7c4
add esp, 8
jmp 0x49c234
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0049add0
call fcn.0049ad30
int3