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

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
lea esi, [ebp + 0x50]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCR100.dll_memchr]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x4815d8
sub eax, dword [esi + 0x5c]
lea edi, [eax + 1]
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.0047e9c0
add esp, 4
test eax, eax
jne 0x481761
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x61c]
mov dword [esi + 0x68], eax
jne 0x48091e
cmp dword [esi + 0x58], 5
jbe 0x48091e
mov ecx, dword [ebx + 0x268]
test dword [ecx + 0x3c], 0x40000
mov eax, dword [ebp + 0x61c]
je 0x480909
push 5
push eax
push str.RTSP_
call fcn.00482100
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x480916
mov ebx, eax
mov eax, ebp
call fcn.0047e920
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x48162b
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x481357
cmp cl, 0xd
je 0x48135c
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x480b98
mov ecx, dword [ebx + 0x268]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x4809f8
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.MSVCR100.dll_sscanf]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x13c
push edi
lea edx, [esp + 0x18]
push edx
push str._HTTP__d._d__d
push eax
call ebx
add esp, 0x14
cmp eax, 3
jne 0x4809bc
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x480a4b
cmp eax, 0x14
je 0x480a4b
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.00474a10
add esp, 8
jmp 0x480a4b
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call ebx
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x480a47
mov ebx, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
call fcn.0047e920
test eax, eax
je 0x481675
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x480a47
test ecx, 0x40000
je 0x481675
lea ebp, [esi + 0x78]
push ebp
lea edi, [ebx + 0x140]
push edi
lea edx, [esp + 0x1c]
push edx
push str._RTSP__d._d__3d
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x481675
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [esp + 0x28]
add edi, 0x13c
mov dword [edi], 0xb
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x8708]
mov dword [ebx + 0x8774], ecx
mov edx, dword [edi]
mov dword [ebx + 0x877c], edx
test eax, eax
je 0x480a6a
cmp eax, dword [edi]
jle 0x480a72
mov eax, dword [edi]
mov dword [ebx + 0x8708], eax
cmp dword [ebx + 0x348], 0
je 0x480ad7
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x480ad7
cmp eax, 0x191
jne 0x480a99
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x204], 0
jne 0x480ad7
cmp eax, 0x197
jne 0x480aad
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x208], 0
jne 0x480ad7
mov ecx, dword [ebx + 0x8730]
or ecx, dword [ebx + 0x8734]
je 0x48165f
cmp dword [ebx + 0x2a8], 1
jne 0x48165f
cmp eax, 0x1a0
jne 0x48165f
mov edi, dword [edi]
cmp edi, 0xa
jne 0x480afc
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00474a10
mov edx, dword [esp + 0x30]
add esp, 8
mov dword [edx + 0x1f4], 1
jmp 0x480b5b
cmp edi, 0x14
je 0x480b4b
cmp dword [esi + 0x88], 1
jne 0x480b10
cmp dword [ebp], 0x65
je 0x480b4b
cmp edi, 0xb
jl 0x480b5b
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x1f4], 0
jne 0x480b5b
mov ecx, eax
cmp dword [ecx + 0x4e4], 0
je 0x480b5b
mov edi, eax
push edi
push ebx
call fcn.0047c1c0
add esp, 8
test eax, eax
jne 0x480b5b
mov edx, dword [edi + 0x4e4]
mov dword [edx], 1
jmp 0x480b5b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x4e4]
mov dword [ecx], 2
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x480b6f
sub ebp, 0x64
jne 0x480b98
mov ebx, dword [esp + 0x24]
xor eax, eax
cmp dword [ebx + 0x298], eax
je 0x480b83
mov dword [ebx + 0x8784], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xf4], 1
cmp dword [esi + 0xf4], 0
mov edi, dword [esp + 0x24]
jne 0x480c51
cmp dword [edi + 0x3a8], 0
jne 0x480c51
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480c51
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call dword [sym.imp.MSVCR100.dll__strtoi64]
mov ebp, dword [edi + 0x310]
mov ecx, dword [edi + 0x314]
mov ebx, ebp
add esp, 0xc
or ebx, ecx
je 0x480c09
cmp edx, ecx
jg 0x481686
jl 0x480c09
cmp eax, ebp
ja 0x481686
test edx, edx
jl 0x480c2e
jg 0x480c13
test eax, eax
jb 0x480c2e
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0047d160
add esp, 0xc
jmp 0x4812e1
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
mov dword [ecx + 0x1f4], 1
call fcn.00474a10
add esp, 0x10
jmp 0x4812e1
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480cad
mov eax, dword [esi + 0x68]
push eax
call fcn.0047daf0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4816a1
cmp byte [ebx], 0
jne 0x480c92
push ebx
call dword [0x5e1058]
add esp, 4
jmp 0x4812e1
mov ecx, dword [edi + 0x879c]
push ecx
call dword [0x5e1058]
add esp, 4
mov dword [edi + 0x879c], ebx
jmp 0x4812e1
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480d1b
mov ebp, dword [esp + 0x28]
cmp dword [ebp + 0x13c], 0x14
jge 0x4812e1
mov eax, dword [esi + 0x68]
push eax
call fcn.0047daf0
mov ebx, eax
mov eax, dword [ebp + 0x4e4]
add esp, 4
test eax, eax
je 0x480d0c
cmp dword [eax], 1
jne 0x480d0c
push ebx
push edi
call fcn.0047c380
add esp, 8
test eax, eax
je 0x480d0c
mov ecx, dword [ebp + 0x4e4]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x5e1058]
add esp, 4
jmp 0x4812e1
mov ebx, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [ebx + 0x13c], ebp
jne 0x480d6c
cmp dword [ebx + 0x200], 0
je 0x480d6c
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.0047e650
add esp, 0xc
test eax, eax
je 0x480d6c
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1f4], 0
call fcn.00474a10
add esp, 8
jmp 0x4812e1
cmp dword [ebx + 0x13c], 0xb
jne 0x480db5
cmp dword [ebx + 0x200], 0
je 0x480db5
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.0047e650
add esp, 0xc
test eax, eax
je 0x480db5
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x1f4], 1
call fcn.00474a10
add esp, 8
jmp 0x4812e1
cmp dword [ebx + 0x13c], ebp
jne 0x480df4
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.0047e650
add esp, 0xc
test eax, eax
je 0x480df4
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1f4], 0
call fcn.00474a10
add esp, 8
jmp 0x4812e1
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.0047e650
add esp, 0xc
test eax, eax
je 0x480e1d
mov dword [ebx + 0x1f4], 1
jmp 0x4812e1
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480f41
mov edi, dword [esi + 0x68]
add edi, 0x12
mov edi, edi
mov al, byte [edi]
test al, al
je 0x480e6a
mov ebx, dword [sym.imp.MSVCR100.dll_isspace]
lea esp, [esp]
movzx ecx, al
push ecx
call ebx
add esp, 4
test eax, eax
jne 0x480e62
cmp byte [edi], 0x2c
jne 0x480e6a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480e50
push 7
push edi
push str.chunked
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480e98
mov edx, dword [esp + 0x28]
push edx
mov dword [esi + 0x108], 1
call fcn.004984d0
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x4812e1
push 8
push edi
push str.identity
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480ecb
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x480e40
push 7
push edi
push str.deflate
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480ef1
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x480e40
push 4
push edi
push str.gzip
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480f17
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x480e40
push 6
push edi
push str.x_gzip
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4812e1
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x480e40
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x48101b
cmp dword [edi + 0x3ec], 0
jne 0x480f72
cmp dword [ebx + 0x13c], 0x14
jne 0x48101b
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x480f9a
mov ebx, dword [sym.imp.MSVCR100.dll_isspace]
movzx ecx, al
push ecx
call ebx
add esp, 4
test eax, eax
je 0x480f9a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480f85
push 8
push edi
push str.identity
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480fbd
mov dword [esi + 0x8c], 0
jmp 0x4812e1
push 7
push edi
push str.deflate
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x480fe0
mov dword [esi + 0x8c], 1
jmp 0x4812e1
push 4
push edi
push str.gzip
call fcn.00482100
add esp, 0xc
test eax, eax
jne 0x48100c
push 6
push edi
push str.x_gzip
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4812e1
mov dword [esi + 0x8c], 2
jmp 0x4812e1
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4810d1
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
mov ebx, dword [sym.imp.MSVCR100.dll_isdigit]
add edi, 0xe
test al, al
je 0x48106a
lea esp, [esp]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x48106a
cmp byte [edi], 0x2a
je 0x48106a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481050
movzx ecx, byte [edi]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x4810ba
push ebp
push 0
push edi
call dword [sym.imp.MSVCR100.dll__strtoi64]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 0x8730]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x4812e1
mov ecx, edx
mov edx, dword [ecx + 0x8734]
cmp edx, dword [esi + 0x74]
jne 0x4812e1
mov dword [esi + 0x6c], 1
jmp 0x4812e1
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [eax + 0x8730], ecx
mov dword [eax + 0x8734], ecx
jmp 0x4812e1
cmp dword [edi + 0x4f0], 0
je 0x48113c
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x48113c
push 2
push 2
push edi
call fcn.00485820
mov eax, dword [ebx + 0x298]
add esp, 0xc
test eax, eax
jne 0x48110e
mov eax, dword [ebx + 0x98]
mov ecx, dword [edi + 0x8718]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x4f0]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.00475ab0
push 2
push edi
call fcn.00485860
add esp, 0x20
jmp 0x4812e1
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4811af
cmp dword [edi + 0x298], 0
jne 0x481165
cmp dword [edi + 0x32c], 0
je 0x4811af
push 0
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
add eax, 0xe
push eax
call fcn.00498430
add esp, 0xc
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
cmp dword [edi + 0x32c], 0
je 0x4812e1
mov ecx, eax
mov dword [edi + 0x8780], ecx
jmp 0x4812e1
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4811d0
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4811f1
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x481239
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x481239
mov edx, dword [esi + 0x68]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov ebp, ecx
call fcn.0047daf0
mov edi, eax
add esp, 4
test edi, edi
je 0x4816a1
push edi
push ebp
push ebx
call fcn.0047e0f0
push edi
mov ebx, eax
call dword [0x5e1058]
add esp, 0x10
test ebx, ebx
je 0x4812e1
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4812bd
cmp eax, 0x190
jge 0x4812bd
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.00482100
add esp, 0xc
test eax, eax
je 0x4812bd
cmp dword [edi + 0x148], 0
jne 0x4812bd
mov ecx, dword [esi + 0x68]
push ecx
call fcn.0047daf0
add esp, 4
test eax, eax
je 0x4816a1
cmp byte [eax], 0
jne 0x48128f
push eax
call dword [0x5e1058]
add esp, 4
jmp 0x4812e1
cmp dword [edi + 0x34c], 0
mov dword [edi + 0x148], eax
je 0x4812e1
push eax
call dword [0x5e1060]
add esp, 4
mov dword [edi + 0x14c], eax
test eax, eax
je 0x4816a1
call fcn.0047dd20
jmp 0x4812d9
mov edx, dword [ebx + 0x268]
test dword [edx + 0x3c], 0x40000
je 0x4812e1
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.004868e0
add esp, 8
test eax, eax
jne 0x481761
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x358], 0
mov edi, 2
je 0x4812f8
mov edi, 3
cmp dword [ebp + 0x374], 0
je 0x481319
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push ebp
call fcn.00474880
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.004750c0
add esp, 0x10
test eax, eax
jne 0x481761
mov ecx, dword [esi + 0x58]
add dword [ebp + 0x8788], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [ebp + 0x61c]
add dword [ebp + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x4815ae
cmp cl, 0xd
jne 0x481360
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x48136c
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4813da
cmp eax, 0xc7
jg 0x4813da
xor ecx, ecx
sub eax, 0x64
mov edi, 1
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], ecx
je 0x4813c3
sub eax, edi
jne 0x48143e
cmp dword [esi + 0x88], edi
jne 0x48143e
push str.Received_101_n
push ebp
call fcn.00474a10
add esp, 8
mov eax, edi
pop edi
mov dword [esi + 0x88], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x84], ecx
je 0x48143e
or dword [esi + 0xe8], 2
mov dword [esi + 0x84], ecx
jmp 0x48143e
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp ecx, 0xffffffff
jne 0x481439
cmp dword [esi + 0x108], 0
jne 0x481439
cmp dword [ebx + 0x1f4], 0
jne 0x481439
cmp dword [ebx + 0x13c], 0xb
jne 0x481439
mov edx, dword [ebx + 0x268]
test dword [edx + 0x3c], 0x40000
jne 0x481439
cmp dword [ebp + 0x2a8], 5
je 0x481439
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.00474a10
mov edi, 1
add esp, 8
mov dword [ebx + 0x1f4], edi
jmp 0x48143e
mov edi, 1
cmp dword [ebx + 0x1f4], 0
je 0x481481
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x48145d
cmp dword [ebx + 0x2c8], 2
je 0x48146d
cmp eax, 0x197
jne 0x481481
cmp dword [ebx + 0x2e0], 2
jne 0x481481
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.00474a10
add esp, 8
mov dword [ebp + 0x86d4], edi
mov edx, ebx
call fcn.0047e250
test eax, eax
jne 0x4816ae
lea ecx, [eax + 2]
cmp dword [ebp + 0x358], eax
je 0x48149e
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x61c]
mov ebx, dword [esi + 0x68]
mov edi, dword [esp + 0x28]
sub ebx, eax
push ebx
push eax
push ecx
push edi
call fcn.004750c0
add esp, 0x10
test eax, eax
jne 0x481761
add dword [ebp + 0x80], ebx
add dword [ebp + 0x8788], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [ebp + 0x80]
cmp eax, 0x64
jl 0x4814e6
cmp eax, 0xc7
jg 0x4814e6
mov eax, ecx
jmp 0x4814e8
xor eax, eax
mov dword [ebp + 0x84], eax
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jne 0x48159b
push edi
call fcn.0047eb10
add esp, 4
test eax, eax
jne 0x481761
cmp dword [esi + 0x78], 0x12c
jl 0x48157d
cmp dword [edi + 0x22c], eax
jne 0x48157d
cmp dword [edi + 0x1f4], eax
jne 0x48157d
cmp dword [edi + 0x230], eax
jne 0x481586
mov eax, dword [ebp + 0x2a8]
add eax, 0xfffffffe
cmp eax, 2
ja 0x48157d
cmp dword [esi + 0xec], 0
jne 0x48157d
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.00474a10
mov eax, 1
mov dword [edi + 0x1f4], eax
and dword [esi + 0xe8], 0xfffffffd
add esp, 8
mov dword [esi + 0xec], eax
cmp dword [ebp + 0x870c], 0
je 0x48157d
mov dword [esi + 0x84], 3
cmp dword [edi + 0x230], 0
je 0x48159b
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.00474a10
add esp, 8
or dword [esi + 0xe8], 2
cmp dword [esi + 0x48], 0
je 0x4816cd
mov ecx, dword [ebp + 0x61c]
mov dword [esi + 0x54], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp dword [edx], 0
jne 0x48175f
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x480870
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, dword [edi]
push ecx
call fcn.0047e9c0
add esp, 4
test eax, eax
jne 0x481761
cmp dword [esi + 0x50], eax
jne 0x48175f
cmp dword [esi + 0x58], 5
jbe 0x48175f
mov ecx, dword [ebp + 0x61c]
mov eax, dword [esp + 0x28]
push ebp
call fcn.0047e980
add esp, 4
test eax, eax
jne 0x48175f
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x48164c
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebx
call fcn.0047ea70
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.00474aa0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.00474aa0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x364], 0
je 0x4816e2
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x4816f9
cmp dword [esi + 0x108], 0
je 0x4816f9
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x481707
cmp ecx, eax
je 0x48171d
push ecx
push eax
push ebp
call fcn.0047d160
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp dword [esi + 0x10], 0
jne 0x481735
cmp dword [esi + 0x14], 0
jne 0x481735
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x48173e
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
je 0x481745
and dword [esi + 0xe8], 0xfffffffe
cmp dword [ebp + 0x374], 0
je 0x48175f
mov edx, dword [esi + 0x60]
push edi
push ebx
push edx
push 1
push ebp
call fcn.00474880
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret