Function at 0x569160
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad0c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], 1
je 0x56932d
lea ecx, [ebp + 8]
call fcn.0059c9c9
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0059eac0
mov eax, dword [0xaf0a68]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0xb0ad8c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], edi
call fcn.0059ea41
push 0xb0ad8c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0059ea41
lea ecx, [ebp - 0x18]
push edi
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.005a7b2d
lea edx, [ebp - 0x24]
lea ecx, [esi + 0x3c]
push edx
call fcn.0059eac0
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x40]
push eax
call fcn.0059eac0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov edx, 3
mov dword [ebp + 0x10], eax
cmp ecx, edx
je 0x569245
cmp ecx, 0x100b
jne 0x569245
or eax, 0x803000
mov dword [ebp - 0x14], edx
mov dword [ebp + 0x10], eax
jmp 0x569248
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x1c]
push 0xb0ad8c
push ecx
xor ebx, ebx
call fcn.0058ad84
add esp, 8
test eax, eax
je 0x569262
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 0xb0ad8c
push edx
call fcn.0058ad84
add esp, 8
test eax, eax
je 0x56927a
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x3c]
push 0
push 0
push ecx
push edi
push ebx
push edx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
je 0x5692fd
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0xb0ad8c
push ecx
or bh, 0xc4
call fcn.0058ad84
add esp, 8
test eax, eax
jne 0x5692c4
push 0xae3714
lea ecx, [ebp + 0xc]
call fcn.0059eb10
lea edi, [esi + 0x44]
lea edx, [ebp + 0xc]
push edx
mov ecx, edi
call fcn.0059eac0
mov ecx, edi
call fcn.0059ee89
mov eax, dword [esi + 0x40]
mov ecx, dword [edi]
push 0
push ebx
push 0
push 0
push str.HTTP_1.1
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esi + 8], eax
jne 0x569366
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0059e9d3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0059e9d3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0059e9d3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0059e9d3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0059e9d3
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0059e9d3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0059e9d3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0059e9d3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0059e9d3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0059e9d3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0059e9d3
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.0059e9d3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc