Function at 0x4218f0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, ecx
push ebx
mov dword [ebp - 4], eax
add eax, 0x61800
xor ebx, ebx
push esi
cmp word [eax], bx
push edi
je 0x421914
mov ebx, eax
jmp 0x4219c8
cmp word [0x540244], 0
jne 0x4219c3
mov al, byte [0x53efd4]
mov ecx, 0x208
mov byte [ebp - 0x838], al
xor eax, eax
lea edi, [ebp - 0x837]
lea edx, [ebp - 0x838]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x823
stosw word es:[edi], ax
push ecx
push edx
push 0
stosb byte es:[edi], al
call fcn.004a68c0
add esp, 0xc
test eax, eax
jne 0x4219b9
lea eax, [ebp - 0x838]
test eax, eax
jne 0x42196d
xor edi, edi
jmp 0x4219a6
lea ecx, [ebp - 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004f3f00
mov edi, esp
push esi
push edi
lea edx, [ebp - 0x838]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x824
push 0x540244
push edi
call fcn.004a6220
add esp, 0xc
cmp word [0x540244], 0
je 0x4219c8
mov ebx, 0x540244
push 0x10000000
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [ebp + 8]
test eax, eax
mov dword [esi + 0x14], eax
je 0x421b17
mov edx, dword [esi + 0x20]
xor edi, edi
xor ebx, ebx
mov dword [ebp + 8], 3
cmp word [edx + 0x2348], di
lea ecx, [edx + 0x2348]
je 0x421a07
mov ebx, ecx
cmp word [edx + 0x2048], 0
lea ecx, [edx + 0x2048]
je 0x421a19
mov edi, ecx
test ebx, ebx
jne 0x421a2d
mov ecx, dword [ebp - 4]
add ecx, 0x605b8
cmp word [ecx], bx
je 0x421a2d
mov ebx, ecx
test edi, edi
jne 0x421a41
mov ecx, dword [ebp - 4]
add ecx, 0x606b8
cmp word [ecx], di
je 0x421a41
mov edi, ecx
mov ecx, 1
cmp dword [edx + 4], ecx
jne 0x421a4e
mov dword [ebp + 8], ecx
push 0x41fa40
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x20]
push esi
add eax, 0x2148
mov ecx, dword [edx + 0x26d4]
mov edx, dword [ebp + 8]
push ecx
mov cx, word [eax - 0x2148]
push edx
mov edx, dword [esi + 0x14]
push edi
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 0x18], eax
je 0x421b17
mov eax, dword [ebp - 4]
cmp word [eax + 0x607b8], 0
lea ebx, [eax + 0x607b8]
je 0x421b03
test ebx, ebx
mov dword [ebp - 0x14], 3
jne 0x421ab4
mov dword [ebp - 0x10], ebx
jmp 0x421aea
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.004f3f00
mov ecx, dword [ebp + 8]
mov edi, esp
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x14]
lea edx, [ebp - 0x14]
push 0xc
push edx
push 0x26
push eax
mov dword [ebp - 0xc], 0x53efd4
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, 1
lea esp, [ebp - 0x844]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esp, [ebp - 0x844]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4