Function at 0x1002d8b0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x720]
sub esp, 0x720
push 0xfffffffffffffffe
push 0x10185e98
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x71c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x208], bl
push 0x103
push ebx
lea eax, [ebp + 0x209]
push eax
call fcn.1012e060
mov byte [ebp + 0x410], bl
push 0x207
push ebx
lea ecx, [ebp + 0x411]
push ecx
call fcn.1012e060
add esp, 0x18
call fcn.10016ab0
xor ecx, ecx
call fcn.1007aaf0
test eax, eax
jne 0x1002d969
push str._COMM__User_context_is_NOT_SYSTEM__No_point_loading_Comm_Server__as_SystemUser__
lea edx, [ebp + 0x410]
push edx
call fcn.10127dc0
lea eax, [ebp + 0x410]
push eax
push 0x1014d8cc
call fcn.10017540
add esp, 0x10
jmp 0x1002dcc9
push 0x101acb68
push str._COMM__Invoking_CommServer_as_SYSTEM_User__MSINI:_s_
lea ecx, [ebp + 0x410]
push ecx
call fcn.10127dc0
lea edx, [ebp + 0x410]
push edx
push 0x1014d8cc
call fcn.10017540
add esp, 0x14
push 1
mov ecx, str.commstrt_system_mutex
call fcn.10067220
mov esi, eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x1002da2a
cmp eax, 0xb7
jne 0x1002d9ef
cmp esi, ebx
je 0x1002da2a
push str._COMM__Comm_Server_As_System_User_Already_Running_
lea eax, [ebp + 0x410]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x410]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
mov dword [ebp - 0x1c], ebx
jmp 0x1002dcc9
push 0x104
lea esi, [ebp + 0x208]
call fcn.10065360
push eax
push str._COMM__Unable_to_create_COMM_SERVER_AS_SYSTEM_MUTEX_NAME__Error:__s.
lea eax, [ebp + 0x410]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x410]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x18
jmp 0x1002dcc9
push 0x154
push ebx
push 0x101b34b8
call fcn.1012e060
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [0x101acb68], 0
je 0x1002daea
push 0x101acb68
push 0x104
lea edx, [ebp + 0x618]
push edx
push str.127.0.0.1
push str.CommServerSystemBindIP
push 0x10156244
call edi
lea eax, [ebp + 0x618]
push eax
push 0x101b35f2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x101acb68
push 0x104
lea ecx, [ebp + 0x618]
push ecx
push str.2228
push str.CommServerSystemBindPort
push 0x10156244
call edi
lea edx, [ebp + 0x618]
push edx
call fcn.10128238
add esp, 4
mov word [0x101b35f0], ax
cmp ax, bx
jne 0x1002daea
push str._COMM__System_CommServ_Disabled.
lea eax, [ebp + 0x410]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x410]
push ecx
push 0x1014d8cc
call fcn.10017540
add esp, 0x10
jmp 0x1002dcc9
cmp byte [0x101b35f2], 0
jne 0x1002db03
push str.127.0.0.1
push 0x101b35f2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp word [0x101b35f0], bx
jne 0x1002db18
mov edx, 0x8b4
mov word [0x101b35f0], dx
mov dword [0x101b320c], 2
push ebx
mov ecx, 0x101b34b8
call fcn.10020870
add esp, 4
cmp eax, 1
jne 0x1002dc99
mov byte [ebp + 0x618], 0
push 0x103
push ebx
lea eax, [ebp + 0x619]
push eax
call fcn.1012e060
mov byte [ebp], 0
push 0x207
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.1012e060
movzx edx, word [0x101b35f0]
push edx
push 0x101b35f2
push str._COMM__System_CommServer_Started_on__s:_d
lea eax, [ebp + 0x410]
push eax
call fcn.10127dc0
lea ecx, [ebp + 0x410]
push ecx
push 0x1014d8cc
call fcn.10017540
mov byte [ebp + 0x30c], 0
push 0x103
push ebx
lea edx, [ebp + 0x30d]
push edx
call fcn.1012e060
add esp, 0x3c
mov dword [ebp - 0x20], ebx
lea esi, [ebp + 0x30c]
call fcn.1005ead0
test eax, eax
jne 0x1002dbe0
cmp byte [ebp + 0x30c], al
je 0x1002dbe8
push eax
mov eax, esi
push eax
push 0x101b3768
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x1002dbe8
mov ebx, 1
mov dword [ebp - 0x20], ebx
push 0x101acb68
push 0x104
lea ecx, [ebp + 0x618]
push ecx
push 0x1015f288
push str.DaemonEnabled
push 0x10156244
call edi
mov eax, dword [0x101aa494]
test eax, eax
je 0x1002dc6f
mov cl, byte [ebp + 0x618]
cmp cl, 0x30
je 0x1002dc6f
test ebx, ebx
je 0x1002dc27
cmp cl, 0x32
jne 0x1002dc6f
lea esi, [ebp]
call fcn.1008f9d0
test eax, eax
je 0x1002dc4f
push str._COMM__RMM_Daemon_Process_started_successfully.
call fcn.10017540
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
jmp 0x1002dc90
lea edx, [ebp]
push edx
push str._COMM__RMM_Daemon_Process_Failed__Reason:__s
call fcn.10017540
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
jmp 0x1002dc90
lea ecx, [ebp + 0x618]
push ecx
push ebx
push eax
push str._COMM__Not_starting_RMM_Daemon._SMBCorp_u__CloudClient:_u__DaemonEnabled:_s
call fcn.10017540
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002dc90
push 0x3e8
call esi
jmp 0x1002dc90
lea edx, [ebp - 0x1c]
push edx
call fcn.10082e10
call fcn.10096dc0
push str._COMM__StartCommServerAsSystemUser_Failed_
jmp 0x1002dac5
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x71c]
xor ecx, ebp
call fcn.10127db1
add ebp, 0x720
mov esp, ebp
pop ebp
ret