Function at 0x10015b50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x50]
nop
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [esi]
push 0xa
push eax
call fcn.1003d290
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x10016979
sub eax, dword [edi + 0x5c]
inc eax
sub dword [esi], eax
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.10016b10
add esp, 0xc
test eax, eax
jne 0x100169b7
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x53c]
mov dword [edi + 0x68], eax
jne 0x10015bdd
cmp dword [edi + 0x58], 5
jbe 0x10015bdd
push dword [ebx + 0x53c]
push esi
push ebx
call fcn.10016a40
add esp, 0xc
test al, al
je 0x10016829
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x100165ad
cmp al, 0xd
je 0x100165b1
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x10015e4b
mov eax, dword [esi + 0x20c]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x10015cc6
lea ecx, [edi + 0x78]
push ecx
lea eax, [esi + 0x13c]
push eax
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__d
push edx
call fcn.1003a455
add esp, 0x14
cmp eax, 3
jne 0x10015c75
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x13c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [edi + 0x88], 2
jne 0x10015d11
cmp dword [ecx], 0x14
je 0x10015d11
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.10024750
add esp, 8
lea ecx, [esi + 0x13c]
jmp 0x10015d11
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.1003a455
add esp, 0xc
mov dword [esi + 0x13c], 0xa
lea ecx, [esi + 0x13c]
test eax, eax
jne 0x10015d11
push dword [edi + 0x68]
push ebx
call fcn.100169c0
add esp, 8
test al, al
je 0x100169b1
lea ecx, [esi + 0x13c]
mov dword [edi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x10015d11
test eax, 0x40000
je 0x100169b1
lea eax, [edi + 0x78]
push eax
lea ecx, [esi + 0x140]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.1003a455
add esp, 0x14
cmp eax, 3
jne 0x100169b1
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x13c]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x140], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x8674], eax
mov eax, dword [ecx]
mov dword [ebx + 0x867c], eax
mov eax, dword [ebx + 0x8618]
test eax, eax
je 0x10015d30
cmp eax, dword [ecx]
jle 0x10015d38
mov eax, dword [ecx]
mov dword [ebx + 0x8618], eax
cmp byte [ebx + 0x2c0], 0
je 0x10015d99
mov edx, dword [edi + 0x78]
cmp edx, 0x190
jl 0x10015d99
cmp edx, 0x191
jne 0x10015d5d
cmp byte [esi + 0x1e4], 0
jne 0x10015d99
cmp edx, 0x197
jne 0x10015d6e
cmp byte [esi + 0x1e5], 0
jne 0x10015d99
mov eax, dword [ebx + 0x8630]
or eax, dword [ebx + 0x8634]
je 0x1001685a
cmp dword [ebx + 0x248], 1
jne 0x1001685a
cmp edx, 0x1a0
jne 0x1001685a
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x10015db7
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.10024750
add esp, 8
mov byte [esi + 0x1e0], 1
jmp 0x10015e0a
cmp eax, 0x14
je 0x10015dfe
cmp dword [edi + 0x88], 1
jne 0x10015dcb
cmp dword [edi + 0x78], 0x65
je 0x10015dfe
cmp eax, 0xb
jl 0x10015e0a
cmp byte [esi + 0x1e0], 0
jne 0x10015e0a
cmp dword [esi + 0x470], 0
je 0x10015e0a
push esi
push ebx
call fcn.10020a20
add esp, 8
test al, al
jne 0x10015e0a
mov eax, dword [esi + 0x470]
mov dword [eax], 1
jmp 0x10015e0a
mov eax, dword [esi + 0x470]
mov dword [eax], 2
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x10015e19
sub eax, 0x64
jne 0x10015e4b
cmp dword [ebx + 0x238], 0
je 0x10015e29
mov byte [ebx + 0x8684], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
jne 0x10015ef7
cmp byte [ebx + 0x2e7], 0
jne 0x10015ef7
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10015ef7
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1003ad58
mov ecx, dword [ebx + 0x2a0]
add esp, 0xc
or ecx, dword [ebx + 0x2a4]
je 0x10015eb6
cmp edx, dword [ebx + 0x2a4]
jg 0x1001686f
jl 0x10015eb6
cmp eax, dword [ebx + 0x2a0]
ja 0x1001686f
test edx, edx
jl 0x10015edb
jg 0x10015ec0
test eax, eax
jb 0x10015edb
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.10021ee0
add esp, 0xc
jmp 0x10016546
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
mov byte [esi + 0x1e0], 1
call fcn.10024750
add esp, 0x10
jmp 0x10016546
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10015f50
push dword [edi + 0x68]
call fcn.10015630
mov esi, eax
add esp, 4
test esi, esi
je 0x10016889
cmp byte [esi], 0
jne 0x10015f36
push esi
call dword [0x1007000c]
add esp, 4
jmp 0x10016546
push dword [ebx + 0x869c]
call dword [0x1007000c]
add esp, 4
mov dword [ebx + 0x869c], esi
jmp 0x10016546
push 7
push dword [edi + 0x68]
push str.Server:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10015fbc
cmp dword [esi + 0x13c], 0x14
jge 0x10016546
push dword [edi + 0x68]
call fcn.10015630
mov ecx, dword [esi + 0x470]
add esp, 4
mov dword [ebp + 8], eax
test ecx, ecx
je 0x10015fad
cmp dword [ecx], 1
jne 0x10015fad
push eax
push ebx
call fcn.100207f0
add esp, 8
test al, al
je 0x10015faa
mov eax, dword [esi + 0x470]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
push eax
call dword [0x1007000c]
add esp, 4
jmp 0x10016546
cmp dword [esi + 0x13c], 0xa
jne 0x10016001
cmp byte [esi + 0x1e3], 0
je 0x10016001
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.10015560
add esp, 0xc
test al, al
je 0x10016001
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1e0], 0
call fcn.10024750
add esp, 8
jmp 0x10016546
cmp dword [esi + 0x13c], 0xb
jne 0x10016046
cmp byte [esi + 0x1e3], 0
je 0x10016046
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.10015560
add esp, 0xc
test al, al
je 0x10016046
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x1e0], 1
call fcn.10024750
add esp, 8
jmp 0x10016546
cmp dword [esi + 0x13c], 0xa
jne 0x10016082
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.10015560
add esp, 0xc
test al, al
je 0x10016082
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x1e0], 0
call fcn.10024750
add esp, 8
jmp 0x10016546
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.10015560
add esp, 0xc
test al, al
je 0x100160a7
mov byte [esi + 0x1e0], 1
jmp 0x10016546
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x100161bc
mov esi, dword [edi + 0x68]
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x100160ed
lea ecx, [ecx]
movzx eax, al
push eax
call fcn.1003b3f1
add esp, 4
test eax, eax
jne 0x100160e5
cmp byte [esi], 0x2c
jne 0x100160ed
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100160d0
push 7
push esi
push str.chunked
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016116
push dword [ebp + 0xc]
mov byte [edi + 0xc0], 1
call fcn.10017300
add esp, 4
add esi, 7
cmp dword [edi + 0x8c], 0
jne 0x10016546
push 8
push esi
push str.identity
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016146
mov dword [edi + 0x8c], 0
add esi, 8
jmp 0x100160c7
push 7
push esi
push str.deflate
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x1001616c
mov dword [edi + 0x8c], 1
add esi, 7
jmp 0x100160c7
push 4
push esi
push str.gzip
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016192
mov dword [edi + 0x8c], 2
add esi, 4
jmp 0x100160c7
push 6
push esi
push str.x_gzip
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016546
mov dword [edi + 0x8c], 2
add esi, 6
jmp 0x100160c7
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016299
cmp dword [ebx + 0x31c], 0
jne 0x100161ec
cmp dword [esi + 0x13c], 0x14
jne 0x10016299
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x10016218
jmp 0x10016200
movzx eax, al
push eax
call fcn.1003b3f1
add esp, 4
test eax, eax
je 0x10016218
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10016200
push 8
push esi
push str.identity
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x1001623b
mov dword [edi + 0x8c], 0
jmp 0x10016546
push 7
push esi
push str.deflate
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x1001625e
mov dword [edi + 0x8c], 1
jmp 0x10016546
push 4
push esi
push str.gzip
call fcn.10022cf0
add esp, 0xc
test eax, eax
jne 0x1001628a
push 6
push esi
push str.x_gzip
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016546
mov dword [edi + 0x8c], 2
jmp 0x10016546
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x1001633d
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x100162dd
nop
movzx eax, al
push eax
call fcn.1003b316
add esp, 4
test eax, eax
jne 0x100162dd
cmp byte [esi], 0x2a
je 0x100162dd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100162c0
movzx eax, byte [esi]
push eax
call fcn.1003b316
add esp, 4
test eax, eax
je 0x10016324
push 0xa
push 0
push esi
call fcn.1003ad58
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x8630]
cmp eax, dword [edi + 0x70]
jne 0x10016546
cmp dword [ebx + 0x8634], edx
jne 0x10016546
mov byte [edi + 0x6c], 1
jmp 0x10016546
mov dword [ebx + 0x8630], 0
mov dword [ebx + 0x8634], 0
jmp 0x10016546
cmp dword [ebx + 0x410], 0
je 0x100163a5
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x100163a5
push 2
push 2
push ebx
call fcn.10024c90
mov eax, dword [esi + 0x23c]
add esp, 0xc
test eax, eax
jne 0x10016379
mov eax, dword [esi + 0x98]
push dword [ebx + 0x8624]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x410]
push ebx
call fcn.10003540
push 2
push ebx
call fcn.10024cd0
add esp, 0x20
jmp 0x10016546
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016411
cmp dword [ebx + 0x238], 0
jne 0x100163cd
cmp byte [ebx + 0x2b9], 0
je 0x10016411
push 0
call fcn.1003ad73
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0x10], edx
push eax
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp byte [ebx + 0x2b9], 0
je 0x10016546
mov dword [ebx + 0x8680], eax
jmp 0x10016546
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016431
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x10016451
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016499
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x10016499
push dword [edi + 0x68]
cmp eax, 0x197
sete byte [ebp - 0xc]
call fcn.10015630
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10016889
push eax
push dword [ebp - 0xc]
push esi
call fcn.100158d0
push dword [ebp + 8]
mov esi, eax
call dword [0x1007000c]
add esp, 0x10
test esi, esi
je 0x10016546
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x10016523
cmp eax, 0x190
jge 0x10016523
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.10022cf0
add esp, 0xc
test eax, eax
je 0x10016523
cmp dword [ebx + 0x100], 0
jne 0x10016523
push dword [edi + 0x68]
call fcn.10015630
add esp, 4
test eax, eax
je 0x10016889
cmp byte [eax], 0
jne 0x100164f1
push eax
call dword [0x1007000c]
add esp, 4
jmp 0x10016546
cmp byte [ebx + 0x2c1], 0
mov dword [ebx + 0x100], eax
je 0x10016546
push eax
call dword [0x10070014]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x10016889
push esi
call fcn.10016cc0
add esp, 4
jmp 0x1001653e
mov eax, dword [esi + 0x20c]
test dword [eax + 0x3c], 0x40000
je 0x10016546
push dword [edi + 0x68]
push esi
call fcn.10023a00
add esp, 8
test eax, eax
jne 0x100169b7
cmp byte [ebx + 0x2c4], 0
mov eax, 2
mov esi, dword [ebp + 0xc]
mov ecx, 3
cmovne eax, ecx
cmp byte [ebx + 0x2d0], 0
mov dword [ebp + 8], eax
je 0x1001657e
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.100245d0
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.100245a0
add esp, 0x10
test eax, eax
jne 0x100169b7
mov eax, dword [edi + 0x58]
add dword [ebx + 0x8688], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x100167f8
cmp al, 0xd
jne 0x100165b7
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x100165c3
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x10016636
cmp eax, 0xc7
jg 0x10016636
mov byte [edi + 0x48], 1
mov dword [edi + 0x50], 0
sub eax, 0x64
je 0x1001661a
dec eax
jne 0x1001668c
cmp dword [edi + 0x88], 1
jne 0x1001668c
push str.Received_101_n
push ebx
call fcn.10024750
add esp, 8
mov dword [edi + 0x88], 2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x84], 0
je 0x1001668c
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x1001668c
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x1001668c
cmp byte [edi + 0xc0], 0
jne 0x1001668c
cmp byte [esi + 0x1e0], 0
jne 0x10016695
cmp dword [esi + 0x13c], 0xb
jne 0x1001668c
mov eax, dword [esi + 0x20c]
test dword [eax + 0x3c], 0x40000
jne 0x1001668c
cmp dword [ebx + 0x248], 5
je 0x1001668c
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.10024750
add esp, 8
mov byte [esi + 0x1e0], 1
cmp byte [esi + 0x1e0], 0
je 0x100166d0
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x100166ab
cmp dword [esi + 0x268], 2
je 0x100166bb
cmp eax, 0x197
jne 0x100166d0
cmp dword [esi + 0x280], 2
jne 0x100166d0
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.10024750
add esp, 8
mov byte [ebx + 0x85e4], 1
push esi
call fcn.10016e90
add esp, 4
test eax, eax
jne 0x1001695c
cmp byte [ebx + 0x2c4], al
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x53c]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp + 8], edx
call fcn.100245a0
add esp, 0x10
test eax, eax
jne 0x100169b7
mov eax, dword [ebp + 8]
add dword [ebx + 0x80], eax
add dword [ebx + 0x8688], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x1001673a
cmp eax, 0xc7
jle 0x1001673c
xor ecx, ecx
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 0
jne 0x100167ee
push esi
call fcn.10015700
add esp, 4
test eax, eax
jne 0x100169b7
cmp dword [edi + 0x78], 0x12c
jl 0x100167cd
cmp byte [esi + 0x1ee], al
jne 0x100167cd
cmp byte [esi + 0x1e0], al
jne 0x100167cd
cmp byte [esi + 0x1ef], al
jne 0x100167d6
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100167cd
cmp byte [edi + 0xac], 0
jne 0x100167cd
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.10024750
mov byte [esi + 0x1e0], 1
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
mov byte [edi + 0xac], 1
cmp byte [ebx + 0x861c], 0
je 0x100167cd
mov dword [edi + 0x84], 3
cmp byte [esi + 0x1ef], 0
je 0x100167eb
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.10024750
add esp, 8
or dword [edi + 0xa8], 2
mov ecx, dword [ebp + 0x14]
cmp byte [edi + 0x48], 0
je 0x10016895
mov eax, dword [ebx + 0x53c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x58], 0
cmp byte [eax], 0
jne 0x100169b5
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x10015b60
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [edi + 0x48], 0
cmp dword [ecx], 0
je 0x10016845
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], 2
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.100170c0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.100246b0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x2c7], 0
je 0x100168a3
mov byte [ecx], 1
jmp 0x100168f1
mov eax, dword [esi + 0x20c]
test dword [eax + 0x3c], 0x40000
je 0x100168cd
cmp dword [ebx + 0x3c0], 2
jne 0x100168cd
cmp dword [edi + 4], 0xffffffff
jg 0x100168cd
jl 0x100168c8
cmp dword [edi], 0xffffffff
ja 0x100168cd
mov byte [ecx], 1
jmp 0x100168f1
cmp byte [edi + 0xc0], 0
je 0x100168f1
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x100168ff
cmp eax, ecx
je 0x10016915
push eax
push ecx
push ebx
call fcn.10021ee0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x10016929
cmp dword [edi + 0x14], 0
jne 0x10016929
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10016931
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10016938
and dword [edi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x2d0], 0
je 0x100169b5
push esi
push dword [ebp + 8]
push dword [edi + 0x60]
push 1
push ebx
call fcn.100245d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.100246b0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push edi
push ebx
call fcn.10016b10
add esp, 0xc
test eax, eax
jne 0x100169b7
cmp dword [edi + 0x50], eax
jne 0x100169b5
cmp dword [edi + 0x58], 5
jbe 0x100169b5
push dword [ebx + 0x53c]
push dword [ebp + 0xc]
push ebx
call fcn.10016a40
add esp, 0xc
test al, al
jne 0x100169b5
mov dword [edi + 0x4c], 2
mov byte [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret