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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100faa53
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 + 0x1c]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x94], ecx
xor ebx, ebx
mov ecx, 0xf
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], 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 ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x68]
push ecx
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 0x100399f8
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x100399be
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 0x100399dd
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 0x10039cbd
mov ecx, dword [ebp - 0x68]
push ecx
jmp 0x10039cb5
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x10039a04
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x8c]
push ebx
push ebx
push 3
push ebx
push ebx
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi], eax
cmp eax, ebx
jne 0x10039a5f
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x10039a35
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 0x10039a54
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100719b6
add esp, 4
cmp dword [ebp - 0x54], esi
mov dword [ebp - 0x38], edi
jmp 0x10039ca9
mov dword [ebp - 0xa8], 0x10135df4
mov dword [ebp - 0xa4], ebx
mov esi, SysReAllocString
cmp byte [ebp - 0x85], bl
je 0x10039a81
mov esi, 0x80800000
mov ecx, dword [ebp - 0x9c]
mov edi, 0x10
cmp dword [ecx + 0x14], edi
jb 0x10039a93
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x10039a9e
lea edx, [ebp - 0x30]
push ebx
push esi
lea esi, [ebp - 0xa8]
push esi
push ecx
push str.HTTP_1.1
push edx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
cmp eax, ebx
jne 0x10039b11
cmp dword [ebp - 0x1c], edi
jb 0x10039ad7
mov edx, dword [ebp - 0x30]
push edx
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 0x10039af6
mov eax, dword [ebp - 0x4c]
push eax
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 0x10039cbd
mov ecx, dword [ebp - 0x68]
push ecx
jmp 0x10039cb5
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 4]
mov esi, dword [eax]
mov dword [ebp - 0x8c], esi
cmp esi, eax
je 0x10039bee
lea ebx, [ebx]
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 0x10039b9d
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 0x10039bce
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 0x10039b30
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 + 0x14]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x90]
push edx
mov edx, dword [ecx]
push eax
push ebx
push ebx
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10039c73
cmp dword [ebp - 0x1c], edi
jb 0x10039c36
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 0x10039c55
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 0x10039c6f
mov edx, dword [ebp - 0x68]
push edx
call fcn.100719b6
add esp, 4
mov al, 1
jmp 0x10039cbf
cmp dword [ebp - 0x1c], edi
jb 0x10039c84
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 0x10039ca3
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100719b6
add esp, 4
cmp dword [ebp - 0x54], edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x3c], ebx
jb 0x10039cbd
mov edx, dword [ebp - 0x68]
push edx
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 0x1c