Function at 0x405d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477d98
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
push 0x17
push str.logsconnector_x86.txt
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.0040af40
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 9
movups xmmword [ecx], xmm0
push str.elevatex
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040af40
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.elvtx_shared.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Helpers::GetRoamingData_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
add esp, 0x1c
mov byte [ebp - 4], 2
mov eax, accept
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov esi, dword [ebp - 0x64]
cmp eax, esi
jb 0x406238
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x5c]
push esi
cmova ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
cmova eax, dword [ebp - 0x74]
push eax
push edx
push ecx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa0]
call fcn.0040f3b0
push 0x138
mov byte [ebp - 4], 3
call fcn.00475da2
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
movq qword [esi], xmm0
lea edi, [esi + 0x10]
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_spdlog::sinks::rotating_file_sink_class_std::mutex__.0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 6
movups xmm0, xmmword [ebp - 0xa0]
push eax
push 1
push 0xa
push 0xa00000
sub esp, 0x18
mov byte [ebp - 0xa0], 0
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
call fcn.004123b0
lea ecx, [ebp - 0x140]
call fcn.00405230
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 8
or edi, 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x405f16
mov dword [eax], 0
lea ecx, [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], esi
add dword [ebp - 0x30], 8
jmp 0x405f49
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00411270
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x405f49
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405f49
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405f49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
mov ecx, esp
movlpd qword [ebp - 0x44], xmm0
push eax
call fcn.004069b0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.elvtx_shared.dll_public:_static_class_std::shared_ptr_class_spdlog::logger____cdecl_ElvtxLog::setup_logger_class_std::vector_class_std::shared_ptr_class_spdlog::sinks::sink___class_std::allocator_class_std::shared_ptr_class_spdlog::sinks::sink____]
sub esp, 8
mov byte [ebp - 4], 9
mov ecx, esp
xorps xmm0, xmm0
push 0x13
movups xmmword [ecx], xmm0
push str.Application_Startup
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040af40
call dword [sym.imp.elvtx_shared.dll_public:_static_void___cdecl_ElvtxLog::Log_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov esi, dword [ebp - 0x40]
add esp, 0x18
test esi, esi
je 0x405fad
lock inc dword [esi + 4]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 0xa
call fcn.00404f70
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x406005
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x2c]
cmp eax, 0x7fffffff
jne 0x40601e
dec eax
push 6
mov dword [ecx + 0x2c], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
sub esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x78]
mov eax, esp
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [eax], edx
mov dword [eax + 4], esi
call fcn.00405010
push dword [ebp - 0x14]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
push 0
push 1
mov byte [ebp - 4], 9
call fcn.0040a2f0
mov esi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [esi]
mov ecx, esi
call fcn.00416c20
push 4
call fcn.00475da2
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
push ecx
push 0
push eax
push 0x41cd50
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x406229
push 4
mov byte [ebp - 4], 0xe
call fcn.00475da2
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
push ecx
push 0
push eax
push 0x41cdb0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40621a
push 4
mov byte [ebp - 4], 0x10
call fcn.00475da2
mov dword [ebp - 0x24], eax
mov dword [eax], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push ecx
push 0
push eax
push 0x41ce20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x40620b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.00402110
lea ecx, [ebp - 0x20]
call fcn.00402110
lea ecx, [ebp - 0x3c]
call fcn.00402110
cmp dword [ebp - 0x38], 0
jne 0x406205
cmp dword [ebp - 0x1c], 0
jne 0x406205
cmp dword [ebp - 0x14], 0
jne 0x406205
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x40616a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40616a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40616a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x40619a
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406190
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061d2
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x4061e2
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4061d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4061d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.004072a0
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.00475cb4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 6
mov dword [ebp - 0x38], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call fcn.00401f80
int3