Function at 0x440130
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov dword [esi + 0x11c], esp
mov dword [esi + 0x128], 0xffffffff
lea eax, [esi + 0x120]
mov dword [esi + 0x124], 0x440da0
mov ecx, dword fs:[0]
mov dword [esi + 0x120], ecx
mov dword fs:[0], eax
call fcn.00446040
push str.LethalLeague.exe
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x440371
push str.titan_ggpo.dll
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44048b
call fcn.0044e4dd
lea edi, [esi + 0x60]
push 0xf
push str.steam_appid.txt
push eax
push edi
call fcn.00442cc0
add esp, 0x10
mov dword [esi + 0x128], 5
push edi
call fcn.004411c0
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x74]
cmp eax, 8
jb 0x440212
mov ecx, dword [esi + 0x60]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x440208
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x440910
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044ca25
add esp, 8
test bl, bl
je 0x4405b0
mov dword [esi + 0x128], 0xffffffff
lea ecx, [esi + 0x60]
push 1
push 0x40
push 1
push str.steam_appid.txt
call fcn.00416de0
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
mov eax, dword [esi + eax + 0x98]
test eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x58], eax
sete byte [esi + 0x5c]
mov dword [esi + 0x48], 0
mov word [esi + 0x4c], 1
mov byte [esi + 0x5d], 0
mov dword [esi + 0x128], 8
sub esp, 0x14
movzx eax, byte [esi + 0x44]
mov byte [esp + 0x10], al
movsd xmm0, qword [esi + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [esp], xmm0
lea ecx, [esi + 8]
call fcn.00443040
mov dword [esi + 0x128], 9
lea ecx, [esi + 0x60]
call fcn.00441380
mov eax, dword [esi + 0x18]
cmp eax, 7
jne 0x4402e9
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x4402d6
mov ecx, dword [esi + 8]
push eax
push str.261180_n
push ecx
call fcn.0044f8fd
add esp, 0xc
test eax, eax
je 0x4402ee
call fcn.0043ff50
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jb 0x440326
mov ecx, dword [esi + 8]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x44031c
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x44091f
add eax, 0x24
mov edx, eax
mov ecx, edi
push edx
push ecx
call fcn.0044ca25
add esp, 8
lea edi, [esi + 0xd0]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x60], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esi + eax + 0x5c], ecx
lea ecx, [esi + 0x70]
call fcn.0041f2d0
mov dword [esi + 0xd0], vtable.std::ios_base.0
mov dword [esi + 0x128], 7
push edi
call fcn.0044dbeb
add esp, 4
jmp 0x4405bf
mov dword [esi + 0x60], vtable.el::base::Writer.0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 8
mov dword [esi + 0x6c], str.main.cpp
mov dword [esi + 0x70], 0x66
mov dword [esi + 0x74], str.int___stdcall_wWinMain_HINSTANCE__HINSTANCE__PWSTR__int_
mov word [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov byte [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x8c], xmm0
mov dword [esi + 0x128], 1
lea eax, [esi + 0x60]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
cmp byte [eax + 0x20], 0
mov dword [esi + 4], eax
je 0x440431
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.Could_not_find
push ecx
call fcn.00415fc0
mov eax, dword [esi + 4]
add esp, 8
mov ecx, dword [0x48a778]
test byte [ecx + 0x15], 0x20
je 0x440431
mov eax, dword [eax + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
mov eax, dword [esi + 4]
add esp, 8
cmp byte [eax + 0x20], 0
je 0x44046d
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.LethalLeague.exe
push ecx
call fcn.00415fc0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [0x48a778]
test byte [eax + 0x15], 0x20
je 0x44046d
mov eax, dword [ecx + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
add esp, 8
mov dword [esi + 0x60], vtable.el::base::Writer.0
mov dword [esi + 0x128], 0
lea ecx, [esi + 0x60]
call fcn.00411ca0
jmp 0x4405a0
mov dword [esi + 0x60], vtable.el::base::Writer.0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 8
mov dword [esi + 0x6c], str.main.cpp
mov dword [esi + 0x70], 0x6c
mov dword [esi + 0x74], str.int___stdcall_wWinMain_HINSTANCE__HINSTANCE__PWSTR__int_
mov word [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov byte [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x8c], xmm0
mov dword [esi + 0x128], 3
lea eax, [esi + 0x60]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
cmp byte [eax + 0x20], 0
mov dword [esi + 4], eax
je 0x44054b
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.Could_not_find
push ecx
call fcn.00415fc0
mov eax, dword [esi + 4]
add esp, 8
mov ecx, dword [0x48a778]
test byte [ecx + 0x15], 0x20
je 0x44054b
mov eax, dword [eax + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
mov eax, dword [esi + 4]
add esp, 8
cmp byte [eax + 0x20], 0
je 0x440587
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.titan_ggpo.dll
push ecx
call fcn.00415fc0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [0x48a778]
test byte [eax + 0x15], 0x20
je 0x440587
mov eax, dword [ecx + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
add esp, 8
mov dword [esi + 0x60], vtable.el::base::Writer.0
mov dword [esi + 0x128], 2
lea ecx, [esi + 0x60]
call fcn.00411ca0
lea ecx, [esi + 0x90]
call fcn.00428b60
jmp 0x44080f
mov dword [esi + 0x128], 0xffffffff
call fcn.0043ff50
lea ecx, [esi + 0x60]
xorps xmm0, xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
movaps xmmword [esi + 0x70], xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x60], 0x44
mov dword [esi + 0x128], 0xffffffff
sub esp, 0x28
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [0x4723b0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], str.LethalLeague.exe
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44071e
push dword [esi + 0x50]
call fcn.0043f870
add esp, 4
test eax, eax
je 0x44082b
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], str.main.cpp
mov dword [esi + 0x18], 0x86
mov dword [esi + 0x1c], str.int___stdcall_wWinMain_HINSTANCE__HINSTANCE__PWSTR__int_
mov word [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x128], 0xd
lea eax, [esi + 8]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
cmp byte [eax + 0x20], 0
je 0x440700
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.Failed_to_attach_to_process.
push ecx
mov dword [esi + 4], eax
call fcn.00415fc0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [0x48a778]
test byte [eax + 0x15], 0x20
je 0x440700
mov eax, dword [ecx + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
add esp, 8
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0x128], 0xc
lea ecx, [esi + 8]
call fcn.00411ca0
jmp 0x4407e7
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], str.main.cpp
mov dword [esi + 0x18], 0x80
mov dword [esi + 0x1c], str.int___stdcall_wWinMain_HINSTANCE__HINSTANCE__PWSTR__int_
mov word [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x128], 0xb
lea eax, [esi + 8]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
cmp byte [eax + 0x20], 0
je 0x4407ce
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.Failed_to_start_process.
push ecx
mov dword [esi + 4], eax
call fcn.00415fc0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [0x48a778]
test byte [eax + 0x15], 0x20
je 0x4407ce
mov eax, dword [ecx + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
add esp, 8
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0x128], 0xa
lea ecx, [esi + 8]
call fcn.00411ca0
lea ecx, [esi + 0x38]
call fcn.00428b60
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x128], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push eax
call ebx
push 0
push edi
call ebx
mov eax, 1
mov ecx, dword [esi + 0x120]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x440842
call fcn.00444100
xor eax, eax
jmp 0x440814
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], str.main.cpp
mov dword [esi + 0x18], 0x8d
mov dword [esi + 0x1c], str.int___stdcall_wWinMain_HINSTANCE__HINSTANCE__PWSTR__int_
mov word [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x128], 0xf
lea eax, [esi + 8]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
cmp byte [eax + 0x20], 0
je 0x4408f2
mov ecx, dword [eax + 0x24]
add ecx, 0x38
push str.Failed_to_resume_process.
push ecx
mov dword [esi + 4], eax
call fcn.00415fc0
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [0x48a778]
test byte [eax + 0x15], 0x20
je 0x4408f2
mov eax, dword [ecx + 0x24]
add eax, 0x38
push 0x46f7fc
push eax
call fcn.00415fc0
add esp, 8
mov dword [esi + 8], vtable.el::base::Writer.0
mov dword [esi + 0x128], 0xe
lea ecx, [esi + 8]
call fcn.00411ca0
jmp 0x4407e7
mov dword [esi + 0x128], 4
call fcn.0045455c
mov dword [esi + 0x128], 6
call fcn.0045455c
nop
push ebp
sub esp, 0x28
lea esi, [ebp - 0x12c]
mov ebp, dword [esi + 0x118]
call fcn.0044ee01
nop word cs:[eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0x12c]
mov ebp, dword [esi + 0x118]
call fcn.0044ee01
nop word cs:[eax + eax]
push ebp
sub esp, 0x28
lea esi, [ebp - 0x12c]
mov ebp, dword [esi + 0x118]
lea ecx, [esi + 8]
call fcn.0041be20
add esp, 0x28
pop ebp
ret