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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb0e808
push 0xa713d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffcdc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x328], 0
mov byte [ebp - 0x220], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x11c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x324], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x323]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x32c], 0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x530], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x530], 0
jne 0xa6962d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x534], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x534], 0
jne 0xa69667
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x538], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x538], 0
jne 0xa696a1
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 0x10000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x334]
add eax, 0x214
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x524], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x524], 0
jne 0xa696ea
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 0xa694c9
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 0x524]
push ecx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
cmp eax, 0xffffffff
jne 0xa69718
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 1
push 0
push 3
push 0
push 0
mov edx, dword [ebp - 0x334]
mov ax, word [edx + 0x520]
push eax
mov ecx, dword [ebp - 0x334]
add ecx, 0x110
push ecx
mov edx, dword [ebp - 0x334]
mov eax, dword [edx + 0x524]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x528], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x528], 0
jne 0xa697c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0x3e5
je 0xa69788
jmp 0xa698ce
push 0x3e8
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 0x530]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
je 0xa697c9
cmp dword [ebp - 0x328], 0xffffffff
jne 0xa697c4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
push 1
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x11c]
push eax
push 0xbd5110
call fcn.00a6b429
test eax, eax
jne 0xa697f6
mov dword [ebp - 0x328], 0x2001c011
jmp 0xa698ce
push 1
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x324]
push edx
push 0xbd5130
call fcn.00a6b429
test eax, eax
jne 0xa69823
mov dword [ebp - 0x328], 0x2001c011
jmp 0xa698ce
push 2
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x334]
mov eax, dword [edx + 0x528]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x334]
mov dword [ecx + 0x52c], eax
mov edx, dword [ebp - 0x334]
cmp dword [edx + 0x52c], 0
jne 0xa698c4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0x3e5
je 0xa69886
jmp 0xa698ce
push 0x3e8
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 0x534]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
je 0xa698c4
cmp dword [ebp - 0x328], 0xffffffff
jne 0xa698c2
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x328], eax
jmp 0xa698ce
mov dword [ebp - 0x328], 0
mov dword [ebp - 4], 0xffffffff
jmp 0xa69900
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret