Function at 0x1401d3030
Capabilities:
Create tcp socket
Create udp socket
Delete file
Read file on windows
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1c40
call fcn.1401e9500
sub rsp, rax
mov qword [rsp + 0x1b28], 0xfffffffffffffffe
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x1c38], rax
mov dword [rsp + 0x1b20], 0
mov rax, qword [rsp + 0x1c50]
cmp qword [rax + 0x230], 0
jne 0x1401d308a
xor eax, eax
jmp 0x1401d47c4
mov rax, qword [rsp + 0x1c50]
mov rax, qword [rax + 0x230]
mov qword [rsp + 0x448], rax
mov rcx, qword [rsp + 0x448]
add rcx, 0x228
mov r8w, 0x64
xor edx, edx
call fcn.140015d60
mov rcx, qword [rsp + 0x448]
add rcx, 0x228
xor edx, edx
call fcn.140015d30
lea r8, str.Check_the_admin_password_in_the_target_server.
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
lea rcx, [rsp + 0x460]
call fcn.14000d650
nop
mov rax, qword [rsp + 0x448]
mov eax, dword [rax + 0x224]
mov dword [rsp + 0x5f8], eax
lea rcx, [rsp + 0x460]
call fcn.1401cb860
lea rcx, [rsp + 0x600]
xor r8d, r8d
lea rdx, [0x140230284]
call fcn.140006800
cmp eax, 0xffffffff
je 0x1401d31d7
lea r8, [rsp + 0x600]
lea rdx, [0x14023034c]
lea rcx, [rsp + 0x1a78]
call fcn.140006d10
mov qword [rsp + 0x1b30], rax
mov rax, qword [rsp + 0x1b30]
mov qword [rsp + 0x1b38], rax
mov eax, dword [rsp + 0x1b20]
or eax, 1
mov dword [rsp + 0x1b20], eax
lea r8, [0x140230294]
mov rdx, qword [rsp + 0x1b38]
lea rcx, [rsp + 0x1a80]
call fcn.1400010b0
mov qword [rsp + 0x1b40], rax
mov rax, qword [rsp + 0x1b40]
mov qword [rsp + 0x1b48], rax
mov eax, dword [rsp + 0x1b20]
or eax, 2
mov dword [rsp + 0x1b20], eax
mov rax, qword [rsp + 0x1b48]
mov qword [rsp + 0x1b50], rax
jmp 0x1401d31e7
lea rax, [rsp + 0x600]
mov qword [rsp + 0x1b50], rax
mov rax, qword [rsp + 0x1b50]
mov qword [rsp + 0x1a70], rax
mov rdx, qword [rsp + 0x1a70]
lea rcx, [rsp + 0x440]
call fcn.140001430
nop
mov eax, dword [rsp + 0x1b20]
and eax, 2
test eax, eax
je 0x1401d3231
and dword [rsp + 0x1b20], 0xfffffffd
lea rcx, [rsp + 0x1a80]
call fcn.140007060
nop
mov eax, dword [rsp + 0x1b20]
and eax, 1
test eax, eax
je 0x1401d3254
and dword [rsp + 0x1b20], 0xfffffffe
lea rcx, [rsp + 0x1a78]
call fcn.140007060
mov rdx, qword [rsp + 0x448]
add rdx, 0x210
lea rcx, [rsp + 0x458]
call fcn.140001430
nop
mov dword [rsp + 0x30], 0x3e8
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
lea rcx, [rsp + 0x450]
call fcn.140002d10
nop
xor eax, eax
cmp eax, 1
je 0x1401d469d
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rdx, rax
mov rax, qword [rsp + 0x1c50]
mov qword [rax + 0x208], rdx
lea rcx, [rsp + 0x458]
call fcn.140050200
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400db240
test eax, eax
jne 0x1401d333e
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Connection_to_target_server_failed.
lea rcx, [rsp + 0x450]
call fcn.140002020
jmp 0x1401d469d
mov dword [rsp + 0x7b8], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x7b8]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x7a4], eax
mov dword [rsp + 0x7a8], 0x4010
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x7a8]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rcx, [rsp + 0x440]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1a88]
call fcn.1400dad50
mov qword [rsp + 0x1b58], rax
mov rax, qword [rsp + 0x1b58]
mov qword [rsp + 0x1b60], rax
mov rcx, qword [rsp + 0x448]
add rcx, 0x218
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1a90]
call fcn.1400dad10
mov qword [rsp + 0x1b68], rax
mov rax, qword [rsp + 0x1b60]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1b68]
mov r9, qword [r9]
mov rax, qword [rsp + 0x448]
mov r8d, dword [rax + 0x220]
lea rdx, str.multisyncto__d__s__s_r_n
lea rcx, [rsp + 0x40]
call fcn.1400ae644
lea rcx, [rsp + 0x1a90]
call fcn.140007060
nop
lea rcx, [rsp + 0x1a88]
call fcn.140007060
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400db000
mov byte [rsp + 0x40], 0
mov r9d, 0x400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400da6e0
test eax, eax
jne 0x1401d34f1
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [0x140230850]
lea rcx, [rsp + 0x450]
call fcn.140002020
jmp 0x1401d469d
movsx eax, byte [rsp + 0x40]
cmp eax, 0x2b
je 0x1401d360f
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rsp + 0x45]
lea rdx, [0x1402308a0]
call fcn.1400af160
test eax, eax
jne 0x1401d353d
lea rdx, [0x1402308b0]
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.NO_PERMISSION_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d3566
lea rdx, str.Target_server_password_is_incorrect.
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.NEED_SET_ADMIN_PASSWORD_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d358f
lea rdx, str.You_need_to_set__Admin_Password__in_the_CCBoot_Server_to_use_this_function.
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, [0x140230a28]
call fcn.1400af160
test eax, eax
jne 0x1401d35b8
lea rdx, [0x140230a40]
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.CHILD_IMAGE_CHECKED_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d35e1
lea rdx, str.The_image_in_target_server_has_child_images._Thus__image_file_sync_failed.
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.RECOVERY_POINT_CHECKED_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d360a
lea rdx, str.The_image_in_target_server_has_recovery_points._Thus__image_file_sync_failed.
lea rcx, [rsp + 0x450]
call fcn.140002020
jmp 0x1401d469d
mov edx, 1
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_shutdown]
mov r9d, 0x400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400da6e0
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rsp + 0x1c50]
mov qword [rdx + 0x208], 0xffffffffffffffff
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rdx, rax
mov rax, qword [rsp + 0x1c50]
mov qword [rax + 0x208], rdx
lea rcx, [rsp + 0x458]
call fcn.140050200
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400db240
test eax, eax
jne 0x1401d3711
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [0x140230c00]
lea rcx, [rsp + 0x450]
call fcn.140002020
jmp 0x1401d469d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x7a8]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rcx, [rsp + 0x7b0]
call fcn.140002d10
nop
mov rax, qword [rsp + 0x448]
cmp dword [rax + 0x220], 0
jne 0x1401d405a
lea r8, str.Preparing_to_synchronize_image_file...
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
lea rdx, [0x1402304cc]
lea rcx, [rsp + 0x9f0]
call fcn.140002050
nop
lea rdx, [0x140230cc0]
lea rcx, [rsp + 0x9f0]
call fcn.140002020
mov rdx, qword [rsp + 0x1c50]
add rdx, 0x228
lea r8, [0x140230c48]
lea rcx, [rsp + 0xa00]
call fcn.1400010b0
nop
lea rcx, [rsp + 0xa08]
call fcn.140093cf4
nop
lea rcx, [rsp + 0xa00]
call fcn.140050200
xor r9d, r9d
mov r8d, 0x1001
mov rdx, rax
lea rcx, [rsp + 0xa08]
call fcn.14009447c
test eax, eax
je 0x1401d3934
lea rcx, [rsp + 0xa08]
call fcn.140025730
lea rcx, [rsp + 0x9f0]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1a98]
call fcn.1400dad10
mov qword [rsp + 0x1b70], rax
mov rax, qword [rsp + 0x1b70]
mov qword [rsp + 0x1b78], rax
lea rcx, [rsp + 0x9f0]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1aa0]
call fcn.1400dad10
mov qword [rsp + 0x1b80], rax
mov rax, qword [rsp + 0x1b80]
mov qword [rsp + 0x1b88], rax
mov rcx, qword [rsp + 0x1b78]
call fcn.1400019a0
mov edi, eax
mov rcx, qword [rsp + 0x1b88]
call fcn.140050200
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa08]
call fcn.140093974
nop
lea rcx, [rsp + 0x1aa0]
call fcn.140007060
nop
lea rcx, [rsp + 0x1a98]
call fcn.140007060
lea rcx, [rsp + 0xa08]
call fcn.140093c6c
lea rcx, [rsp + 0xa00]
call fcn.140050200
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, rax
call fcn.140004880
lea rcx, [rsp + 0xa00]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rdx, [rsp + 0x608]
lea rcx, [rsp + 0x7f8]
call fcn.140001430
nop
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x7f8]
call fcn.140006280
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x7f8]
call fcn.140006920
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x1aa8]
lea rcx, [rsp + 0x7f8]
call fcn.1400021f0
mov qword [rsp + 0x1b90], rax
mov rax, qword [rsp + 0x1b90]
mov qword [rsp + 0x1b98], rax
mov rdx, qword [rsp + 0x1b98]
lea rcx, [rsp + 0x7f8]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1aa8]
call fcn.140007060
lea rcx, [rsp + 0x7f8]
call fcn.1400019a0
cmp eax, 2
jne 0x1401d3a4a
mov edx, 1
lea rcx, [rsp + 0x7f8]
call fcn.140006e50
movzx eax, ax
cmp eax, 0x3a
jne 0x1401d3a4a
lea r8, [0x1402304e4]
lea rdx, [rsp + 0x7f8]
lea rcx, [rsp + 0x1ab0]
call fcn.1400010b0
mov qword [rsp + 0x1ba0], rax
mov rax, qword [rsp + 0x1ba0]
mov qword [rsp + 0x1ba8], rax
mov rdx, qword [rsp + 0x1ba8]
lea rcx, [rsp + 0x7f8]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1ab0]
call fcn.140007060
call fcn.14018fd90
xor edx, edx
lea rcx, [rsp + 0x810]
call fcn.140181160
nop
lea rax, [rsp + 0x1ab8]
mov qword [rsp + 0x1ac0], rax
lea rax, [rsp + 0x1ac8]
mov qword [rsp + 0x1ad0], rax
lea rax, [rsp + 0x1ad8]
mov qword [rsp + 0x1ae0], rax
lea rdx, [0x140232468]
mov rcx, qword [rsp + 0x1ac0]
call fcn.140002050
mov qword [rsp + 0x1bb0], rax
mov rax, qword [rsp + 0x1bb0]
mov qword [rsp + 0x1bb8], rax
lea rdx, [0x140232478]
mov rcx, qword [rsp + 0x1ad0]
call fcn.140002050
mov qword [rsp + 0x1bc0], rax
mov rax, qword [rsp + 0x1bc0]
mov qword [rsp + 0x1bc8], rax
lea rdx, [rsp + 0x7f8]
mov rcx, qword [rsp + 0x1ae0]
call fcn.140001430
mov qword [rsp + 0x1bd0], rax
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x1bb8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1bc8]
mov r8d, 1
mov rdx, qword [rsp + 0x1bd0]
lea rcx, [rsp + 0x810]
call fcn.14018c5b0
mov dword [rsp + 0x9f8], eax
mov r8d, dword [rsp + 0x9f8]
lea rdx, [0x140232490]
xor ecx, ecx
call fcn.1400de020
xor r8d, r8d
lea rdx, [0x1402324a8]
xor ecx, ecx
call sub.NETAPI32.dll_NetShareDel
lea rcx, [0x1402324c8]
call fcn.140020b60
mov qword [rsp + 0x7c0], rax
mov dword [rsp + 0x7c8], 0
mov qword [rsp + 0x7d0], 0
mov dword [rsp + 0x7d8], 0x7f
mov dword [rsp + 0x7dc], 0xffffffff
mov dword [rsp + 0x7e0], 0
lea rcx, [rsp + 0x7f8]
call fcn.140022590
mov rcx, rax
call fcn.140020b60
mov qword [rsp + 0x7e8], rax
mov qword [rsp + 0x7f0], 0
xor r9d, r9d
lea r8, [rsp + 0x7c0]
mov edx, 2
xor ecx, ecx
call sub.NETAPI32.dll_NetShareAdd
mov dword [rsp + 0x800], eax
cmp dword [rsp + 0x800], 0
je 0x1401d3e0b
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
mov r8d, dword [rsp + 0x800]
lea rdx, str.Sharing_of_image_file_failed__error_code:_d
lea rcx, [rsp + 0x450]
call fcn.140002ba0
lea rdx, [0x1402305fc]
lea rcx, [rsp + 0xa28]
call fcn.140002050
nop
mov eax, dword [rsp + 0x800]
mov dword [rsp + 0x1bd8], eax
cmp dword [rsp + 0x1bd8], 0x7c
ja 0x1401d3c9a
cmp dword [rsp + 0x1bd8], 0x7c
je 0x1401d3ce7
cmp dword [rsp + 0x1bd8], 5
je 0x1401d3cce
cmp dword [rsp + 0x1bd8], 0x57
je 0x1401d3d16
cmp dword [rsp + 0x1bd8], 0x7b
je 0x1401d3d00
jmp 0x1401d3d6e
cmp dword [rsp + 0x1bd8], 0x844
je 0x1401d3d58
cmp dword [rsp + 0x1bd8], 0x845
je 0x1401d3d42
cmp dword [rsp + 0x1bd8], 0x846
je 0x1401d3d2c
jmp 0x1401d3d6e
lea rdx, str.The_user_does_not_have_access_to_the_requested_information.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, str.The_value_specified_for_the_level_parameter_is_not_valid.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, str.The_character_or_file_system_name_is_not_valid.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, str.The_specified_parameter_is_not_valid.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, [0x140232710]
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, str.The_operation_is_not_valid_for_a_redirected_resource._The_specified_device_name_is_assigned_to_a_shared_resource.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
lea rdx, str.The_device_or_directory_does_not_exist.
lea rcx, [rsp + 0xa28]
call fcn.140002020
jmp 0x1401d3d8a
mov r8d, dword [rsp + 0x800]
lea rdx, str.Sharing_of_image_file_failed__error_code:__d
lea rcx, [rsp + 0xa28]
call fcn.140002ba0
lea rcx, [rsp + 0xa28]
call fcn.140050200
mov rdx, rax
mov ecx, 1
call fcn.1400de020
nop
lea rcx, [rsp + 0xa28]
call fcn.140007060
nop
lea rcx, [rsp + 0x810]
call fcn.140181070
nop
lea rcx, [rsp + 0x7f8]
call fcn.140007060
nop
lea rcx, [rsp + 0xa08]
call fcn.140093f40
nop
lea rcx, [rsp + 0xa00]
call fcn.140007060
nop
lea rcx, [rsp + 0x9f0]
call fcn.140007060
nop
lea rcx, [rsp + 0x7b0]
call fcn.140007060
jmp 0x1401d469d
lea rdx, [rsp + 0x608]
lea rcx, [rsp + 0x7f8]
call fcn.140002ce0
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x7f8]
call fcn.140006280
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x7f8]
call fcn.140006920
mov r8d, eax
add r8d, 1
lea rdx, [rsp + 0x1ae8]
lea rcx, [rsp + 0x7f8]
call fcn.140006a80
mov qword [rsp + 0x1be0], rax
mov rax, qword [rsp + 0x1be0]
mov qword [rsp + 0x1be8], rax
mov rdx, qword [rsp + 0x1be8]
lea rcx, [rsp + 0x7f8]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1ae8]
call fcn.140007060
xor r8d, r8d
lea rdx, [0x140230624]
lea rcx, [rsp + 0x7f8]
call fcn.140006800
cmp eax, 0xffffffff
je 0x1401d3f57
lea r8, [rsp + 0x7f8]
lea rdx, [0x140230664]
lea rcx, [rsp + 0x1af0]
call fcn.140006d10
mov qword [rsp + 0x1bf0], rax
mov rax, qword [rsp + 0x1bf0]
mov qword [rsp + 0x1bf8], rax
lea r8, [0x14023063c]
mov rdx, qword [rsp + 0x1bf8]
lea rcx, [rsp + 0x1af8]
call fcn.1400010b0
mov qword [rsp + 0x1c00], rax
mov rax, qword [rsp + 0x1c00]
mov qword [rsp + 0x1c08], rax
mov rdx, qword [rsp + 0x1c08]
lea rcx, [rsp + 0x7f8]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1af8]
call fcn.140007060
nop
lea rcx, [rsp + 0x1af0]
call fcn.140007060
lea rcx, [rsp + 0x440]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1b00]
call fcn.1400dad50
mov qword [rsp + 0x1c10], rax
mov rax, qword [rsp + 0x1c10]
mov qword [rsp + 0x1c18], rax
lea rcx, [rsp + 0x7f8]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x1b08]
call fcn.1400dad50
mov qword [rsp + 0x1c20], rax
mov r9, qword [rsp + 0x1c18]
mov r9, qword [r9]
mov r8, qword [rsp + 0x1c20]
mov r8, qword [r8]
lea rdx, str.robocopyready__s__s_r_n
lea rcx, [rsp + 0x40]
call fcn.1400ae644
lea rcx, [rsp + 0x1b08]
call fcn.140007060
nop
lea rcx, [rsp + 0x1b00]
call fcn.140007060
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400db000
nop
lea rcx, [rsp + 0x810]
call fcn.140181070
nop
lea rcx, [rsp + 0x7f8]
call fcn.140007060
nop
lea rcx, [rsp + 0xa08]
call fcn.140093f40
nop
lea rcx, [rsp + 0xa00]
call fcn.140007060
nop
lea rcx, [rsp + 0x9f0]
call fcn.140007060
mov rax, qword [rsp + 0x448]
cmp dword [rax + 0x220], 1
jne 0x1401d42fa
lea r8, str.Preparing_to_synchronize_client_information...
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
lea rcx, [rsp + 0x1b10]
call fcn.140001000
mov qword [rsp + 0x1c28], rax
mov rax, qword [rsp + 0x1c28]
mov qword [rsp + 0x1c30], rax
lea r8, [0x140232980]
mov rdx, qword [rsp + 0x1c30]
lea rcx, [rsp + 0xa38]
call fcn.1400010b0
nop
lea rcx, [rsp + 0x1b10]
call fcn.140007060
lea rcx, [rsp + 0xa38]
call fcn.140050200
lea rdx, [0x1402325d8]
mov rcx, rax
call fcn.1400ab5cc
mov qword [rsp + 0xa30], rax
cmp qword [rsp + 0xa30], 0
jne 0x1401d4150
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Failed_to_open_db.xml_file.
lea rcx, [rsp + 0x450]
call fcn.140002020
nop
lea rcx, [rsp + 0xa38]
call fcn.140007060
nop
lea rcx, [rsp + 0x7b0]
call fcn.140007060
jmp 0x1401d469d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.1400af6d0
mov rcx, qword [rsp + 0xa30]
call fcn.1400af944
mov dword [rsp + 0xa44], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.1400af6d0
mov byte [rsp + 0xa50], 0
lea rdi, [rsp + 0xa51]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0xa44]
lea rdx, str.multisynctofile__ld_r_n
lea rcx, [rsp + 0xa50]
call fcn.1400ae644
lea r8, [rsp + 0xa50]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400db000
mov dword [rsp + 0x1a50], 0
jmp 0x1401d4202
mov eax, dword [rsp + 0x1a50]
add eax, 1
mov dword [rsp + 0x1a50], eax
movsxd rdi, dword [rsp + 0x1a50]
movsxd rax, dword [rsp + 0xa44]
xor edx, edx
mov ecx, 0x1000
div rcx
cmp rdi, rax
jae 0x1401d426d
mov r9, qword [rsp + 0xa30]
mov r8d, 1
mov edx, 0x1000
lea rcx, [rsp + 0xa50]
call fcn.1400ae1e4
mov r9d, 0x1000
lea r8, [rsp + 0xa50]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400dad90
jmp 0x1401d41f1
movsxd rax, dword [rsp + 0xa44]
xor edx, edx
mov ecx, 0x1000
div rcx
mov dword [rsp + 0xa40], edx
cmp dword [rsp + 0xa40], 0
je 0x1401d42df
movsxd rdx, dword [rsp + 0xa40]
mov r9, qword [rsp + 0xa30]
mov r8d, 1
lea rcx, [rsp + 0xa50]
call fcn.1400ae1e4
movsxd r9, dword [rsp + 0xa40]
lea r8, [rsp + 0xa50]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400dad90
mov rcx, qword [rsp + 0xa30]
call fcn.1400ab86c
nop
lea rcx, [rsp + 0xa38]
call fcn.140007060
lea r8, str.Synchronizing_data_to_the_target_server.
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
mov r9d, 0x400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400da6e0
test eax, eax
jne 0x1401d437a
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, str.Sending_data_to_target_server_failed.
lea rcx, [rsp + 0x450]
call fcn.140002020
nop
lea rcx, [rsp + 0x7b0]
call fcn.140007060
jmp 0x1401d469d
movsx eax, byte [rsp + 0x40]
cmp eax, 0x2a
jne 0x1401d4461
lea rdx, [rsp + 0x42]
lea rcx, [rsp + 0x1a68]
call fcn.1400ecc70
nop
mov dx, reloc.WS2_32.dll_listen
lea rcx, [rsp + 0x1a68]
call fcn.140022420
mov dx, 0xa
lea rcx, [rsp + 0x1a68]
call fcn.140022420
lea rcx, [rsp + 0x1a68]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x1a60], eax
mov rcx, qword [rsp + 0x448]
add rcx, 0x228
mov edx, dword [rsp + 0x1a60]
call fcn.140015d30
lea rcx, [rsp + 0x1a58]
call fcn.140002d10
nop
mov r8d, dword [rsp + 0x1a60]
lea rdx, str.Synchronized__d__
lea rcx, [rsp + 0x1a58]
call fcn.140002ba0
lea rcx, [rsp + 0x1a58]
call fcn.140050200
mov r8, rax
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
nop
lea rcx, [rsp + 0x1a58]
call fcn.140007060
nop
lea rcx, [rsp + 0x1a68]
call fcn.140007060
jmp 0x1401d4313
movsx eax, byte [rsp + 0x40]
cmp eax, 0x2b
je 0x1401d453b
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rsp + 0x45]
lea rdx, str.VERSION_ERROR_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d44ad
lea rdx, str.Target_servers_CCBoot_version_does_not_match.
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.PARAM_ERROR_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d44d6
lea rdx, str.Specified_parameters_are_incorrect.
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.NET_USE_FAILED_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d44ff
lea rdx, str.Access_Denied
lea rcx, [rsp + 0x450]
call fcn.140002020
lea rcx, [rsp + 0x45]
lea rdx, str.COPY_FILE_FAILED_r_n
call fcn.1400af160
test eax, eax
jne 0x1401d4529
lea rdx, str.Failed_to_copy_image_file_to_target_server.
lea rcx, [rsp + 0x450]
call fcn.140002020
nop
lea rcx, [rsp + 0x7b0]
call fcn.140007060
jmp 0x1401d469d
lea rdx, str.end_syncto
xor ecx, ecx
call fcn.1400de020
xor r8d, r8d
lea rdx, [0x140232c40]
xor ecx, ecx
call sub.NETAPI32.dll_NetShareDel
mov edx, 1
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_shutdown]
mov r9d, 0x400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400da6e0
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rsp + 0x1c50]
mov qword [rdx + 0x208], 0xffffffffffffffff
mov rcx, qword [rsp + 0x448]
add rcx, 0x228
mov edx, 0x64
call fcn.140015d30
lea r8, str.Synchronization_completed.
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
mov dword [rsp + 0x7ac], 0
mov dword [rsp + 0x7a0], 0
mov edx, 1
mov rcx, qword [rsp + 0x448]
call fcn.1400799cc
mov edx, 1
mov rcx, rax
call fcn.140079cc0
mov rdx, qword [rsp + 0x1c50]
mov dword [rdx + 0x220], 0
mov dword [rsp + 0x1b18], 0
lea rcx, [rsp + 0x7b0]
call fcn.140007060
nop
lea rcx, [rsp + 0x450]
call fcn.140007060
nop
lea rcx, [rsp + 0x458]
call fcn.140007060
nop
lea rcx, [rsp + 0x440]
call fcn.140007060
nop
lea rcx, [rsp + 0x460]
call fcn.140005e30
mov eax, dword [rsp + 0x1b18]
jmp 0x1401d47c4
xor r8d, r8d
lea rdx, [0x140232c98]
xor ecx, ecx
call sub.NETAPI32.dll_NetShareDel
mov edx, 1
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_shutdown]
mov r9d, 0x400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x1c50]
mov rdx, qword [rdx + 0x208]
mov rcx, qword [rsp + 0x1c50]
call fcn.1400da6e0
mov rcx, qword [rsp + 0x1c50]
mov rcx, qword [rcx + 0x208]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rsp + 0x1c50]
mov qword [rdx + 0x208], 0xffffffffffffffff
mov rax, qword [rsp + 0x1c50]
cmp dword [rax + 0x220], 0
je 0x1401d4769
lea rcx, [rsp + 0x450]
call fcn.140050200
mov r8, rax
mov edx, 0x561
mov rcx, qword [rsp + 0x448]
call fcn.140079a3c
mov edx, 1
mov rcx, qword [rsp + 0x448]
call fcn.1400799cc
mov edx, 1
mov rcx, rax
call fcn.140079cc0
mov rax, qword [rsp + 0x1c50]
mov dword [rax + 0x220], 0
mov dword [rsp + 0x1b1c], 0
lea rcx, [rsp + 0x450]
call fcn.140007060
nop
lea rcx, [rsp + 0x458]
call fcn.140007060
nop
lea rcx, [rsp + 0x440]
call fcn.140007060
nop
lea rcx, [rsp + 0x460]
call fcn.140005e30
mov eax, dword [rsp + 0x1b1c]
mov rcx, qword [rsp + 0x1c38]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1c40
pop rdi
ret