Function at 0x40fe80
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
push edi
mov eax, dword [ebp + 0x5c]
mov dword [ebp + 0x60], eax
mov ecx, dword [esi]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_memchr]
mov ebx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
mov dword [ebp + 0x64], eax
je 0x410999
mov eax, dword [ebp + 0x64]
mov edx, dword [ebp + 0x5c]
mov edi, dword [esi]
sub eax, edx
inc eax
sub edi, eax
mov dword [esp + 0x14], eax
mov dword [esi], edi
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x60]
mov edx, dword [ebp + 0x58]
inc eax
mov dword [ebp + 0x5c], eax
mov ecx, dword [ebx + 0x450]
sub eax, esi
mov dword [esp + 0x24], eax
add eax, edx
cmp eax, ecx
jb 0x40ff22
lea eax, [eax + eax*2]
lea edi, [ecx + ecx]
shr eax, 1
cmp eax, edi
jbe 0x40fef3
mov edi, eax
mov eax, dword [ebx + 0x44c]
mov esi, dword [ebp + 0x54]
push edi
push eax
sub esi, eax
call dword [0x4303c4]
add esp, 8
test eax, eax
je 0x4109d2
mov dword [ebx + 0x44c], eax
add eax, esi
mov dword [ebx + 0x450], edi
mov dword [ebp + 0x54], eax
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp + 0x54]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x58]
add esi, edx
add ecx, edx
mov eax, esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x58], ecx
mov byte [eax], 0
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x64], ecx
mov edx, dword [ebx + 0x44c]
test eax, eax
mov dword [ebp + 0x68], edx
jne 0x40ff85
cmp dword [ebp + 0x58], 5
jbe 0x40ff85
mov eax, dword [ebx + 0x44c]
push eax
push ebx
call fcn.00410b90
add esp, 8
test al, al
je 0x410a6e
mov eax, dword [ebp + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x41079c
cmp cl, 0xd
je 0x4107a1
mov ecx, dword [ebp + 0x50]
test ecx, ecx
lea edx, [ecx + 1]
mov dword [ebp + 0x50], edx
jne 0x410129
mov ecx, dword [esp + 0x20]
lea edi, [ebp + 0x78]
push edi
lea edx, [esp + 0x20]
lea esi, [ecx + 0xc0]
push esi
push edx
push str._HTTP__d._d__3d
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x40ffe6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
lea eax, [eax + eax*4]
shl eax, 1
add ecx, eax
mov dword [esi], ecx
jmp 0x410024
mov ecx, dword [ebp + 0x68]
push edi
push str._HTTP__3d
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x410024
mov edx, dword [ebp + 0x68]
push edx
push ebx
call fcn.00410b90
add esp, 8
test al, al
je 0x410ac2
mov dword [edi], 0xc8
mov dword [esi], 0xa
mov eax, dword [edi]
mov dword [ebx + 0x8550], eax
mov eax, dword [ebx + 0x8520]
mov ecx, dword [esi]
test eax, eax
mov dword [ebx + 0x8558], ecx
je 0x410042
cmp eax, dword [esi]
jle 0x41004a
mov edx, dword [esi]
mov dword [ebx + 0x8520], edx
mov al, byte [ebx + 0x250]
test al, al
je 0x4100b3
mov eax, dword [edi]
cmp eax, 0x190
jl 0x4100b3
cmp eax, 0x191
jne 0x410072
mov ecx, dword [esp + 0x20]
mov dl, byte [ecx + 0x12c]
test dl, dl
jne 0x4100b3
cmp eax, 0x197
jne 0x410087
mov edx, dword [esp + 0x20]
mov cl, byte [edx + 0x12d]
test cl, cl
jne 0x4100b3
mov ecx, dword [ebx + 0x8540]
mov edx, dword [ebx + 0x8544]
or ecx, edx
je 0x410aa3
cmp dword [ebx + 0x1d0], 1
jne 0x410aa3
cmp eax, 0x1a0
jne 0x410aa3
mov esi, dword [esi]
cmp esi, 0xa
jne 0x4100d5
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00412fe0
mov edx, dword [esp + 0x28]
add esp, 8
mov byte [edx + 0x128], 1
jmp 0x4100ef
cmp esi, 0xb
jl 0x4100ef
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x128]
test cl, cl
jne 0x4100ef
mov byte [eax + 0x172], 1
mov edi, dword [edi]
sub edi, 0xcc
je 0x410103
sub edi, 0x64
je 0x410103
sub edi, 0x70
jne 0x410129
mov ecx, dword [ebx + 0x1c8]
xor eax, eax
cmp ecx, eax
je 0x410116
mov byte [ebx + 0x8560], 1
mov dword [ebp], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 4], eax
mov dword [ebp + 0x14], eax
mov byte [ebp + 0xa6], 1
mov al, byte [ebp + 0xa6]
test al, al
jne 0x4101d9
mov al, byte [ebx + 0x277]
test al, al
jne 0x4101d9
mov eax, dword [ebp + 0x68]
push 0xf
push eax
push str.Content_Length:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x4101d9
mov ecx, dword [ebp + 0x68]
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.00426240
mov esi, dword [ebx + 0x230]
mov ecx, dword [ebx + 0x234]
mov edi, esi
add esp, 0xc
or edi, ecx
je 0x410193
cmp edx, ecx
jg 0x410ad0
jl 0x410193
cmp eax, esi
ja 0x410ad0
test edx, edx
jl 0x4101b9
jg 0x41019d
test eax, eax
jb 0x4101b9
push edx
push eax
mov dword [ebp], eax
mov dword [ebp + 0x10], eax
push ebx
mov dword [ebp + 4], edx
mov dword [ebp + 0x14], edx
call fcn.00424220
add esp, 0xc
jmp 0x410727
mov ecx, dword [esp + 0x20]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov byte [ecx + 0x128], 1
call fcn.00412fe0
add esp, 0x10
jmp 0x410727
mov edx, dword [ebp + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410234
mov eax, dword [ebp + 0x68]
push eax
call fcn.0041e830
mov esi, eax
add esp, 4
test esi, esi
je 0x4109e0
cmp byte [esi], 0
jne 0x41021a
push esi
call dword [0x4303c0]
add esp, 4
jmp 0x410727
mov ecx, dword [ebx + 0x8578]
push ecx
call fcn.0040a440
add esp, 4
mov dword [ebx + 0x8578], esi
jmp 0x410727
mov esi, dword [esp + 0x20]
mov edi, 0xa
cmp dword [esi + 0xc0], edi
jne 0x410283
mov al, byte [esi + 0x12b]
test al, al
je 0x410283
mov edx, dword [ebp + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.0041eee0
add esp, 0xc
test al, al
je 0x410283
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x128], 0
call fcn.00412fe0
add esp, 8
jmp 0x410727
cmp dword [esi + 0xc0], 0xb
jne 0x4102ca
mov al, byte [esi + 0x12b]
test al, al
je 0x4102ca
mov eax, dword [ebp + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.0041eee0
add esp, 0xc
test al, al
je 0x4102ca
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov byte [esi + 0x128], 1
call fcn.00412fe0
add esp, 8
jmp 0x410727
cmp dword [esi + 0xc0], edi
jne 0x410306
mov ecx, dword [ebp + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.0041eee0
add esp, 0xc
test al, al
je 0x410306
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov byte [esi + 0x128], 0
call fcn.00412fe0
add esp, 8
jmp 0x410727
mov edx, dword [ebp + 0x68]
push str.close
push str.Connection:
push edx
call fcn.0041eee0
add esp, 0xc
test al, al
je 0x41032c
mov byte [esi + 0x128], 1
jmp 0x410727
mov eax, dword [ebp + 0x68]
push str.chunked
push str.Transfer_Encoding:
push eax
call fcn.0041eee0
add esp, 0xc
test al, al
je 0x41035b
push esi
mov byte [ebp + 0xb8], 1
call fcn.00425790
add esp, 4
jmp 0x410727
mov ecx, dword [ebp + 0x68]
push 8
push ecx
push str.Trailer:
call fcn.00422eb0
add esp, 0xc
test eax, eax
jne 0x410720
mov edx, dword [ebp + 0x68]
push 9
push edx
push str.Trailers:
call fcn.00422eb0
add esp, 0xc
test eax, eax
jne 0x410720
mov eax, dword [ebp + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x4104bd
mov eax, dword [ebx + 0x2a8]
test eax, eax
je 0x4104bd
mov esi, dword [ebp + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x410405
mov edi, dword [sym.imp.MSVCRT.dll__isctype]
mov ecx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [ecx], 1
jle 0x4103e6
and eax, 0xff
push 8
push eax
call edi
add esp, 8
jmp 0x4103f9
mov edx, dword [sym.imp.MSVCRT.dll__pctype]
and eax, 0xff
mov ecx, dword [edx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
je 0x410405
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4103cc
push 8
push esi
push str.identity
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410428
mov dword [ebp + 0x88], 0
jmp 0x410727
push 7
push esi
push str.deflate
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x41044b
mov dword [ebp + 0x88], 1
jmp 0x410727
push 4
push esi
push str.gzip
call fcn.00422eb0
add esp, 0xc
test eax, eax
jne 0x4104ae
push 6
push esi
push str.x_gzip
call fcn.00422eb0
add esp, 0xc
test eax, eax
jne 0x4104ae
push 8
push esi
push str.compress
call fcn.00422eb0
add esp, 0xc
test eax, eax
jne 0x41049f
push 0xa
push esi
push str.x_compress
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410727
mov dword [ebp + 0x88], 3
jmp 0x410727
mov dword [ebp + 0x88], 2
jmp 0x410727
mov edx, dword [ebp + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410561
mov esi, dword [ebp + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x410523
mov edi, dword [sym.imp.MSVCRT.dll__isctype]
mov ecx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [ecx], 1
jle 0x410504
and eax, 0xff
push 4
push eax
call edi
add esp, 8
jmp 0x410517
mov edx, dword [sym.imp.MSVCRT.dll__pctype]
and eax, 0xff
mov ecx, dword [edx]
mov al, byte [ecx + eax*2]
and eax, 4
test eax, eax
jne 0x410523
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4104ea
push 0xa
push 0
push esi
call fcn.00426240
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], edx
mov edx, dword [ebx + 0x8540]
mov eax, dword [ebp + 0x70]
add esp, 0xc
cmp edx, eax
jne 0x410727
mov eax, dword [ebx + 0x8544]
mov ecx, dword [ebp + 0x74]
cmp eax, ecx
jne 0x410727
mov byte [ebp + 0x6c], 1
jmp 0x410727
mov eax, dword [ebx + 0x334]
test eax, eax
je 0x4105cd
mov ecx, dword [ebp + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x4105cd
push 2
push 2
push ebx
call fcn.004156b0
mov eax, dword [esi + 0x168]
add esp, 0xc
test eax, eax
jne 0x41059f
mov eax, dword [esi + 0x8c]
mov edx, dword [ebx + 0x8534]
mov ecx, dword [ebx + 0x334]
push edx
push eax
mov eax, dword [ebp + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push ebx
call fcn.004120f0
push 2
push ebx
call fcn.00415700
add esp, 0x20
jmp 0x410727
mov edx, dword [ebp + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410637
mov eax, dword [ebx + 0x1c8]
test eax, eax
jne 0x4105f8
mov al, byte [ebx + 0x249]
test al, al
je 0x410637
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
add ecx, 0xe
push eax
push ecx
call fcn.00425bf0
mov dword [ebp + 0x8c], eax
mov cl, byte [ebx + 0x249]
add esp, 0xc
test cl, cl
je 0x410727
mov dword [ebx + 0x855c], eax
jmp 0x410727
mov edx, dword [ebp + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410658
mov eax, dword [ebp + 0x78]
cmp eax, 0x191
je 0x410679
mov eax, dword [ebp + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410694
mov eax, dword [ebp + 0x78]
cmp eax, 0x197
jne 0x410694
mov ecx, dword [ebp + 0x68]
push ecx
push eax
push esi
call fcn.0041ed00
add esp, 0xc
test eax, eax
jne 0x410b83
jmp 0x410727
mov eax, dword [ebp + 0x78]
cmp eax, 0x12c
jl 0x410727
cmp eax, 0x190
jge 0x410727
mov edx, dword [ebp + 0x68]
push 9
push edx
push str.Location:
call fcn.00422eb0
add esp, 0xc
test eax, eax
je 0x410727
mov eax, dword [ebp + 0x68]
push eax
call fcn.0041e830
add esp, 4
test eax, eax
je 0x4109e0
cmp byte [eax], 0
jne 0x4106e5
push eax
call dword [0x4303c0]
add esp, 4
jmp 0x410727
mov cl, byte [ebx + 0x251]
mov dword [ebx + 0xc0], eax
test cl, cl
je 0x410727
push eax
call dword [0x4303c8]
add esp, 4
mov dword [ebx + 0xc4], eax
test eax, eax
je 0x4109e0
push esi
call fcn.0041e940
add esp, 4
test eax, eax
jne 0x410b83
jmp 0x410727
mov byte [ebp + 0xbc], 1
mov al, byte [ebx + 0x253]
mov esi, 2
test al, al
je 0x41073b
mov esi, 3
mov al, byte [ebx + 0x260]
test al, al
je 0x41075d
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x68]
push ecx
push edx
push eax
push 1
push ebx
call fcn.00413640
add esp, 0x14
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x68]
mov eax, dword [esp + 0x20]
push ecx
push edx
push esi
push eax
call fcn.004132c0
add esp, 0x10
test eax, eax
jne 0x410b83
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebx + 0x8564]
mov eax, dword [ebx + 0x48]
add edx, ecx
mov dword [ebx + 0x8564], edx
mov edx, dword [ebp + 0x58]
add eax, edx
mov dword [ebx + 0x48], eax
jmp 0x41094b
cmp cl, 0xd
jne 0x4107a5
inc eax
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x68]
cmp byte [eax], 0xa
jne 0x4107b1
inc eax
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x78]
cmp eax, 0x64
jl 0x4107e9
cmp eax, 0xc7
jg 0x4107e9
mov ecx, dword [ebp + 0x84]
xor eax, eax
cmp ecx, eax
mov byte [ebp + 0x48], 1
mov dword [ebp + 0x50], eax
je 0x410834
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0xa0]
or al, 2
mov dword [ebp + 0xa0], eax
jmp 0x410834
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
and ecx, edx
mov byte [ebp + 0x48], 0
cmp ecx, 0xffffffff
jne 0x410834
mov al, byte [ebp + 0xb8]
test al, al
jne 0x410834
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x128]
test cl, cl
jne 0x410834
cmp dword [eax + 0xc0], 0xb
jl 0x410834
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.00412fe0
mov edx, dword [esp + 0x28]
add esp, 8
mov byte [edx + 0x128], 1
cmp dword [ebp + 0x78], 0x1a1
jne 0x410855
mov eax, dword [ebp + 0xa0]
mov dword [ebp + 0x84], 3
and al, 0xfd
mov dword [ebp + 0xa0], eax
mov edi, dword [esp + 0x20]
push edi
call fcn.0041ee40
add esp, 4
test eax, eax
jne 0x410aeb
mov al, byte [ebx + 0x253]
mov ecx, 2
test al, al
je 0x41087e
mov ecx, 3
mov eax, dword [ebx + 0x44c]
mov esi, dword [ebp + 0x68]
sub esi, eax
push esi
push eax
push ecx
push edi
call fcn.004132c0
add esp, 0x10
test eax, eax
jne 0x410b83
mov eax, dword [ebx + 0x8564]
mov edi, dword [ebx + 0x48]
add eax, esi
add edi, esi
mov dword [ebx + 0x8564], eax
mov dword [ebx + 0x48], edi
mov eax, dword [ebp + 0x78]
mov ecx, edi
cmp eax, 0x64
jl 0x4108c8
cmp eax, 0xc7
jg 0x4108c8
mov eax, ecx
jmp 0x4108ca
xor eax, eax
mov ecx, dword [ebx + 0x8544]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x8540]
or eax, ecx
je 0x4108f8
cmp dword [ebx + 0x1d0], 1
jne 0x4108f8
cmp dword [ebp + 0x78], 0x1a0
jne 0x4108f8
mov edi, dword [esp + 0x2c]
mov byte [edi], 1
jmp 0x4108fc
mov edi, dword [esp + 0x2c]
cmp byte [edi], 0
jne 0x410940
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041eac0
add esp, 4
test eax, eax
jne 0x410b83
mov edx, dword [esp + 0x20]
mov al, byte [edx + 0x137]
test al, al
je 0x410940
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.00412fe0
mov eax, dword [ebp + 0xa0]
add esp, 8
or al, 2
mov dword [ebp + 0xa0], eax
mov al, byte [ebp + 0x48]
test al, al
je 0x410af1
mov eax, dword [ebx + 0x44c]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], 0
cmp byte [ecx], 0
jne 0x410b81
mov eax, dword [ebp + 0x5c]
cmp byte [eax], 0
je 0x410b81
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x60], eax
mov ecx, dword [edx]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_memchr]
mov esi, dword [esp + 0x34]
add esp, 0xc
test eax, eax
mov dword [ebp + 0x64], eax
jne 0x40feb3
mov edx, dword [ebp + 0x58]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x450]
add eax, edx
cmp eax, ecx
jb 0x4109fe
lea eax, [eax + eax*2]
lea edi, [ecx + ecx]
shr eax, 1
cmp eax, edi
jbe 0x4109b8
mov edi, eax
mov eax, dword [ebx + 0x44c]
mov esi, dword [ebp + 0x54]
push edi
push eax
sub esi, eax
call dword [0x4303c4]
add esp, 8
test eax, eax
jne 0x4109ed
push str.Failed_to_alloc_memory_for_big_header_
push ebx
call fcn.00413050
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
mov dword [ebx + 0x44c], eax
add eax, esi
mov dword [ebx + 0x450], edi
mov dword [ebp + 0x54], eax
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x54]
mov ecx, dword [eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov edi, dword [ebp + 0x54]
mov esi, dword [ebp + 0x58]
add edi, ecx
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x54], edi
mov edx, dword [eax]
add esi, edx
test ecx, ecx
mov dword [ebp + 0x58], esi
mov eax, esi
jne 0x410b81
cmp eax, 5
jbe 0x410b81
mov eax, dword [ebx + 0x44c]
push eax
push ebx
call fcn.00410b90
add esp, 8
test al, al
jne 0x410b81
pop edi
mov byte [ebp + 0x48], al
mov dword [ebp + 0x4c], 2
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x28]
mov byte [ebp + 0x48], 0
cmp dword [eax], 0
je 0x410a8c
pop edi
mov dword [ebp + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ebp + 0x4c], 2
pop esi
mov dword [eax], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [ebp + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00413050
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
mov byte [ebp + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.00413050
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [ebp + 0x78]
push eax
jmp 0x410aa7
mov al, byte [ebx + 0x256]
test al, al
je 0x410b00
mov byte [edi], 1
jmp 0x410b18
mov al, byte [ebp + 0xb8]
test al, al
je 0x410b18
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
cmp eax, 0xffffffff
jne 0x410b27
cmp ecx, eax
je 0x410b3e
push ecx
push eax
push ebx
call fcn.00424220
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [ebp + 0x10], ecx
add esp, 0xc
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x410b4f
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x410b4f
mov byte [edi], 1
cmp byte [edi], 0
je 0x410b62
mov eax, dword [ebp + 0xa0]
and al, 0xfe
mov dword [ebp + 0xa0], eax
mov al, byte [ebx + 0x260]
test al, al
je 0x410b81
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x60]
push eax
push esi
push ecx
push 1
push ebx
call fcn.00413640
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret