Function at 0x454670
Capabilities:
Receive http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cbc5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x4c6480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
call fcn.00448a90
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], esi
test ecx, ecx
je 0x4546c5
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
mov esi, dword [edi + 0xac]
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], ecx
or edi, 0xffffffff
test esi, esi
je 0x454700
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x454700
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x454700
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 0x18]
call fcn.00474219
mov esi, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
add esp, 4
lea ecx, [esi + 0x54]
cmp ecx, edx
je 0x454723
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x454733
push edx
jmp 0x454728
test eax, eax
je 0x454733
push eax
call fcn.00473fc0
lea ecx, [esi + 0x54]
add esp, 4
mov eax, dword [ecx]
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::_Func_impl_no_alloc_class__lambda_1d77762a9ad4ef4509b8fe6a706a8d5f___void__unsigned_long_int__unsigned_long_int_.0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push ecx
movups xmmword [esi + 0x68], xmm0
lea ecx, [esi + 0x80]
mov dword [esi + 0x78], 0
call fcn.0044f9b0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x454784
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
lea eax, [esi + 0x68]
push eax
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp + 0x18]
push dword [esi + 0x50]
push 0
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [eax + 0x84]
call dword [sym.imp.HTTPAPI.dll_HttpReceiveHttpRequest]
test eax, eax
je 0x454814
cmp eax, 0x3e5
je 0x454814
mov eax, dword [ebp - 0x10]
push dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
push 0x1f4
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0xa8]
call fcn.00459390
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45480a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45480a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45480a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00456030
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x454839
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x454839
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x454839
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14