Function at 0x427a61
Capabilities:
Check http status code

Disassembly:
push 0x850
mov eax, 0x448e82
call fcn.00431dc6
mov eax, dword [ebp + 8]
cmp byte [eax], 0
mov ebx, ecx
mov dword [ebp - 0x7d8], ebx
jne 0x428449
lea edi, [ebx + 0xb4]
mov dword [ebp - 0x7dc], edi
cmp dword [edi + 0x18], 0x10
jb 0x427a9b
mov eax, dword [edi + 4]
jmp 0x427a9e
lea eax, [edi + 4]
push dword [ebx + 0xd0]
push eax
lea eax, [ebp - 0x798]
push str.connecting___s:_d_...
push eax
call fcn.004318b5
add esp, 0x10
lea eax, [ebp - 0x798]
push eax
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
and dword [ebp - 4], 0
mov eax, dword [ebx]
push 2
lea ecx, [ebp - 0x7d4]
push ecx
mov ecx, ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
cmp dword [edi + 0x18], 0x10
jb 0x427aff
mov eax, dword [edi + 4]
jmp 0x427b02
lea eax, [edi + 4]
push dword [ebx + 0xd0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
test al, al
jne 0x427b9b
push str.Connect_fail.
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push esi
lea ecx, [ebp - 0x7d4]
mov dword [ebp - 4], esi
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
push 0
push esi
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x427b66
mov esi, ebx
call fcn.00428453
test al, al
jne 0x428239
xor esi, esi
inc esi
push str.No_more_retry__quit.
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push 0
lea ecx, [ebp - 0x7d4]
mov dword [ebp - 4], 2
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
push 0
push esi
lea ecx, [ebp - 0x7d4]
jmp 0x428444
lea eax, [ebx + 0xf0]
cmp dword [eax + 0x18], 0x10
jb 0x427bac
mov edx, dword [eax + 4]
jmp 0x427baf
lea edx, [eax + 4]
lea esi, [ebx + 0x10c]
cmp dword [esi + 0x18], 0x10
jb 0x427bc0
mov ecx, dword [esi + 4]
jmp 0x427bc3
lea ecx, [esi + 4]
lea eax, [ebx + 0xd4]
cmp dword [eax + 0x18], 0x10
jb 0x427bd4
mov eax, dword [eax + 4]
jmp 0x427bd7
add eax, 4
push edx
push eax
mov edi, ebx
call fcn.004291d8
test al, al
jne 0x427c68
push str.send_requrest_fail
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push 1
lea ecx, [ebp - 0x7d4]
mov dword [ebp - 4], 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x427c3a
mov esi, ebx
call fcn.00428453
test al, al
jne 0x428233
push str.No_more_retry__quit.
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push edi
lea ecx, [ebp - 0x7d4]
mov dword [ebp - 4], 4
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push 1
jmp 0x427b90
push 0
lea ecx, [ebp - 0x7b4]
mov dword [ebp - 0x79c], 0xf
call fcn.00402b95
mov edi, esi
mov dword [ebp - 4], 5
call fcn.00422647
cmp eax, 0xffffffff
je 0x427cc2
push eax
push esi
lea esi, [ebp - 0x7d4]
call fcn.004226b5
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x7b4]
mov byte [ebp - 4], 6
call fcn.00402bb1
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00402b4a
xor edi, edi
xor esi, esi
push edi
jmp 0x427ced
mov eax, 0x400
sub eax, esi
push eax
lea eax, [ebp + esi - 0x798]
push eax
mov eax, ebx
call fcn.00429006
cmp eax, edi
jl 0x42824a
je 0x427d02
add esi, eax
push esi
lea ecx, [ebp - 0x798]
call fcn.004284f3
cmp eax, edi
mov dword [ebp - 0x7e4], eax
je 0x427cc9
mov esi, ebx
call fcn.0042906c
mov eax, dword [ebp - 0x7e4]
or dword [ebx + 0x158], 0xffffffff
or dword [ebx + 0x130], 0xffffffff
or dword [ebx + 0x134], 0xffffffff
and dword [ebp - 0x7e0], 0
lea ebx, [ebp - 0x130]
lea ecx, [ebp - 0x798]
mov byte [ebp + eax - 0x798], 0
call fcn.00429ee1
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jle 0x4281a6
lea eax, [ebp - 0x130]
push eax
call fcn.0042d420
test eax, eax
pop ecx
jbe 0x427da1
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
mov edi, dword [ebp - 0x7d8]
push 5
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 8
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 5
call fcn.00402b4a
jmp 0x427da7
mov edi, dword [ebp - 0x7d8]
add dword [ebp - 0x7e0], esi
push 7
lea eax, [ebp - 0x130]
push str.HTTP_1.
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x427dfd
push 3
lea eax, [ebp - 0x127]
push eax
lea eax, [ebp - 0x7e8]
push eax
call fcn.0042f100
add esp, 0xc
lea eax, [ebp - 0x7e8]
push eax
mov byte [ebp - 0x7e5], bl
call fcn.0043021f
pop ecx
mov dword [edi + 0x158], eax
jmp 0x42817c
push 0xf
lea eax, [ebp - 0x130]
push str.CONTENT_LENGTH:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x427e5a
lea eax, [ebp - 0x121]
push eax
call fcn.0042d420
cmp eax, 0x19
pop ecx
ja 0x428283
lea eax, [ebp - 0x121]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004300d0
lea eax, [ebp - 0x30]
push eax
call fcn.00430224
add esp, 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], edx
jmp 0x42817c
push 9
lea eax, [ebp - 0x130]
push str.LOCATION:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x4280d7
push 0x1ff
lea eax, [ebp - 0x32f]
push ebx
push eax
mov byte [ebp - 0x330], bl
call fcn.0042d8b0
lea eax, [ebp - 0x130]
add esp, 0xc
push eax
call fcn.0042d420
pop ecx
sub eax, 9
push eax
lea eax, [ebp - 0x127]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.0042f100
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x330], 0x20
jne 0x427ed0
inc eax
cmp byte [ebp + eax - 0x330], 0x20
je 0x427ec5
lea eax, [ebp + eax - 0x330]
push eax
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push 0xffffffffffffffff
push ebx
lea esi, [edi + 0x13c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00402bb1
push ebx
push 1
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 5
call fcn.00402b4a
mov byte [edi + 0x138], 1
cmp dword [esi + 0x18], 0x10
jb 0x427f1c
mov eax, dword [esi + 4]
jmp 0x427f1f
lea eax, [esi + 4]
push 7
push str.HTTP:__
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
je 0x42817c
cmp dword [esi + 0x18], 0x10
jb 0x427f42
mov eax, dword [esi + 4]
jmp 0x427f45
lea eax, [esi + 4]
push 6
push str.FTP:__
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
je 0x42817c
cmp dword [edi + 0x150], ebx
jbe 0x427fef
xor edi, edi
mov eax, esi
call fcn.0041d4a9
cmp byte [eax], 0x2f
jne 0x427fef
push str.http:__
lea ecx, [ebp - 0x824]
call fcn.00402e51
push dword [ebp - 0x7dc]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0041f5ed
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x7d4]
push eax
mov byte [ebp - 4], 0xc
call fcn.0041f5ed
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00402bb1
push ebx
push 1
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
push ebx
push 1
lea ecx, [ebp - 0x840]
call fcn.00402b4a
push ebx
push 1
lea ecx, [ebp - 0x824]
jmp 0x4280c9
push 0x454288
lea ecx, [ebp - 0x30]
call fcn.00402e51
mov edi, eax
push str.http:__
lea ecx, [ebp - 0x808]
mov byte [ebp - 4], 0xe
call fcn.00402e51
push dword [ebp - 0x7dc]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.0041f5ed
add esp, 0xc
lea ecx, [ebp - 0x7b4]
push ecx
push eax
lea eax, [ebp - 0x7d4]
push eax
mov byte [ebp - 4], 0x10
call fcn.0041f5ed
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x840]
push eax
mov byte [ebp - 4], 0x11
call fcn.0041f5ed
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x824]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041f5ed
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.00402bb1
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x824]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x840]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x85c]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x808]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00402b4a
jmp 0x42817c
push 0xb
lea eax, [ebp - 0x130]
push str.SET_COOKIE:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x42817c
push 0x1ff
lea eax, [ebp - 0x32f]
push ebx
push eax
mov byte [ebp - 0x330], bl
call fcn.0042d8b0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x125], 0x20
jne 0x428126
inc eax
cmp byte [ebp + eax - 0x125], 0x20
je 0x42811b
lea ecx, [ebp + eax - 0x125]
cmp byte [ecx], 0x3b
mov esi, eax
je 0x428148
cmp byte [ebp + esi - 0x130], bl
je 0x428148
inc esi
cmp byte [ebp + esi - 0x125], 0x3b
jne 0x428134
sub esi, eax
push esi
push ecx
lea eax, [ebp - 0x330]
push eax
call fcn.0042f100
sub esp, 0x10
lea eax, [ebp - 0x330]
mov ecx, esp
mov dword [ebp - 0x7ec], esp
push eax
mov byte [ebp + esi - 0x330], bl
call fcn.00402e51
push edi
call fcn.00429f32
mov ecx, dword [ebp - 0x7e0]
mov eax, dword [ebp - 0x7e4]
lea ecx, [ebp + ecx - 0x798]
lea ebx, [ebp - 0x130]
call fcn.00429ee1
mov esi, eax
xor ebx, ebx
test esi, esi
jg 0x427d50
mov esi, dword [ebp - 0x7d8]
mov eax, dword [esi + 0x158]
cmp eax, 0xffffffff
je 0x4282b7
cmp eax, 0x190
jge 0x4281cd
cmp eax, 0xc8
jge 0x4282dd
push str.retcode_fail
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 0x14
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push edi
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 5
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], bl
jne 0x428405
call fcn.00428453
test al, al
je 0x428405
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x7b4]
call fcn.00402b4a
mov ebx, dword [ebp - 0x7d8]
mov edi, dword [ebp - 0x7dc]
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x427a90
jmp 0x428449
push str.read_head_error
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push edi
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 7
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push 1
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
push edi
push 1
jmp 0x42843e
push str.length_error
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
push ebx
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 9
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
push ebx
jmp 0x42827c
mov dword [esi + 4], 0xffffff36
mov byte [ebp - 0x7b5], bl
push ebx
push 1
lea ecx, [ebp - 0x7b4]
call fcn.00402b4a
mov al, byte [ebp - 0x7b5]
jmp 0x42844b
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x428376
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x134]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x428357
push ecx
push eax
lea eax, [ebp - 0x398]
push str.Get_File_Length_I64d
push eax
call fcn.004318b5
add esp, 0x10
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x7d4]
call fcn.00402e51
mov byte [ebp - 4], 0x16
push 3
mov eax, dword [esi]
lea ecx, [ebp - 0x7d4]
push ecx
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x7d4]
push ebx
push 1
call fcn.00402b4a
mov byte [ebp - 0x7b5], 1
jmp 0x4282c4
push str.no_file_length_info_
lea ecx, [ebp - 0x7d4]
mov dword [esi + 4], 0xffffff38
call fcn.00402e51
mov byte [ebp - 4], 0x17
push 1
jmp 0x42832f
cmp eax, 3
jne 0x4282b4
cmp byte [esi + 0x138], bl
je 0x4283d3
push str.Redirect_to:
lea ecx, [ebp - 0x808]
call fcn.00402e51
lea ecx, [esi + 0x13c]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x18
call fcn.0041f5ed
add esp, 0xc
push 2
mov byte [ebp - 4], 0x19
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402b4a
lea ecx, [ebp - 0x808]
jmp 0x428343
mov eax, dword [esi + 0x130]
and eax, dword [esi + 0x134]
cmp eax, 0xffffffff
jne 0x4283f9
push dword [ebp + 8]
mov ecx, esi
call fcn.00428523
mov byte [ebp - 0x7b5], al
jmp 0x4282c4
mov dword [esi + 4], 0xffffff37
jmp 0x4282be
push str.No_more_retry__quit.
lea ecx, [ebp - 0x7d4]
mov dword [esi + 4], 0xffffff35
call fcn.00402e51
push ebx
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 0x15
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push edi
lea ecx, [ebp - 0x7d4]
call fcn.00402b4a
push ebx
push edi
lea ecx, [ebp - 0x7b4]
call fcn.00402b4a
xor al, al
call fcn.00431e49
ret 4