Function at 0x1015de20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101965b5
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x101f9014]
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 [0x101fdde4]
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 0x1015e406
cmp dword [eax + 0x24], 8
lea edi, [eax + 0x10]
mov edx, edi
jb 0x1015de82
mov edx, dword [edi]
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x1015de8c
mov eax, dword [ecx]
test eax, eax
je 0x1015dea3
test edx, edx
je 0x1015dea3
push edx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x1015dec4
lea ecx, [ebp - 0x82c]
call fcn.10007190
mov eax, dword [ebp - 0x82c]
cmp eax, esi
je 0x1015e406
mov ecx, dword [ebp - 0x878]
jmp 0x1015de75
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 0x1015df22
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1015df13
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x85c]
push eax
call fcn.10007df0
lea ecx, [ebp - 0x85c]
call fcn.100dd960
test al, al
je 0x1015e36f
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x85c]
call fcn.100de7b0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x1015df53
mov esi, dword [esi]
mov edx, str.2345Pinyin
mov ecx, esi
call fcn.1012cea0
test al, al
je 0x1015dff9
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x85c]
call fcn.100dea00
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.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x1015dfdb
mov ecx, eax
call fcn.10007d90
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.10007d90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x844]
call fcn.10007d90
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.10007df0
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.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x1015e09e
mov ecx, eax
call fcn.10007d90
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.10007d90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x890]
call fcn.10007d90
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.10007df0
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.1012e2f0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x844]
call fcn.10007d90
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 0x1019e6d4
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 0x1015e184
sub ecx, edx
sar ecx, 1
je 0x1015e338
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.10007df0
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.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x1015e23e
mov ecx, eax
call fcn.10007d90
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.10007d90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x844]
call fcn.10007d90
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 0x1015e296
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x890]
call fcn.10007df0
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.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x1015e31a
mov ecx, eax
call fcn.10007d90
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.10007d90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.10007d90
mov edx, 0x101a70a0
lea ecx, [ebp - 0x828]
call fcn.1012d0c0
cmp dword [ebp - 0x818], 0
jne 0x1015e388
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.10007d90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.10007d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.10007d90
xor al, al
jmp 0x1015e408
mov eax, dword [ebp - 0x878]
mov esi, dword [ebp - 0x894]
cmp esi, eax
je 0x1015e3ad
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1015e3a2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.10007df0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
cmp dword [edi + 0x14], 8
jb 0x1015e3c9
mov edi, dword [edi]
push eax
mov edx, edi
mov ecx, esi
call fcn.1012cf00
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x874]
call fcn.10007d90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.10007d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.10007d90
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.101669b4
mov esp, ebp
pop ebp
ret 8