Function at 0x40c1f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478e8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4964e0]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], 3
cmp dword [0x49ec50], ebx
je 0x40c5b3
cmp dword [0x49ec58], ebx
je 0x40c5b3
cmp byte [0x49ec4f], bl
je 0x40c5b3
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xb0], ebx
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.00406ce0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x40c2d3
cmp byte [ebp - 0x9c], bl
je 0x40c2c2
push eax
call dword [sym.imp.zf_cef.dll_cef_string_utf16_clear]
push dword [ebp - 0xa0]
call fcn.00447e2b
add esp, 8
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
push eax
call dword [0x49ec50]
mov esi, eax
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0xd
push dword [ebp - 0x98]
call fcn.00446324
push dword [ebp - 0x98]
mov edi, eax
push edi
push esi
call dword [0x49ec58]
mov eax, dword [ebp - 0x98]
add esp, 0x20
test eax, eax
jne 0x40c37e
push 0x10
call fcn.00447ed3
add esp, 4
test eax, eax
je 0x40c34f
push ecx
mov ecx, eax
call fcn.0040c7b0
mov ecx, eax
jmp 0x40c351
xor ecx, ecx
push ecx
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x40c369
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x94]
push eax
call fcn.0042f710
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x40c393
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.0042f6d0
add esp, 0xc
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c800
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x40c3bd
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.00447e04
mov eax, dword [ebp - 0xb0]
add esp, 4
mov ecx, str.Response
cmp eax, 0xc8
jne 0x40c3df
mov edi, 0x4871b4
jmp 0x40c3ec
cmp eax, 0x194
mov edi, str.Not_Found
cmovne edi, ecx
push 0x44
call fcn.00447ed3
add esp, 4
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0xac]
test eax, eax
je 0x40c4b2
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00406bb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xbc]
push edi
mov dword [ebp - 0x90], 8
call fcn.00406bb0
mov dword [ebp - 4], 0x12
mov ebx, 0x18
mov dword [ebp - 0x90], ebx
push 1
push ecx
mov dword [ebp - 0xc0], esp
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x40c469
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
sub esp, 8
mov dword [ebp - 4], 0x13
mov edi, esp
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0040dd30
mov ecx, dword [ebp - 0x94]
mov dword [edi], eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
push eax
push dword [ebp - 0xb0]
call fcn.0042fae0
mov ecx, eax
jmp 0x40c4b4
xor ecx, ecx
mov dword [ebp - 4], 0x15
mov edi, dword [ebp - 0xa8]
mov dword [edi], ecx
test ecx, ecx
je 0x40c4d6
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
or ebx, 4
mov dword [ebp - 0x90], ebx
test bl, 0x10
je 0x40c4f8
and ebx, 0xffffffef
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x90], ebx
call fcn.00406ca0
mov dword [ebp - 4], 0xd
test bl, 8
je 0x40c518
and ebx, 0xfffffff7
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x90], ebx
call fcn.00406ca0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x40c530
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x78], 0x10
jb 0x40c544
push dword [ebp - 0x8c]
call fcn.00447e2b
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
test eax, eax
je 0x40c574
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c58f
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x40c78e
mov edx, dword [ecx + 4]
add ecx, 4
mov edx, dword [edx + 4]
add ecx, edx
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40c78e
push 0x44
call fcn.00447ed3
add esp, 4
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x40c66f
push str.text_plain
lea ecx, [ebp - 0xa4]
call fcn.00406bb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
push str.Server_Error
mov dword [ebp - 0x90], 1
call fcn.00406bb0
push 1
push ecx
mov dword [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0xc4], esp
mov ebx, 3
push 0x1d
push str.Local_handler_not_initialized
push eax
mov dword [ebp - 0x90], ebx
call fcn.0042f6d0
add esp, 4
mov dword [ebp - 4], 7
mov esi, esp
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040dd30
mov ecx, dword [ebp - 0xa8]
mov dword [esi], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
push eax
push 0x1f4
call fcn.0042fae0
mov ecx, eax
jmp 0x40c671
xor ecx, ecx
mov dword [ebp - 4], 9
mov dword [edi], ecx
test ecx, ecx
je 0x40c68d
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [sym.imp.zf_cef.dll_cef_string_utf16_clear]
or ebx, 4
mov dword [ebp - 0x90], ebx
test bl, 2
je 0x40c6e9
mov eax, dword [ebp - 0xb8]
and ebx, 0xfffffffd
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xbc], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x40c6e9
cmp byte [ebp - 0xb4], 0
je 0x40c6d8
push eax
call esi
push dword [ebp - 0xb8]
call fcn.00447e2b
add esp, 8
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xb4], 0
mov dword [ebp - 4], 3
test bl, 1
je 0x40c73d
mov eax, dword [ebp - 0xa0]
and ebx, 0xfffffffe
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa4], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x40c73d
cmp byte [ebp - 0x9c], 0
je 0x40c72c
push eax
call esi
push dword [ebp - 0xa0]
call fcn.00447e2b
add esp, 8
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40c758
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c773
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40c78e
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.004472f1
mov esp, ebp
pop ebp
ret 0x14