Function at 0x41b248
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4525e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [esp + 0xc], esi
call fcn.0041be7f
cmp dword [edi + 0x250], esi
jne 0x41b2d7
push 0x4575c8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x457422
call fcn.0040162e
lea eax, [esp + 0x168]
push eax
push edi
call fcn.0041c637
push eax
xor ebx, ebx
lea eax, [esp + 0x134]
mov dword [esp + 0x194], esi
inc ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00402fff
add esp, 0xc
mov dword [esp + 0x18c], ebx
mov dword [esp + 0xc], 3
jmp 0x41b2e0
xor ebx, ebx
lea eax, [edi + 0x23c]
inc ebx
push eax
lea ecx, [esp + 0x88]
call fcn.00401650
push 2
pop eax
mov dword [esp + 0x18c], eax
test byte [esp + 0xc], al
je 0x41b310
and dword [esp + 0xc], 0xfffffffd
push esi
push ebx
lea ecx, [esp + 0x134]
call fcn.004017a7
mov byte [esp + 0x18c], 4
test byte [esp + 0xc], bl
je 0x41b32c
push esi
push ebx
lea ecx, [esp + 0x150]
call fcn.004017a7
mov eax, edi
call fcn.0041b11e
test al, al
jne 0x41b340
call fcn.0041b137
test eax, eax
jne 0x41b349
cmp byte [edi + 0xef], 0
je 0x41b375
mov edi, 0x1a4
push esi
push ebx
lea ecx, [esp + 0x8c]
call fcn.004017a7
mov ecx, dword [esp + 0x184]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esp + 0x9c], 0x10
mov ebx, dword [edi + 0xe8]
mov eax, dword [esp + 0x88]
jae 0x41b393
lea eax, [esp + 0x88]
push dword [esp + 0x98]
push eax
call fcn.00421c86
lea eax, [esp + 0xa0]
push eax
mov eax, edi
call fcn.0041c952
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea esi, [edi + 0x25c]
push eax
mov ecx, esi
mov byte [esp + 0x198], 5
call fcn.004016f3
push ebx
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x194], 4
call fcn.004017a7
push edi
mov ecx, esi
call fcn.0041c971
mov eax, dword [edi + 0x230]
cmp eax, 0xc8
je 0x41b4f5
cmp eax, 0xce
je 0x41b4f5
cmp eax, 0x12b
jle 0x41b816
cmp eax, 0x131
jle 0x41b422
cmp eax, 0x133
jne 0x41b816
push str.LOCATION
lea ecx, [esp + 0xc0]
call fcn.0040162e
lea eax, [esp + 0xbc]
push eax
lea ecx, [edi + 0x20c]
mov byte [esp + 0x190], 0x10
call fcn.004041c9
push eax
lea ecx, [esp + 0x18]
call fcn.00401650
push ebx
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x194], 0x12
call fcn.004017a7
cmp dword [esp + 0x28], ebx
jbe 0x41b4e9
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov esi, esp
sub esp, 0x1c
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00401650
sub esp, 0x1c
lea eax, [edi + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0x1e4], 0x13
call fcn.00401650
push esi
mov byte [esp + 0x1e4], 0x12
call fcn.0041d60e
lea eax, [esp + 0x180]
push eax
call fcn.0041d576
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 4]
mov byte [esp + 0x198], 0x14
call fcn.004016f3
push ebx
push 1
lea ecx, [esp + 0x16c]
call fcn.004017a7
push ebx
push 1
lea ecx, [esp + 0x1c]
jmp 0x41b811
push str.CONTENT_LENGTH
lea ecx, [esp + 0xdc]
call fcn.0040162e
lea eax, [esp + 0xd8]
lea ecx, [edi + 0x20c]
push eax
mov byte [esp + 0x190], 6
call fcn.004041c9
push eax
lea ecx, [esp + 0x34]
call fcn.00401650
push ebx
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x194], 8
call fcn.004017a7
cmp dword [esp + 0x44], ebx
jbe 0x41b5a3
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x41b557
lea eax, [esp + 0x34]
push eax
call fcn.0043bd66
pop ecx
mov ecx, eax
add ecx, dword [edi + 0xf0]
mov eax, dword [ebp + 0xc]
adc edx, dword [edi + 0xf4]
cmp dword [esp + 0x48], 0x10
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x34]
jae 0x41b583
lea eax, [esp + 0x34]
push eax
lea esi, [edi + 0xf8]
call fcn.0043bd66
add dword [esi], eax
pop ecx
mov byte [edi + 0xed], bl
adc dword [esi + 4], edx
mov byte [edi + 0x234], bl
jmp 0x41b5b2
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [edi + 0xed], 1
push str.TRANSFER_ENCODING
lea ecx, [esp + 0x114]
call fcn.0040162e
lea eax, [esp + 0x110]
lea esi, [edi + 0x20c]
push eax
mov ecx, esi
mov byte [esp + 0x190], 9
call fcn.004041c9
push eax
lea ecx, [esp + 0x18]
call fcn.00401650
push ebx
push 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x194], 0xb
call fcn.004017a7
cmp dword [esp + 0x28], ebx
je 0x41b648
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x41b616
lea eax, [esp + 0x18]
push 7
push str.chunked
push eax
call fcn.0043bcb3
add esp, 0xc
test eax, eax
jne 0x41b648
push 0x45917c
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0xc
mov byte [edi + 0x234], 1
jmp 0x41b64e
mov byte [edi + 0x234], bl
cmp dword [edi + 0xc4], ebx
je 0x41b668
cmp dword [edi + 0x22c], ebx
jne 0x41b668
mov dword [edi + 0x230], 0x1bc
push str.CONTENT_DISPOSITION
lea ecx, [esp + 0xf8]
call fcn.0040162e
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
mov byte [esp + 0x190], 0xc
call fcn.004041c9
push eax
lea ecx, [esp + 0x6c]
call fcn.00401650
push ebx
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x194], 0xe
call fcn.004017a7
cmp dword [esp + 0x7c], ebx
jbe 0x41b741
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
jae 0x41b6cd
lea eax, [esp + 0x6c]
push str.filename
push eax
call fcn.0043d070
pop ecx
pop ecx
cmp eax, ebx
je 0x41b741
add eax, 9
jmp 0x41b6e4
inc eax
cmp byte [eax], 0x20
je 0x41b6e3
cmp byte [eax], 0x22
jne 0x41b6ef
inc eax
cmp byte [eax], 0x2f
jne 0x41b6f5
inc eax
mov ecx, eax
lea edx, [ecx + 1]
xor esi, esi
mov dword [esp + 0xc], edx
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x41b700
sub ecx, dword [esp + 0xc]
je 0x41b738
mov cl, byte [esi + eax]
cmp cl, 0x3b
je 0x41b735
cmp cl, 0x22
je 0x41b735
mov ecx, eax
lea edx, [ecx + 1]
inc esi
mov dword [esp + 0xc], edx
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x41b724
sub ecx, dword [esp + 0xc]
cmp esi, ecx
jb 0x41b70d
jmp 0x41b738
mov byte [esi + eax], bl
mov ecx, dword [ebp + 8]
push eax
call fcn.00401784
push str.CONNECTION
lea ecx, [esp + 0xa4]
call fcn.0040162e
lea eax, [esp + 0xa0]
push eax
lea ecx, [edi + 0x20c]
mov byte [esp + 0x190], 0xf
call fcn.004041c9
push eax
lea ecx, [esp + 0x50]
call fcn.00401650
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xa8]
call fcn.004017a7
cmp dword [esp + 0x60], ebx
jbe 0x41b7e3
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x41b79d
lea eax, [esp + 0x50]
push 0xa
push str.keep_alive
push eax
call fcn.0043bcb3
add esp, 0xc
test eax, eax
jne 0x41b7b8
mov byte [edi + 0xee], 1
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x41b7c7
lea eax, [esp + 0x50]
push 5
push str.close
push eax
call fcn.0043bcb3
add esp, 0xc
test eax, eax
jne 0x41b7ea
mov byte [edi + 0xee], bl
jmp 0x41b7ea
mov byte [edi + 0xee], 1
push ebx
push esi
lea ecx, [esp + 0x54]
call fcn.004017a7
push ebx
push esi
lea ecx, [esp + 0x70]
call fcn.004017a7
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.004017a7
push ebx
push esi
lea ecx, [esp + 0x38]
call fcn.004017a7
xor ebx, ebx
mov byte [edi + 0xec], 1
mov edi, dword [edi + 0x230]
inc ebx
xor esi, esi
jmp 0x41b34e