Function at 0x428d40
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5009a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov eax, 0xf
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x50]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x14], eax
mov eax, edi
lea edx, [eax + 1]
mov dword [ecx + 0x10], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
mov byte [ecx], bl
mov dword [ebp + 0xc], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x428db0
sub eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00404e20
call fcn.004229f0
add esp, 0x24
mov edi, 0x10
cmp al, bl
jne 0x428e16
cmp dword [ebp - 0x20], edi
jb 0x428de3
mov eax, dword [ebp - 0x34]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x3c], edi
jb 0x428e01
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004df8f9
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x3c], edi
jae 0x428e21
lea eax, [ebp - 0x50]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
push ebx
push 3
push edx
movzx edx, word [esi + 0x10]
push ecx
push edx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x428e86
push 0x18
push str.Cannot_connect_to_server
lea ecx, [esi + 0x18]
call fcn.00404e20
mov ecx, esi
call fcn.00428a30
cmp dword [ebp - 0x20], edi
jb 0x428e6b
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x3c], edi
jb 0x428e01
mov edx, dword [ebp - 0x50]
push edx
jmp 0x428df9
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x20], edi
jae 0x428e91
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x14]
push ebx
push edx
push ebx
push 0x503a80
push ebx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x428ef6
push 0x1b
push str.Cannot_perform_http_request
lea ecx, [esi + 0x18]
call fcn.00404e20
mov ecx, esi
call fcn.00428a30
cmp dword [ebp - 0x20], edi
jb 0x428ed7
mov edx, dword [ebp - 0x34]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x3c], edi
jb 0x428e01
mov eax, dword [ebp - 0x50]
push eax
jmp 0x428df9
cmp dword [ebp - 0x20], edi
jb 0x428f07
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x3c], edi
jb 0x428f25
mov edx, dword [ebp - 0x50]
push edx
call fcn.004df8f9
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10