Function at 0x428523
Capabilities:
Check http status code

Disassembly:
push 0x858
mov eax, 0x448d42
call fcn.00431dc6
mov eax, dword [ebp + 8]
cmp byte [eax], 0
mov ebx, ecx
mov dword [ebp - 0x7c0], ebx
jne 0x428d86
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x7cc], eax
jmp 0x42855a
mov eax, dword [ebp - 0x7cc]
push 0x10
pop edi
cmp dword [eax + 0x18], edi
jb 0x428567
mov eax, dword [eax + 4]
jmp 0x42856a
add eax, 4
push dword [ebx + 0xd0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
test al, al
jne 0x4285e9
push str.connect_fail
lea ecx, [ebp - 0x30]
call fcn.00402e51
and dword [ebp - 4], 0
mov eax, dword [ebx]
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, ebx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
push 0
push edi
lea ecx, [ebp - 0x30]
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x4285c2
mov esi, ebx
call fcn.00428453
test al, al
jne 0x428bcd
push str.no_retry_quit
lea ecx, [ebp - 0x30]
call fcn.00402e51
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
push 0
lea ecx, [ebp - 0x30]
jmp 0x428d80
lea eax, [ebx + 0xf0]
cmp dword [eax + 0x18], edi
jb 0x4285f9
mov edx, dword [eax + 4]
jmp 0x4285fc
lea edx, [eax + 4]
lea esi, [ebx + 0x10c]
cmp dword [esi + 0x18], edi
jb 0x42860c
mov ecx, dword [esi + 4]
jmp 0x42860f
lea ecx, [esi + 4]
lea eax, [ebx + 0xd4]
cmp dword [eax + 0x18], edi
jb 0x42861f
mov eax, dword [eax + 4]
jmp 0x428622
add eax, 4
push edx
push eax
mov edi, ebx
call fcn.00429b09
test al, al
jne 0x4286a3
push str.send_request_fail
lea ecx, [ebp - 0x30]
call fcn.00402e51
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 2
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 - 0x30]
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x428678
mov esi, ebx
call fcn.00428453
test al, al
jne 0x428bcd
push str.no_retry_quit
lea ecx, [ebp - 0x30]
call fcn.00402e51
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
push edi
push 1
lea ecx, [ebp - 0x30]
jmp 0x428d81
push 0
lea ecx, [ebp - 0x7b8]
mov dword [ebp - 0x7a0], 0xf
call fcn.00402b95
mov edi, esi
mov dword [ebp - 4], 4
call fcn.00422647
or edi, 0xffffffff
cmp eax, edi
je 0x4286fe
push eax
push esi
lea esi, [ebp - 0x7f0]
call fcn.004226b5
push edi
push 0
push eax
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 5
call fcn.00402bb1
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00402b4a
xor esi, esi
push esi
lea ecx, [ebp - 0x79c]
call fcn.004284f3
cmp eax, esi
jmp 0x428741
mov eax, 0x400
sub eax, esi
push eax
lea eax, [ebp + esi - 0x79c]
push eax
mov eax, ebx
call fcn.00429006
test eax, eax
jl 0x428bde
je 0x428749
add esi, eax
push esi
lea ecx, [ebp - 0x79c]
call fcn.004284f3
test eax, eax
mov dword [ebp - 0x7c4], eax
je 0x428710
mov eax, dword [ebp - 0x7c4]
and dword [ebp - 0x7c8], 0
mov dword [ebx + 0x158], edi
add ebx, 0x130
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebp - 0x7d4], ebx
lea ebx, [ebp - 0x134]
lea ecx, [ebp - 0x79c]
mov byte [ebp + eax - 0x79c], 0
call fcn.00429ee1
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jle 0x428b44
lea eax, [ebp - 0x134]
push eax
call fcn.0042d420
test eax, eax
pop ecx
jbe 0x4287da
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402e51
mov esi, dword [ebp - 0x7c0]
push 5
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00402b4a
jmp 0x4287e0
mov esi, dword [ebp - 0x7c0]
add dword [ebp - 0x7c8], edi
push 7
lea eax, [ebp - 0x134]
push str.HTTP_1.
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x428836
push 3
lea eax, [ebp - 0x12b]
push eax
lea eax, [ebp - 0x7d0]
push eax
call fcn.0042f100
add esp, 0xc
lea eax, [ebp - 0x7d0]
push eax
mov byte [ebp - 0x7cd], bl
call fcn.0043021f
pop ecx
mov dword [esi + 0x158], eax
jmp 0x428b1a
push 0xf
lea eax, [ebp - 0x134]
push str.CONTENT_LENGTH:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x42888a
mov byte [ebp - 0x2c], bl
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x125]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004300d0
push dword [ebp - 0x7d4]
lea eax, [ebp - 0x2c]
push str._I64d
push eax
call fcn.004413c2
add esp, 0x14
jmp 0x428b1a
push 9
lea eax, [ebp - 0x134]
push str.LOCATION:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x428a75
push 0x1ff
lea eax, [ebp - 0x333]
push ebx
push eax
mov byte [ebp - 0x334], bl
call fcn.0042d8b0
lea eax, [ebp - 0x134]
add esp, 0xc
push eax
call fcn.0042d420
pop ecx
sub eax, 9
push eax
lea eax, [ebp - 0x12b]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.0042f100
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x334], 0x20
jne 0x428900
inc eax
cmp byte [ebp + eax - 0x334], 0x20
je 0x4288f5
lea eax, [ebp + eax - 0x334]
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00402e51
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x13c]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00402bb1
push ebx
push 1
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 4
call fcn.00402b4a
mov byte [esi + 0x138], 1
cmp dword [edi + 0x18], 0x10
jb 0x42894c
mov eax, dword [edi + 4]
jmp 0x42894f
lea eax, [edi + 4]
push 7
push str.HTTP:__
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
je 0x428b1a
cmp dword [edi + 0x18], 0x10
jb 0x428972
mov eax, dword [edi + 4]
jmp 0x428975
lea eax, [edi + 4]
push 6
push str.FTP:__
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
je 0x428b1a
push 0x454288
lea ecx, [ebp - 0x810]
call fcn.00402e51
mov esi, eax
push str.http:__
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 8
call fcn.00402e51
push dword [ebp - 0x7cc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0041f5ed
add esp, 0xc
lea ecx, [ebp - 0x7b8]
push ecx
push eax
lea eax, [ebp - 0x864]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041f5ed
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xb
call fcn.0041f5ed
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x7f0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0041f5ed
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00402bb1
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x7f0]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x864]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x848]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x82c]
call fcn.00402b4a
push ebx
push esi
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 4
call fcn.00402b4a
jmp 0x428b1a
push 0xb
lea eax, [ebp - 0x134]
push str.SET_COOKIE:
push eax
call fcn.0043dc00
add esp, 0xc
test eax, eax
jne 0x428b1a
push 0x1ff
lea eax, [ebp - 0x333]
push ebx
push eax
mov byte [ebp - 0x334], bl
call fcn.0042d8b0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x129], 0x20
jne 0x428ac4
inc eax
cmp byte [ebp + eax - 0x129], 0x20
je 0x428ab9
lea ecx, [ebp + eax - 0x129]
cmp byte [ecx], 0x3b
mov edi, eax
je 0x428ae6
cmp byte [ebp + edi - 0x134], bl
je 0x428ae6
inc edi
cmp byte [ebp + edi - 0x129], 0x3b
jne 0x428ad2
sub edi, eax
push edi
push ecx
lea eax, [ebp - 0x334]
push eax
call fcn.0042f100
sub esp, 0x10
lea eax, [ebp - 0x334]
mov ecx, esp
mov dword [ebp - 0x7f4], esp
push eax
mov byte [ebp + edi - 0x334], bl
call fcn.00402e51
push esi
call fcn.00429f32
mov ecx, dword [ebp - 0x7c8]
mov eax, dword [ebp - 0x7c4]
lea ecx, [ebp + ecx - 0x79c]
lea ebx, [ebp - 0x134]
call fcn.00429ee1
mov edi, eax
xor ebx, ebx
test edi, edi
jg 0x428792
mov esi, dword [ebp - 0x7c0]
call fcn.0042906c
mov eax, dword [esi + 0x158]
cmp eax, 0xffffffff
je 0x428bed
cmp eax, 0x190
jge 0x428b70
cmp eax, 0xc8
jge 0x428c13
push str.retcode_fail
lea ecx, [ebp - 0x30]
call fcn.00402e51
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00402b4a
mov eax, dword [ebp + 8]
cmp byte [eax], bl
jne 0x428d42
call fcn.00428453
test al, al
je 0x428d42
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x7b8]
call fcn.00402b4a
mov ebx, dword [ebp - 0x7c0]
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x428554
jmp 0x428d86
push 0
push 1
lea ecx, [ebp - 0x7b8]
jmp 0x428d81
mov dword [esi + 4], 0xffffff36
mov byte [ebp - 0x7b9], bl
push ebx
push 1
lea ecx, [ebp - 0x7b8]
call fcn.00402b4a
mov al, byte [ebp - 0x7b9]
jmp 0x428d88
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x428c9c
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x134]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x428c80
push ecx
push eax
lea eax, [ebp - 0x39c]
push str.Get_File_Length_I64d
push eax
call fcn.004318b5
add esp, 0x10
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402e51
mov byte [ebp - 4], 0x10
push 3
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x30]
push ebx
push 1
call fcn.00402b4a
mov byte [ebp - 0x7b9], 1
jmp 0x428bfa
push str.no_file_length_info_
lea ecx, [ebp - 0x30]
mov dword [esi + 4], 0xffffff38
call fcn.00402e51
mov byte [ebp - 4], 0x11
push 1
jmp 0x428c5e
cmp eax, 3
jne 0x428d3c
cmp byte [esi + 0x138], bl
je 0x428cff
push str.Redirect_to:
lea ecx, [ebp - 0x82c]
call fcn.00402e51
lea ecx, [esi + 0x13c]
push ecx
push eax
lea eax, [ebp - 0x810]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041f5ed
add esp, 0xc
push 2
mov byte [ebp - 4], 0x13
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
push ebx
push 1
lea ecx, [ebp - 0x810]
call fcn.00402b4a
lea ecx, [ebp - 0x82c]
jmp 0x428c6c
push str.retcode3xx_but_not_redirect_quit.
lea ecx, [ebp - 0x7f0]
mov dword [esi + 4], 0xffffff37
call fcn.00402e51
push ebx
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 0x14
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x7f0]
call fcn.00402b4a
jmp 0x428bf4
push ebx
jmp 0x428be0
push str.no_retry_quit
lea ecx, [ebp - 0x7f0]
mov dword [esi + 4], 0xffffff35
call fcn.00402e51
push ebx
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 0xf
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push ebx
push edi
lea ecx, [ebp - 0x7f0]
call fcn.00402b4a
push ebx
lea ecx, [ebp - 0x7b8]
push edi
call fcn.00402b4a
xor al, al
call fcn.00431e49
ret 4