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

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
lea esi, [ebp + 0x70]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call fcn.1004efc0
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x1002f37c
sub eax, dword [esi + 0x5c]
inc eax
mov edi, eax
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.1002c710
add esp, 4
test eax, eax
jne 0x1002f535
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x6fc]
mov dword [esi + 0x68], eax
jne 0x1002e69d
cmp dword [esi + 0x58], 5
jbe 0x1002e69d
mov ecx, dword [ebx + 0x458]
test dword [ecx + 0x3c], 0x40000
mov eax, dword [ebp + 0x6fc]
je 0x1002e688
push 5
push eax
push str.RTSP_
call fcn.10027470
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x1002e695
mov ebx, eax
mov eax, ebp
call fcn.1002c670
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x1002f3cf
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x1002f0b6
cmp cl, 0xd
je 0x1002f0bb
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x1002e92b
mov ecx, dword [ebx + 0x458]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x1002e79c
mov edi, dword [esp + 0x28]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x180
push edi
lea edx, [esp + 0x2c]
push edx
push str._HTTP__d._d__d
push eax
call fcn.1004fa1e
add esp, 0x14
cmp eax, 1
jne 0x1002e724
cmp dword [esp + 0x24], 2
jne 0x1002e75f
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.1004fa1e
add esp, 0xc
cmp eax, 1
jne 0x1002e75f
mov dword [edi], 0
jmp 0x1002e729
cmp eax, 3
jne 0x1002e75f
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [edi], ecx
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x1002e7f9
cmp eax, 0x14
je 0x1002e7f9
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.10022470
add esp, 8
jmp 0x1002e7f9
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.1004fa1e
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [edi], 0xa
test eax, eax
jne 0x1002e7f9
mov ebx, dword [esi + 0x68]
mov eax, ebp
call fcn.1002c670
test eax, eax
je 0x1002e7ee
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x1002e7f9
test ecx, 0x40000
je 0x1002f419
lea ecx, [esi + 0x78]
push ecx
lea edi, [ebx + 0x184]
push edi
lea ecx, [esp + 0x1c]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.1004fa1e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 3
jne 0x1002f419
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
add edx, edx
add dword [edi], edx
mov edi, dword [esp + 0x28]
add edi, 0x180
mov dword [edi], 0xb
cmp dword [esp + 0x10], 0
je 0x1002f419
mov eax, dword [esi + 0x78]
mov ebx, dword [esp + 0x28]
mov dword [ebp + 0x4900], eax
mov eax, dword [ebp + 0x4870]
mov ecx, dword [edi]
mov dword [ebp + 0x4908], ecx
test eax, eax
je 0x1002e81c
cmp eax, dword [edi]
jle 0x1002e824
mov edx, dword [edi]
mov dword [ebp + 0x4870], edx
cmp dword [ebp + 0x3b8], 0
je 0x1002e881
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x1002e881
cmp eax, 0x191
jne 0x1002e847
cmp dword [ebx + 0x3d0], 0
jne 0x1002e881
cmp eax, 0x197
jne 0x1002e857
cmp dword [ebx + 0x3d4], 0
jne 0x1002e881
mov ecx, dword [ebp + 0x4898]
or ecx, dword [ebp + 0x489c]
je 0x1002f403
cmp dword [ebp + 0x288], 1
jne 0x1002f403
cmp eax, 0x1a0
jne 0x1002f403
mov edi, dword [edi]
cmp edi, 0xa
jne 0x1002e8a0
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.10022470
push 1
push ebx
call fcn.10025440
add esp, 0x10
jmp 0x1002e8f3
cmp edi, 0x14
je 0x1002e8e7
cmp dword [esi + 0x88], 1
jne 0x1002e8b4
cmp dword [esi + 0x78], 0x65
je 0x1002e8e7
cmp edi, 0xb
jl 0x1002e8f3
cmp dword [ebx + 0x3b4], 0
jne 0x1002e8f3
cmp dword [ebx + 0x760], 0
je 0x1002e8f3
push ebx
push ebp
call fcn.1002abe0
add esp, 8
test eax, eax
jne 0x1002e8f3
mov edx, dword [ebx + 0x760]
mov dword [edx], 1
jmp 0x1002e8f3
mov eax, dword [ebx + 0x760]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x1002e902
sub eax, 0x64
jne 0x1002e92b
xor eax, eax
cmp dword [ebp + 0x27c], eax
je 0x1002e916
mov dword [ebp + 0x4910], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x1002e9e1
cmp dword [ebp + 0x418], 0
jne 0x1002e9e1
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002e9e1
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.100518a4
mov ecx, dword [ebp + 0x380]
mov ebx, edx
mov edi, eax
mov eax, dword [ebp + 0x384]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x1002e99b
cmp ebx, eax
jg 0x1002f42a
jl 0x1002e99b
cmp edi, ecx
ja 0x1002f42a
test ebx, ebx
jl 0x1002e9c0
jg 0x1002e9a5
test edi, edi
jb 0x1002e9c0
push ebx
push edi
push ebp
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
call fcn.1002a160
add esp, 0xc
jmp 0x1002f04d
mov eax, dword [esp + 0x28]
push 2
push eax
call fcn.10025440
push ebx
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebp
call fcn.10022470
add esp, 0x18
jmp 0x1002f04d
mov ecx, dword [esi + 0x68]
push 0xd
push ecx
push str.Content_Type:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ea3d
mov edx, dword [esi + 0x68]
push edx
call fcn.1002b660
mov edi, eax
add esp, 4
test edi, edi
je 0x1002f445
cmp byte [edi], 0
jne 0x1002ea22
push edi
call dword [0x1007f004]
add esp, 4
jmp 0x1002f04d
mov eax, dword [ebp + 0x4928]
push eax
call dword [0x1007f004]
add esp, 4
mov dword [ebp + 0x4928], edi
jmp 0x1002f04d
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.10027470
mov ebx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x1002eaab
cmp dword [ebx + 0x180], 0x14
jge 0x1002f04d
mov edx, dword [esi + 0x68]
push edx
call fcn.1002b660
mov edi, eax
mov eax, dword [ebx + 0x760]
add esp, 4
test eax, eax
je 0x1002ea9c
cmp dword [eax], 1
jne 0x1002ea9c
push edi
push ebp
call fcn.1002ad30
add esp, 8
test eax, eax
je 0x1002ea9c
mov eax, dword [ebx + 0x760]
mov dword [eax], 0xffffffff
push edi
call dword [0x1007f004]
add esp, 4
jmp 0x1002f04d
mov edi, 0xa
cmp dword [ebx + 0x180], edi
jne 0x1002eaf6
cmp dword [ebx + 0x3c8], 0
je 0x1002eaf6
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.1002c340
add esp, 0xc
test eax, eax
je 0x1002eaf6
push 0
push ebx
call fcn.10025440
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
call fcn.10022470
add esp, 0x10
jmp 0x1002f04d
cmp dword [ebx + 0x180], 0xb
jne 0x1002eb3d
cmp dword [ebx + 0x3c8], 0
je 0x1002eb3d
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.1002c340
add esp, 0xc
test eax, eax
je 0x1002eb3d
push 1
push ebx
call fcn.10025440
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
call fcn.10022470
add esp, 0x10
jmp 0x1002f04d
cmp dword [ebx + 0x180], edi
jne 0x1002eb7a
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.1002c340
add esp, 0xc
test eax, eax
je 0x1002eb7a
push 0
push ebx
call fcn.10025440
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
call fcn.10022470
add esp, 0x10
jmp 0x1002f04d
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.1002c340
add esp, 0xc
test eax, eax
je 0x1002eba4
push 2
push ebx
call fcn.10025440
add esp, 8
jmp 0x1002f04d
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ecc2
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x1002ebed
jmp 0x1002ebd0
movzx eax, al
push eax
call fcn.1004edf4
add esp, 4
test eax, eax
jne 0x1002ebe5
cmp byte [edi], 0x2c
jne 0x1002ebed
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002ebd0
push 7
push edi
push str.chunked
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ec19
mov ecx, ebx
push ecx
mov dword [esi + 0xc8], 1
call fcn.10043e80
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x1002f04d
push 8
push edi
push str.identity
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ec4c
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x1002ebc5
push 7
push edi
push str.deflate
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ec72
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x1002ebc5
push 4
push edi
push str.gzip
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ec98
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x1002ebc5
push 6
push edi
push str.x_gzip
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002f04d
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x1002ebc5
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ed90
cmp dword [ebp + 0x460], 0
je 0x1002ed90
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x1002ed0f
movzx eax, al
push eax
call fcn.1004edf4
add esp, 4
test eax, eax
je 0x1002ed0f
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002ecf7
push 8
push edi
push str.identity
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ed32
mov dword [esi + 0x8c], 0
jmp 0x1002f04d
push 7
push edi
push str.deflate
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ed55
mov dword [esi + 0x8c], 1
jmp 0x1002f04d
push 4
push edi
push str.gzip
call fcn.10027470
add esp, 0xc
test eax, eax
jne 0x1002ed81
push 6
push edi
push str.x_gzip
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002f04d
mov dword [esi + 0x8c], 2
jmp 0x1002f04d
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Content_Range:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ee3c
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x1002eddd
jmp 0x1002edc0
movzx edx, al
push edx
call fcn.1004ecef
add esp, 4
test eax, eax
jne 0x1002eddd
cmp byte [edi], 0x2a
je 0x1002eddd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002edc0
movzx eax, byte [edi]
push eax
call fcn.1004ecef
add esp, 4
test eax, eax
je 0x1002ee29
push 0xa
push 0
push edi
call fcn.100518a4
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov ecx, dword [ebp + 0x4898]
add esp, 0xc
cmp ecx, eax
jne 0x1002f04d
mov edx, dword [ebp + 0x489c]
cmp edx, dword [esi + 0x74]
jne 0x1002f04d
mov dword [esi + 0x6c], 1
jmp 0x1002f04d
xor eax, eax
mov dword [ebp + 0x4898], eax
mov dword [ebp + 0x489c], eax
jmp 0x1002f04d
cmp dword [ebp + 0x5b0], 0
je 0x1002eea7
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002eea7
push 2
push 2
push ebp
call fcn.100319d0
mov eax, dword [ebx + 0x488]
add esp, 0xc
test eax, eax
jne 0x1002ee79
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebp + 0x4880]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [ebp + 0x5b0]
add edx, 0xb
push edx
push 1
push eax
push ebp
call fcn.100233f0
push 2
push ebp
call fcn.10031a10
add esp, 0x20
jmp 0x1002f04d
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ef19
cmp dword [ebp + 0x27c], 0
jne 0x1002eed0
cmp dword [ebp + 0x39c], 0
je 0x1002ef19
push 0
call fcn.1004ea42
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
add eax, 0xe
push eax
call fcn.100138f0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebp + 0x39c], 0
je 0x1002f04d
mov ecx, eax
mov dword [ebp + 0x490c], ecx
jmp 0x1002f04d
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002ef3a
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x1002ef5b
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002efa5
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x1002efa5
mov ecx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.1002b660
mov edi, eax
add esp, 4
test edi, edi
je 0x1002f445
mov edx, dword [esp + 0x28]
push edi
push ebx
push edx
call fcn.1002bcf0
push edi
mov ebx, eax
call dword [0x1007f004]
add esp, 0x10
test ebx, ebx
je 0x1002f04d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x1002f029
cmp eax, 0x190
jge 0x1002f029
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.10027470
add esp, 0xc
test eax, eax
je 0x1002f029
cmp dword [ebp + 0x128], 0
jne 0x1002f029
mov ecx, dword [esi + 0x68]
push ecx
call fcn.1002b660
add esp, 4
test eax, eax
je 0x1002f445
cmp byte [eax], 0
jne 0x1002effb
push eax
call dword [0x1007f004]
add esp, 4
jmp 0x1002f04d
cmp dword [ebp + 0x3c0], 0
mov dword [ebp + 0x128], eax
je 0x1002f04d
push eax
call dword [0x1007f00c]
add esp, 4
mov dword [ebp + 0x12c], eax
test eax, eax
je 0x1002f445
call fcn.1002b8b0
jmp 0x1002f045
mov edx, dword [ebx + 0x458]
test dword [edx + 0x3c], 0x40000
je 0x1002f04d
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.10032c30
add esp, 8
test eax, eax
jne 0x1002f535
cmp dword [ebp + 0x3cc], 0
mov edi, 2
je 0x1002f060
mov edi, 3
cmp dword [ebp + 0x3e4], 0
je 0x1002f081
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push ebp
call fcn.100222e0
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.100228b0
add esp, 0x10
test eax, eax
jne 0x1002f535
mov ecx, dword [esi + 0x58]
add dword [ebp + 0x4914], ecx
mov edx, dword [esi + 0x58]
add dword [ebp + 0xa0], edx
jmp 0x1002f327
cmp cl, 0xd
jne 0x1002f0bf
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x1002f0cb
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x1002f12f
cmp eax, 0xc7
jg 0x1002f12f
sub eax, 0x64
je 0x1002f10c
mov ecx, 1
sub eax, ecx
je 0x1002f0f7
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], 0
jmp 0x1002f189
cmp dword [esi + 0x88], ecx
je 0x1002f34d
mov dword [esi + 0x48], 0
jmp 0x1002f189
xor eax, eax
cmp dword [esi + 0x84], eax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], eax
jle 0x1002f189
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], eax
jmp 0x1002f189
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp ecx, 0xffffffff
jne 0x1002f189
cmp dword [esi + 0xc8], 0
jne 0x1002f189
cmp dword [ebx + 0x3b4], 0
jne 0x1002f192
cmp dword [ebx + 0x180], 0xb
jne 0x1002f189
mov edx, dword [ebx + 0x458]
test dword [edx + 0x3c], 0x40000
jne 0x1002f189
cmp dword [ebp + 0x288], 5
je 0x1002f189
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.10022470
push 2
push ebx
call fcn.10025440
add esp, 0x10
cmp dword [ebx + 0x3b4], 0
je 0x1002f1d0
mov eax, dword [ebp + 0xe8]
cmp eax, 0x191
jne 0x1002f1a8
cmp dword [ebx + 0x504], 2
je 0x1002f1b8
cmp eax, 0x197
jne 0x1002f1d0
cmp dword [ebx + 0x540], 2
jne 0x1002f1d0
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.10022470
add esp, 8
mov dword [ebp + 0x482c], 1
mov edx, ebx
call fcn.1002bf40
test eax, eax
jne 0x1002f452
lea ecx, [eax + 2]
cmp dword [ebp + 0x3cc], eax
je 0x1002f1ed
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x6fc]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.100228b0
add esp, 0x10
test eax, eax
jne 0x1002f535
add dword [ebp + 0xa0], edi
add dword [ebp + 0x4914], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0xa0]
jl 0x1002f231
cmp eax, 0xc7
jg 0x1002f231
mov eax, ecx
jmp 0x1002f233
xor eax, eax
push ebx
mov dword [ebp + 0xa4], eax
call fcn.1002c860
add esp, 4
test eax, eax
jne 0x1002f535
cmp dword [esi + 0x78], 0x12c
jl 0x1002f31d
cmp dword [ebx + 0x3f8], eax
jne 0x1002f2ff
cmp dword [ebx + 0x3b4], eax
jne 0x1002f2ff
cmp dword [ebx + 0x3fc], eax
jne 0x1002f308
mov eax, dword [ebp + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1002f2ff
cmp dword [esi + 0xac], 0
jne 0x1002f2ff
cmp dword [ebp + 0x3bc], 0
je 0x1002f2c5
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebp
call fcn.10022470
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x1002f2ff
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x1002f2ff
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.10022470
push 2
push ebx
call fcn.10025440
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [ebp + 0x4874], 0
je 0x1002f2ff
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x3fc], 0
je 0x1002f31d
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.10022470
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x1002f471
mov eax, dword [ebp + 0x6fc]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], eax
cmp byte [ecx], 0
jne 0x1002e5f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Received_101_n
push ebp
call fcn.10022470
add esp, 8
pop edi
mov eax, 1
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [edi]
push edx
call fcn.1002c710
add esp, 4
test eax, eax
jne 0x1002f535
cmp dword [esi + 0x50], eax
jne 0x1002f533
cmp dword [esi + 0x58], 5
jbe 0x1002f533
mov ecx, dword [ebp + 0x6fc]
mov eax, dword [esp + 0x28]
push ebp
call fcn.1002c6d0
add esp, 4
test eax, eax
jne 0x1002f533
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x1002f3f0
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebp
call fcn.1002c7c0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push ebp
call fcn.10022500
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.10022500
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x3d8], 0
mov ebx, dword [esp + 0x30]
je 0x1002f489
mov dword [ebx], 1
or edx, 0xffffffff
jmp 0x1002f4d2
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x458]
test dword [edx + 0x3c], 0x40000
je 0x1002f4bb
cmp dword [ebp + 0x538], 2
jne 0x1002f4bb
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x1002f4be
jl 0x1002f4b3
cmp dword [esi], edx
ja 0x1002f4be
mov dword [ebx], 1
jmp 0x1002f4d2
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x1002f4d2
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x1002f4df
cmp ecx, edx
je 0x1002f4f5
push ecx
push eax
push ebp
call fcn.1002a160
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x1002f509
cmp dword [esi + 0x14], 0
jne 0x1002f509
mov dword [ebx], 1
jmp 0x1002f50e
cmp dword [ebx], 0
je 0x1002f515
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x3e4], 0
je 0x1002f533
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x60]
push edx
push edi
push eax
push 1
push ebp
call fcn.100222e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret