Function at 0x419550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422494
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x42b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor esi, esi
add esp, 8
cmp dword [ebp + 8], esi
jle 0x419621
nop
mov al, byte [0x42b9a2]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
mov byte [ebp - 0x15], al
push 0x42b9e4
call fcn.00404790
mov dword [ebp - 4], 0
sub esp, 0x18
mov edi, dword [edi + esi*4]
mov ecx, esp
mov edx, edi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
lea eax, [edx + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x3c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4195f5
sub edx, dword [ebp - 0x3c]
push edx
push edi
call fcn.004051c0
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0xffffffff
call fcn.00408700
mov edi, dword [ebp - 0x2c]
inc esi
add esp, 0x30
cmp esi, dword [ebp + 8]
jl 0x4195b0
cmp dword [ebp + 8], 3
mov eax, dword [edi + 4]
mov dword [0x42b124], eax
sete byte [0x42b9a3]
call fcn.0041bc50
mov al, byte [0x42b9a2]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
mov byte [ebp - 0x15], al
push 0x42b9e4
call fcn.00404790
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push str.main_read_db
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004051c0
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0xffffffff
call fcn.00408700
add esp, 0x24
mov ecx, 0x42b0ec
call fcn.00413f30
add esp, 0xc
test al, al
jne 0x4196c3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041f19c
mov esp, ebp
pop ebp
ret
mov al, byte [0x42b9a2]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
mov byte [ebp - 0x15], al
push 0x42b9e4
call fcn.00404790
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
push 0x13
movups xmmword [ecx], xmm0
push str.start:_ver_0.23.7:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004051c0
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0xffffffff
call fcn.00408700
add esp, 0x30
mov ecx, 0x42b180
call fcn.0040d780
push 0
push 0
push 0
push 0x417640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
mov dword [ebp - 0x2c], esi
mov al, byte [0x42b9a2]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
mov byte [ebp - 0x15], al
push 0x42b9e4
call fcn.00404790
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 0x11
movups xmmword [ecx], xmm0
push str.main_start_circle
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004051c0
mov cl, byte [ebp - 0x15]
mov dword [ebp - 4], 0xffffffff
call fcn.00408700
add esp, 0x30
mov dword [ebp - 4], 4
mov ecx, 0x42b180
call fcn.0040d7e0
cmp byte [0x42b9a3], 0
je 0x419932
cmp dword [ebp - 0x1c], 0x71
mov esi, 0xbb8
je 0x4197f1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0x64
call edi
sub esi, 1
je 0x41991a
mov eax, dword [ebp - 0x1c]
cmp eax, 0x6e
je 0x41991a
cmp eax, 0x71
jne 0x4197c6
mov byte [ebp - 0x15], 0x93
push 1
lea edx, [ebp - 0x15]
lea ecx, [ebp - 0x70]
call fcn.00402c80
add esp, 4
mov byte [ebp - 4], 5
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x41982f
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
mov ecx, eax
cmp esi, 0x10
jb 0x419827
mov ecx, dword [eax]
mov word [ecx + edx], 0x7c
jmp 0x419846
push 1
push 0x424e00
mov byte [ebp - 0x3c], 0
mov ecx, eax
push dword [ebp - 0x3c]
push 1
call fcn.00405570
or dword [ebp - 0x38], 1
lea edx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x44], 0x10
mov ecx, dword [0x42b124]
cmovae edx, dword [ebp - 0x58]
call fcn.0041e850
mov ecx, dword [ebp - 0x44]
mov esi, eax
cmp ecx, 0x10
jb 0x4198c9
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4198bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419905
push ecx
push edx
call fcn.0041f6f2
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x419915
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41990b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41990b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041f6f2
add esp, 8
cmp esi, 2
je 0x419926
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
jmp 0x419966
push 0x12c
call edi
jmp 0x4197f5
call fcn.00418180
mov byte [0x42b9a4], al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x419b3e
cmp dword [ebp - 0x1c], 0x71
je 0x419966
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push 0x64
call edi
cmp dword [ebp - 0x1c], 0x71
jne 0x419951
push 0x42ba74
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x41997f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
call fcn.0041c6a0
push 0x42ba74
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4196a7
push 0xbb8
call edi
jmp 0x419745