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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
push edi
lea edi, [esi + 0x18]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov ecx, dword [ebp]
push ecx
push 0xa
push eax
call fcn.004a41c0
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x46eb1c
sub eax, dword [edi + 0x5c]
inc eax
sub dword [ebp], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
mov eax, esi
call fcn.0046ddc0
add esp, 4
test eax, eax
jne 0x46eca1
mov edx, dword [edi + 0x54]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x59c]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x46df0b
cmp dword [edi + 0x58], 5
jbe 0x46df0b
mov ebx, dword [esi + 0x59c]
mov eax, esi
call fcn.0046ddb0
test eax, eax
je 0x46eb6c
mov eax, dword [edi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x46e89b
cmp cl, 0xd
je 0x46e8a0
mov ecx, dword [edi + 0x50]
lea edx, [ecx + 1]
mov dword [edi + 0x50], edx
test ecx, ecx
jne 0x46e122
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x238]
mov edx, dword [edx + 0x3c]
test dl, 1
je 0x46dfb9
mov esi, ecx
lea ebp, [edi + 0x78]
push ebp
add esi, 0x118
push esi
lea ecx, [esp + 0x20]
push ecx
push str._HTTP__d._d__3d
push eax
call fcn.004a6208
add esp, 0x14
cmp eax, 3
jne 0x46df7a
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
add edx, edx
add dword [esi], edx
jmp 0x46e007
mov eax, dword [edi + 0x68]
push ebp
push str._HTTP__3d
push eax
call fcn.004a6208
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x46e007
mov ebx, dword [edi + 0x68]
mov eax, dword [esp + 0x28]
call fcn.0046dd50
test eax, eax
je 0x46eba2
mov dword [ebp], 0xc8
mov dword [esi], 0xa
jmp 0x46e007
test edx, 0x40000
je 0x46eba2
lea ebp, [edi + 0x78]
push ebp
lea esi, [ecx + 0x11c]
push esi
lea ecx, [esp + 0x24]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.004a6208
add esp, 0x14
cmp eax, 3
jne 0x46eba2
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
add edx, edx
add dword [esi], edx
mov esi, dword [esp + 0x2c]
add esi, 0x118
mov dword [esi], 0xb
mov eax, dword [ebp]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x8f4c], eax
mov eax, dword [ebx + 0x8ee0]
mov ecx, dword [esi]
mov dword [ebx + 0x8f54], ecx
test eax, eax
je 0x46e02a
cmp eax, dword [esi]
jle 0x46e032
mov edx, dword [esi]
mov dword [ebx + 0x8ee0], edx
cmp dword [ebx + 0x2b8], 0
je 0x46e0a7
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x46e0a7
mov ecx, dword [esp + 0x2c]
cmp eax, 0x191
jne 0x46e059
cmp dword [ecx + 0x1d4], 0
jne 0x46e0ab
cmp eax, 0x197
jne 0x46e069
cmp dword [ecx + 0x1d8], 0
jne 0x46e0ab
mov edx, dword [ebx + 0x8f10]
or edx, dword [ebx + 0x8f14]
je 0x46e087
cmp dword [ebx + 0x218], 1
jne 0x46e087
cmp eax, 0x1a0
je 0x46e0ab
mov ecx, dword [edi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
mov esi, ebx
call fcn.00475ac0
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi]
cmp esi, 0xa
jne 0x46e0d1
push str.HTTP_1.0__assume_close_after_body_n
mov esi, ebx
call fcn.00475a40
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [eax + 0x1c4], 1
jmp 0x46e0e9
cmp esi, 0xb
jl 0x46e0e9
cmp dword [ecx + 0x1c4], 0
jne 0x46e0e9
mov dword [ecx + 0x280], 1
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x46e0f9
sub ebp, 0x64
jne 0x46e122
xor eax, eax
cmp dword [ebx + 0x208], eax
je 0x46e10d
mov dword [ebx + 0x8f5c], 1
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
mov ebp, dword [esp + 0x28]
jne 0x46e1d6
cmp dword [ebp + 0x318], 0
jne 0x46e1d6
mov esi, dword [edi + 0x68]
push 0xf
mov eax, esi
mov ecx, str.Content_Length:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e1d6
push 0xa
push 0
add esi, 0xf
push esi
call fcn.004a8df4
mov esi, dword [ebp + 0x280]
mov ecx, dword [ebp + 0x284]
mov ebx, esi
add esp, 0xc
or ebx, ecx
je 0x46e18c
cmp edx, ecx
jg 0x46ebb3
jl 0x46e18c
cmp eax, esi
ja 0x46ebb3
test edx, edx
jl 0x46e1b2
jg 0x46e196
test eax, eax
jb 0x46e1b2
push edx
mov dword [edi], eax
mov dword [edi + 0x10], eax
push eax
mov eax, ebp
mov dword [edi + 4], edx
mov dword [edi + 0x14], edx
call fcn.00475200
add esp, 8
jmp 0x46e821
mov ecx, dword [esp + 0x2c]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
mov esi, ebp
mov dword [ecx + 0x1c4], 1
call fcn.00475a40
add esp, 0xc
jmp 0x46e821
mov esi, dword [edi + 0x68]
push 0xd
mov eax, esi
mov ecx, str.Content_Type:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e23c
mov eax, esi
call fcn.0046af50
mov esi, eax
test esi, esi
je 0x46ebcf
cmp byte [esi], 0
jne 0x46e213
push esi
call dword [0x5fe464]
add esp, 4
jmp 0x46e821
mov eax, dword [ebp + 0x8f74]
test eax, eax
je 0x46e231
push eax
call dword [0x5fe464]
add esp, 4
mov dword [ebp + 0x8f74], 0
mov dword [ebp + 0x8f74], esi
jmp 0x46e821
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x118], 0xa
jne 0x46e288
cmp dword [ebx + 0x1d0], 0
je 0x46e288
push str.keep_alive
mov eax, str.Proxy_Connection:
mov ecx, esi
call fcn.0046bff0
add esp, 4
test eax, eax
je 0x46e288
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov esi, ebp
mov dword [ebx + 0x1c4], 0
call fcn.00475a40
add esp, 4
jmp 0x46e821
cmp dword [ebx + 0x118], 0xb
jne 0x46e2d1
cmp dword [ebx + 0x1d0], 0
je 0x46e2d1
mov ecx, dword [edi + 0x68]
push str.close
mov eax, str.Proxy_Connection:
call fcn.0046bff0
add esp, 4
test eax, eax
je 0x46e2d1
push str.HTTP_1.1_proxy_connection_set_close__n
mov esi, ebp
mov dword [ebx + 0x1c4], 1
call fcn.00475a40
add esp, 4
jmp 0x46e821
cmp dword [ebx + 0x118], 0xa
jne 0x46e311
mov ecx, dword [edi + 0x68]
push str.keep_alive
mov eax, str.Connection:
call fcn.0046bff0
add esp, 4
test eax, eax
je 0x46e311
push str.HTTP_1.0_connection_set_to_keep_alive__n
mov esi, ebp
mov dword [ebx + 0x1c4], 0
call fcn.00475a40
add esp, 4
jmp 0x46e821
mov ecx, dword [edi + 0x68]
push str.close
mov eax, str.Connection:
call fcn.0046bff0
add esp, 4
test eax, eax
je 0x46e339
mov dword [ebx + 0x1c4], 1
jmp 0x46e821
mov esi, dword [edi + 0x68]
push 0x12
mov eax, esi
mov ecx, str.Transfer_Encoding:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e4da
add esi, 0x12
mov al, byte [esi]
test al, al
je 0x46e37d
mov edi, edi
movzx edx, al
push edx
call fcn.004a5fed
add esp, 4
test eax, eax
jne 0x46e375
cmp byte [esi], 0x2c
jne 0x46e37d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x46e360
push 7
mov eax, esi
mov ecx, str.chunked
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e3af
cmp dword [ebp + 0x434], 0
jne 0x46e3a5
mov dword [edi + 0xc8], 1
mov eax, ebx
call fcn.0046ecd0
add esi, 7
cmp dword [edi + 0x88], 0
jne 0x46e821
push 8
mov eax, esi
mov ecx, str.identity
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e3eb
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 0
add esi, 8
jmp 0x46e358
push 7
mov eax, esi
mov ecx, str.deflate
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e41a
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 1
add esi, 7
jmp 0x46e358
push 4
mov eax, esi
mov ecx, str.gzip
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e449
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 2
add esi, 4
jmp 0x46e358
push 6
mov eax, esi
mov ecx, str.x_gzip
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e478
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 2
add esi, 6
jmp 0x46e358
push 8
mov eax, esi
mov ecx, str.compress
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e4a7
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 3
add esi, 8
jmp 0x46e358
push 0xa
mov eax, esi
mov ecx, str.x_compress
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e821
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x88], 3
add esi, 0xa
jmp 0x46e358
push 0x11
mov eax, esi
mov ecx, str.Content_Encoding:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e5e6
cmp dword [ebp + 0x360], 0
je 0x46e5e6
mov al, byte [esi + 0x11]
add esi, 0x11
test al, al
je 0x46e528
lea ebx, [ebx]
movzx eax, al
push eax
call fcn.004a5fed
add esp, 4
test eax, eax
je 0x46e528
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x46e510
push 8
mov eax, esi
mov ecx, str.identity
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e54c
mov dword [edi + 0x88], 0
jmp 0x46e821
push 7
mov eax, esi
mov ecx, str.deflate
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e570
mov dword [edi + 0x88], 1
jmp 0x46e821
push 4
mov eax, esi
mov ecx, str.gzip
call fcn.00475790
add esp, 4
test eax, eax
jne 0x46e5d7
push 6
mov eax, esi
mov ecx, str.x_gzip
call fcn.00475790
add esp, 4
test eax, eax
jne 0x46e5d7
push 8
mov eax, esi
mov ecx, str.compress
call fcn.00475790
add esp, 4
test eax, eax
jne 0x46e5c8
push 0xa
mov eax, esi
mov ecx, str.x_compress
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e821
mov dword [edi + 0x88], 3
jmp 0x46e821
mov dword [edi + 0x88], 2
jmp 0x46e821
push 0xe
mov eax, esi
mov ecx, str.Content_Range:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e65d
mov al, byte [esi + 0xe]
add esi, 0xe
test al, al
je 0x46e61d
movzx ecx, al
push ecx
call fcn.004a5ee8
add esp, 4
test eax, eax
jne 0x46e61d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x46e605
push 0xa
push 0
push esi
call fcn.004a8df4
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov edx, dword [ebp + 0x8f10]
add esp, 0xc
cmp edx, eax
jne 0x46e821
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x8f14]
cmp ecx, dword [edi + 0x74]
jne 0x46e821
mov dword [edi + 0x6c], 1
jmp 0x46e821
cmp dword [ebp + 0x460], 0
je 0x46e6c9
push 0xb
mov eax, esi
mov ecx, str.Set_Cookie:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e6c9
mov ecx, 2
mov esi, ebp
call fcn.00476220
mov eax, dword [ebx + 0x268]
test eax, eax
jne 0x46e697
mov eax, dword [ebx + 0x80]
mov edx, dword [ebp + 0x8ef8]
mov ecx, dword [edi + 0x68]
push edx
add ecx, 0xb
push ecx
mov ecx, dword [ebp + 0x460]
push 1
push ebp
mov edx, eax
call fcn.00466ad0
add esp, 0x10
mov ecx, 2
mov esi, ebp
call fcn.00476250
jmp 0x46e821
push 0xe
mov eax, esi
mov ecx, str.Last_Modified:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e72f
cmp dword [ebp + 0x208], 0
jne 0x46e6f0
cmp dword [ebp + 0x29c], 0
je 0x46e72f
push 0
call fcn.004a4642
mov eax, dword [edi + 0x68]
add esp, 4
add eax, 0xe
call fcn.00474e00
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [ebp + 0x29c], 0
je 0x46e821
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x8f58], edx
jmp 0x46e821
push 0x11
mov eax, esi
mov ecx, str.WWW_Authenticate:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e74e
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x46e76d
push 0x13
mov eax, esi
mov ecx, str.Proxy_authenticate:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e785
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x46e785
push esi
push eax
push ebx
call fcn.0046b890
add esp, 0xc
test eax, eax
jne 0x46eca1
jmp 0x46e821
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x46e80e
cmp eax, 0x190
jge 0x46e80e
push 9
mov eax, esi
mov ecx, str.Location:
call fcn.00475790
add esp, 4
test eax, eax
je 0x46e80e
cmp dword [ebp + 0xd0], 0
jne 0x46e80e
mov eax, esi
call fcn.0046af50
test eax, eax
je 0x46ebcf
cmp byte [eax], 0
jne 0x46e7d4
push eax
call dword [0x5fe464]
add esp, 4
jmp 0x46e821
cmp dword [ebp + 0x2bc], 0
mov dword [ebp + 0xd0], eax
je 0x46e821
push eax
call dword [0x5fe46c]
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + 0xd4], eax
test eax, eax
je 0x46ebcf
call fcn.0046b1b0
test eax, eax
jne 0x46eca1
jmp 0x46e821
mov edx, dword [ebx + 0x238]
test dword [edx + 0x3c], 0x40000
jne 0x46ebdc
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x2c8], 0
mov ebx, 2
je 0x46e838
mov ebx, 3
cmp dword [esi + 0x2e4], 0
je 0x46e85a
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x68]
push eax
push ecx
push edx
push 1
mov ecx, esi
call fcn.00476130
add esp, 0x10
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x58]
push eax
mov eax, dword [esp + 0x30]
mov edx, ebx
call fcn.00475e00
add esp, 4
test eax, eax
jne 0x46eca1
mov ecx, dword [edi + 0x58]
add dword [esi + 0x8f60], ecx
mov edx, dword [edi + 0x58]
mov eax, dword [esi + 0x59c]
add dword [esi + 0x48], edx
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], 0
jmp 0x46eaf6
cmp cl, 0xd
jne 0x46e8a4
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x46e8b0
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x46e8e2
cmp eax, 0xc7
jg 0x46e8e2
xor ebp, ebp
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], ebp
cmp dword [edi + 0x84], ebp
je 0x46e93c
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], ebp
jmp 0x46e93c
mov ecx, dword [edi]
and ecx, dword [edi + 4]
xor ebp, ebp
mov dword [edi + 0x48], ebp
cmp ecx, 0xffffffff
jne 0x46e93c
cmp dword [edi + 0xc8], ebp
jne 0x46e93c
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1c4], ebp
jne 0x46e93c
cmp dword [eax + 0x118], 0xb
jl 0x46e93c
mov edx, dword [eax + 0x238]
test dword [edx + 0x3c], 0x40000
jne 0x46e93c
mov esi, dword [esp + 0x28]
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
call fcn.00475a40
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [eax + 0x1c4], 1
mov edx, dword [esp + 0x2c]
call fcn.0046bb80
test eax, eax
jne 0x46ebe9
lea edx, [eax + 2]
cmp dword [esi + 0x2c8], ebp
je 0x46e95b
lea edx, [eax + 3]
mov eax, dword [esi + 0x59c]
mov ebx, dword [edi + 0x68]
sub ebx, eax
push eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
call fcn.00475e00
add esp, 4
cmp eax, ebp
jne 0x46eca1
add dword [esi + 0x48], ebx
add dword [esi + 0x8f60], ebx
mov eax, dword [edi + 0x78]
cmp eax, 0x64
mov ecx, dword [esi + 0x48]
jl 0x46e99c
cmp eax, 0xc7
jg 0x46e99c
mov eax, ecx
jmp 0x46e99e
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x4c], eax
cmp dword [ecx], ebp
jne 0x46eadd
mov eax, dword [esp + 0x2c]
call fcn.0046b330
cmp eax, ebp
jne 0x46eca1
mov edx, dword [edi + 0x78]
cmp edx, 0x12c
jl 0x46eab9
mov ecx, dword [esp + 0x2c]
cmp edx, 0x191
jne 0x46ea0c
cmp dword [ecx + 0x1c4], ebp
jne 0x46ea0c
mov eax, dword [ecx]
cmp dword [eax + 0x8eac], ebp
jne 0x46ea0c
mov eax, dword [eax + 0x8e78]
cmp eax, ebp
je 0x46ea0c
mov esi, dword [esp + 0x28]
push eax
push str.HTTP_auth_required__picked_auth_type___d._keep_alive_n
call fcn.00475a40
add esp, 8
jmp 0x46eab9
cmp edx, 0x197
jne 0x46ea44
cmp dword [ecx + 0x1c4], ebp
jne 0x46ea44
mov eax, dword [ecx]
cmp dword [eax + 0x8eac], ebp
jne 0x46ea44
mov eax, dword [eax + 0x8e94]
cmp eax, ebp
je 0x46ea44
mov esi, dword [esp + 0x28]
push eax
push str.HTTP_PROXY_auth_required__picked_auth_type___d._keep_alive_n
call fcn.00475a40
add esp, 8
jmp 0x46eab9
cmp dword [ecx + 0x1fc], ebp
jne 0x46eab9
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1c4], ebp
jne 0x46eab9
mov eax, edx
cmp dword [eax + 0x200], ebp
jne 0x46eab9
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x46eab9
cmp dword [edi + 0xac], ebp
jne 0x46eab9
push str.HTTP_error_before_end_of_send__stop_sending_n
mov esi, ecx
call fcn.00475a40
mov edx, dword [esp + 0x30]
mov eax, 1
mov dword [edx + 0x1c4], eax
and dword [edi + 0xa8], 0xfffffffd
add esp, 4
mov dword [edi + 0xac], eax
cmp dword [esi + 0x8ee4], ebp
je 0x46eab9
mov dword [edi + 0x84], 3
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x200], ebp
je 0x46eadd
mov esi, dword [esp + 0x28]
push str.Keep_sending_data_to_get_tossed_away__n
call fcn.00475a40
add esp, 4
or dword [edi + 0xa8], 2
cmp dword [edi + 0x48], ebp
je 0x46ec0b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x59c]
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], ebp
mov eax, dword [esp + 0x34]
cmp dword [eax], 0
jne 0x46ec9f
mov ecx, dword [edi + 0x5c]
cmp byte [ecx], 0
je 0x46ec9f
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
jmp 0x46de92
mov edx, dword [ebp]
push edx
mov eax, esi
call fcn.0046ddc0
add esp, 4
test eax, eax
jne 0x46eca1
cmp dword [edi + 0x50], eax
jne 0x46ec9f
cmp dword [edi + 0x58], 5
jbe 0x46ec9f
mov ebx, dword [esi + 0x59c]
mov eax, esi
call fcn.0046ddb0
test eax, eax
jne 0x46ec9f
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [edi + 0x48], 0
cmp dword [ebp], 0
je 0x46eb8a
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
mov dword [edi + 0x4c], 2
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.Maximum_file_size_exceeded
mov esi, ebp
call fcn.00475ac0
add esp, 4
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edx, dword [edi + 0x78]
mov esi, dword [esp + 0x28]
push edx
push str.The_requested_URL_returned_error:__d
call fcn.00475ac0
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x2d4], ebp
je 0x46ec23
mov ecx, dword [esp + 0x34]
mov dword [ecx], 1
jmp 0x46ec39
cmp dword [edi + 0xc8], ebp
je 0x46ec39
or ecx, 0xffffffff
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x46ec47
cmp edx, ecx
je 0x46ec5c
push edx
push ecx
call fcn.00475200
mov edx, dword [edi]
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
cmp dword [edi + 0x10], ebp
jne 0x46ec72
cmp dword [edi + 0x14], ebp
jne 0x46ec72
mov edx, dword [esp + 0x34]
mov dword [edx], 1
jmp 0x46ec7a
mov ecx, dword [esp + 0x34]
cmp dword [ecx], ebp
je 0x46ec81
and dword [edi + 0xa8], 0xfffffffe
cmp dword [eax + 0x2e4], ebp
je 0x46ec9f
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x60]
push edx
push ebx
push ecx
push 1
mov ecx, eax
call fcn.00476130
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret