Function at 0x100158f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b33f9
mov eax, dword fs:[0]
push eax
mov eax, 0x10ec
call fcn.100ac4a0
mov eax, dword [0x100f101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10f8], edx
mov esi, ecx
mov ecx, 0x100d2804
mov dword [ebp - 0x10e4], 0
xor eax, eax
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 7
mov word [ebp - 0x10f4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015963
sub ecx, edx
sar ecx, 1
push ecx
push 0x100d2804
lea ecx, [ebp - 0x10f4]
call fcn.100039c0
lea eax, [ebp - 0x10f4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x107c]
push esi
push eax
call fcn.10008000
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10e0]
cmp edx, 8
jb 0x100159e5
mov ecx, dword [ebp - 0x10f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100159db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015ff6
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 7
mov word [ebp - 0x10f4], ax
lea eax, [ebp - 0x107c]
mov byte [ebp - 4], 2
push eax
call fcn.10006900
add esp, 4
test al, al
je 0x10015f6f
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10081e90
add esp, 0xc
lea eax, [ebp - 0x107c]
cmp dword [ebp - 0x1068], 8
cmovae eax, dword [ebp - 0x107c]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x100d5934
push str.RunningFlag
push str.ServiceRunInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10015f6f
cmp word [ebp - 0x1010], 0
je 0x10015f6f
xor eax, eax
mov dword [ebp - 0x10e4], 0
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10e4], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x10e0], 7
mov word [ebp - 0x10f4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015ac0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10f4]
call fcn.100039c0
lea eax, [ebp - 0x10f4]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x10dc]
push eax
call fcn.1002c8a0
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x10e0]
cmp edx, 8
jb 0x10015b40
mov ecx, dword [ebp - 0x10f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015b36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015ffb
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 7
mov word [ebp - 0x10f4], ax
lea eax, [ebp - 0x10dc]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x10ac]
push eax
call fcn.10052a80
add esp, 8
lea ecx, [ebp - 0x10c4]
mov byte [ebp - 4], 0x1a
call fcn.10009ad0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x10c4]
cmp dword [ebp - 0x1098], 0x10
lea ecx, [ebp - 0x10ac]
mov edx, dword [ebp - 0x109c]
cmovae ecx, dword [ebp - 0x10ac]
push eax
call fcn.100120d0
add esp, 4
test al, al
je 0x10015f3e
cmp dword [ebp - 0x10b4], 0
je 0x10015f3e
lea eax, [ebp - 0x10c4]
push eax
lea eax, [ebp - 0x1094]
push eax
call fcn.1002c810
mov edx, 0x100d58f0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1094]
call fcn.10008ee0
mov edx, 0x100d58f0
lea ecx, [ebp - 0x1094]
call fcn.10008f60
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
movq qword [ebp - 0x101c], xmm0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x1094]
push 0x3b
push eax
call fcn.10009650
mov ecx, dword [ebp - 0x1018]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x101c]
add esp, 0x14
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jae 0x10015c79
xor bl, bl
jmp 0x10015ec8
cmp dword [esi + 0x14], 8
jb 0x10015c81
mov esi, dword [esi]
push 0
push esi
call fcn.10008b10
mov edi, eax
lea ecx, [ebp - 0x1064]
mov eax, dword [ebp - 0x101c]
add esp, 8
add eax, 0x18
push eax
call fcn.10006740
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x104c]
mov eax, dword [ebp - 0x101c]
add eax, 0x30
push eax
call fcn.10006740
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x1034]
mov eax, dword [ebp - 0x101c]
add eax, 0x48
push eax
call fcn.10006740
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 0x2c
call fcn.100039b0
mov eax, dword [eax + 0x10]
cmp eax, 4
jne 0x10015d9f
lea ecx, [ebp - 0x104c]
call fcn.100039b0
mov eax, dword [eax + 0x10]
cmp eax, 2
jne 0x10015d9f
lea ecx, [ebp - 0x1034]
call fcn.100039b0
mov eax, dword [eax + 0x10]
cmp eax, 2
jne 0x10015d9f
cmp dword [ebp - 0x1050], 8
lea eax, [ebp - 0x1064]
push 0
cmovae eax, dword [ebp - 0x1064]
push eax
call fcn.10008b10
cmp dword [ebp - 0x1038], 8
mov esi, eax
lea eax, [ebp - 0x104c]
cmovae eax, dword [ebp - 0x104c]
push 0
push eax
call fcn.10008b10
cmp dword [ebp - 0x1020], 8
mov ebx, eax
lea eax, [ebp - 0x1034]
cmovae eax, dword [ebp - 0x1034]
push 0
push eax
call fcn.10008b10
add esp, 0x18
mov ecx, eax
test esi, esi
jle 0x10015d9f
lea eax, [ebx - 1]
cmp eax, 0xb
ja 0x10015d9f
lea eax, [ecx - 1]
cmp eax, 0x1e
ja 0x10015d9f
test edi, edi
je 0x10015d9f
mov eax, dword [ebp - 0x10f8]
mov bl, 1
mov dword [eax], edi
jmp 0x10015da1
xor bl, bl
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0x1020]
cmp edx, 8
jb 0x10015de5
mov ecx, dword [ebp - 0x1034]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015ddb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016000
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 7
mov word [ebp - 0x1034], ax
mov byte [ebp - 4], 0x45
mov edx, dword [ebp - 0x1038]
cmp edx, 8
jb 0x10015e46
mov ecx, dword [ebp - 0x104c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015e3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016005
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 7
mov word [ebp - 0x104c], ax
mov byte [ebp - 4], 0x49
mov edx, dword [ebp - 0x1050]
cmp edx, 8
jb 0x10015ea7
mov ecx, dword [ebp - 0x1064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015e9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001600a
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 7
mov word [ebp - 0x1064], ax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 0x20
call fcn.10004d30
mov byte [ebp - 4], 0x4d
mov edx, dword [ebp - 0x1080]
cmp edx, 8
jb 0x10015f1b
mov ecx, dword [ebp - 0x1094]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015f11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001600f
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x1080], 7
mov word [ebp - 0x1094], ax
mov byte [ebp - 4], 0x1b
jmp 0x10015f40
xor bl, bl
lea ecx, [ebp - 0x10c4]
mov byte [ebp - 4], 0x1a
call fcn.10009a40
lea ecx, [ebp - 0x10ac]
mov byte [ebp - 4], 0x15
call fcn.10009a40
lea ecx, [ebp - 0x10dc]
mov byte [ebp - 4], 2
call fcn.10009a40
jmp 0x10015f71
xor bl, bl
mov dword [ebp - 4], 0x51
mov edx, dword [ebp - 0x1068]
cmp edx, 8
jb 0x10015fb4
mov ecx, dword [ebp - 0x107c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015faa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016014
push edx
push ecx
call fcn.1007fceb
add esp, 8
xor eax, eax
mov dword [ebp - 0x106c], 0
mov dword [ebp - 0x1068], 7
mov word [ebp - 0x107c], ax
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f947
mov esp, ebp
pop ebp
ret
call fcn.10083a12
call fcn.10083a12
call fcn.10083a12
call fcn.10083a12
call fcn.10083a12
call fcn.10083a12
call fcn.10083a12
int3