Function at 0x4571f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
push 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x45728d
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x629530
push esi
lea ecx, [esp + 0x2c]
call fcn.0044ab00
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], str.C:UsersmurakamiDocumentsGitHubTMDependencies_boost_1_83_0_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x14], str.start_thread
mov dword [esp + 0x18], 0x4c
mov dword [esp + 0x1c], 0x1a
test al, 1
je 0x457287
cmp eax, 1
jne 0x4573cf
cmp dword [esp + 0x24], 0
setne al
test al, al
jne 0x4573cf
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], eax
mov dword [ebx + 8], eax
cmp dword [ecx + 8], 0
jne 0x457307
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x629530
push esi
lea ecx, [esp + 0x2c]
call fcn.0044ab00
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], str.C:UsersmurakamiDocumentsGitHubTMDependencies_boost_1_83_0_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x14], str.start_thread
mov dword [esp + 0x18], 0x56
mov dword [esp + 0x1c], 0x1a
test al, 1
je 0x457307
cmp eax, 1
jne 0x4573e2
cmp dword [esp + 0x24], 0
setne al
test al, al
jne 0x4573e2
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push 0
push ebx
push 0x457140
push 0
push 0
call fcn.0047a900
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx + 4], eax
test eax, eax
jne 0x4573ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x24], eax
call dword [edx]
test edi, edi
je 0x457352
push edi
call esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x457360
push eax
call esi
push 0x629530
push dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0044ab00
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], str.C:UsersmurakamiDocumentsGitHubTMDependencies_boost_1_83_0_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x14], str.start_thread
mov dword [esp + 0x18], 0x66
mov dword [esp + 0x1c], 0x1a
test al, 1
je 0x4573ab
cmp eax, 1
jne 0x4573f5
cmp dword [esp + 0x24], 0
setne al
test al, al
jne 0x4573f5
test edi, edi
je 0x4573bb
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x10]
mov edx, str.thread.entry_event
push eax
lea ecx, [esp + 0x28]
call fcn.0044a010
lea eax, [esp + 0x10]
mov edx, str.thread.exit_event
push eax
lea ecx, [esp + 0x28]
call fcn.0044a010
lea eax, [esp + 0x10]
mov edx, str.thread
push eax
lea ecx, [esp + 0x28]
call fcn.0044a010
int3