Function at 0x4779e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49638d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d8b40]
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 + 0x5c9], 0
jne 0x477bc4
push 0x10
mov word [esi + 0x5c8], 0x100
call fcn.0048596f
add esp, 4
test eax, eax
je 0x477a43
mov dword [eax], esi
mov dword [eax + 8], 0x479c60
mov dword [eax + 0xc], 0
jmp 0x477a45
xor eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x429c00
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 0x477be0
cmp dword [esi + 0x5c4], 0
mov dword [ebp - 4], 0xffffffff
je 0x477a8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x5c4], eax
mov dword [esi + 0x5c0], ecx
movzx eax, byte [esi + 0x5a4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00450eb0
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.004151a0
add esp, 0x10
lea ecx, [esi + 0x65c]
cmp dword [esi + 0x670], 0xf
jbe 0x477adc
mov ecx, dword [esi + 0x65c]
push dword [esi + 0x66c]
push ecx
push eax
call fcn.00415af0
push str.___filter:
push eax
call fcn.004151a0
add esp, 0x14
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x477b01
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00415af0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x477b4b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x477b41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x477b41
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048599f
add esp, 8
cmp byte [esi + 0x5a4], 0
je 0x477bb3
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x598]
call fcn.0046b350
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.004151a0
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x477b89
mov ecx, dword [esi]
push 0x49c738
push dword [esi + 0x10]
push ecx
push eax
call fcn.00415af0
add esp, 0xc
push eax
call fcn.004151a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00419240
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x4161d0
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.00485bfe
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