Function at 0x403fa0
Capabilities:
Create process on windows
Create thread
Enumerate processes
Enumerate threads
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0xb
push str.d3dref9.dll
lea ecx, [ebp - 0x418]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0
call fcn.00406cd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x400]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.umpdc.dll
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.00406cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e8]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.dinput8.dll
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.00406cd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3d0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.Dinput8.dll
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.00406cd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3b8]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
push str.audioses.dll
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0
call fcn.00406cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3a0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x390], 0
push str.profapi.dll
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x38c], 0
call fcn.00406cd0
lea edi, [ebp - 0x418]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x20], 0
sub ecx, edi
mov dword [ebp - 0x1c], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40420e
cmp eax, 0xaaaaaaa
ja 0x404c14
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x374], esi
test esi, esi
je 0x4041a6
cmp esi, 0x1000
jb 0x40419b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x404c19
push eax
call fcn.00408770
add esp, 4
test eax, eax
je 0x4042e0
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4041a6
push esi
call fcn.00408770
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x374]
lea eax, [ebp - 0x20]
add ecx, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x4041fe
push edi
mov ecx, esi
call fcn.00405530
add esi, 0x18
lea eax, [ebp - 0x388]
add edi, 0x18
mov dword [ebp - 0x28], esi
cmp edi, eax
jne 0x4041e3
push ecx
mov edx, esi
mov ecx, esi
call fcn.00406fd0
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x401f40
push 6
push 0x18
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 9
push eax
call fcn.004087a0
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.GameClient.exe
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.00406cd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.Game.Client.exe
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.00406cd0
mov byte [ebp - 0x374], 0
lea edx, [ebp - 0x80]
push dword [ebp - 0x374]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00407670
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00402b10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x369], al
cmp ecx, 7
jbe 0x4042f6
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4042e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4042e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004088ba
mov al, byte [ebp - 0x369]
add esp, 8
test al, al
jne 0x404321
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Original_executable_not_found._Exiting...
call fcn.00405db0
push 0x4062c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov esi, 1
jmp 0x404b46
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x80]
call fcn.00403aa0
lea ecx, [ebp - 0x80]
call fcn.00403e90
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.mscms.dll
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb0], xmm0
call fcn.00406cd0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xd
call fcn.00403e90
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.GameClient.exe
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.00406cd0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x98]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push str._app_run_use_english
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
call fcn.00406cd0
push 0x40
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xf
push 0
push eax
mov dword [ebp - 0x10c], 0x44
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x58]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x37c], ecx
add esp, 0xc
cmp eax, 1
jb 0x404c1e
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x68]
cmp eax, 7
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x38]
cmova edx, eax
mov dword [ebp - 0x374], eax
inc ecx
mov dword [ebp - 0x368], edx
mov esi, 7
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x370], ecx
movups xmmword [ebp - 0x38], xmm0
cmp ecx, esi
jbe 0x4044d6
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40449c
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x4044bc
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x404c19
push ecx
call fcn.00408770
add esp, 4
test eax, eax
je 0x404609
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4044c7
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x404c19
add eax, eax
jne 0x40446e
xor edi, edi
jmp 0x4044d3
push eax
call fcn.00408770
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x37c]
add esi, esi
mov dword [ebp - 0x28], ecx
push esi
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x20
xor ecx, ecx
mov word [edi + esi], ax
add esp, 0xc
mov eax, dword [ebp - 0x37c]
mov word [edi + eax*2 + 2], cx
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x84]
cmp eax, 7
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x98]
cmova edx, eax
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x378], ecx
cmp edi, eax
ja 0x40457a
cmp dword [ebp - 0x24], 7
lea eax, [edi + ecx]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], eax
cmova esi, dword [ebp - 0x38]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x378]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x38]
jmp 0x4045a0
push edi
push edx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push edi
call fcn.00406b50
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x380], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x384], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x404619
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40460f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40460f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004088ba
add esp, 8
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x28], 0
push ecx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x24], 7
push ecx
push 0
push 0
push 0
xor eax, eax
cmp dword [ebp - 0x3c], 7
push 0
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404697
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Failed_to_start_the_process._Error:
call fcn.00405db0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x4062c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov esi, 1
jmp 0x404a1b
push 0
push 0
push dword [ebp - 0x348]
push 0x403a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4046dd
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_create_the_suspend_control_thread.
call fcn.00406590
push 0x4067b0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, 1
jmp 0x404a1b
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadId]
push eax
push 0
push 0x79
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
jne 0x404721
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_restrict_thread_access_rights.
call fcn.00406590
push 0x4067b0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [edi + 1]
jmp 0x404a1b
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
push 0x3e8
push dword [ebp - 0x348]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4049df
nop
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x368], esi
cmp esi, 0xffffffff
je 0x4049bb
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40486d
nop dword [eax + eax]
lea eax, [ebp - 0x314]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4047a0
mov ecx, dword [ebp - 0x37c]
lea edi, [ebp - 0x68]
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x388], 7
cmova edi, dword [ebp - 0x374]
cmp ecx, eax
jne 0x404851
mov esi, ecx
lea edx, [ebp - 0x314]
test esi, esi
je 0x4047f1
mov eax, edx
sub edi, eax
nop
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x40484b
add edx, 2
sub esi, 1
jne 0x4047e0
push dword [ebp - 0x368]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov esi, dword [ebp - 0x340]
push esi
push 0
push 0x400
mov dword [ebp - 0x368], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x378], eax
test eax, eax
je 0x4049bb
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404875
push dword [ebp - 0x378]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4049bb
mov esi, dword [ebp - 0x368]
lea eax, [ebp - 0x338]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404790
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
jmp 0x4049bb
lea eax, [ebp - 0x364]
mov dword [ebp - 0x364], 0x1c
push eax
push edi
mov byte [ebp - 0x370], 0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4048fe
cmp dword [ebp - 0x358], esi
jne 0x4048ec
push dword [ebp - 0x35c]
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x4048e6
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x370]
mov ecx, 1
cmp dword [ebp - 0x14], 0x103
movzx eax, al
cmove eax, ecx
push esi
mov dword [ebp - 0x370], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x368]
lea eax, [ebp - 0x364]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x404898
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x378]
call edi
cmp byte [ebp - 0x370], 0
je 0x4049bb
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Process_is_suspended._Resuming...
call fcn.00405db0
push 0x4062c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4049b5
lea eax, [ebp - 0x364]
mov dword [ebp - 0x364], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4049aa
cmp dword [ebp - 0x358], esi
jne 0x404998
push dword [ebp - 0x35c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x404992
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x368]
lea eax, [ebp - 0x364]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x404966
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4049bb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
push dword [ebp - 0x348]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404750
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Process_is_no_longer_running._Logging_closure...
call fcn.00405db0
push 0x4062c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
call fcn.00403380
push dword [ebp - 0x348]
call edi
push dword [ebp - 0x344]
call edi
lea ecx, [ebp - 0x20]
call fcn.00402e70
xor esi, esi
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x404a55
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bcb
push ecx
push edx
call fcn.004088ba
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x3c], 7
cmp eax, 7
jbe 0x404aa9
mov edx, dword [ebp - 0x384]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bcb
push ecx
push edx
call fcn.004088ba
add esp, 8
mov eax, dword [ebp - 0x388]
cmp eax, 7
jbe 0x404ae9
mov edx, dword [ebp - 0x374]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404adf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bcb
push ecx
push edx
call fcn.004088ba
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x404b29
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bcb
push ecx
push edx
call fcn.004088ba
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov ecx, dword [ebp - 0xb4]
cmp ecx, 7
jbe 0x404b82
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bcb
push ecx
push edx
call fcn.004088ba
add esp, 8
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
cmp ecx, 7
jbe 0x404bdb
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404bd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004088ba
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.00405a60
mov eax, esi
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.00408762
mov esp, ebp
pop ebp
ret
call fcn.00407660
call fcn.00401110
call fcn.004011b0
int3