Function at 0x404560
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp edi, 4
jge 0x404ad0
mov ecx, 0x5d69b0
nop
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4045ad
cmp eax, 0x18f
ja 0x4045a7
imul eax, eax, 0xcc
mov byte [eax + ebx + 0x287c4], 0
mov dword [eax + ebx + 0x287c8], 0xffffffff
mov dword [ecx], 0xffffffff
add ecx, 4
cmp ecx, 0x5d69ec
jl 0x404580
lea esi, [ebx + 0xf47c]
push str.SysCFG
mov ecx, esi
mov dword [ebp - 0xc], esi
call fcn.00406be0
lea ecx, [edi + 1]
mov edi, 0x4f4f70
mov dword [ebp - 4], ecx
mov eax, dword [edi]
cmp ecx, eax
je 0x404610
cmp eax, 6
jne 0x4045f7
cmp byte [ebx + 0xc836c], 0
jne 0x404610
cmp byte [0x508701], 0
je 0x404605
jmp 0x404610
cmp eax, 7
jne 0x404605
cmp byte [ebx + 0xc836c], 0
jne 0x404610
push edi
mov ecx, esi
call fcn.00407210
mov ecx, dword [ebp - 4]
add edi, 0x84
cmp edi, 0x4f5498
jl 0x4045d8
mov eax, dword [ebp + 8]
sub eax, 0
je 0x4048ed
sub eax, 1
je 0x404855
sub eax, 1
jne 0x404ad0
cmp byte [ebx + 0xc80ec], al
mov ecx, ebx
setne al
add eax, 0x15
push eax
push 2
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc80ed], al
setne al
add eax, 0x17
push eax
push 2
call fcn.00404ae0
mov edi, 0x500f60
nop
push edi
mov ecx, esi
call fcn.00407210
add edi, 0x84
cmp edi, 0x501380
jl 0x404670
cmp byte [ebx + 0xc80c9], 0
mov ecx, 0x4ff2b0
mov eax, 0x4f8850
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
cmp byte [ebx + 0xc80cb], 0
mov ecx, 0x4ff334
mov eax, 0x4f88d4
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
cmp byte [ebx + 0xc80cc], 0
mov ecx, 0x4ff3b8
mov eax, 0x4f8958
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
cmp byte [ebx + 0xc80cd], 0
mov ecx, 0x4ff544
mov eax, 0x4f8ae4
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
cmp byte [ebx + 0xc80ca], 0
mov ecx, 0x4ff43c
mov eax, 0x4f89dc
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
cmp byte [ebx + 0xc80ce], 0
mov ecx, 0x4ff4c0
mov eax, 0x4f8a60
cmovne eax, ecx
mov ecx, esi
push eax
call fcn.00407210
lea ecx, [ebx + 0xc80ee]
xor edi, edi
mov dword [ebp + 8], ecx
mov edx, 0x4ff5c8
xor ebx, ebx
cmp byte [ecx + ebx], 0
mov eax, 0x4f8b68
mov ecx, esi
cmovne eax, edx
add eax, edi
push eax
call fcn.00407210
mov ecx, dword [ebp + 8]
lea ebx, [ebx + 1]
add edi, 0x84
mov edx, 0x4ff5c8
cmp edi, 0x294
jl 0x404740
mov ebx, dword [ebp - 8]
xor eax, eax
xor ecx, ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
nop dword [eax]
cmp dword [ebx + 0xc824c], eax
jne 0x404819
cmp dword [0x5d69bc], 0xffffffff
jne 0x4047f3
lea esi, [ebx + 0x287c4]
xor edi, edi
nop dword [eax]
cmp byte [esi], 0
je 0x4047b9
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x4047a0
or edi, 0xffffffff
jmp 0x4047e8
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0046a6d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
mov dword [0x5d69bc], edi
cmp edi, 0xffffffff
je 0x40482d
lea eax, [ecx + 0x4ef6fc]
push eax
push dword [ecx + 0x4f9898]
push dword [ecx + 0x4f9894]
mov ecx, ebx
push 8
push dword [0x5d69bc]
push 1
call fcn.00430320
jmp 0x404827
lea eax, [ecx + 0x4f9890]
mov ecx, esi
push eax
call fcn.00407210
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 0x84
lea esi, [ebx + 0xf47c]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, 0x210
jl 0x404780
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc81e9], al
sete al
add eax, 0xb
push eax
push 1
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc81ea], al
setne al
add eax, 0xd
push eax
push 1
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc81fe], al
setne al
add eax, 0xf
push eax
push 1
call fcn.00404ae0
mov eax, dword [ebx + 0xc8210]
mov ecx, ebx
neg eax
sbb eax, eax
add eax, 0x12
push eax
push 1
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc820c], al
setne al
add eax, 0x13
push eax
push 1
call fcn.00404ae0
push 0x4faf08
mov ecx, esi
call fcn.00407210
push 0x4faf8c
mov ecx, esi
call fcn.00407210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, ebx
cmp dword [ebx + 0xc8208], eax
setne al
lea eax, [eax*2 + 0xb]
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc81ec], al
sete al
add eax, 0x10
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc81ed], al
sete al
add eax, 0x12
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc8202], al
setne al
add eax, 0x14
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc8203], al
setne al
add eax, 0x16
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc8215], al
setne al
add eax, 0x18
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc8214], al
setne al
add eax, 0x1a
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 0xc8249], al
setne al
add eax, 0x1e
push eax
push 0
call fcn.00404ae0
xor eax, eax
mov ecx, 0x4f2498
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
nop
cmp eax, 1
je 0x404a73
cmp eax, 8
je 0x404a73
cmp dword [ebx + 0xc8240], eax
jne 0x404a62
cmp dword [0x5d69e8], 0xffffffff
jne 0x404a43
lea esi, [ebx + 0x287c4]
xor edi, edi
nop
cmp byte [esi], 0
je 0x404a09
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x4049f0
or edi, 0xffffffff
jmp 0x404a38
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0046a6d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
mov dword [0x5d69e8], edi
cmp edi, 0xffffffff
je 0x404a73
lea eax, [ecx + 0x1858]
push eax
push dword [ecx]
push dword [ecx - 4]
mov ecx, ebx
push 8
push dword [0x5d69e8]
push 1
call fcn.00430320
jmp 0x404a6d
lea eax, [ecx - 8]
mov ecx, esi
push eax
call fcn.00407210
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 0x84
lea esi, [ebx + 0xf47c]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, 0x4f293c
jl 0x4049c0
mov edi, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp + 8], eax
mov esi, 0x4f4170
nop
cmp byte [ebx + eax + 0xc81ef], 0
lea eax, [esi - 0x183c]
jne 0x404ab2
mov eax, esi
push eax
mov ecx, edi
call fcn.00407210
mov eax, dword [ebp + 8]
add esi, 0x84
inc eax
mov dword [ebp + 8], eax
cmp esi, 0x4f4824
jl 0x404aa0
nop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4