Function at 0x10157b10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f685
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101f4a84]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x894], eax
mov eax, dword [esi]
mov dword [ebp - 0x878], ecx
mov dword [ebp - 0x82c], eax
cmp eax, esi
je 0x101580f6
cmp dword [eax + 0x24], 8
lea edi, [eax + 0x10]
mov edx, edi
jb 0x10157b72
mov edx, dword [edi]
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x10157b7c
mov eax, dword [ecx]
test eax, eax
je 0x10157b93
test edx, edx
je 0x10157b93
push edx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x10157bb4
lea ecx, [ebp - 0x82c]
call fcn.10007090
mov eax, dword [ebp - 0x82c]
cmp eax, esi
je 0x101580f6
mov ecx, dword [ebp - 0x878]
jmp 0x10157b65
xor eax, eax
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 7
mov word [ebp - 0x85c], ax
mov dword [ebp - 4], 1
lea esi, [edi + 0x18]
lea eax, [ebp - 0x85c]
cmp eax, esi
je 0x10157c12
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10157c03
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x85c]
push eax
call fcn.10007cf0
lea ecx, [ebp - 0x85c]
call fcn.100d7870
test al, al
je 0x1015805f
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x85c]
call fcn.100d86c0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x10157c43
mov esi, dword [esi]
mov edx, str.2345Pinyin
mov ecx, esi
call fcn.10126e00
test al, al
je 0x10157ce9
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x85c]
call fcn.100d8910
mov byte [ebp - 4], 4
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.10128250
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x10157ccb
mov ecx, eax
call fcn.10007c90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x890]
call fcn.10007c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x844]
call fcn.10007c90
push 7
xor eax, eax
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
lea ecx, [ebp - 0x890]
push str.Protect
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 7
mov word [ebp - 0x890], ax
call fcn.10007cf0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10128250
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x10157d8e
mov ecx, eax
call fcn.10007c90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8ac]
call fcn.10007c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x890]
call fcn.10007c90
push 0xa
xor eax, eax
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
lea ecx, [ebp - 0x844]
push str.config.ini
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 7
mov word [ebp - 0x844], ax
call fcn.10007cf0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x874]
push eax
call fcn.10128250
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x844]
call fcn.10007c90
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x874]
cmp dword [ebp - 0x860], 8
cmovae eax, dword [ebp - 0x874]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x10197694
push str.ServiceVersion
push str.ServerLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10157e74
sub ecx, edx
sar ecx, 1
je 0x10158028
push 7
xor eax, eax
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
lea ecx, [ebp - 0x844]
push str.Service
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 7
mov word [ebp - 0x844], ax
call fcn.10007cf0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10128250
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x10157f2e
mov ecx, eax
call fcn.10007c90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8ac]
call fcn.10007c90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x844]
call fcn.10007c90
xor eax, eax
mov dword [ebp - 0x880], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x880], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x87c], 7
mov word [ebp - 0x890], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10157f86
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x890]
call fcn.10007cf0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10128250
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x1015800a
mov ecx, eax
call fcn.10007c90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8ac]
call fcn.10007c90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.10007c90
mov edx, 0x1019ed00
lea ecx, [ebp - 0x828]
call fcn.10127020
cmp dword [ebp - 0x818], 0
jne 0x10158078
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.10007c90
xor al, al
jmp 0x101580f8
mov eax, dword [ebp - 0x878]
mov esi, dword [ebp - 0x894]
cmp esi, eax
je 0x1015809d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10158092
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.10007cf0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
cmp dword [edi + 0x14], 8
jb 0x101580b9
mov edi, dword [edi]
push eax
mov edx, edi
mov ecx, esi
call fcn.10126e60
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.10007c90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret 8