Function at 0x465390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48094d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b3570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x589], 0
jne 0x465574
push 0x10
mov word [esi + 0x588], 0x100
call fcn.00471d99
add esp, 4
test eax, eax
je 0x4653f3
mov dword [eax], esi
mov dword [eax + 8], 0x4671c0
mov dword [eax + 0xc], 0
jmp 0x4653f5
xor eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x424ce0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x465590
cmp dword [esi + 0x584], 0
mov dword [ebp - 4], 0xffffffff
je 0x46543b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x584], eax
mov dword [esi + 0x580], ecx
movzx eax, byte [esi + 0x564]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00445d20
mov edi, eax
push str.HTTP:_start_thread__
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [ebp - 4], 1
call fcn.004134d0
add esp, 0x10
lea ecx, [esi + 0x5e0]
cmp dword [esi + 0x5f4], 0x10
jb 0x46548c
mov ecx, dword [esi + 0x5e0]
push dword [esi + 0x5f0]
push ecx
push eax
call fcn.00413dc0
push str.___filter:
push eax
call fcn.004134d0
add esp, 0x14
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4654b1
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00413dc0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4654fb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4654f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4654f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00471dc9
add esp, 8
cmp byte [esi + 0x564], 0
je 0x465563
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x558]
call fcn.00459d50
mov esi, eax
push str.__Allowed:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [ebp - 4], 2
call fcn.004134d0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x465539
mov ecx, dword [esi]
push 0x485ecc
push dword [esi + 0x10]
push ecx
push eax
call fcn.00413dc0
add esp, 0xc
push eax
call fcn.004134d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004167d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x4142c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047202b
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x48], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3