Function at 0x46b480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b3af4]
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 + 0x51], 0
jne 0x46b64c
push 0x10
mov word [esi + 0x50], 0x100
call fcn.0047604b
add esp, 4
test eax, eax
je 0x46b4dd
mov dword [eax], esi
mov dword [eax + 8], 0x46cfa0
mov dword [eax + 0xc], 0
jmp 0x46b4df
xor eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x423760
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 0x46b668
cmp dword [esi + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
je 0x46b522
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
movzx eax, byte [esi + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00446830
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.00413270
add esp, 0x10
lea ecx, [esi + 0xe4]
cmp dword [esi + 0xf8], 0x10
jb 0x46b56a
mov ecx, dword [esi + 0xe4]
push dword [esi + 0xf4]
push ecx
push eax
call fcn.00413ba0
push str.___filter:
push eax
call fcn.00413270
add esp, 0x14
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x46b58f
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00413ba0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x46b5d9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46b5cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46b5cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047607b
add esp, 8
cmp byte [esi + 0x2c], 0
je 0x46b63b
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x20]
call fcn.004602b0
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.00413270
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x46b611
mov ecx, dword [esi]
push 0x489d90
push dword [esi + 0x10]
push ecx
push eax
call fcn.00413ba0
add esp, 0xc
push eax
call fcn.00413270
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004163f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x4140e0
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.004762da
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