Function at 0x4a9f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57da15
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], esi
lea ebx, [edi + 0x98]
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov al, byte [edi + 0x94]
sar ecx, 3
test al, al
mov eax, dword [ebp + 8]
je 0x4a9f8b
cmp ecx, eax
je 0x4aa155
cmp eax, ecx
jae 0x4a9f96
mov ecx, edi
call fcn.004aa180
mov al, 1
lea ecx, [edi + 0x94]
xchg byte [ecx], al
mov ecx, dword [edi + 0xfc]
call fcn.004a7a70
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp + 8]
jae 0x4aa155
push 8
call fcn.0056d2dd
or esi, 1
mov dword [ebp - 0x48], eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [eax], edi
mov dword [eax + 4], 0x4aa860
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4b51d0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4aa0d6
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
sub esp, 8
lea edx, [edi + 8]
mov eax, esp
lea ecx, [ebp - 0x30]
mov dword [eax], str._Request_Queue_Processor___
mov dword [eax + 4], 0x1f
call fcn.00480500
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4aa03f
mov esi, dword [esi]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov edx, esi
mov ecx, eax
call fcn.005096a0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4aa087
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa07d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4aa07d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0056d673
add esp, 8
mov edx, dword [edi + 0x9c]
cmp edx, dword [edi + 0xa0]
je 0x4aa0ae
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x3c]
movlpd qword [ebp - 0x40], xmm0
mov dword [edx], eax
mov dword [edx + 4], ecx
add dword [ebx + 4], 8
jmp 0x4aa0ba
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
push edx
call fcn.004afa50
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x4aa0ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
inc eax
jmp 0x4a9fbd
push 6
mov dword [ebp - 0x3c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x50], eax
sub esp, 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x9c]
sub eax, dword [ecx + 0x98]
sar eax, 3
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], eax
lea eax, [ecx + 8]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
mov eax, esp
mov dword [eax], str.Failed_to_change_the_number_of_HTTP_processors_in_the_type_processor._Wanted_to_go_from__original____new__now_it_is_current__processors._error
mov dword [eax + 4], 0x9a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004afbf0
add esp, 0x14
mov eax, 0x4aa155
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0056d0b2
mov esp, ebp
pop ebp
ret 4