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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0xdc]
lea esi, [edi + 0x70]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov dword [esi + 0x70], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call fcn.101221f0
add esp, 0xc
test eax, eax
mov dword [esi + 0x74], eax
mov ebx, edi
je 0x1005b627
mov edx, dword [esi + 0x6c]
sub edx, eax
mov eax, dword [esp + 0x44]
sub edx, 1
add dword [eax], edx
mov eax, dword [esi + 0x74]
add eax, 1
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
call fcn.10058960
add esp, 4
test eax, eax
jne 0x1005b820
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x924]
xor ebx, ebx
cmp dword [esi + 0x60], ebx
mov dword [esi + 0x78], ecx
jne 0x1005a9f8
cmp dword [esi + 0x68], 5
jbe 0x1005a9f8
mov eax, dword [edi + 0x924]
push edi
mov ecx, ebp
call fcn.10058930
add esp, 4
test eax, eax
je 0x1005b67c
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x1005b349
cmp cl, 0xd
je 0x1005b34e
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
jne 0x1005acea
mov ecx, dword [ebp + 0x350]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x1005ab2b
mov ebp, dword [esp + 0x40]
lea ebx, [esi + 0x88]
push ebx
lea edx, [esp + 0x40]
push edx
add ebp, 0x180
push ebp
lea ecx, [esp + 0x20]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.1011bc56
add esp, 0x18
cmp eax, 1
jne 0x1005aa95
cmp dword [esp + 0x14], 2
jne 0x1005b6b6
mov edx, dword [esi + 0x78]
push ebx
push str._HTTP_2__d
push edx
call fcn.1011bc56
add esp, 0xc
cmp eax, 1
jne 0x1005b6b6
mov dword [ebp], 0
mov byte [esp + 0x3c], 0x20
jmp 0x1005aaa5
cmp eax, 4
jne 0x1005aadd
cmp byte [esp + 0x3c], 0x20
jne 0x1005b6b6
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
cmp dword [esi + 0xa4], 2
mov eax, dword [ebp]
jne 0x1005ab9c
cmp eax, 0x14
je 0x1005ab9c
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.100383e0
add esp, 8
jmp 0x1005ab9c
test eax, eax
jne 0x1005b6b6
mov ecx, dword [esi + 0x78]
push ebx
push str._HTTP__3d
push ecx
call fcn.1011bc56
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
mov dword [ebp], 0xa
jne 0x1005ab9c
mov ebx, dword [esi + 0x78]
mov eax, edi
call fcn.100588b0
test eax, eax
je 0x1005ab91
mov dword [esi + 0x88], 0xc8
mov dword [ebp], 0xa
jmp 0x1005ab9c
test ecx, 0x40000
je 0x1005b6e7
lea ecx, [esi + 0x88]
push ecx
lea edx, [esp + 0x17]
push edx
lea ebx, [ebp + 0x184]
push ebx
lea ecx, [esp + 0x28]
push ecx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.1011bc56
add esp, 0x18
cmp eax, 4
mov dword [esp + 0x18], eax
jne 0x1005b6e7
cmp byte [esp + 0x13], 0x20
jne 0x1005b6e7
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
lea edx, [eax + eax*4]
add edx, edx
add dword [ebx], edx
add ebp, 0x180
mov dword [ebp], 0xb
cmp dword [esp + 0x18], 0
je 0x1005b6e7
mov eax, dword [esi + 0x88]
mov ebx, dword [esp + 0x40]
mov dword [edi + 0x4c90], eax
mov eax, dword [edi + 0x4c04]
test eax, eax
mov ecx, dword [ebp]
mov dword [edi + 0x4c98], ecx
je 0x1005abc4
cmp eax, dword [ebp]
jle 0x1005abcd
mov edx, dword [ebp]
mov dword [edi + 0x4c04], edx
mov eax, dword [edi + 0x4c28]
or eax, dword [edi + 0x4c2c]
mov ecx, 1
je 0x1005abfc
cmp dword [edi + 0x418], ecx
jne 0x1005abfc
cmp dword [esi + 0x88], 0x1a0
jne 0x1005abfc
mov dword [esi + 0xcc], ecx
jmp 0x1005ac3a
cmp dword [edi + 0x550], 0
je 0x1005ac3a
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x1005ac3a
cmp eax, 0x191
jne 0x1005ac22
cmp dword [ebx + 0x2bc], 0
jne 0x1005ac3a
cmp eax, 0x197
jne 0x1005b6d1
cmp dword [ebx + 0x2c0], 0
je 0x1005b6d1
mov ebp, dword [ebp]
cmp ebp, 0xa
jne 0x1005ac5a
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.100383e0
push 1
push ebx
call fcn.1003d690
add esp, 0x10
jmp 0x1005acaf
cmp ebp, 0x14
je 0x1005aca3
cmp dword [esi + 0xa4], ecx
jne 0x1005ac70
cmp dword [esi + 0x88], 0x65
je 0x1005aca3
cmp ebp, 0xb
jl 0x1005acaf
cmp dword [ebx + 0x2a0], 0
jne 0x1005acaf
cmp dword [ebx + 0x5e8], 0
je 0x1005acaf
push ebx
push edi
call fcn.1005bbd0
add esp, 8
test eax, eax
jne 0x1005acaf
mov ecx, dword [ebx + 0x5e8]
mov dword [ecx], 1
jmp 0x1005acaf
mov edx, dword [ebx + 0x5e8]
mov dword [edx], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x1005acc1
sub eax, 0x64
jne 0x1005acea
xor eax, eax
cmp dword [edi + 0x408], eax
je 0x1005acd5
mov dword [edi + 0x4ca8], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xd0], 1
cmp dword [esi + 0xd0], 0
jne 0x1005ae1f
cmp dword [edi + 0x5b0], 0
jne 0x1005ae1f
mov eax, dword [esi + 0x78]
push 0xf
push eax
push 0x10164d3c
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005ae1f
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x28]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.10061df0
add esp, 0x10
test eax, eax
jne 0x1005ade5
mov ebx, dword [edi + 0x518]
mov edx, dword [edi + 0x51c]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
or eax, edx
mov eax, dword [esp + 0x28]
je 0x1005ad6b
cmp ecx, edx
jg 0x1005b6f8
jl 0x1005ad6b
cmp eax, ebx
ja 0x1005b6f8
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.10045e50
add esp, 0xc
mov ebp, dword [esp + 0x40]
cmp dword [edi + 0x564], 0
mov ebx, 2
je 0x1005ad98
mov ebx, 3
cmp dword [edi + 0x57c], 0
je 0x1005adb4
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
push eax
push ecx
push 1
push edi
call fcn.10038350
add esp, 0x10
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x78]
push edx
push eax
push ebx
push ebp
call fcn.10038870
add esp, 0x10
test eax, eax
jne 0x1005b820
mov ecx, dword [esi + 0x68]
add dword [edi + 0x4cac], ecx
mov edx, dword [esi + 0x68]
add dword [edi + 0xa0], edx
jmp 0x1005b5da
cmp eax, 1
jne 0x1005b713
mov ecx, dword [edi + 0x518]
or ecx, dword [edi + 0x51c]
jne 0x1005b6f8
mov ebp, dword [esp + 0x40]
push 2
push ebp
call fcn.1003d690
push str.Overflow_Content_Length:_value__n
push edi
call fcn.100383e0
add esp, 0x10
jmp 0x1005ad85
mov edx, dword [esi + 0x78]
push 0xd
push edx
push 0x10164d4c
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005ae7b
mov eax, dword [esi + 0x78]
push eax
call fcn.10057820
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1005b72e
cmp byte [ebx], 0
jne 0x1005ae60
push ebx
call dword [0x101b9004]
add esp, 4
jmp 0x1005ad81
mov ecx, dword [edi + 0x4cc0]
push ecx
call dword [0x101b9004]
add esp, 4
mov dword [edi + 0x4cc0], ebx
jmp 0x1005ad81
mov edx, dword [esi + 0x78]
push 7
push edx
push 0x101652ec
call fcn.1003f680
mov ebp, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x1005aee9
cmp dword [ebp + 0x180], 0x14
jge 0x1005ad85
mov eax, dword [esi + 0x78]
push eax
call fcn.10057820
mov ebx, eax
mov eax, dword [ebp + 0x5e8]
add esp, 4
test eax, eax
je 0x1005aeda
cmp dword [eax], 1
jne 0x1005aeda
push ebx
push edi
call fcn.1005bd30
add esp, 8
test eax, eax
je 0x1005aeda
mov ecx, dword [ebp + 0x5e8]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x101b9004]
add esp, 4
jmp 0x1005ad85
mov ebx, 0xa
cmp dword [ebp + 0x180], ebx
jne 0x1005af34
cmp dword [ebp + 0x2b4], 0
je 0x1005af34
mov edx, dword [esi + 0x78]
push 0x101652e0
push 0x101652cc
push edx
call fcn.100584c0
add esp, 0xc
test eax, eax
je 0x1005af34
push 0
push ebp
call fcn.1003d690
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.100383e0
add esp, 0x10
jmp 0x1005ad85
cmp dword [ebp + 0x180], 0xb
jne 0x1005af7b
cmp dword [ebp + 0x2b4], 0
je 0x1005af7b
mov eax, dword [esi + 0x78]
push 0x10165294
push 0x101652cc
push eax
call fcn.100584c0
add esp, 0xc
test eax, eax
je 0x1005af7b
push 1
push ebp
call fcn.1003d690
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.100383e0
add esp, 0x10
jmp 0x1005ad85
cmp dword [ebp + 0x180], ebx
jne 0x1005afb8
mov ecx, dword [esi + 0x78]
push 0x101652e0
push 0x10164d30
push ecx
call fcn.100584c0
add esp, 0xc
test eax, eax
je 0x1005afb8
push 0
push ebp
call fcn.1003d690
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.100383e0
add esp, 0x10
jmp 0x1005ad85
mov edx, dword [esi + 0x78]
push 0x10165294
push 0x10164d30
push edx
call fcn.100584c0
add esp, 0xc
test eax, eax
je 0x1005afe2
push 2
push ebp
call fcn.1003d690
add esp, 8
jmp 0x1005ad85
mov eax, dword [esi + 0x78]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b004
mov ecx, dword [esi + 0x78]
push 1
add ecx, 0x12
push ecx
jmp 0x1005b02d
mov edx, dword [esi + 0x78]
push 0x11
push edx
push 0x10165230
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b043
cmp dword [edi + 0x5f8], 0
je 0x1005b043
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebp
call fcn.1003f9d0
add esp, 0xc
test eax, eax
jne 0x1005b820
jmp 0x1005ad85
mov ecx, dword [esi + 0x78]
push 0xe
push ecx
push str.Content_Range:
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b0f8
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x1005b08f
jmp 0x1005b070
movzx edx, al
push edx
call fcn.1005ed30
add esp, 4
test eax, eax
jne 0x1005b08f
cmp byte [ebx], 0x2a
je 0x1005b08f
mov al, byte [ebx + 1]
add ebx, 1
test al, al
jne 0x1005b070
movzx eax, byte [ebx]
push eax
call fcn.1005ed30
add esp, 4
test eax, eax
je 0x1005b0e5
lea ebp, [esi + 0x80]
push ebp
push 0xa
push 0
push ebx
call fcn.10061df0
add esp, 0x10
test eax, eax
jne 0x1005ad81
mov ecx, dword [edi + 0x4c28]
cmp ecx, dword [ebp]
jne 0x1005ad81
mov edx, dword [edi + 0x4c2c]
cmp edx, dword [ebp + 4]
jne 0x1005ad81
mov dword [esi + 0x7c], 1
jmp 0x1005ad81
xor eax, eax
mov dword [edi + 0x4c28], eax
mov dword [edi + 0x4c2c], eax
jmp 0x1005ad85
cmp dword [edi + 0x768], 0
je 0x1005b165
mov eax, dword [esi + 0x78]
push 0xb
push eax
push 0x1015e6ac
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b165
push 2
push 2
push edi
call fcn.1003f690
mov eax, dword [ebp + 0x380]
add esp, 0xc
test eax, eax
jne 0x1005b135
mov eax, dword [ebp + 0xa0]
mov ecx, dword [edi + 0x4c14]
mov edx, dword [esi + 0x78]
push ecx
push eax
mov eax, dword [edi + 0x768]
add edx, 0xb
push edx
push 0
push 1
push eax
push edi
call fcn.1003b2f0
push 2
push edi
call fcn.1003f6d0
add esp, 0x24
jmp 0x1005ad85
mov ecx, dword [esi + 0x78]
push 0xe
push ecx
push str.Last_Modified:
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b1e3
cmp dword [edi + 0x408], 0
jne 0x1005b18e
cmp dword [edi + 0x534], 0
je 0x1005b1e3
push 0
call fcn.1011abdc
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x34]
push edx
add eax, 0xe
push eax
call fcn.10061d70
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x534], 0
je 0x1005ad85
mov ecx, eax
mov dword [edi + 0x4ca0], ecx
mov edx, dword [esi + 0xb4]
mov dword [edi + 0x4ca4], edx
jmp 0x1005ad85
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b207
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x1005b22b
mov ecx, dword [esi + 0x78]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b277
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x1005b277
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x78]
sete dl
push eax
mov ebp, edx
call fcn.10057820
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1005b72e
mov ecx, dword [esp + 0x40]
push ebx
push ebp
push ecx
call fcn.10057ed0
push ebx
mov ebp, eax
call dword [0x101b9004]
add esp, 0x10
test ebp, ebp
je 0x1005ad81
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x1005b31c
cmp eax, 0x190
jge 0x1005b31c
mov edx, dword [esi + 0x78]
push 9
push edx
push 0x101651dc
call fcn.1003f680
add esp, 0xc
test eax, eax
je 0x1005b31c
cmp dword [edi + 0x144], 0
jne 0x1005b31c
mov eax, dword [esi + 0x78]
push eax
call fcn.10057820
add esp, 4
test eax, eax
je 0x1005b72e
cmp byte [eax], 0
jne 0x1005b2db
push eax
call dword [0x101b9004]
add esp, 4
jmp 0x1005ad85
cmp dword [edi + 0x558], 0
mov dword [edi + 0x144], eax
je 0x1005ad85
push eax
call dword [0x101b900c]
add esp, 4
test eax, eax
mov dword [edi + 0x148], eax
je 0x1005b72e
push ebp
call fcn.10057ad0
add esp, 4
test eax, eax
jne 0x1005b820
jmp 0x1005ad85
mov ecx, dword [ebp + 0x350]
test dword [ecx + 0x40], 0x40000
je 0x1005ad85
mov edx, dword [esi + 0x78]
push edx
push ebp
call fcn.100483b0
add esp, 8
test eax, eax
jne 0x1005b820
jmp 0x1005ad85
cmp cl, 0xd
jne 0x1005b354
add eax, 1
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x1005b362
add eax, 1
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x1005b3d2
cmp eax, 0xc7
jg 0x1005b3d2
sub eax, 0x64
mov ebx, 1
je 0x1005b3a9
sub eax, ebx
je 0x1005b391
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], 0
jmp 0x1005b42b
cmp dword [esi + 0xa4], ebx
je 0x1005b5fb
mov dword [esi + 0x58], 0
jmp 0x1005b42b
xor eax, eax
cmp dword [esi + 0xa0], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], eax
jle 0x1005b42b
or dword [esi + 0xc4], 2
push eax
push edi
mov dword [esi + 0xa0], eax
call fcn.10036030
add esp, 8
jmp 0x1005b42b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x58], ebx
cmp ecx, 0xffffffff
jne 0x1005b426
cmp dword [esi + 0xe4], ebx
jne 0x1005b426
cmp dword [ebp + 0x2a0], ebx
jne 0x1005b426
cmp dword [ebp + 0x180], 0xb
jne 0x1005b426
mov edx, dword [ebp + 0x350]
test dword [edx + 0x40], 0x40000
jne 0x1005b426
cmp dword [edi + 0x418], 6
je 0x1005b426
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.100383e0
push 2
push ebp
call fcn.1003d690
add esp, 0x10
mov ebx, 1
cmp dword [ebp + 0x2a0], 0
je 0x1005b46e
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1005b44a
cmp dword [ebp + 0x3c8], 2
je 0x1005b45a
cmp eax, 0x197
jne 0x1005b46e
cmp dword [ebp + 0x3e0], 2
jne 0x1005b46e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100383e0
add esp, 8
mov dword [edi + 0x4a10], ebx
mov edx, ebp
call fcn.10058080
test eax, eax
jne 0x1005b73b
cmp dword [edi + 0x564], eax
lea ecx, [eax + 2]
je 0x1005b48b
lea ecx, [eax + 3]
mov eax, dword [edi + 0x924]
mov ebx, dword [esi + 0x78]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
call fcn.10038870
add esp, 0x10
test eax, eax
jne 0x1005b820
add dword [edi + 0xa0], ebx
add dword [edi + 0x4cac], ebx
mov eax, dword [esi + 0x88]
cmp eax, 0x64
mov ecx, dword [edi + 0xa0]
jl 0x1005b4d2
cmp eax, 0xc7
jg 0x1005b4d2
mov eax, ecx
jmp 0x1005b4d4
xor eax, eax
push ebp
mov dword [edi + 0xa4], eax
call fcn.10058ab0
add esp, 4
test eax, eax
jne 0x1005b820
cmp dword [esi + 0x88], 0x12c
jl 0x1005b5d0
cmp dword [ebp + 0x2e4], eax
jne 0x1005b5b2
cmp dword [ebp + 0x2a0], eax
jne 0x1005b5b2
cmp dword [ebp + 0x2e8], eax
jne 0x1005b5bb
mov eax, dword [edi + 0x418]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1005b5b2
push 0
push edi
call fcn.10036030
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x1005b5b2
cmp dword [edi + 0x554], 0
je 0x1005b578
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.100383e0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x1005b5b2
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x1005b5b2
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.100383e0
push 2
push ebp
call fcn.1003d690
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4c08], 0
je 0x1005b5b2
mov dword [esi + 0xa0], 3
cmp dword [ebp + 0x2e8], 0
je 0x1005b5d0
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.100383e0
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x1005b75d
mov eax, dword [edi + 0x924]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
je 0x1005b81e
jmp 0x1005a972
push str.Received_101_n
push edi
call fcn.100383e0
add esp, 8
pop edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0xa4], 2
mov dword [esi + 0x60], 0
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
push edx
call fcn.10058960
add esp, 4
test eax, eax
jne 0x1005b820
cmp dword [esi + 0x60], eax
jne 0x1005b81e
cmp dword [esi + 0x68], 5
jbe 0x1005b81e
mov eax, dword [edi + 0x924]
push edi
mov ecx, ebp
call fcn.10058930
add esp, 4
test eax, eax
jne 0x1005b81e
pop edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 2
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x44]
mov dword [esi + 0x58], ebx
cmp dword [eax], ebx
je 0x1005b698
pop edi
mov dword [esi + 0x5c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x5c], 2
pop edi
mov dword [eax], ecx
mov dword [esi + 0x6c], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.10038470
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
push edi
call fcn.10058a10
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
pop edi
mov dword [esi + 0x58], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10038470
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.10038470
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10038470
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
cmp dword [edi + 0x570], 0
mov ebp, dword [esp + 0x48]
je 0x1005b776
mov dword [ebp], 1
or edx, 0xffffffff
jmp 0x1005b7c0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x350]
test dword [edx + 0x40], 0x40000
je 0x1005b7a9
cmp dword [edi + 0x6d8], 2
jne 0x1005b7a9
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x1005b7ac
jl 0x1005b7a0
cmp dword [esi], edx
ja 0x1005b7ac
mov dword [ebp], 1
jmp 0x1005b7c0
or edx, 0xffffffff
cmp dword [esi + 0xe4], 0
je 0x1005b7c0
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
cmp eax, edx
mov ecx, dword [esi + 4]
jne 0x1005b7cd
cmp ecx, edx
je 0x1005b7e3
push ecx
push eax
push edi
call fcn.10045e50
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 0x1005b7f8
cmp dword [esi + 0x14], 0
jne 0x1005b7f8
mov dword [ebp], 1
jmp 0x1005b7fe
cmp dword [ebp], 0
je 0x1005b805
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x57c], 0
je 0x1005b81e
mov edx, dword [esi + 0x70]
push ebx
push edx
push 1
push edi
call fcn.10038350
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret