Function at 0x421452
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45282b
mov eax, dword fs:[0]
push eax
mov eax, 0x29bc
call fcn.0043eba0
mov eax, dword [0x46d978]
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 eax, edx
mov dword [ebp - 0x297c], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2984], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2988], ecx
xor ecx, ecx
mov dword [ebp - 0x296c], ecx
mov dword [ebp - 4], ecx
test eax, eax
jne 0x4214b3
int3
mov ebx, dword [ebp + 0x10]
test bl, bl
je 0x4214bf
test edi, edi
jne 0x4214bf
int3
push 0x7ff
push ecx
lea eax, [ebp - 0x82f]
push eax
mov byte [ebp - 0x296d], cl
mov byte [ebp - 0x830], cl
call fcn.00435650
and dword [ebp - 0x2974], 0
add esp, 0xc
lea eax, [ebp - 0x830]
mov dword [ebp - 0x2980], eax
test bl, bl
je 0x42150f
push edi
lea ecx, [ebp - 0x28]
call fcn.004012d4
mov dword [ebp - 0x2978], eax
xor ebx, ebx
mov byte [ebp - 4], 1
inc ebx
jmp 0x42152b
push 0x45f645
lea ecx, [ebp - 0x2860]
call fcn.004012d4
mov dword [ebp - 0x2978], eax
push 2
pop ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x297c]
lea ecx, [ebp - 0x2848]
mov dword [ebp - 0x296c], ebx
call fcn.004012d4
mov edx, dword [ebp - 0x2978]
lea eax, [ebp - 0x2974]
push eax
push 0x800
lea eax, [ebp - 0x830]
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2848]
call fcn.004211bc
add esp, 0x10
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x2848]
mov dword [ebp - 0x2978], eax
call fcn.00401303
test bl, 2
je 0x42159c
and ebx, 0xfffffffd
lea ecx, [ebp - 0x2860]
mov dword [ebp - 0x296c], ebx
call fcn.00401303
and dword [ebp - 4], 0
test bl, 1
je 0x4215b6
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x296c], ebx
call fcn.00401303
cmp byte [ebp - 0x2978], 0
je 0x4216b7
mov eax, dword [ebp - 0x2974]
cmp eax, 0x800
jbe 0x4216b7
push eax
call fcn.0042c7fe
cmp byte [ebp + 0x10], 0
pop ecx
mov dword [ebp - 0x2980], eax
je 0x4215fe
push edi
lea ecx, [ebp - 0x2860]
call fcn.004012d4
mov edi, eax
mov byte [ebp - 4], 3
or ebx, 4
jmp 0x421617
push 0x45f645
lea ecx, [ebp - 0x28]
call fcn.004012d4
mov edi, eax
mov dword [ebp - 4], 4
or ebx, 8
push dword [ebp - 0x297c]
lea ecx, [ebp - 0x2848]
mov dword [ebp - 0x296c], ebx
call fcn.004012d4
lea eax, [ebp - 0x2974]
push eax
push dword [ebp - 0x2974]
mov edx, edi
push dword [ebp - 0x2980]
lea ecx, [ebp - 0x2848]
push dword [ebp + 0x10]
call fcn.004211bc
add esp, 0x10
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x2848]
mov dword [ebp - 0x297c], eax
call fcn.00401303
test bl, 8
je 0x42167b
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00401303
and dword [ebp - 4], 0
test bl, 4
je 0x42168f
lea ecx, [ebp - 0x2860]
call fcn.00401303
cmp byte [ebp - 0x297c], 0
je 0x4216b7
push dword [ebp - 0x2980]
call fcn.0042db6e
pop ecx
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.00404e3f
xor eax, eax
jmp 0x421a1e
push 0x3c
xor edi, edi
lea eax, [ebp - 0x29c8]
push edi
xor ebx, ebx
and dword [ebp - 0x2978], ebx
push eax
call fcn.00435650
lea eax, [ebp - 0x30]
mov dword [ebp - 0x29c4], eax
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x29b8], eax
mov ecx, 0x800
add esp, 0xc
lea eax, [ebp - 0x1830]
mov dword [ebp - 0x29c8], 0x3c
mov dword [ebp - 0x29c0], 0x10
mov dword [ebp - 0x29b4], ecx
mov dword [ebp - 0x299c], eax
mov dword [ebp - 0x2998], ecx
cmp byte [ebp + 0x10], bl
je 0x421784
mov ecx, esi
call fcn.00421a40
cmp dword [eax + 0x14], 0x10
jb 0x42172d
mov eax, dword [eax]
lea ecx, [ebp - 0x2964]
push 3
mov dword [ebp - 0x2968], ecx
push eax
lea ecx, [ebp - 0x2968]
call fcn.0041e1a5
mov byte [ebp - 4], 5
push dword [ebp - 0x2968]
call fcn.00401723
pop ecx
push eax
push dword [ebp - 0x2968]
lea ecx, [ebp + 0x18]
call fcn.00405060
lea eax, [ebp - 0x2964]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2968], eax
je 0x421784
push dword [ebp - 0x2968]
call fcn.0042df00
pop ecx
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp - 0x29c8]
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.00417f81
test eax, eax
je 0x4219aa
cmp byte [esi + 0xc4], 0
je 0x4217d8
lea eax, [esi + 0xc8]
cmp dword [eax + 0x14], 8
jb 0x4217bd
mov eax, dword [eax]
push ecx
push ecx
push eax
push 3
push 0x460b78
mov ecx, esi
call fcn.00417d41
mov ebx, eax
mov dword [ebp - 0x296c], ebx
jmp 0x4217f8
xor eax, eax
push eax
push eax
push eax
push eax
push 0x460b78
cmp dword [esi + 0x70], eax
je 0x4217ed
call dword [esi + 4]
jmp 0x4217ce
call dword [esi + 0x3c]
mov ebx, eax
mov dword [ebp - 0x296c], eax
test ebx, ebx
je 0x4219aa
sub esp, 0x10
mov ecx, esi
push ebx
call fcn.00417fb2
movzx eax, word [ebp - 0x29b0]
push eax
lea eax, [ebp - 0x2830]
push eax
push ebx
mov ecx, esi
call fcn.00417d62
mov dword [ebp - 0x2978], eax
test eax, eax
je 0x4219aa
push dword [ebp - 0x29bc]
lea ecx, [ebp - 0x1830]
push ecx
push str.POST
push eax
mov ecx, esi
call fcn.00417d95
mov edi, eax
test edi, edi
je 0x4219aa
push str.Connection:_close
push edi
mov ecx, esi
call fcn.00417e81
push str.Cache_Control:_no_cache
push edi
mov ecx, esi
call fcn.00417e81
push dword [ebp - 0x2974]
mov ecx, esi
push dword [ebp - 0x2980]
push edi
call fcn.00417eb9
test eax, eax
je 0x4219aa
push edi
mov ecx, esi
call fcn.00417eee
test eax, eax
je 0x4219aa
lea eax, [ebp - 0x298c]
push eax
lea eax, [ebp - 0x830]
push eax
push 0x13
push edi
mov ecx, esi
mov dword [ebp - 0x298c], 0x800
call fcn.00417f0d
test eax, eax
je 0x4219aa
lea eax, [ebp - 0x830]
push eax
call fcn.0042decf
cmp eax, 0xc8
pop ecx
mov ecx, dword [ebp - 0x2988]
sete dl
mov byte [ebp - 0x296d], dl
test ecx, ecx
je 0x4218eb
mov dword [ecx], eax
test dl, dl
je 0x4219aa
cmp dword [ebp - 0x2984], 0
je 0x4219aa
and dword [ebp - 0x297c], 0
lea eax, [ebp - 0x297c]
push eax
push edi
mov ecx, esi
call fcn.00417f3c
test eax, eax
je 0x4219aa
mov ebx, dword [ebp - 0x297c]
and dword [ebp - 0x2974], 0
jmp 0x4219a0
cmp dword [esi + 0x74], 0
je 0x4219a4
cmp dword [esi + 0x70], 0
lea eax, [ebp - 0x2974]
push eax
push 0x7ff
lea eax, [ebp - 0x830]
push eax
push edi
je 0x421952
call dword [esi + 0x20]
jmp 0x421955
call dword [esi + 0x54]
test eax, eax
je 0x4219a4
mov eax, dword [ebp - 0x2974]
cmp eax, 0x800
jae 0x421a3a
mov byte [ebp + eax - 0x830], 0
lea eax, [ebp - 0x830]
push eax
call fcn.00401001
pop ecx
mov ecx, dword [ebp - 0x2984]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0041ab41
cmp ebx, dword [ebp - 0x2974]
jbe 0x4219a4
sub ebx, dword [ebp - 0x2974]
test ebx, ebx
jg 0x42192d
mov ebx, dword [ebp - 0x296c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x830]
push 0x800
push eax
call fcn.0043070e
mov eax, dword [ebp - 0x2980]
lea ecx, [ebp - 0x830]
add esp, 0x10
cmp eax, ecx
je 0x4219e1
push eax
call fcn.0042db6e
pop ecx
test edi, edi
je 0x4219ed
push edi
mov ecx, esi
call fcn.00417f5e
mov eax, dword [ebp - 0x2978]
test eax, eax
je 0x4219ff
push eax
mov ecx, esi
call fcn.00417f5e
test ebx, ebx
je 0x421a0b
push ebx
mov ecx, esi
call fcn.00417f5e
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.00404e3f
movzx eax, byte [ebp - 0x296d]
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.0042d3d2
leave
ret 0x28
call fcn.0042e41f
int3