Function at 0x454850
Capabilities:
Send http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc39
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4c6480]
xor eax, ebp
mov dword [ebp - 0x14], 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
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1b0], 0
call fcn.00448a90
push 0x120
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.00475b70
mov ecx, dword [edi + 0xb0]
movzx eax, word [ecx + 0x44]
mov word [ebp - 0x19c], ax
lea eax, [ecx + 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004473c0
add esp, 0x14
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x58]
cmp dword [edi + 0xcc], 0
mov dword [ebp - 0x198], eax
movzx eax, word [ebp - 0x48]
mov word [ebp - 0x19a], ax
jne 0x45493e
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x454924
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [edi + 0xb0]
mov edx, 1
cmp dword [eax + 4], 0
jne 0x454950
mov byte [ebp - 0x1b9], 0
jmp 0x454957
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 0x1b9], 1
test dl, 1
je 0x454986
test ecx, ecx
je 0x454986
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454989
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454989
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x454989
or esi, 0xffffffff
cmp byte [ebp - 0x1b9], 0
je 0x454c3d
mov eax, dword [edi + 0xb0]
add eax, 0x2c
push 0x4c54fc
mov dword [ebp - 0x1b0], eax
mov ecx, dword [eax]
mov dword [ebp - 0x1c4], ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.004394a0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x4549e0
add eax, 0x10
push eax
push 0x4c54fc
call fcn.00447280
add esp, 8
test al, al
jne 0x4549e0
mov eax, dword [ebp - 0x18]
jmp 0x4549e8
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c4]
je 0x454a03
mov ecx, dword [edi + 0xb0]
add ecx, 0x2c
push 0x4c54fc
call fcn.00455e00
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x454a23
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [edi + 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1b0], eax
test ecx, ecx
je 0x454a57
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454a57
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454a57
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1b0], 0
jne 0x454af1
mov edx, dword [edi + 0xcc]
mov dword [edi + 0xcc], 0
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1ac], ecx
test ecx, ecx
je 0x454a94
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1ac], ecx
mov eax, dword [edi + 0xb0]
lea ecx, [ebp - 0x1b4]
add eax, 4
cmp eax, ecx
mov ecx, dword [ebp - 0x1ac]
je 0x454ab9
mov edi, dword [eax]
mov dword [eax], edx
mov edx, edi
mov edi, dword [ebp - 0x1cc]
test edx, edx
je 0x454acc
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x454af1
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454af1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454af1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], eax
test eax, eax
je 0x454b11
lock inc dword [eax + 4]
mov eax, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [edi + 0xb0]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 1
call fcn.0043edc0
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0
test edx, edx
je 0x454b63
mov ecx, esi
lock xadd dword [edx + 4], ecx
jne 0x454b63
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454b63
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x454b83
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [edi + 0xb0]
lea eax, [edi + 0xcc]
add edx, 4
cmp eax, edx
je 0x454bbd
mov eax, dword [edx]
mov dword [edx], 0
mov edx, dword [edi + 0xcc]
mov dword [edi + 0xcc], eax
test edx, edx
je 0x454bbd
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x454be2
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454be2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454be2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x454c02
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [edi + 0xb0]
lea edx, [ebp - 0x1b4]
add eax, 4
cmp eax, edx
je 0x454c30
mov edx, dword [eax]
mov dword [eax], 0
test edx, edx
je 0x454c30
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x454f1e
jmp 0x454efd
cmp dword [edi + 0xe4], 0
je 0x454eab
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
test ecx, ecx
je 0x454c6a
lock inc dword [ecx + 4]
mov ecx, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1c4], eax
cmp edx, eax
je 0x454d6c
sub eax, edx
sar eax, 3
cmp eax, 0x1fffffff
ja 0x455693
lea ecx, [eax*8]
mov dword [ebp - 0x1b0], ecx
cmp ecx, 0x1000
jb 0x454d01
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x455693
push eax
call fcn.00473bf9
add esp, 4
test eax, eax
je 0x455698
mov edx, dword [ebp - 0x1ac]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x454d1a
test ecx, ecx
je 0x454d18
push ecx
call fcn.00473bf9
mov edx, dword [ebp - 0x1ac]
add esp, 4
mov ecx, eax
jmp 0x454d1a
xor ecx, ecx
mov eax, dword [ebp - 0x1b0]
add eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
sub edx, ecx
mov dword [ebp - 0x18], eax
nop dword [eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ecx + edx + 4]
test eax, eax
je 0x454d49
lock inc dword [eax + 4]
mov eax, dword [ecx + edx]
mov dword [ecx], eax
mov eax, dword [ecx + edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
lea eax, [ecx + edx]
cmp eax, dword [ebp - 0x1c4]
jne 0x454d30
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x454d91
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454d91
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454d91
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
push dword [edi + 0xec]
lea esi, [edi + 0xd4]
lea eax, [ebp - 0x1b0]
push esi
push eax
call fcn.0044a8e0
mov edx, eax
add esp, 0x10
lea eax, [edi + 0xd0]
cmp eax, edx
je 0x454dda
mov ecx, dword [edx]
mov dword [edx], 0
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x454dda
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1b0]
test ecx, ecx
je 0x454deb
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x454dfa
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
cmp dword [edi + 0xd0], eax
je 0x455662
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1ac], esi
test esi, esi
je 0x454eab
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1a8], ecx
cmp esi, ecx
je 0x454e74
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x454e5e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x454e5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x454e58
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1ac]
add esi, 8
mov dword [ebp - 0x1ac], esi
cmp esi, ecx
jne 0x454e30
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x454ea1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455698
push ecx
push esi
call fcn.00473f8f
add esp, 8
mov esi, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], esi
test esi, esi
je 0x454ecb
lock inc dword [esi + 4]
mov esi, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], esi
mov ecx, dword [edi + 0xb0]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], esi
mov byte [ebp - 4], 7
call fcn.0043edb0
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x454f1e
mov ecx, dword [ebp - 0x1a8]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x454f1e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x454f1e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xb0]
xor ecx, ecx
mov edx, 0xc
mov eax, dword [eax + 0x30]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00474219
lea edx, [edi + 0x58]
add esp, 4
lea ecx, [ebp - 0x1b4]
cmp edx, ecx
je 0x455066
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
je 0x455073
push ecx
jmp 0x45506b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00473a03
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x455073
push eax
call fcn.00473fc0
add esp, 4
mov ecx, dword [edi + 0xb0]
xor eax, eax
mov ecx, dword [ecx + 0x30]
shld eax, ecx, 1
add ecx, ecx
test eax, eax
ja 0x45565d
jb 0x455097
cmp ecx, 0xffffffff
ja 0x45565d
mov edx, dword [edi + 0x60]
mov eax, 0x2aaaaaab
sub edx, dword [edi + 0x5c]
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1a8], eax
cmp ecx, eax
jae 0x4550d7
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + 0x5c]
lea esi, [ecx + eax*8]
lea eax, [edi + 0x5c]
push eax
mov eax, dword [edi + 0x60]
push eax
push esi
call fcn.0044b430
add esp, 0xc
mov dword [edi + 0x60], esi
jmp 0x455122
jbe 0x455122
mov edx, dword [edi + 0x64]
mov eax, 0x2aaaaaab
sub edx, dword [edi + 0x5c]
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x455106
lea eax, [ebp - 0x1c0]
push eax
push ecx
lea ecx, [edi + 0x5c]
call fcn.0044b750
jmp 0x455122
push dword [ebp - 0x1c0]
sub ecx, dword [ebp - 0x1a8]
mov eax, dword [edi + 0x60]
push ecx
push eax
lea ecx, [edi + 0x5c]
call fcn.00453e20
mov dword [edi + 0x60], eax
mov ecx, dword [edi + 0xb0]
mov ax, word [ecx + 0x30]
mov word [ebp - 0x194], ax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x190], eax
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx]
mov dword [ebp - 0x1c4], eax
cmp eax, ecx
je 0x4553a2
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1ac], 0
add eax, 0x10
push eax
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004473c0
mov esi, dword [edi + 0x5c]
add esp, 8
add esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x1c0], eax
cmp esi, eax
je 0x4551f7
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4551c5
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4551b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455698
mov eax, edx
push ecx
push eax
call fcn.00473f8f
mov eax, dword [ebp - 0x1c0]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x45522b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455698
push edx
push ecx
call fcn.00473f8f
add esp, 8
mov eax, dword [ebp - 0x1b4]
add eax, 0x18
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004473c0
mov edx, dword [ebp - 0x1ac]
add esp, 8
mov esi, dword [edi + 0x5c]
add edx, 0x18
add esi, edx
mov dword [ebp - 0x1b4], eax
cmp esi, eax
je 0x4552c4
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x455292
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x455282
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455698
mov eax, edx
push ecx
push eax
call fcn.00473f8f
mov eax, dword [ebp - 0x1b4]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4552f8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4552ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455698
push edx
push ecx
call fcn.00473f8f
add esp, 8
mov eax, dword [edi + 0x5c]
lea edx, [edi + 0x5c]
mov esi, dword [ebp - 0x1ac]
mov cx, word [eax + esi + 0x10]
mov esi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x190]
mov word [eax + esi], cx
mov ecx, dword [edx]
mov esi, dword [ebp - 0x1ac]
add ecx, esi
cmp dword [ecx + 0x14], 0x10
jb 0x45532b
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x190]
mov edi, dword [ebp - 0x1a8]
mov dword [eax + edi + 4], ecx
mov eax, dword [edx]
mov cx, word [eax + esi + 0x28]
mov eax, dword [ebp - 0x190]
mov word [eax + edi + 2], cx
mov ecx, dword [edx]
mov edi, dword [ebp - 0x1cc]
add ecx, 0x18
add ecx, esi
cmp dword [ecx + 0x14], 0x10
jb 0x455362
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x1a8]
mov dword [eax + edx + 8], ecx
lea ecx, [ebp - 0x1c4]
call fcn.0043bab0
mov ecx, dword [edi + 0xb0]
add esi, 0x30
add dword [ebp - 0x1a8], 0xc
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1ac], esi
cmp eax, dword [ecx + 0x2c]
jne 0x455163
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::_Func_impl_no_alloc_class__lambda_808474e6ffd059f5f7e122e94b714446___void__unsigned_long_int__unsigned_long_int_.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
push ecx
movups xmmword [edi + 0x68], xmm0
lea ecx, [edi + 0x80]
mov dword [edi + 0x78], 0
call fcn.0044f9b0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4553ee
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x1b0]
test ecx, ecx
jne 0x4554f0
mov esi, dword [ebp - 0x1c8]
push dword [esi + 0x88]
call dword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
push 0
lea eax, [edi + 0x68]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
push 0
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [esi + 0x84]
call dword [sym.imp.HTTPAPI.dll_HttpSendHttpResponse]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x4554b3
cmp eax, 0x3e5
je 0x4554b3
push dword [esi + 0x88]
call dword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
sub esp, 8
lea ecx, [ebp - 0x40]
mov esi, esp
push dword [ebp - 0x1b4]
call fcn.0044ef20
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045aa92
push 0x4be0a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045aa6c
lea eax, [ebp - 0x1b8]
push eax
push esi
call fcn.0045aa55
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045ab7d
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.00438120
mov ecx, edi
call fcn.004556b0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x45504a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4554e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45569d
push edx
push ecx
call fcn.00473f8f
add esp, 8
jmp 0x45504a
cmp ecx, 0xffffffff
mov dword [edi + 0x4c], ecx
setne al
mov byte [edi + 0x48], al
sete al
mov byte [edi + 0x49], al
jne 0x455573
mov esi, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], esi
test esi, esi
je 0x455524
lock inc dword [esi + 4]
mov esi, dword [edi + 0xb4]
mov dword [ebp - 0x1a8], esi
mov ecx, dword [edi + 0xb0]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], esi
mov byte [ebp - 4], 9
call fcn.0043edd0
mov dword [edi + 0x4c], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x455573
mov ecx, dword [ebp - 0x1a8]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x455573
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1a8]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x455573
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c8]
push dword [esi + 0x88]
call dword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
push 0
lea eax, [edi + 0x68]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
push 2
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [esi + 0x84]
call dword [sym.imp.HTTPAPI.dll_HttpSendHttpResponse]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x45562a
cmp eax, 0x3e5
je 0x45562a
push dword [esi + 0x88]
call dword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
sub esp, 8
lea ecx, [ebp - 0x40]
mov esi, esp
push dword [ebp - 0x1b4]
call fcn.0044ef20
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045aa92
push 0x4be0a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045aa6c
lea eax, [ebp - 0x1b8]
push eax
push esi
call fcn.0045aa55
lea eax, [ebp - 0x1b8]
push eax
call fcn.0045ab7d
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.00438120
mov ecx, edi
call fcn.004556b0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x45504a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4554e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45569d
jmp 0x4554e1
call fcn.00408170
cmp dword [edi + 0xec], 1
mov ecx, 0x1f5
mov eax, 0x19f
cmovne eax, ecx
lea ecx, [ebp - 0x84]
push eax
call fcn.0044ef20
push 0x4be0a4
lea eax, [ebp - 0x84]
push eax
call fcn.0047557e
call fcn.004070c0
call fcn.004788ce
call fcn.004788ce
int3