Function at 0x48af50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
push 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
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 0x48afe7
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x4b2690
push esi
lea ecx, [ebp - 0x10]
call fcn.004852c0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [ebp - 0x28], str.start_thread
mov dword [ebp - 0x24], 0x4c
mov dword [ebp - 0x20], 0x1a
test al, 1
je 0x48afe1
cmp eax, 1
jne 0x48b115
cmp dword [ebp - 0x10], 0
setne al
test al, al
jne 0x48b115
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 [ebp - 0x18]
mov dword [ecx + 8], eax
mov dword [ebx + 8], eax
cmp dword [ecx + 8], 0
jne 0x48b059
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x4b2690
push esi
lea ecx, [ebp - 0x10]
call fcn.004852c0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [ebp - 0x28], str.start_thread
mov dword [ebp - 0x24], 0x56
mov dword [ebp - 0x20], 0x1a
test al, 1
je 0x48b059
cmp eax, 1
jne 0x48b127
cmp dword [ebp - 0x10], 0
setne al
test al, al
jne 0x48b127
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push 0x48bfc0
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp - 0x18]
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx + 4], eax
test eax, eax
jne 0x48b0f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp - 0x1c], eax
call dword [edx]
test edi, edi
je 0x48b0a2
push edi
call esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x48b0af
push eax
call esi
push 0x4b2690
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004852c0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [ebp - 0x28], str.start_thread
mov dword [ebp - 0x24], 0x66
mov dword [ebp - 0x20], 0x1a
test al, 1
je 0x48b0f2
cmp eax, 1
jne 0x48b139
cmp dword [ebp - 0x10], 0
setne al
test al, al
jne 0x48b139
test edi, edi
je 0x48b102
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x2c]
push eax
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.00488fc0
lea eax, [ebp - 0x2c]
push eax
push str.thread.exit_event
lea eax, [ebp - 0x10]
push eax
call fcn.00488fc0
lea eax, [ebp - 0x2c]
push eax
push str.thread
lea eax, [ebp - 0x10]
push eax
call fcn.00488fc0
int3