Function at 0x401730
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402d71
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.00402cc0
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x1134], 0
push str.hl.exe
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1130], 0
movups xmmword [ebp - 0x1144], xmm0
call fcn.00401e10
lea ecx, [ebp - 0x1144]
mov dword [ebp - 4], 0
call fcn.00401180
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x1130]
mov dword [ebp - 0x112c], esi
cmp ecx, 0x10
jb 0x4017ec
mov edx, dword [ebp - 0x1144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4017e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018c8
push ecx
push edx
call fcn.00401fb2
add esp, 8
test esi, esi
jne 0x40180e
lea eax, [esi + 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.00401f74
mov esp, ebp
pop ebp
ret
push 4
call fcn.00401f82
mov dword [ebp - 0x111c], eax
mov dword [eax], 0x401660
lea ecx, [ebp - 0x1120]
mov dword [ebp - 4], 1
push ecx
push 0
push eax
push 0x401f20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1124], eax
test eax, eax
je 0x4019cd
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1144]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x1134], 0
push str.hw.dll
movups xmmword [ebp - 0x1144], xmm0
mov dword [ebp - 0x1130], 0
call fcn.00401e10
lea edx, [ebp - 0x1144]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00401310
mov ecx, dword [ebp - 0x1130]
mov edi, eax
cmp ecx, 0x10
jb 0x4018d8
mov edx, dword [ebp - 0x1144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4018ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401fb2
add esp, 8
lea ecx, [edi + 0x108dd90]
mov dword [ebp - 0x1118], 0
mov dword [ebp - 0x1128], ecx
jmp 0x4018f6
mov esi, dword [ebp - 0x112c]
push 0
push 4
lea eax, [ebp - 0x1118]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x40191f
push eax
push str.error
push str.read_error
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x1118], 0
je 0x4019bb
lea eax, [ebp - 0x111c]
mov byte [0x4053fc], 1
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov ecx, dword [ebp - 0x1128]
test eax, eax
je 0x4018f6
mov edi, dword [ebp - 0x111c]
xor esi, esi
shr edi, 2
test edi, edi
je 0x4018f0
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp + esi*4 - 0x1114]
push dword [ebp - 0x112c]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
cmp esi, 0x95
jbe 0x4019ab
push 0
push str.m0rphine_anti_cheat
push str.detected_cheat_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
inc esi
cmp esi, edi
jl 0x401970
mov ecx, dword [ebp - 0x1128]
jmp 0x4018f0
mov ecx, dword [ebp - 0x1128]
mov byte [0x4053fc], 0
jmp 0x4018f6
push 6
mov dword [ebp - 0x1120], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3