Function at 0x100394f0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100faaa3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x90], ecx
xor ebx, ebx
mov ecx, 0xf
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x85], bl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x68]
push edx
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x85]
mov byte [ebp - 4], 2
call fcn.10038be0
add esp, 0x10
test al, al
jne 0x100395ef
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x100395b5
mov eax, dword [ebp - 0x30]
push eax
call fcn.100719b6
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x100395d4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x100398c4
mov edx, dword [ebp - 0x68]
push edx
jmp 0x100398bc
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x100395fb
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x8c]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi], eax
cmp eax, ebx
jne 0x10039666
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x1003962c
mov edx, dword [ebp - 0x30]
push edx
call fcn.100719b6
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x1003964b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x100398c4
mov ecx, dword [ebp - 0x68]
push ecx
jmp 0x100398bc
mov dword [ebp - 0xa4], 0x10135df4
mov dword [ebp - 0xa0], ebx
mov esi, SysReAllocString
cmp byte [ebp - 0x85], bl
je 0x10039688
mov esi, 0x80800000
mov ecx, dword [ebp - 0x9c]
mov edi, 0x10
cmp dword [ecx + 0x14], edi
jb 0x1003969a
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x100396a5
lea edx, [ebp - 0x30]
push ebx
push esi
lea esi, [ebp - 0xa4]
push esi
push ecx
push str.HTTP_1.1
push edx
push 0x10135e04
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x90]
mov dword [edx], eax
cmp eax, ebx
jne 0x10039718
cmp dword [ebp - 0x1c], edi
jb 0x100396de
mov eax, dword [ebp - 0x30]
push eax
call fcn.100719b6
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], edi
jb 0x100396fd
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x100398c4
mov edx, dword [ebp - 0x68]
push edx
jmp 0x100398bc
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x8c], esi
cmp esi, eax
je 0x100397fe
jmp 0x10039740
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.10005720
push 2
push 0x10133768
lea ecx, [ebp - 0x84]
call fcn.10005810
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push ebx
push eax
lea ecx, [ebp - 0x84]
call fcn.10005720
push 2
push 0x10132f34
lea ecx, [ebp - 0x84]
call fcn.10005810
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x70], edi
jae 0x100397ad
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x90]
push 0x20000000
push ecx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], edi
jb 0x100397de
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.100719b6
add esp, 4
lea eax, [ebp - 0x8c]
call fcn.10008980
mov esi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
cmp esi, dword [edx + 4]
jne 0x10039740
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx]
add eax, 4
push eax
call fcn.10039d60
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1003987a
cmp dword [ebp - 0x1c], edi
jb 0x1003983d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100719b6
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], edi
jb 0x1003985c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x10039876
mov eax, dword [ebp - 0x68]
push eax
call fcn.100719b6
add esp, 4
mov al, 1
jmp 0x100398c6
cmp dword [ebp - 0x1c], edi
jb 0x1003988b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100719b6
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], edi
jb 0x100398aa
mov edx, dword [ebp - 0x4c]
push edx
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], edi
jb 0x100398c4
mov eax, dword [ebp - 0x68]
push eax
call fcn.100719b6
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 0x14