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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp]
push esi
push edi
mov edi, dword [esp + 0x38]
lea esi, [edi + 0x90]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x20], eax
mov dword [esi + 0x64], eax
mov ecx, dword [ebp]
push ecx
push 0xa
push eax
call fcn.1004ff70
add esp, 0xc
mov dword [esi + 0x68], eax
mov ebx, edi
test eax, eax
je 0x10038024
mov edx, dword [esi + 0x60]
sub edx, eax
dec edx
add dword [ebp], edx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
push eax
call fcn.10035120
add esp, 4
test eax, eax
jne 0x1003825b
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xc54]
mov dword [esi + 0x6c], ecx
jne 0x100373dc
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xc54]
push edi
mov edx, ebx
call fcn.100350f0
add esp, 4
cmp eax, 2
je 0x100380a1
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10037d1b
cmp cl, 0xd
je 0x10037d20
mov ecx, dword [esi + 0x54]
lea edx, [ecx + 1]
mov dword [esi + 0x54], edx
test ecx, ecx
jne 0x100376c9
mov ecx, dword [ebx + 0x2a8]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x1003750d
mov ebx, dword [esp + 0x3c]
lea ebp, [esi + 0x78]
push ebp
lea edx, [esp + 0x3c]
push edx
add ebx, 0x180
push ebx
lea ecx, [esp + 0x20]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.1004cd9d
add esp, 0x18
cmp eax, 1
jne 0x10037475
cmp dword [esp + 0x14], 2
jne 0x100380f5
mov edx, dword [esi + 0x6c]
push ebp
push str._HTTP_2__d
push edx
call fcn.1004cd9d
add esp, 0xc
cmp eax, 1
jne 0x100380f5
mov dword [ebx], 0
mov byte [esp + 0x38], 0x20
jmp 0x10037485
cmp eax, 4
jne 0x100374bb
cmp byte [esp + 0x38], 0x20
jne 0x100380f5
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
cmp dword [esi + 0x94], 2
mov eax, dword [ebx]
jne 0x10037579
cmp eax, 0x14
je 0x10037579
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.1001bdc0
add esp, 8
jmp 0x10037579
test eax, eax
jne 0x100380f5
mov ecx, dword [esi + 0x6c]
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push ecx
call fcn.1004cd9d
mov ebp, eax
add esp, 0xc
mov dword [ebx], 0xa
test ebp, ebp
jne 0x10037579
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
push edx
mov eax, edi
call fcn.10035050
add esp, 4
cmp eax, 1
jne 0x10037571
mov dword [esi + 0x78], 0xc8
mov dword [ebx], 0xa
jmp 0x10037579
test ecx, 0x40000
je 0x10038126
mov ebx, dword [esp + 0x3c]
lea ecx, [esi + 0x78]
push ecx
lea ecx, [esp + 0x17]
push ecx
add ebx, 0x184
push ebx
lea edx, [esp + 0x24]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.1004cd9d
mov ebp, eax
add esp, 0x18
cmp ebp, 4
jne 0x10038126
cmp byte [esp + 0x13], 0x20
jne 0x10038126
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov ebx, dword [esp + 0x3c]
add ebx, 0x180
mov dword [ebx], 0xb
test ebp, ebp
je 0x10038126
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 0xefc]
mov dword [edi + 0xf98], ecx
mov edx, dword [ebx]
mov dword [edi + 0xfa0], edx
test eax, eax
je 0x10037598
cmp eax, dword [ebx]
jle 0x100375a0
mov eax, dword [ebx]
mov dword [edi + 0xefc], eax
mov ecx, dword [edi + 0xf08]
or ecx, dword [edi + 0xf0c]
je 0x100375c9
cmp dword [edi + 0x828], 1
jne 0x100375c9
cmp dword [esi + 0x78], 0x1a0
jne 0x100375c9
or dword [esi + 0x500], 8
jmp 0x1003760f
test byte [edi + 0xa8e], 1
je 0x1003760f
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x1003760f
cmp eax, 0x191
jne 0x100375f0
mov edx, dword [esp + 0x3c]
test byte [edx + 0x280], 0x80
jne 0x1003760f
cmp eax, 0x197
jne 0x10038110
mov eax, dword [esp + 0x3c]
test dword [eax + 0x280], 0x100
je 0x10038110
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x10037632
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.1001bdc0
mov ecx, dword [esp + 0x44]
push 1
push ecx
call fcn.100226e0
add esp, 0x10
jmp 0x10037691
cmp ebx, 0x14
je 0x10037681
cmp dword [esi + 0x94], 1
jne 0x10037646
cmp dword [esi + 0x78], 0x65
je 0x10037681
cmp ebx, 0xb
jl 0x10037691
mov edx, dword [esp + 0x3c]
test byte [edx + 0x280], 1
jne 0x10037691
mov eax, edx
cmp dword [eax + 0x450], 0
je 0x10037691
mov ebx, eax
push ebx
push edi
call fcn.1003ab30
add esp, 8
test eax, eax
jne 0x10037691
mov ecx, dword [ebx + 0x450]
mov dword [ecx], 1
jmp 0x10037691
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x450]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x100376b1
sub eax, 0x64
jne 0x100376c5
cmp dword [edi + 0x81c], eax
je 0x100376b3
or dword [edi + 0x104c], 1
jmp 0x100376b3
xor eax, eax
or dword [esi + 0x500], 0x10
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ebx, dword [esp + 0x3c]
mov al, 0x10
test byte [esi + 0x500], al
jne 0x10037797
test byte [edi + 0xa90], al
jne 0x10037797
mov ecx, dword [esi + 0x6c]
push 0xf
push ecx
push str.Content_Length:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037797
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x24]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10041f10
add esp, 0x10
test eax, eax
jne 0x10037761
mov ebx, dword [edi + 0x8f8]
mov edx, dword [edi + 0x8fc]
mov eax, dword [esp + 0x24]
mov ecx, ebx
or ecx, edx
mov ecx, dword [esp + 0x28]
je 0x10037746
cmp ecx, edx
jg 0x10038137
jl 0x10037746
cmp eax, ebx
ja 0x10038137
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.1003dc80
add esp, 0xc
jmp 0x10037ca7
cmp eax, 1
jne 0x10038152
mov edx, dword [edi + 0x8f8]
or edx, dword [edi + 0x8fc]
jne 0x10038137
push 2
push ebx
call fcn.100226e0
push str.Overflow_Content_Length:_value__n
push edi
call fcn.1001bdc0
add esp, 0x10
jmp 0x10037ca7
mov eax, dword [esi + 0x6c]
push 0xd
push eax
push str.Content_Type:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x100377f3
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.10033f30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003816d
cmp byte [ebx], 0
jne 0x100377d8
push ebx
call dword [0x10076004]
add esp, 4
jmp 0x10037ca7
mov edx, dword [edi + 0xfcc]
push edx
call dword [0x10076004]
add esp, 4
mov dword [edi + 0xfcc], ebx
jmp 0x10037ca7
mov eax, dword [esi + 0x6c]
push 7
push eax
push str.Server:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x1003785d
cmp dword [ebx + 0x180], 0x14
jge 0x10037ca7
mov ecx, dword [esi + 0x6c]
push ecx
call fcn.10033f30
mov ebp, eax
mov eax, dword [ebx + 0x450]
add esp, 4
test eax, eax
je 0x1003784e
cmp dword [eax], 1
jne 0x1003784e
push ebp
push edi
call fcn.1003ac90
add esp, 8
test eax, eax
je 0x1003784e
mov edx, dword [ebx + 0x450]
mov dword [edx], 0xffffffff
push ebp
call dword [0x10076004]
add esp, 4
jmp 0x10037ca7
mov ebp, 0xa
cmp dword [ebx + 0x180], ebp
jne 0x100378a8
test byte [ebx + 0x280], 0x20
je 0x100378a8
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.10034c80
add esp, 0xc
test eax, eax
je 0x100378a8
push 0
push ebx
call fcn.100226e0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.1001bdc0
add esp, 0x10
jmp 0x10037ca7
cmp dword [ebx + 0x180], 0xb
jne 0x100378ef
test byte [ebx + 0x280], 0x20
je 0x100378ef
mov ecx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.10034c80
add esp, 0xc
test eax, eax
je 0x100378ef
push 1
push ebx
call fcn.100226e0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.1001bdc0
add esp, 0x10
jmp 0x10037ca7
cmp dword [ebx + 0x180], ebp
jne 0x1003792c
mov edx, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push edx
call fcn.10034c80
add esp, 0xc
test eax, eax
je 0x1003792c
push 0
push ebx
call fcn.100226e0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.1001bdc0
add esp, 0x10
jmp 0x10037ca7
mov eax, dword [esi + 0x6c]
push str.close
push str.Connection:
push eax
call fcn.10034c80
add esp, 0xc
test eax, eax
je 0x10037956
push 2
push ebx
call fcn.100226e0
add esp, 8
jmp 0x10037ca7
mov ecx, dword [esi + 0x6c]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037984
mov edx, dword [esi + 0x6c]
push 1
add edx, 0x12
push edx
push ebx
call fcn.1001b820
add esp, 0xc
jmp 0x10037c9f
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.Content_Encoding:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x100379bb
cmp dword [edi + 0x950], 0
je 0x100379bb
mov ecx, dword [esi + 0x6c]
push 0
add ecx, 0x11
push ecx
push ebx
call fcn.1001b820
add esp, 0xc
jmp 0x10037c9f
mov edx, dword [esi + 0x6c]
push 0xe
push edx
push str.Content_Range:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037a66
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x10037a00
movzx eax, al
push eax
call fcn.1003d3a0
add esp, 4
test eax, eax
jne 0x10037a00
cmp byte [ebx], 0x2a
je 0x10037a00
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x100379e3
movzx ecx, byte [ebx]
push ecx
call fcn.1003d3a0
add esp, 4
test eax, eax
je 0x10037a53
lea ebp, [esi + 0x70]
push ebp
push 0xa
push 0
push ebx
call fcn.10041f10
add esp, 0x10
test eax, eax
jne 0x10037ca7
mov edx, dword [edi + 0xf08]
cmp edx, dword [ebp]
jne 0x10037ca7
mov eax, dword [edi + 0xf0c]
cmp eax, dword [ebp + 4]
jne 0x10037ca7
or dword [esi + 0x500], 2
jmp 0x10037ca7
xor eax, eax
mov dword [edi + 0xf08], eax
mov dword [edi + 0xf0c], eax
jmp 0x10037ca7
cmp dword [edi + 0xaac], 0
je 0x10037ae2
mov ecx, dword [esi + 0x6c]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037ae2
push 2
push 2
push edi
call fcn.1001b4e0
mov eax, dword [ebx + 0x2f0]
add esp, 0xc
test eax, eax
jne 0x10037aa3
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x2a8]
mov ecx, dword [edx + 0x40]
mov edx, dword [edi + 0xf58]
shr ecx, 1
and ecx, 1
push ecx
mov ecx, dword [edi + 0xaac]
push edx
push eax
mov eax, dword [esi + 0x6c]
add eax, 0xb
push eax
push 0
push 1
push ecx
push edi
call fcn.10019b90
push 2
push edi
call fcn.1001b520
add esp, 0x28
jmp 0x10037ca7
mov edx, dword [esi + 0x6c]
push 0xe
push edx
push str.Last_Modified:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037b66
cmp dword [edi + 0x81c], 0
jne 0x10037b0e
test dword [edi + 0xa8c], 0x200
je 0x10037b66
push 0
call fcn.1004b480
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
add ecx, 0xe
push ecx
mov dword [esp + 0x3c], edx
call fcn.10041e90
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [edi + 0xa8c], 0x200
je 0x10037ca7
mov edx, eax
mov dword [edi + 0xfa8], edx
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xfac], eax
jmp 0x10037ca7
mov ecx, dword [esi + 0x6c]
push 0x11
push ecx
push str.WWW_Authenticate:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037b87
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10037ba8
mov edx, dword [esi + 0x6c]
push 0x13
push edx
push str.Proxy_authenticate:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037bf4
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10037bf4
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov ebp, ecx
call fcn.10033f30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003816d
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push eax
call fcn.10034610
push ebx
mov ebp, eax
call dword [0x10076004]
add esp, 0x10
test ebp, ebp
je 0x10037ca7
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10037c83
cmp eax, 0x190
jge 0x10037c83
mov ecx, dword [esi + 0x6c]
push 9
push ecx
push str.Location:
call fcn.1001b4d0
add esp, 0xc
test eax, eax
je 0x10037c83
cmp dword [edi + 0x144], 0
jne 0x10037c83
mov edx, dword [esi + 0x6c]
push edx
call fcn.10033f30
add esp, 4
test eax, eax
je 0x1003816d
cmp byte [eax], 0
jne 0x10037c4e
push eax
call dword [0x10076004]
add esp, 4
jmp 0x10037ca7
test dword [edi + 0xa8c], 0x40000
mov dword [edi + 0x144], eax
je 0x10037ca7
push eax
call dword [0x1007600c]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x1003816d
push ebx
call fcn.100341e0
add esp, 4
jmp 0x10037c9f
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x10037ca7
mov ecx, dword [esi + 0x6c]
push ecx
push ebx
call fcn.10025140
add esp, 8
test eax, eax
jne 0x1003825b
mov eax, dword [edi + 0xa8c]
mov ebx, 2
test eax, 0x200000
je 0x10037cbe
mov ebx, 3
test eax, 0x4000000
je 0x10037cd8
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
push edx
push eax
push 1
push edi
call fcn.1001bd30
add esp, 0x10
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x6c]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push eax
call fcn.1001c2f0
add esp, 0x10
test eax, eax
jne 0x1003825b
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
jmp 0x10037fcb
cmp cl, 0xd
jne 0x10037d24
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x10037d30
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10037dac
cmp eax, 0xc7
jg 0x10037dac
sub eax, 0x64
je 0x10037d77
mov ebp, 1
sub eax, ebp
je 0x10037d5f
or dword [esi + 0x500], ebp
mov dword [esi + 0x54], 0
jmp 0x10037e07
cmp dword [esi + 0x94], ebp
je 0x10037ff5
and dword [esi + 0x500], 0xfffffffe
jmp 0x10037e07
or dword [esi + 0x500], 1
cmp dword [esi + 0x90], 0
mov dword [esi + 0x54], 0
jle 0x10037e07
or dword [esi + 0xb0], 2
push 0
push edi
mov dword [esi + 0x90], 0
call fcn.1001ee80
add esp, 8
jmp 0x10037e07
mov edx, dword [esi]
and edx, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
mov eax, dword [esi + 0x500]
cmp edx, 0xffffffff
jne 0x10037e07
test al, 0x20
jne 0x10037e07
test byte [ebx + 0x280], 1
jne 0x10037e10
cmp dword [ebx + 0x180], 0xb
jne 0x10037e07
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
jne 0x10037e07
cmp dword [edi + 0x828], 6
je 0x10037e07
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.1001bdc0
push 2
push ebx
call fcn.100226e0
add esp, 0x10
test byte [ebx + 0x280], 1
je 0x10037e4b
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x10037e26
cmp dword [ebx + 0x330], 2
je 0x10037e36
cmp eax, 0x197
jne 0x10037e4b
cmp dword [ebx + 0x348], 2
jne 0x10037e4b
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.1001bdc0
add esp, 8
or dword [edi + 0xf6c], 0x20
mov edx, ebx
call fcn.100347b0
test eax, eax
jne 0x1003817a
test dword [edi + 0xa8c], 0x200000
lea ecx, [eax + 2]
je 0x10037e6c
lea ecx, [eax + 3]
mov eax, dword [edi + 0xc54]
mov ebp, dword [esi + 0x6c]
sub ebp, eax
push ebp
push eax
push ecx
push ebx
call fcn.1001c2f0
add esp, 0x10
test eax, eax
jne 0x1003825b
mov eax, ebp
cdq
add dword [edi + 0xfb0], eax
adc dword [edi + 0xfb4], edx
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10037ec3
cmp eax, 0xc7
jg 0x10037ec3
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
jmp 0x10037ec7
xor eax, eax
xor ecx, ecx
push ebx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
call fcn.10035270
add esp, 4
test eax, eax
jne 0x1003825b
cmp dword [esi + 0x78], 0x12c
jl 0x10037fbe
mov eax, dword [ebx + 0x280]
test eax, 0x18000
jne 0x10037fa0
test al, 1
jne 0x10037fa0
mov eax, dword [edi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x10037fa0
push 0
push edi
call fcn.1001ee80
add esp, 8
test byte [esi + 0x500], 4
jne 0x10037fa0
test dword [edi + 0xa8c], 0x20000
je 0x10037f66
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.1001bdc0
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x10037fa0
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x10037fa0
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.1001bdc0
push 2
push ebx
call fcn.100226e0
or dword [esi + 0x500], 4
and dword [esi + 0xb0], 0xfffffffd
add esp, 0x10
test dword [edi + 0xf6c], 0x100
je 0x10037fa0
mov dword [esi + 0x90], 3
test byte [ebx + 0x282], 1
je 0x10037fbe
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.1001bdc0
add esp, 8
or dword [esi + 0xb0], 2
test byte [esi + 0x500], 1
je 0x10038199
mov ecx, dword [edi + 0xc54]
mov eax, dword [esi + 0x60]
mov ebp, dword [esp + 0x40]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], ecx
cmp byte [eax], 0
jne 0x10037363
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
push str.Received_101_n
push edi
call fcn.1001bdc0
add esp, 8
or dword [esi + 0x500], ebp
pop edi
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [ebp]
push edx
call fcn.10035120
add esp, 4
test eax, eax
jne 0x1003825b
cmp dword [esi + 0x54], eax
jne 0x10038259
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x5c]
mov eax, dword [edi + 0xc54]
push edi
mov edx, ebx
call fcn.100350f0
add esp, 4
cmp eax, 2
jne 0x10038259
and dword [esi + 0x500], 0xfffffffe
push eax
push ebx
mov dword [esi + 0x50], eax
call fcn.100226e0
add esp, 8
test dword [edi + 0xa90], 0x4000000
jne 0x10038259
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.1001bea0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
push 2
push ebx
call fcn.100226e0
add esp, 8
test dword [edi + 0xa90], 0x4000000
je 0x10038086
and dword [esi + 0x500], 0xfffffffe
cmp dword [ebp], 0
je 0x100380d6
pop edi
mov dword [esi + 0x50], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x50], 2
mov dword [ebp], eax
pop edi
mov dword [esi + 0x60], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.1001bea0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
push edi
call fcn.100351d0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x24
ret
and dword [esi + 0x500], 0xfffffffe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.1001bea0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x24
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.1001bea0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x24
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.1001bea0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x24
ret
test byte [edi + 0xa8f], 1
mov edx, dword [esp + 0x44]
je 0x100381b1
mov dword [edx], 1
or ebx, 0xffffffff
jmp 0x100381f6
mov eax, dword [ebx + 0x2a8]
test dword [eax + 0x40], 0x40000
je 0x100381df
cmp dword [edi + 0xa34], 2
jne 0x100381df
or ebx, 0xffffffff
cmp dword [esi + 4], ebx
jg 0x100381e2
jl 0x100381d7
cmp dword [esi], ebx
ja 0x100381e2
mov dword [edx], 1
jmp 0x100381f6
or ebx, 0xffffffff
test byte [esi + 0x500], 0x20
je 0x100381f6
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ebx
jne 0x10038203
cmp ecx, ebx
je 0x1003821d
push ecx
push eax
push edi
call fcn.1003dc80
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x50]
add esp, 0xc
mov dword [esi + 8], ecx
cmp dword [esi + 8], 0
jne 0x10038231
cmp dword [esi + 0xc], 0
jne 0x10038231
mov dword [edx], 1
jmp 0x10038236
cmp dword [edx], 0
je 0x1003823d
and dword [esi + 0xb0], 0xfffffffe
test dword [edi + 0xa8c], 0x4000000
je 0x10038259
mov eax, dword [esi + 0x64]
push ebp
push eax
push 1
push edi
call fcn.1001bd30
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret