Function at 0x10013890
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041852
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov eax, 0x10172c30
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100138f0
sub eax, edx
mov edi, eax
mov eax, 0x10172c30
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 2
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x10
jb 0x10013935
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
lea edi, [eax - 7]
mov eax, str.Analizar
lea esi, [ebp - 0x48]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 5
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
jb 0x10013989
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
mov eax, 0x10172dc0
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100139a8
sub eax, edx
mov edi, eax
mov eax, 0x10172dc0
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 8
call fcn.10002580
add esp, 8
mov edi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], edi
jb 0x100139f1
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10011400
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, dword [ebp - 0xd4]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0xc0], edi
jae 0x10013a29
lea esi, [ebp - 0xd4]
mov edx, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], edi
jae 0x10013a3d
lea edx, [ebp - 0x9c]
mov ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], edi
jae 0x10013a51
lea ecx, [ebp - 0xb8]
push ebx
push 0x8000000
push 1
push esi
push edx
push 0x15
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push ebx
mov dword [ebp - 0x154], eax
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
add esp, 4
push eax
mov dword [ebp - 0x15c], edx
call dword [sym.imp.MSVCR100.dll__localtime64]
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
add esp, 4
lea ecx, [ebp - 0x208]
push ecx
call fcn.1000b7f0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x14c]
mov eax, str._H__M__S
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], eax
inc eax
cmp byte [eax], bl
jne 0x10013ac7
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10016490
add esp, 4
lea ecx, [ebp - 0x128]
lea eax, [ebp - 0x208]
call fcn.1000b8a0
mov byte [ebp - 4], 0xc
mov eax, dword [0x101774c4]
mov ecx, eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10013b13
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x48]
call fcn.10002d20
mov edi, esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.10013830
mov edi, 0x10
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x34], edi
jb 0x10013b52
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 9
mov eax, str.Analizar_
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10008150
push ebx
lea edx, [ebp - 0x128]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x64]
call fcn.100084a0
push 1
mov eax, 0x1004ed9c
mov ecx, esi
call fcn.10008150
push ebx
push 0x101774f0
or eax, 0xffffffff
call fcn.100084a0
push 1
mov eax, 0x1004ed9c
mov ecx, esi
call fcn.10008150
push ebx
lea eax, [ebp - 0x10c]
push eax
or eax, 0xffffffff
call fcn.100084a0
mov eax, dword [0x101774c4]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10013bc5
sub ecx, esi
push ecx
lea ecx, [ebp - 0x80]
call fcn.10008150
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x10013be2
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x10013bed
lea eax, [ebp - 0x80]
mov esi, dword [ebp - 0x154]
push ebx
push 2
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x150]
push ecx
call esi
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0xb8]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.10003280
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xdc], 0x10
jb 0x10013c54
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.10003280
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xdc], 0x10
jb 0x10013c97
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0x12
call fcn.10003280
mov esi, 0x10
cmp dword [ebp - 0xdc], esi
jb 0x10013cda
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xf8], esi
jb 0x10013cf2
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x114], esi
jb 0x10013d21
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x128], bl
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x150], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x13
call fcn.1000b8c0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
lea ecx, [ebp - 0x1b8]
mov dword [ebp + edx - 0x208], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0xc0], esi
jb 0x10013d9f
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x88], esi
jb 0x10013dc9
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xa4], esi
jb 0x10013df3
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x6c], esi
jb 0x10013e17
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x50], esi
jb 0x10013e32
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret