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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x80
mov eax, 0x1014aab4
call fcn.101018e5
mov eax, dword [ebp + 0x118]
mov edi, dword [ebp + 0x110]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x11c]
push ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x120]
push ebx
push 0x10165890
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x100dc011
mov dword [ebp - 0x54], 0x10159c58
push 0x1017f7c4
lea eax, [ebp - 0x54]
push eax
call fcn.10100bbb
mov ecx, dword [ebp + 0x124]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push 2
push eax
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 6
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 6
push dword [ebp - 0x14]
call esi
cmp edi, ebx
je 0x100dc072
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100dc076
xor edi, edi
jmp 0x100dc090
lea esi, [eax + eax]
mov eax, esi
call fcn.10102de0
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.1000c619
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x100dc0a6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100dc0aa
xor esi, esi
jmp 0x100dc0c6
lea esi, [eax + eax]
mov eax, esi
call fcn.10102de0
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push dword [ebp - 0x1c]
push eax
call fcn.1000c619
mov esi, eax
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x114]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x100dc0f7
mov dword [ebp - 0x3c], 0x10159c78
push 0x1017f7c4
lea eax, [ebp - 0x3c]
jmp 0x100dc00b
push ebx
push 0x4400040
lea ecx, [ebp - 0x60]
push ecx
push ebx
push 0x10159dec
push esi
push 0x10159de4
push eax
mov dword [ebp - 0x60], 0x10159de0
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
jne 0x100dc13b
mov dword [ebp - 0x50], 0x10159c98
push 0x1017f7c4
lea eax, [ebp - 0x50]
jmp 0x100dc00b
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xffffffffffffffff
push 0x10165748
push esi
call edi
test eax, eax
jne 0x100dc168
mov dword [ebp - 0x34], 0x10159da8
push 0x1017f7c4
lea eax, [ebp - 0x34]
jmp 0x100dc00b
push 0x10000000
push 0xffffffffffffffff
push 0x10165758
push esi
call edi
test eax, eax
jne 0x100dc18f
mov dword [ebp - 0x40], 0x10159da8
push 0x1017f7c4
lea eax, [ebp - 0x40]
jmp 0x100dc00b
mov esi, dword [ebp - 0x24]
push 0x103
lea eax, [ebp + 1]
push ebx
add esi, 0xbc
push eax
mov dword [ebp - 0x2c], esi
mov byte [ebp], bl
call fcn.101027c0
push esi
push 0x10159d90
push 0xffffffffffffffff
lea eax, [ebp]
push 0x104
push eax
call fcn.1010314f
add esp, 0x20
push 0xa0000000
push 0xffffffffffffffff
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x100dc1ee
mov dword [ebp - 0x58], 0x10159d50
push 0x1017f7c4
lea eax, [ebp - 0x58]
jmp 0x100dc00b
push 0xa
pop ecx
push ebx
xor eax, eax
push ebx
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x8c], 0x28
mov dword [ebp - 0x70], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x100dc233
mov dword [ebp - 0x48], 0x10159d1c
push 0x1017f7c4
lea eax, [ebp - 0x48]
jmp 0x100dc00b
push esi
call fcn.10100af4
pop ecx
mov dword [ebp - 0x1c], eax
push 0x25
pop ecx
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 0x4c]
mov esi, 0x101657a8
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x94]
push edi
mov byte [ebp - 4], 1
call fcn.10102a40
add edi, dword [ebp - 0x24]
add esp, 0xc
push 0xa
pop ecx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
mov esi, 0x10165840
push dword [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x18]
mov dword [ebp - 0x38], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x100dc29d
mov dword [ebp - 0x44], 0x10159d00
push 0x1017f7c4
lea eax, [ebp - 0x44]
jmp 0x100dc00b
push ebx
push 8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push dword [ebp - 0x1c]
call fcn.10100bb6
pop ecx
jmp 0x100dc2d4
cmp dword [ebp - 0x18], ebx
je 0x100dc2e2
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x100dc2f0
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x100dc2fe
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x108
leave
ret