Function at 0x101808f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f9be8
mov eax, dword fs:[0]
push eax
mov eax, 0x10c4
call fcn.10191780
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10203680
lea ecx, [ebp - 0x10b8]
call fcn.10008860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10b8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1034]
push edx
call fcn.1000e680
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.10008820
lea eax, [ebp - 0x1034]
push eax
call fcn.1000eb90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10180999
mov byte [ebp - 0x1095], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.10008820
mov al, byte [ebp - 0x1095]
jmp 0x10180c99
push 0x1000
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.101a9880
add esp, 0xc
lea ecx, [ebp - 0x1034]
call fcn.100099e0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x1020390c
push str.ServiceFlag
push str.ServiceRunInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10180a04
mov byte [ebp - 0x1096], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.10008820
mov al, byte [ebp - 0x1096]
jmp 0x10180c99
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
jne 0x10180a3c
mov byte [ebp - 0x1097], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.10008820
mov al, byte [ebp - 0x1097]
jmp 0x10180c99
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x10d0]
call fcn.10008860
mov byte [ebp - 4], 3
lea edx, [ebp - 0x10d0]
push edx
lea eax, [ebp - 0x1094]
push eax
call fcn.1000b610
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10d0]
call fcn.10008820
lea ecx, [ebp - 0x1094]
push ecx
lea edx, [ebp - 0x1064]
push edx
call fcn.100c4260
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x104c]
call fcn.1000b9c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x1064]
call fcn.10009ba0
push eax
lea ecx, [ebp - 0x1064]
call fcn.1000b830
push eax
call fcn.1017dfe0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x10180ae0
lea ecx, [ebp - 0x104c]
call fcn.10009930
movzx edx, al
test edx, edx
je 0x10180b31
mov byte [ebp - 0x1098], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x104c]
call fcn.1000b890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1064]
call fcn.1000b890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1094]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.10008820
mov al, byte [ebp - 0x1098]
jmp 0x10180c99
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x107c]
push ecx
call fcn.1000b510
add esp, 8
mov byte [ebp - 4], 8
push 0x10203910
lea edx, [ebp - 0x107c]
push edx
call fcn.10010dd0
add esp, 8
push 0xc
lea ecx, [ebp - 0x101c]
call fcn.10008df0
lea ecx, [ebp - 0x101c]
call fcn.1000d2b0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x101c]
push eax
push 0x3b
lea ecx, [ebp - 0x107c]
push ecx
call fcn.1000f900
add esp, 0xc
mov dword [ebp - 0x10a0], 0
jmp 0x10180bae
mov edx, dword [ebp - 0x10a0]
add edx, 1
mov dword [ebp - 0x10a0], edx
lea ecx, [ebp - 0x101c]
call fcn.1000d140
cmp dword [ebp - 0x10a0], eax
jae 0x10180c2f
cmp dword [ebp - 0x10a0], 0
jne 0x10180bf6
mov eax, dword [ebp - 0x10a0]
push eax
lea ecx, [ebp - 0x101c]
call fcn.1000d130
mov ecx, eax
call fcn.100099e0
push eax
call fcn.101b1dc1
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x10180c2a
cmp dword [ebp - 0x10a0], 1
jne 0x10180c2a
mov edx, dword [ebp - 0x10a0]
push edx
lea ecx, [ebp - 0x101c]
call fcn.1000d130
mov ecx, eax
call fcn.100099e0
push eax
call fcn.101b1dc1
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x10180b9f
mov byte [ebp - 0x1099], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x101c]
call fcn.1000d270
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x107c]
call fcn.10008820
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x104c]
call fcn.1000b890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1064]
call fcn.1000b890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1094]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.10008820
mov al, byte [ebp - 0x1099]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
ret