Function at 0x180001800
Capabilities:
Delete file
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1803b0b00]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rcx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call fcn.18014af80
cmp qword [rsi + 0x40], 0x10
lea rbx, [rsi + 0x28]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
jb 0x180001859
mov rcx, qword [rbx]
jmp 0x18000185c
mov rcx, rbx
lea rax, [rsp + 0x30]
lea r9, str.172.30.203.134
lea r8, str.ServerIp
lea rdx, str.SvrIp
mov qword [rsp + 0x20], rax
call fcn.180001600
test eax, eax
je 0x180001898
lea rcx, str.ReadUserConfig_SvrIp_fail
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x180001a96
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x178], rdi
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
je 0x1800018c9
lea rcx, [rsi + 0x4c8]
lea rdx, [rsp + 0x40]
call fcn.1800081f0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call fcn.18014af80
cmp qword [rbx + 0x18], 0x10
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
jb 0x1800018f1
mov rcx, qword [rbx]
jmp 0x1800018f4
mov rcx, rbx
lea rax, [rsp + 0x30]
lea r9, str.error
lea r8, str.in_ip
lea rdx, str.FromIp
mov qword [rsp + 0x20], rax
call fcn.180001600
test eax, eax
je 0x180001930
lea rcx, str.ReadUserConfig_FromIp_fail
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x180001a8e
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
je 0x180001959
lea rcx, [rsi + 0x4f0]
lea rdx, [rsp + 0x40]
call fcn.1800081f0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call fcn.18014af80
cmp qword [rbx + 0x18], 0x10
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
jb 0x180001981
mov rcx, qword [rbx]
jmp 0x180001984
mov rcx, rbx
lea rax, [rsp + 0x30]
lea r9, str.error
lea r8, str.in_id
lea rdx, str.HostId
mov qword [rsp + 0x20], rax
call fcn.180001600
test eax, eax
je 0x1800019c0
lea rcx, str.ReadUserConfig_HostId_fail
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x180001a8e
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
je 0x1800019e9
lea rcx, [rsi + 0x540]
lea rdx, [rsp + 0x40]
call fcn.1800081f0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call fcn.18014af80
cmp qword [rbx + 0x18], 0x10
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
jb 0x180001a11
mov rcx, qword [rbx]
jmp 0x180001a14
mov rcx, rbx
lea rax, [rsp + 0x30]
lea r9, str.error
lea r8, str.in_mac
lea rdx, str.HostMac
mov qword [rsp + 0x20], rax
call fcn.180001600
test eax, eax
je 0x180001a4d
lea rcx, str.ReadUserConfig_HostMac_fail
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x180001a8e
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8, rcx
je 0x180001a76
lea rcx, [rsi + 0x568]
lea rdx, [rsp + 0x40]
call fcn.1800081f0
cmp qword [rbx + 0x18], 0x10
jb 0x180001a80
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov rdi, qword [rsp + 0x178]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180146c80
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret