Function at 0x41b130
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea edi, [ebp + 0x50]
mov edi, edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.00566a30
add esp, 0xc
mov dword [edi + 0x64], eax
mov esi, edi
mov ebx, ebp
test eax, eax
je 0x41c011
sub eax, dword [edi + 0x5c]
mov ecx, dword [esp + 0x28]
inc eax
sub dword [ecx], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
call fcn.0041afe0
add esp, 4
test eax, eax
jne 0x41c1c7
mov eax, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
mov dword [edi + 0x64], eax
mov ecx, dword [ebp + 0x6c4]
mov dword [edi + 0x68], ecx
test esi, esi
jne 0x41b1ed
cmp dword [edi + 0x58], 5
jbe 0x41b1ed
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x340]
test dword [eax + 0x3c], 0x40000
mov ebx, dword [ebp + 0x6c4]
je 0x41b1de
push ebx
lea eax, [esi + 5]
mov ecx, str.RTSP_
call fcn.0041c4c0
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x41b1e5
mov eax, ebp
call fcn.0041af20
test eax, eax
je 0x41c068
mov eax, dword [edi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x41bcd2
cmp cl, 0xd
je 0x41bcd7
lea ecx, [esi + 1]
mov dword [edi + 0x50], ecx
test esi, esi
jne 0x41b497
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x340]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x41b2f1
mov esi, edx
lea ebp, [edi + 0x78]
push ebp
add esi, 0x188
push esi
lea edx, [esp + 0x18]
push edx
push str._HTTP__d._d__d
push eax
call fcn.00562348
add esp, 0x14
cmp eax, 1
jne 0x41b273
cmp dword [esp + 0x10], 2
jne 0x41b2b1
mov eax, dword [edi + 0x68]
push ebp
push str._HTTP_2__d
push eax
call fcn.00562348
add esp, 0xc
cmp eax, 1
jne 0x41b2b1
mov dword [esi], 0
jmp 0x41b278
cmp eax, 3
jne 0x41b2b1
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [esi], ecx
cmp dword [edi + 0x88], 2
mov eax, dword [esi]
jne 0x41b347
cmp eax, 0x14
je 0x41b347
mov ecx, dword [esp + 0x20]
push str.Lying_server__not_serving_HTTP_2_n
call fcn.0040f940
add esp, 4
jmp 0x41b347
mov edx, dword [edi + 0x68]
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push edx
call fcn.00562348
mov ebp, eax
add esp, 0xc
mov dword [esi], 0xa
test ebp, ebp
jne 0x41b347
mov ebx, dword [edi + 0x68]
mov eax, dword [esp + 0x20]
call fcn.0041af20
test eax, eax
je 0x41b33f
mov dword [edi + 0x78], 0xc8
mov dword [esi], 0xa
jmp 0x41b347
test ecx, 0x40000
je 0x41c0a0
lea ecx, [edi + 0x78]
push ecx
mov ebx, edx
lea esi, [ebx + 0x18c]
push esi
lea ecx, [esp + 0x20]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.00562348
mov ebp, eax
add esp, 0x14
cmp ebp, 3
jne 0x41c0a0
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
add edx, edx
add dword [esi], edx
lea esi, [ebx + 0x188]
mov dword [esi], 0xb
test ebp, ebp
je 0x41c0a0
mov eax, dword [edi + 0x78]
mov ebp, dword [esp + 0x20]
mov dword [ebp + 0x8834], eax
mov eax, dword [ebp + 0x87b4]
mov ecx, dword [esi]
mov dword [ebp + 0x883c], ecx
test eax, eax
je 0x41b36a
cmp eax, dword [esi]
jle 0x41b372
mov edx, dword [esi]
mov dword [ebp + 0x87b4], edx
cmp dword [ebp + 0x390], 0
je 0x41b3dd
mov eax, dword [edi + 0x78]
cmp eax, 0x190
jl 0x41b3dd
mov ebx, dword [esp + 0x24]
cmp eax, 0x191
jne 0x41b399
cmp dword [ebx + 0x2b8], 0
jne 0x41b3e1
cmp eax, 0x197
jne 0x41b3a9
cmp dword [ebx + 0x2bc], 0
jne 0x41b3e1
mov ecx, dword [ebp + 0x87d8]
or ecx, dword [ebp + 0x87dc]
je 0x41b3c7
cmp dword [ebp + 0x268], 1
jne 0x41b3c7
cmp eax, 0x1a0
je 0x41b3e1
push ebp
call fcn.0041b090
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x24]
mov esi, dword [esi]
cmp esi, 0xa
jne 0x41b40c
push str.HTTP_1.0__assume_close_after_body_n
mov ecx, ebp
call fcn.0040f940
add esp, 4
cmp dword [ebx + 0x29c], 1
je 0x41b45f
mov dword [ebx + 0x29c], 1
jmp 0x41b45f
cmp esi, 0x14
je 0x41b453
cmp dword [edi + 0x88], 1
jne 0x41b420
cmp dword [edi + 0x78], 0x65
je 0x41b453
cmp esi, 0xb
jl 0x41b45f
cmp dword [ebx + 0x29c], 0
jne 0x41b45f
cmp dword [ebx + 0x5b4], 0
je 0x41b45f
push ebx
push ebp
call fcn.00413990
add esp, 8
test eax, eax
jne 0x41b45f
mov edx, dword [ebx + 0x5b4]
mov dword [edx], 1
jmp 0x41b45f
mov eax, dword [ebx + 0x5b4]
mov dword [eax], 2
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x41b46e
sub eax, 0x64
jne 0x41b497
xor eax, eax
cmp dword [ebp + 0x25c], eax
je 0x41b482
mov dword [ebp + 0x8844], 1
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
mov ebp, dword [esp + 0x20]
jne 0x41b570
cmp dword [ebp + 0x3f0], 0
jne 0x41b570
mov esi, dword [edi + 0x68]
push esi
mov eax, 0xf
mov ecx, str.Content_Length:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b570
push 0xa
push 0
add esi, 0xf
push esi
call fcn.0056a879
mov esi, dword [ebp + 0x358]
mov ecx, dword [ebp + 0x35c]
mov ebx, esi
add esp, 0xc
or ebx, ecx
je 0x41b507
cmp edx, ecx
jg 0x41c0b1
jl 0x41b507
cmp eax, esi
ja 0x41c0b1
test edx, edx
jl 0x41b52d
jg 0x41b511
test eax, eax
jb 0x41b52d
push edx
mov dword [edi], eax
mov dword [edi + 0x10], eax
push eax
mov eax, ebp
mov dword [edi + 4], edx
mov dword [edi + 0x14], edx
call fcn.00417780
add esp, 8
jmp 0x41bc3a
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x340]
mov esi, dword [ecx + 0x40]
and esi, 0x200
mov ecx, 0
sete cl
test esi, esi
jne 0x41b55a
cmp ecx, dword [ebx + 0x29c]
je 0x41b55a
mov dword [ebx + 0x29c], ecx
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
mov ecx, ebp
call fcn.0040f940
add esp, 0xc
jmp 0x41bc3a
mov esi, dword [edi + 0x68]
push esi
mov eax, 0xd
mov ecx, str.Content_Type:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b5ca
mov eax, esi
call fcn.00418170
mov esi, eax
test esi, esi
je 0x41c0cd
cmp byte [esi], 0
jne 0x41b5af
push esi
call dword [0x75cccc]
add esp, 4
jmp 0x41bc3a
mov edx, dword [ebp + 0x885c]
push edx
call dword [0x75cccc]
add esp, 4
mov dword [ebp + 0x885c], esi
jmp 0x41bc3a
push esi
mov eax, 7
mov ecx, str.Server:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b638
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x188], 0x14
jge 0x41bc3a
mov eax, esi
call fcn.00418170
mov esi, eax
mov eax, dword [ebx + 0x5b4]
test eax, eax
je 0x41b629
cmp dword [eax], 1
jne 0x41b629
push ebp
mov ebx, esi
call fcn.00413b70
add esp, 4
test eax, eax
je 0x41b629
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x5b4]
mov dword [ecx], 0xffffffff
push esi
call dword [0x75cccc]
add esp, 4
jmp 0x41bc3a
mov eax, dword [esp + 0x24]
mov ebx, 0xa
cmp dword [eax + 0x188], ebx
jne 0x41b695
cmp dword [eax + 0x2b0], 0
je 0x41b695
push str.keep_alive
mov edx, str.Proxy_Connection:
mov eax, esi
call fcn.00418ff0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x24]
je 0x41b695
cmp dword [eax + 0x29c], 0
je 0x41b681
mov dword [eax + 0x29c], 0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov ecx, ebp
call fcn.0040f940
add esp, 4
jmp 0x41bc3a
cmp dword [eax + 0x188], 0xb
jne 0x41b6eb
cmp dword [eax + 0x2b0], 0
je 0x41b6eb
mov eax, dword [edi + 0x68]
push str.close
mov edx, str.Proxy_Connection:
call fcn.00418ff0
add esp, 4
test eax, eax
je 0x41b6eb
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp dword [ecx + 0x29c], eax
je 0x41b6d7
mov dword [ecx + 0x29c], eax
push str.HTTP_1.1_proxy_connection_set_close__n
mov ecx, ebp
call fcn.0040f940
add esp, 4
jmp 0x41bc3a
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x188], ebx
jne 0x41b73b
mov eax, dword [edi + 0x68]
push str.keep_alive
mov edx, str.Connection:
call fcn.00418ff0
add esp, 4
test eax, eax
je 0x41b73b
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x29c], 0
je 0x41b727
mov dword [eax + 0x29c], 0
push str.HTTP_1.0_connection_set_to_keep_alive__n
mov ecx, ebp
call fcn.0040f940
add esp, 4
jmp 0x41bc3a
mov eax, dword [edi + 0x68]
push str.close
mov edx, str.Connection:
call fcn.00418ff0
add esp, 4
test eax, eax
je 0x41b78d
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x340]
mov eax, dword [eax + 0x40]
and eax, 0x200
mov ecx, 0
sete cl
test eax, eax
jne 0x41bc3a
cmp ecx, dword [edx + 0x29c]
je 0x41bc3a
mov dword [edx + 0x29c], ecx
jmp 0x41bc3a
mov esi, dword [edi + 0x68]
push esi
mov eax, 0x12
mov ecx, str.Transfer_Encoding:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b8bd
add esi, 0x12
mov ebx, 1
mov al, byte [esi]
test al, al
je 0x41b7de
lea esp, [esp]
movzx ecx, al
push ecx
call fcn.005627bb
add esp, 4
test eax, eax
jne 0x41b7d5
cmp byte [esi], 0x2c
jne 0x41b7de
mov al, byte [esi + ebx]
add esi, ebx
test al, al
jne 0x41b7c0
push esi
mov eax, 7
mov ecx, str.chunked
call fcn.0041c4c0
add esp, 4
xor ecx, ecx
test eax, eax
je 0x41b80d
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc8], ebx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x20], ecx
add esi, 7
cmp dword [edi + 0x8c], ecx
jne 0x41bc3a
push esi
mov eax, 8
mov ecx, str.identity
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b842
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x41b7b3
push esi
mov eax, 7
mov ecx, str.deflate
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b867
mov dword [edi + 0x8c], ebx
add esi, 7
jmp 0x41b7b3
push esi
mov eax, 4
mov ecx, str.gzip
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b890
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x41b7b3
push esi
mov eax, 6
mov ecx, str.x_gzip
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bc3a
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x41b7b3
push esi
mov eax, 0x11
mov ecx, str.Content_Encoding:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b995
cmp dword [ebp + 0x438], 0
je 0x41b995
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x41b908
nop
movzx edx, al
push edx
call fcn.005627bb
add esp, 4
test eax, eax
je 0x41b908
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41b8f0
push esi
mov eax, 8
mov ecx, str.identity
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b92e
mov dword [edi + 0x8c], 0
jmp 0x41bc3a
push esi
mov eax, 7
mov ecx, str.deflate
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41b954
mov dword [edi + 0x8c], 1
jmp 0x41bc3a
push esi
mov eax, 4
mov ecx, str.gzip
call fcn.0041c4c0
add esp, 4
test eax, eax
jne 0x41b986
push esi
mov eax, 6
mov ecx, str.x_gzip
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bc3a
mov dword [edi + 0x8c], 2
jmp 0x41bc3a
push esi
mov eax, 0xe
mov ecx, str.Content_Range:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41ba3b
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x41b9dd
lea ebx, [ebx]
movzx eax, al
push eax
call fcn.005626b6
add esp, 4
test eax, eax
jne 0x41b9dd
cmp byte [esi], 0x2a
je 0x41b9dd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41b9c0
movzx ecx, byte [esi]
push ecx
call fcn.005626b6
add esp, 4
test eax, eax
je 0x41ba28
push ebx
push 0
push esi
call fcn.0056a879
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov edx, dword [ebp + 0x87d8]
add esp, 0xc
cmp edx, eax
jne 0x41bc3a
mov eax, dword [ebp + 0x87dc]
cmp eax, dword [edi + 0x74]
jne 0x41bc3a
mov dword [edi + 0x6c], 1
jmp 0x41bc3a
xor eax, eax
mov dword [ebp + 0x87d8], eax
mov dword [ebp + 0x87dc], eax
jmp 0x41bc3a
cmp dword [ebp + 0x578], 0
je 0x41baad
push esi
mov eax, 0xb
mov ecx, str.Set_Cookie:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41baad
mov ecx, 2
mov esi, ebp
call fcn.00422910
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x370]
test eax, eax
jne 0x41ba7b
mov eax, dword [ecx + 0x98]
mov ecx, dword [ebp + 0x87c4]
mov edx, dword [edi + 0x68]
push ecx
mov ecx, dword [ebp + 0x578]
add edx, 0xb
push edx
push 1
push ebp
mov edx, eax
call fcn.00412400
add esp, 0x10
mov ecx, 2
mov esi, ebp
call fcn.00422940
jmp 0x41bc3a
push esi
mov eax, 0xe
mov ecx, str.Last_Modified:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bb0f
cmp dword [ebp + 0x25c], 0
jne 0x41bad6
cmp dword [ebp + 0x374], 0
je 0x41bb0f
push 0
call fcn.005674cc
mov ecx, dword [edi + 0x68]
add esp, 4
add ecx, 0xe
call fcn.00436db0
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [ebp + 0x374], 0
je 0x41bc3a
mov dword [ebp + 0x8840], eax
jmp 0x41bc3a
push esi
mov eax, 0x11
mov ecx, str.WWW_Authenticate:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bb30
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x41bb51
push esi
mov eax, 0x13
mov ecx, str.Proxy_authenticate:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bb95
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x41bb95
xor ebx, ebx
cmp eax, 0x197
mov eax, esi
sete bl
call fcn.00418170
mov esi, eax
test esi, esi
je 0x41c0cd
mov ecx, dword [esp + 0x24]
push ebx
push ecx
call fcn.00418980
push esi
mov ebx, eax
call dword [0x75cccc]
add esp, 0xc
test ebx, ebx
je 0x41bc3a
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x41bc18
cmp eax, 0x190
jge 0x41bc18
push esi
mov eax, 9
mov ecx, str.Location:
call fcn.0041c4c0
add esp, 4
test eax, eax
je 0x41bc18
cmp dword [ebp + 0x108], 0
jne 0x41bc18
mov eax, esi
call fcn.00418170
test eax, eax
je 0x41c0cd
cmp byte [eax], 0
jne 0x41bbe6
push eax
call dword [0x75cccc]
add esp, 4
jmp 0x41bc3a
cmp dword [ebp + 0x398], 0
mov dword [ebp + 0x108], eax
je 0x41bc3a
push eax
call dword [0x75ccd4]
add esp, 4
mov dword [ebp + 0x10c], eax
test eax, eax
je 0x41c0cd
mov ebx, dword [esp + 0x24]
call fcn.004183a0
jmp 0x41bc32
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x340]
test dword [edx + 0x3c], 0x40000
je 0x41bc3a
mov ecx, esi
call fcn.004236a0
test eax, eax
jne 0x41c1c7
cmp dword [ebp + 0x3a4], 0
mov dword [esp + 0x14], 2
je 0x41bc53
mov dword [esp + 0x14], 3
cmp dword [ebp + 0x3bc], 0
je 0x41bc78
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x68]
push eax
push ecx
push edx
mov ebx, 1
mov esi, ebp
call fcn.004101a0
add esp, 0xc
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x68]
test ecx, ecx
jne 0x41bc90
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41bc87
sub ecx, esi
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
call fcn.0040fde0
add esp, 0xc
test eax, eax
jne 0x41c1c7
mov eax, dword [edi + 0x58]
add dword [ebp + 0x8848], eax
mov ecx, dword [edi + 0x58]
mov edx, dword [ebp + 0x6c4]
add dword [ebp + 0x80], ecx
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], 0
jmp 0x41bfce
cmp cl, 0xd
jne 0x41bcdb
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x41bce7
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x41bd55
cmp eax, 0xc7
jg 0x41bd55
sub eax, 0x64
je 0x41bd2b
mov esi, 1
sub eax, esi
je 0x41bd13
mov dword [edi + 0x48], esi
mov dword [edi + 0x50], 0
jmp 0x41bdd8
cmp dword [edi + 0x88], esi
je 0x41bfe4
mov dword [edi + 0x48], 0
jmp 0x41bdd8
xor eax, eax
cmp dword [edi + 0x84], eax
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], eax
jle 0x41bdd8
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], eax
jmp 0x41bdd8
mov eax, dword [edi]
and eax, dword [edi + 4]
mov dword [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x41bdd8
cmp dword [edi + 0xc8], 0
jne 0x41bdd8
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x29c], 0
jne 0x41bdd8
cmp dword [eax + 0x188], 0xb
jne 0x41bdd8
mov ecx, dword [eax + 0x340]
test dword [ecx + 0x3c], 0x40000
jne 0x41bdd8
cmp dword [ebp + 0x268], 5
je 0x41bdd8
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov ecx, ebp
call fcn.0040f940
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x340]
mov eax, dword [eax + 0x40]
add esp, 4
and eax, 0x200
mov ecx, 0
sete cl
test eax, eax
jne 0x41bdd8
cmp ecx, dword [edx + 0x29c]
je 0x41bdd8
mov dword [edx + 0x29c], ecx
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x29c], 0
je 0x41be28
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x41bdfd
mov edx, ecx
cmp dword [edx + 0x3a0], 2
je 0x41be0f
cmp eax, 0x197
jne 0x41be28
mov eax, ecx
cmp dword [eax + 0x3b8], 2
jne 0x41be28
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov ecx, ebp
call fcn.0040f940
add esp, 4
mov dword [ebp + 0x8780], 1
mov edx, dword [esp + 0x24]
call fcn.00418b10
test eax, eax
jne 0x41c0da
lea ebx, [eax + 2]
cmp dword [ebp + 0x3a4], eax
je 0x41be47
lea ebx, [eax + 3]
mov eax, dword [ebp + 0x6c4]
mov esi, dword [edi + 0x68]
sub esi, eax
mov dword [esp + 0x14], esi
mov ecx, esi
jne 0x41be6d
mov ecx, eax
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41be60
sub ecx, esi
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push ecx
call fcn.0040fde0
add esp, 0xc
test eax, eax
jne 0x41c1c7
add dword [ebp + 0x80], esi
add dword [ebp + 0x8848], esi
mov eax, dword [edi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x41bea9
cmp eax, 0xc7
jg 0x41bea9
mov eax, ecx
jmp 0x41beab
xor eax, eax
mov esi, dword [esp + 0x24]
mov dword [ebp + 0x84], eax
mov eax, esi
call fcn.00418570
xor ebx, ebx
cmp eax, ebx
jne 0x41c1c7
cmp dword [edi + 0x78], 0x12c
jl 0x41bfb9
cmp dword [esi + 0x2e0], ebx
jne 0x41bf9b
cmp dword [esi + 0x29c], ebx
jne 0x41bf9b
cmp dword [esi + 0x2e4], ebx
jne 0x41bfa3
mov eax, dword [ebp + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x41bf9b
cmp dword [edi + 0xac], ebx
jne 0x41bf9b
mov ecx, ebp
cmp dword [ebp + 0x394], ebx
je 0x41bf43
push str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.0040f940
add esp, 4
cmp dword [edi + 0x84], ebx
jle 0x41bf9b
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], ebx
jmp 0x41bf9b
push str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.0040f940
mov edx, dword [esi + 0x340]
mov eax, dword [edx + 0x40]
add esp, 4
and eax, 0x200
mov ecx, 0
sete cl
cmp eax, ebx
jne 0x41bf78
cmp ecx, dword [esi + 0x29c]
je 0x41bf78
mov dword [esi + 0x29c], ecx
and dword [edi + 0xa8], 0xfffffffd
mov dword [edi + 0xac], 1
cmp dword [ebp + 0x87b8], ebx
je 0x41bf9b
mov dword [edi + 0x84], 3
cmp dword [esi + 0x2e4], ebx
je 0x41bfb9
push str.Keep_sending_data_to_get_tossed_away__n
mov ecx, ebp
call fcn.0040f940
add esp, 4
or dword [edi + 0xa8], 2
cmp dword [edi + 0x48], ebx
je 0x41c0fa
mov eax, dword [ebp + 0x6c4]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ebx
mov ecx, dword [edi + 0x5c]
cmp byte [ecx], 0
jne 0x41b140
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Received_101_n
mov ecx, ebp
call fcn.0040f940
add esp, 4
mov dword [edi + 0x88], 2
mov dword [edi + 0x48], esi
mov dword [edi + 0x50], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
call fcn.0041afe0
add esp, 4
test eax, eax
jne 0x41c1c7
cmp dword [edi + 0x50], eax
jne 0x41c1c5
cmp dword [edi + 0x58], 5
jbe 0x41c1c5
mov ecx, dword [ebp + 0x6c4]
mov eax, dword [esp + 0x24]
push ebp
call fcn.0041afa0
add esp, 4
test eax, eax
jne 0x41c1c5
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov dword [edi + 0x48], 0
cmp dword [eax], 0
je 0x41c089
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x4c], 2
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
mov eax, ebp
call fcn.0040f9d0
add esp, 4
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [edi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
mov eax, ebp
call fcn.0040f9d0
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp dword [ebp + 0x3b0], ebx
je 0x41c111
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x41c159
mov ecx, dword [esi + 0x340]
test dword [ecx + 0x3c], 0x40000
je 0x41c143
cmp dword [ebp + 0x508], 2
jne 0x41c143
or edx, 0xffffffff
cmp dword [edi + 4], edx
jg 0x41c146
jl 0x41c137
cmp dword [edi], edx
ja 0x41c146
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x41c159
or edx, 0xffffffff
cmp dword [edi + 0xc8], ebx
je 0x41c159
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, edx
jne 0x41c166
cmp ecx, edx
je 0x41c17d
push ecx
push eax
mov eax, ebp
call fcn.00417780
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add esp, 8
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
cmp dword [edi + 0x10], ebx
jne 0x41c193
cmp dword [edi + 0x14], ebx
jne 0x41c193
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x41c19b
mov ecx, dword [esp + 0x2c]
cmp dword [ecx], ebx
je 0x41c1a2
and dword [edi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x3bc], ebx
je 0x41c1c5
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x60]
mov edx, esi
push edx
push eax
push ecx
mov ebx, 1
mov esi, ebp
call fcn.004101a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret