Function at 0x140192310
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
push rdi
mov eax, 0x1300
call fcn.1401e9500
sub rsp, rax
mov rax, qword [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x12f8], rax
lea rax, [rsp + 0x1230]
mov qword [rsp + 0x1238], rax
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140257238]
mov rcx, qword [rsp + 0x1238]
call fcn.1400010b0
mov qword [rsp + 0x12a0], rax
mov rcx, qword [rsp + 0x12a0]
call fcn.1401cb5a0
mov r8d, 0x3e8
lea rdx, [rsp + 0x810]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x2e
lea rcx, [rsp + 0x810]
call fcn.14000b150
mov rdx, rax
xor eax, eax
mov word [rdx], ax
lea rdx, [0x140257248]
lea rcx, [rsp + 0x810]
call fcn.1400aac14
lea rdx, [rsp + 0x810]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x3e8
lea r9, [rsp + 0x40]
lea r8, [0x140257258]
lea rdx, str.ServerBindIP
lea rcx, [0x140257288]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140257298]
lea rcx, [rsp + 0x1248]
call fcn.1400010b0
mov qword [rsp + 0x12a8], rax
mov rcx, qword [rsp + 0x12a8]
call fcn.140050200
mov r9, rax
mov r8d, 1
lea rdx, str.StartTFTP
lea rcx, [0x1402572c8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x140192455
mov dword [rsp + 0x12b0], 1
jmp 0x140192460
mov dword [rsp + 0x12b0], 0
movzx eax, byte [rsp + 0x12b0]
mov byte [rsp + 0x1240], al
lea rcx, [rsp + 0x1248]
call fcn.140007060
movzx edx, byte [rsp + 0x1240]
test edx, edx
je 0x1401924a4
lea rdx, str.Stop_TFTP_Service
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c7ba0]
call fcn.1400da120
jmp 0x1401924d9
lea rdx, [0x140257300]
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c7ba0]
call fcn.1400da120
mov r9d, 1
lea r8, [0x140257328]
xor edx, edx
lea rcx, [0x1403c7ba0]
call fcn.1400e3c20
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140257338]
lea rcx, [rsp + 0x1258]
call fcn.1400010b0
mov qword [rsp + 0x12b8], rax
mov rcx, qword [rsp + 0x12b8]
call fcn.140050200
mov r9, rax
mov r8d, 1
lea rdx, str.StartDHCP
lea rcx, [0x140257368]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x14019253e
mov dword [rsp + 0x12c0], 1
jmp 0x140192549
mov dword [rsp + 0x12c0], 0
movzx eax, byte [rsp + 0x12c0]
mov byte [rsp + 0x1250], al
lea rcx, [rsp + 0x1258]
call fcn.140007060
movzx edx, byte [rsp + 0x1250]
test edx, edx
je 0x14019258d
lea rdx, str.Stop_DHCP_Service
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c6d00]
call fcn.1400da120
jmp 0x1401925bf
lea rdx, [0x1402573a0]
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c6d00]
call fcn.1400da120
lea r8, [0x1402573c8]
mov edx, 0x43
lea rcx, [0x1403c6d00]
call fcn.140117370
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x1402573d8]
lea rcx, [rsp + 0x1268]
call fcn.1400010b0
mov qword [rsp + 0x12c8], rax
mov rcx, qword [rsp + 0x12c8]
call fcn.140050200
mov r9, rax
mov r8d, 1
lea rdx, str.StartProxyDHCP
lea rcx, [0x140257410]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x140192624
mov dword [rsp + 0x12d0], 1
jmp 0x14019262f
mov dword [rsp + 0x12d0], 0
movzx eax, byte [rsp + 0x12d0]
mov byte [rsp + 0x1260], al
lea rcx, [rsp + 0x1268]
call fcn.140007060
movzx edx, byte [rsp + 0x1260]
test edx, edx
je 0x140192676
lea rdx, str.Stop_Proxy_DHCP_Service
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c7080]
call fcn.1400da120
jmp 0x140192740
lea rdx, str.Change_Proxy_DHCP_Service
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c7080]
call fcn.1400da120
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140257488]
lea rcx, [rsp + 0x1270]
call fcn.1400010b0
mov qword [rsp + 0x12d8], rax
mov rcx, qword [rsp + 0x12d8]
call fcn.140050200
mov r9, rax
mov r8d, 0xfab
lea rdx, str.ProxyDhcpPort
lea rcx, [0x1402574c0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x1010], eax
lea rcx, [rsp + 0x1270]
call fcn.140007060
cmp dword [rsp + 0x1010], 0x43
jne 0x140192728
lea rcx, [0x1403c6d00]
call fcn.1400da120
lea r8, [0x1402574d0]
mov edx, 0x43
lea rcx, [0x1403c6d00]
call fcn.140117370
jmp 0x140192740
lea r8, [0x1402574e0]
mov edx, 0xfab
lea rcx, [0x1403c7080]
call fcn.140117370
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x1402574f0]
lea rcx, [rsp + 0x1280]
call fcn.1400010b0
mov qword [rsp + 0x12e0], rax
mov rcx, qword [rsp + 0x12e0]
call fcn.140050200
mov r9, rax
mov r8d, 1
lea rdx, str.StartiSCSI
lea rcx, [0x140257520]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x1278], eax
lea rcx, [rsp + 0x1280]
call fcn.140007060
cmp dword [rsp + 0x1278], 0
je 0x140192927
lea rdx, [0x1403c8910]
add rdx, 0x228
lea r8, [0x140257530]
lea rcx, [rsp + 0x1288]
call fcn.1400010b0
mov qword [rsp + 0x12e8], rax
mov rcx, qword [rsp + 0x12e8]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, str.iSCSIPort
lea rcx, [0x140257560]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x1014], eax
lea rcx, [rsp + 0x1288]
call fcn.140007060
cmp dword [rsp + 0x1014], 0
jne 0x1401928e0
xor eax, eax
mov word [rsp + 0x1020], ax
lea rdi, [rsp + 0x1022]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x1020]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x1014], 0xcbc
jmp 0x140192878
mov eax, dword [rsp + 0x1014]
add eax, 1
mov dword [rsp + 0x1014], eax
cmp dword [rsp + 0x1014], 0xcc1
jae 0x1401928e0
mov r8d, 1
mov edx, dword [rsp + 0x1014]
lea rcx, [rsp + 0x1298]
call fcn.1400dd250
mov qword [rsp + 0x12f0], rax
lea rdx, [rsp + 0x1020]
mov rcx, qword [rsp + 0x12f0]
call fcn.140006dd0
mov byte [rsp + 0x1290], al
lea rcx, [rsp + 0x1298]
call fcn.140007060
movzx edx, byte [rsp + 0x1290]
test edx, edx
je 0x1401928de
jmp 0x1401928e0
jmp 0x140192867
lea rdx, str.Change_iSCSI_Target_Service
xor ecx, ecx
call fcn.1400de020
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x1014]
lea rcx, [0x1403c66e0]
call fcn.1401422e0
test eax, eax
jne 0x140192925
mov r8d, dword [rsp + 0x1014]
lea rdx, [0x1402575e0]
lea rcx, [0x1403c8910]
call fcn.1401cfde0
jmp 0x140192941
lea rdx, [0x1402575a8]
xor ecx, ecx
call fcn.1400de020
lea rcx, [0x1403c66e0]
call fcn.140142040
mov eax, 1
mov rcx, qword [rsp + 0x12f8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x1300
pop rdi
ret