Function at 0x403ad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x49d980]
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 + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
jne 0x403bac
call edi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov edi, eax
call dword [edx]
mov ecx, dword [0x49da58]
mov eax, dword [0x49da5c]
cmp ecx, 0x257edfd1
jne 0x403b35
cmp eax, 0xb2ab117a
je 0x403b44
cmp ecx, 0x257edfd0
jne 0x403b4b
cmp eax, 0xb2ab117a
jne 0x403b4b
test edi, edi
setne al
jmp 0x403b5b
mov eax, dword [0x49da50]
mov ecx, 0x49da50
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x49da50
mov dword [esp + 0x14], str.C:UserspcDesktopImGui_Standalone_mainSourcepackages_boost.1.86.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x18], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x1c], 0x4c
mov dword [esp + 0x20], 0x1a
test al, 1
je 0x403ba6
cmp eax, 1
jne 0x403d6c
test edi, edi
jne 0x403d6c
mov edi, 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 + 0x10]
mov dword [ecx + 8], eax
mov dword [ebx + 8], eax
cmp dword [ecx + 8], 0
jne 0x403c65
call edi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov edi, eax
call dword [edx]
mov ecx, dword [0x49da58]
mov eax, dword [0x49da5c]
cmp ecx, 0x257edfd1
jne 0x403bf4
cmp eax, 0xb2ab117a
je 0x403c03
cmp ecx, 0x257edfd0
jne 0x403c0a
cmp eax, 0xb2ab117a
jne 0x403c0a
test edi, edi
setne al
jmp 0x403c1a
mov eax, dword [0x49da50]
mov ecx, 0x49da50
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x49da50
mov dword [esp + 0x14], str.C:UserspcDesktopImGui_Standalone_mainSourcepackages_boost.1.86.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x18], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x1c], 0x56
mov dword [esp + 0x20], 0x1a
test al, 1
je 0x403c65
cmp eax, 1
jne 0x403d7f
test edi, edi
jne 0x403d7f
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push 0
push ebx
push 0x403db0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dword [ecx + 4], eax
test eax, eax
jne 0x403d44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov edi, eax
call dword [edx]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x403cb3
push esi
call ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x403cc1
push eax
call ebx
mov ecx, dword [0x49da58]
mov eax, dword [0x49da5c]
cmp ecx, 0x257edfd1
jne 0x403cdb
cmp eax, 0xb2ab117a
je 0x403cea
cmp ecx, 0x257edfd0
jne 0x403cf1
cmp eax, 0xb2ab117a
jne 0x403cf1
test edi, edi
setne al
jmp 0x403d01
mov eax, dword [0x49da50]
mov ecx, 0x49da50
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x49da50
mov dword [esp + 0x14], str.C:UserspcDesktopImGui_Standalone_mainSourcepackages_boost.1.86.0lib_nativeinclude_boost_asiodetailimplwin_thread.ipp
mov dword [esp + 0x18], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x1c], 0x66
mov dword [esp + 0x20], 0x1a
test al, 1
je 0x403d44
cmp eax, 1
jne 0x403d92
test edi, edi
jne 0x403d92
test esi, esi
je 0x403d58
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047cd55
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x14]
mov edx, str.thread.entry_event
push eax
lea ecx, [esp + 0x28]
call fcn.00403500
lea eax, [esp + 0x14]
mov edx, str.thread.exit_event
push eax
lea ecx, [esp + 0x28]
call fcn.00403500
lea eax, [esp + 0x14]
mov edx, str.thread
push eax
lea ecx, [esp + 0x28]
call fcn.00403500
int3