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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x58], 0x7d0
mov dword [esi], 0
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0
push 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x10113e3d
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101138d1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x54]
call fcn.1001a860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push 1
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x1013f144
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.1001a860
mov ecx, edi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10113931
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.1001a860
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x74], 8
mov edi, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
cmovae ecx, edi
push eax
push 0
call fcn.1001f390
mov ecx, eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
add esp, 0xc
mov word [ebp - 0x24], ax
cmp ecx, 0xffffffff
je 0x101139d6
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x78]
add edx, ecx
cmp eax, edx
jb 0x10113e50
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, edi
push ecx
lea ecx, [ebp - 0x24]
lea eax, [eax + edx*2]
push eax
call fcn.1001a860
mov edi, dword [ebp - 0x88]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x10113a11
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10113a07
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e55
push ecx
push edi
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x10113a66
mov ecx, dword [ebp - 0x3c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113a5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e5a
push edx
push ecx
call fcn.1007306e
add esp, 8
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x10113b77
cmp dword [ebp - 0x10], 8
lea ecx, [ebp - 0x24]
cmovae ecx, dword [ebp - 0x24]
xor edx, edx
call fcn.100d6ff0
test eax, eax
mov dword [ebp - 0x2c], edi
mov ecx, 0x50
mov dword [ebp - 0x28], 7
cmovne ecx, eax
xor eax, eax
push 1
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x3c]
push 0x1013f144
mov word [ebp - 0x3c], ax
call fcn.1001a860
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x54]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 8
mov edx, dword [ebp - 0x44]
cmovae ecx, dword [ebp - 0x54]
push eax
push edi
call fcn.1001f390
mov ecx, eax
mov dword [ebp - 0x60], edi
xor eax, eax
mov dword [ebp - 0x5c], 7
add esp, 0xc
mov word [ebp - 0x70], ax
cmp ecx, 0xffffffff
je 0x10113b0c
cmp dword [ebp - 0x44], ecx
lea eax, [ebp - 0x54]
cmovb ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 8
push ecx
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
push eax
call fcn.1001a860
lea ecx, [ebp - 0x54]
call fcn.1001a0c0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [ebp - 0x60]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
movq qword [ebp - 0x44], xmm0
cmp eax, 8
jb 0x10113b64
mov ecx, dword [ebp - 0x3c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113b5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e5f
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp + 8]
mov eax, 0x800000
cmp ecx, 0x1bb
cmove edi, eax
jmp 0x10113b7c
mov ecx, 0x50
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push 0
cmovae eax, dword [ebp - 0x54]
push edi
push 3
push 0
push 0
push ecx
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x10113c31
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x10113be0
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113bd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e64
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x10113e3c
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e69
jmp 0x10113e32
push 0
or edi, 0x84000000
mov dword [ebp - 0x90], 0x1013f908
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x8c], 0
push ecx
push 0
push str.HTTP_1.0
push dword [ebp + 0xc]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi], eax
test eax, eax
je 0x10113ba6
push 0x20000000
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x58]
push 4
push eax
push 2
push dword [esi]
call edi
test eax, eax
je 0x10113ba6
push 4
lea eax, [ebp - 0x58]
push eax
push 5
push dword [esi]
call edi
test eax, eax
je 0x10113ba6
push 4
lea eax, [ebp - 0x58]
push eax
push 6
push dword [esi]
call edi
test eax, eax
je 0x10113ba6
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10113ba6
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x70]
call fcn.1002ee70
push 0
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.100e3490
add esp, 4
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
cmovae eax, dword [ebp - 0x3c]
push dword [ebp - 0x2c]
push eax
push 0
push 0
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x10113db0
cmp edx, 0x10
jb 0x10113d4b
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10113d41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e64
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 8
jb 0x10113d97
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113d8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e64
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
jmp 0x10113ba6
cmp edx, 0x10
jb 0x10113de1
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10113dd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e64
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 8
jb 0x10113ba6
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10113e23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113e64
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x10113ba6
push edx
push ecx
call fcn.1007306e
add esp, 8
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1001e760
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
call fcn.10080da8
int3