Function at 0x47b890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a81d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d04c0]
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 + 0x5fd], 0
jne 0x47ba71
push 0x10
mov word [esi + 0x5fc], 0x100
call fcn.00489a19
add esp, 4
test eax, eax
je 0x47b8f3
mov dword [eax], esi
mov dword [eax + 8], 0x47dc70
mov dword [eax + 0xc], 0
jmp 0x47b8f5
xor eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x42b020
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 0x47ba8d
cmp dword [esi + 0x5f8], 0
mov dword [ebp - 4], 0xffffffff
je 0x47b93b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x5f8], eax
mov dword [esi + 0x5f4], ecx
movzx eax, byte [esi + 0x5a8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00453150
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.004156b0
add esp, 0x10
lea ecx, [esi + 0x690]
cmp dword [esi + 0x6a4], 0xf
jbe 0x47b98c
mov ecx, dword [esi + 0x690]
push dword [esi + 0x6a0]
push ecx
push eax
call fcn.00416020
push str.___filter:
push eax
call fcn.004156b0
add esp, 0x14
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x47b9b1
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00416020
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x47b9fb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47b9f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47b9f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00489a49
add esp, 8
cmp byte [esi + 0x5a8], 0
je 0x47ba60
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x598]
call fcn.0046e390
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.004156b0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x47ba39
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.00416020
push 0x4a08cc
push eax
call fcn.004156b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00419790
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x416670
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.00489ca8
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