Function at 0x48ced2
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x29b8
call fcn.00492280
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
and dword [ebp - 0x2974], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2978], ecx
mov ecx, dword [ebp + 0x2c]
push edi
mov edi, dword [ebp + 0x34]
mov dword [ebp - 0x2970], eax
mov dword [ebp - 0x297c], ecx
test eax, eax
jne 0x48cf19
int3
mov ebx, dword [ebp + 0x30]
test bl, bl
je 0x48cf25
test edi, edi
jne 0x48cf25
int3
mov ecx, esi
call fcn.0048a886
xor eax, eax
push 0x7ff
push eax
mov byte [ebp - 0x2959], al
mov byte [ebp - 0x824], al
lea eax, [ebp - 0x823]
push eax
call fcn.004921d0
and dword [ebp - 0x2960], 0
add esp, 0xc
lea eax, [ebp - 0x824]
mov dword [ebp - 0x296c], eax
test bl, bl
je 0x48cf6f
xor ebx, ebx
inc ebx
push edi
lea ecx, [ebp - 0x1c]
jmp 0x48cf7d
push 2
pop ebx
push 0x4d5ea8
lea ecx, [ebp - 0x2854]
call fcn.00407395
push dword [ebp - 0x2970]
lea ecx, [ebp - 0x283c]
mov dword [ebp - 0x2964], eax
call fcn.00407395
lea eax, [ebp - 0x2960]
push eax
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp + 0x30]
lea eax, [ebp - 0x283c]
push dword [ebp - 0x2964]
push eax
call fcn.00488e95
add esp, 0x18
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x283c]
mov dword [ebp - 0x2968], eax
call fcn.004073c4
test bl, 2
je 0x48cfee
lea ecx, [ebp - 0x2854]
and ebx, 0xfffffffd
call fcn.004073c4
test bl, 1
je 0x48cffe
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffe
call fcn.004073c4
cmp byte [ebp - 0x2968], 0
je 0x48d0e3
mov eax, dword [ebp - 0x2960]
cmp eax, 0x800
jbe 0x48d0e3
push eax
call fcn.0048eb44
cmp byte [ebp + 0x30], 0
pop ecx
mov dword [ebp - 0x296c], eax
je 0x48d03b
or ebx, 4
push edi
lea ecx, [ebp - 0x2854]
jmp 0x48d046
or ebx, 8
push 0x4d5ea8
lea ecx, [ebp - 0x1c]
call fcn.00407395
push dword [ebp - 0x2970]
lea ecx, [ebp - 0x283c]
mov edi, eax
call fcn.00407395
lea eax, [ebp - 0x2960]
push eax
push dword [ebp - 0x2960]
lea eax, [ebp - 0x283c]
push dword [ebp - 0x296c]
push dword [ebp + 0x30]
push edi
push eax
call fcn.00488e95
add esp, 0x18
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x283c]
mov dword [ebp - 0x2968], eax
call fcn.004073c4
test bl, 8
je 0x48d0ab
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffff7
call fcn.004073c4
test bl, 4
je 0x48d0bb
lea ecx, [ebp - 0x2854]
call fcn.004073c4
cmp byte [ebp - 0x2968], 0
je 0x48d0e3
push dword [ebp - 0x296c]
call fcn.0048eb4d
pop ecx
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.00405ac5
xor eax, eax
jmp 0x48d440
push 0x3c
xor edi, edi
lea eax, [ebp - 0x29b8]
push edi
xor ebx, ebx
and dword [ebp - 0x2968], ebx
push eax
call fcn.004921d0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x29b4], eax
lea eax, [ebp - 0x2824]
mov dword [ebp - 0x29a8], eax
mov ecx, 0x800
add esp, 0xc
lea eax, [ebp - 0x1824]
mov dword [ebp - 0x29b8], 0x3c
mov dword [ebp - 0x29b0], 0x10
mov dword [ebp - 0x29a4], ecx
mov dword [ebp - 0x298c], eax
mov dword [ebp - 0x2988], ecx
cmp byte [ebp + 0x30], bl
je 0x48d1a8
mov ecx, esi
call fcn.0048c144
cmp dword [eax + 0x14], 0x10
jb 0x48d159
mov eax, dword [eax]
lea ecx, [ebp - 0x2954]
push 3
mov dword [ebp - 0x2958], ecx
push eax
lea ecx, [ebp - 0x2958]
call fcn.00409303
push dword [ebp - 0x2958]
call fcn.00405113
pop ecx
push eax
push dword [ebp - 0x2958]
lea ecx, [ebp + 0xc]
call fcn.004046dd
lea eax, [ebp - 0x2954]
cmp dword [ebp - 0x2958], eax
je 0x48d1a8
push dword [ebp - 0x2958]
call fcn.0048f255
pop ecx
cmp byte [esi + 0xe1], bl
jne 0x48d1b1
int3
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x29b8]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0045ffcd
test eax, eax
je 0x48d3cc
cmp byte [esi + 0xc4], bl
je 0x48d206
lea eax, [esi + 0xc8]
cmp dword [eax + 0x14], 8
jb 0x48d1e9
mov eax, dword [eax]
push 0
push 0
push eax
push 3
push 0x4bdc60
mov ecx, esi
call fcn.00460466
mov ebx, eax
mov dword [ebp - 0x2964], ebx
jmp 0x48d220
xor eax, eax
push eax
push eax
push eax
push eax
push 0x4bdc60
mov ecx, esi
call fcn.00460466
mov ebx, eax
mov dword [ebp - 0x2964], eax
test ebx, ebx
je 0x48d3cc
mov eax, 0x7530
push eax
push eax
push 0xea60
push 0
push ebx
mov ecx, esi
call fcn.00460539
movzx eax, word [ebp - 0x29a0]
push eax
lea eax, [ebp - 0x2824]
push eax
push ebx
mov ecx, esi
call fcn.0045ff9a
mov dword [ebp - 0x2968], eax
test eax, eax
je 0x48d3cc
push dword [ebp - 0x29ac]
lea ecx, [ebp - 0x1824]
push ecx
push str.POST
push eax
mov ecx, esi
call fcn.00460315
mov edi, eax
test edi, edi
je 0x48d3cc
push str.Connection:_close
push edi
mov ecx, esi
call fcn.0045ff3f
push str.Cache_Control:_no_cache
push edi
mov ecx, esi
call fcn.0045ff3f
push dword [ebp - 0x2960]
mov ecx, esi
push dword [ebp - 0x296c]
push edi
call fcn.00460504
test eax, eax
je 0x48d3cc
push edi
mov ecx, esi
call fcn.00460477
test eax, eax
je 0x48d3cc
lea eax, [ebp - 0x2974]
push eax
lea eax, [ebp - 0x824]
push eax
push 0x13
push edi
mov ecx, esi
mov dword [ebp - 0x2974], 0x800
call fcn.004604b8
test eax, eax
je 0x48d3cc
lea eax, [ebp - 0x824]
push eax
call fcn.00492c7d
cmp eax, 0xc8
pop ecx
mov ecx, dword [ebp - 0x297c]
sete dl
mov byte [ebp - 0x2959], dl
test ecx, ecx
je 0x48d31e
mov dword [ecx], eax
test dl, dl
je 0x48d3cc
cmp dword [ebp - 0x2978], 0
je 0x48d3cc
and dword [ebp - 0x2970], 0
lea eax, [ebp - 0x2970]
push eax
push edi
mov ecx, esi
call fcn.00460496
test eax, eax
je 0x48d3cc
mov ebx, dword [ebp - 0x2970]
and dword [ebp - 0x2960], 0
jmp 0x48d3c2
lea eax, [ebp - 0x2960]
push eax
push 0x7ff
lea eax, [ebp - 0x824]
push eax
push edi
mov ecx, esi
call fcn.004604e7
test eax, eax
je 0x48d3c6
mov eax, dword [ebp - 0x2960]
cmp eax, 0x800
jae 0x48d451
mov byte [ebp + eax - 0x824], 0
lea eax, [ebp - 0x824]
push eax
call fcn.004071c8
pop ecx
mov ecx, dword [ebp - 0x2978]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00420541
cmp ebx, dword [ebp - 0x2960]
jbe 0x48d3c6
sub ebx, dword [ebp - 0x2960]
test ebx, ebx
jg 0x48d35c
mov ebx, dword [ebp - 0x2964]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x824]
push 0x800
push eax
call fcn.00499880
mov eax, dword [ebp - 0x296c]
lea ecx, [ebp - 0x824]
add esp, 0x10
cmp eax, ecx
je 0x48d403
push eax
call fcn.0048eb4d
pop ecx
test edi, edi
je 0x48d40f
push edi
mov ecx, esi
call fcn.0045ff77
mov eax, dword [ebp - 0x2968]
test eax, eax
je 0x48d421
push eax
mov ecx, esi
call fcn.0045ff77
test ebx, ebx
je 0x48d42d
push ebx
mov ecx, esi
call fcn.0045ff77
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.00405ac5
movzx eax, byte [ebp - 0x2959]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret 0x30
call fcn.00492b3a
int3