Function at 0x423c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56531e
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5c4920]
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 esi, ecx
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], 0
call fcn.00413c30
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, 0x10
cmp dword [ebp + 0x1c], edi
jae 0x423ca7
lea eax, [ebp + 8]
push str._r_n_r_n
push ecx
push eax
push ecx
push 0x5991b8
push ecx
push str.Connection:_close_r_n
push ecx
push 0x5991b8
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push ecx
push 0x59c7a0
push ecx
lea edx, [ebp - 0xec]
push str.HTTP_1.1_200_OK_r_n
push edx
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00429540
add esp, 4
push eax
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00416a80
add esp, 0xc
push eax
call fcn.00416a80
add esp, 8
call fcn.0043dc32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423d39
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov bl, 2
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0xec]
mov byte [ebp - 4], bl
call fcn.00413d10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x423d66
mov eax, dword [eax]
push eax
push 0x5990cc
lea edi, [ebp - 0x50]
call fcn.004065e0
mov byte [ebp - 4], bl
mov ebx, 0x10
add esp, 8
cmp dword [ebp - 0x1c], ebx
jb 0x423d90
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0043dbc0
add esp, 4
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xec]
call fcn.00413d10
mov edi, eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00413d10
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x54], ecx
cmp dword [eax + 0x14], ebx
jb 0x423dcf
mov ebx, dword [eax]
jmp 0x423dd1
mov ebx, eax
test esi, esi
je 0x423e3c
mov ecx, dword [0x5ce884]
cmp esi, ecx
jb 0x423e3c
mov edi, dword [0x5ce88c]
mov edx, edi
imul edx, dword [0x5ce888]
add edx, ecx
cmp esi, edx
ja 0x423e3c
mov eax, esi
sub eax, ecx
xor edx, edx
div edi
test edx, edx
jne 0x423e3c
mov ecx, eax
and ecx, 7
mov dl, 1
shl dl, cl
mov ecx, dword [0x5c7f34]
shr eax, 3
test byte [eax + ecx], dl
mov eax, 0
sete al
test eax, eax
jne 0x423e3c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 0
push 1
push ecx
push ebx
mov ecx, eax
call edx
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x423e52
mov eax, dword [ebp - 0x30]
push eax
call fcn.0043dbc0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], esi
jb 0x423e75
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0043dbc0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423e98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x54], ecx
mov dword [ebp + eax - 0xec], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00413d30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x9c]
mov dword [ebp + edx - 0xec], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - 0x9c], vtable.std::ios_base.0
call fcn.00552370
add esp, 4
cmp dword [ebp + 0x1c], esi
jb 0x423f06
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043dbc0
add esp, 4
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.0053129a
mov esp, ebp
pop ebp
ret 0x1c