Function at 0x10018670
Capabilities:
Make an http request with a cookie
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b49c
mov eax, dword fs:[0]
push eax
mov eax, 0x27c4
call fcn.1000e2f0
mov eax, dword [0x100213d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x1c]
and eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x100186cb
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10017870
jmp 0x10018cb4
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
adc ecx, dword [ebp + 0x18]
mov dword [ebp - 0x27d0], eax
mov dword [ebp - 0x27cc], ecx
mov edx, dword [ebp - 0x27cc]
cmp edx, dword [ebp + 0x20]
jb 0x10018705
ja 0x100186fb
mov eax, dword [ebp - 0x27d0]
cmp eax, dword [ebp + 0x1c]
jbe 0x10018705
mov eax, 8
jmp 0x10018cb4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x3c], 0
jne 0x10018718
mov eax, 4
jmp 0x10018cb4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
call fcn.100199d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10018736
mov eax, 4
jmp 0x10018cb4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x2328
jle 0x1001875e
mov eax, 7
jmp 0x10018cb4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001f97
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001553
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
je 0x100187c6
push 0x2f
lea ecx, [ebp - 0x1c]
call fcn.10001609
push eax
call fcn.100014ee
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100187ba
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.10001567
mov eax, dword [ebp - 0x24]
mov byte [eax + 1], 0
jmp 0x100187c6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.10001567
mov dword [ebp - 0x2c], 0x1001cc4c
mov dword [ebp - 0x28], 0
push 0
push 0x4400000
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x6c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10001609
push eax
push str.POST
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x38], 0
jne 0x10018840
call fcn.10013fe0
mov dword [ebp - 0x27c8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001559
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001559
mov eax, dword [ebp - 0x27c8]
jmp 0x10018cb4
mov ecx, dword [ebp - 0x14]
call fcn.10017260
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1001888d
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001559
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001559
mov eax, dword [ebp - 0x27c4]
jmp 0x10018cb4
mov al, byte [0x1001c2f4]
mov byte [ebp - 0x2740], al
push 0x270f
push 0
lea eax, [ebp - 0x273f]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
je 0x100188cb
push str.Content_Type:_multipart_form_data__boundary___________________________284583012225247
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10018917
push str.Content_Type:_application_x_www_form_urlencoded
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
call fcn.100111f0
test eax, eax
jne 0x10018917
push str.__charset
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
call fcn.10001609
push eax
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
jne 0x1001892f
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x1c]
jne 0x1001892f
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x20]
je 0x10018993
movsx eax, byte [ebp - 0x2740]
test eax, eax
je 0x1001894c
push 0x1001cbc0
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
adc eax, dword [ebp + 0x18]
sub edx, 1
sbb eax, 0
push eax
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.Range:_bytes_I64u__I64u__I64u
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + eax - 0x2740]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x70], 0
je 0x100189e3
movsx eax, byte [ebp - 0x2740]
test eax, eax
je 0x100189b9
push 0x1001cbc0
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x70]
push ecx
push str.Cookie:__s
lea edx, [ebp - 0x2740]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x2740]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x78], 0
je 0x10018a1d
movsx eax, byte [ebp - 0x2740]
test eax, eax
je 0x10018a09
push 0x1001cbc0
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x78]
push ecx
lea edx, [ebp - 0x2740]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x14]
call fcn.10018210
mov dword [ebp - 0x2744], 0
lea ecx, [ebp - 0x2748]
call fcn.10001553
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
je 0x10018ae3
push str._____________________________284583012225247
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
call fcn.10001567
mov eax, dword [ebp - 0x14]
add eax, 0x54
push eax
lea ecx, [ebp - 0x2748]
call fcn.100051c1
push 0x1001cbc0
lea ecx, [ebp - 0x2748]
call fcn.100015ac
push str.Content_Disposition:_form_data__name_uploadFormFile___filename_
lea ecx, [ebp - 0x2748]
call fcn.100015ac
lea ecx, [ebp - 0x20]
call fcn.10001609
push eax
lea ecx, [ebp - 0x2748]
call fcn.100015ac
push 0x1001cc7c
lea ecx, [ebp - 0x2748]
call fcn.100015ac
push str.Content_Type:_application_octet_stream_r_n_r_n
lea ecx, [ebp - 0x2748]
call fcn.100015ac
lea ecx, [ebp - 0x2748]
call fcn.1000160c
mov esi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
call fcn.1000160c
lea eax, [esi + eax + 6]
mov dword [ebp - 0x2744], eax
mov dword [ebp - 0x2770], 0
xor eax, eax
mov dword [ebp - 0x276c], eax
mov dword [ebp - 0x2768], eax
mov dword [ebp - 0x2764], eax
mov dword [ebp - 0x2760], eax
mov dword [ebp - 0x275c], eax
mov dword [ebp - 0x2758], eax
mov dword [ebp - 0x2754], eax
mov dword [ebp - 0x2750], eax
mov dword [ebp - 0x274c], eax
mov dword [ebp - 0x2770], 0x28
lea eax, [ebp - 0x2740]
mov dword [ebp - 0x2768], eax
lea eax, [ebp - 0x2740]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2760], eax
mov ecx, dword [ebp - 0x2760]
mov dword [ebp - 0x2764], ecx
mov eax, dword [ebp - 0x2744]
cdq
add eax, dword [ebp + 0x14]
adc edx, dword [ebp + 0x18]
mov dword [ebp - 0x2754], eax
push 0
push 8
push 0
lea eax, [ebp - 0x2770]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x10018bde
call fcn.10013fe0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2748]
call fcn.10001559
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001559
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001559
mov eax, dword [ebp - 0x27c0]
jmp 0x10018cb4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
je 0x10018c6b
lea eax, [ebp - 0x2774]
push eax
lea ecx, [ebp - 0x2748]
call fcn.1000160c
push eax
lea ecx, [ebp - 0x2748]
call fcn.10001609
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x10018c6b
call fcn.10013fe0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27bc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2748]
call fcn.10001559
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001559
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001559
mov eax, dword [ebp - 0x27bc]
jmp 0x10018cb4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x5c], edx
mov dword [ebp - 0x27b8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2748]
call fcn.10001559
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10001559
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001559
mov eax, dword [ebp - 0x27b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dd44
mov esp, ebp
pop ebp
ret 0x1c