Function at 0x10012ef0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.10011950
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x425
push esi
call ebp
mov ecx, dword [0x1007e474]
mov dword [esp + 0x20], eax
mov eax, dword [0x1007e470]
add ecx, eax
xor edi, edi
cmp eax, ecx
mov ebx, eax
jbe 0x10012f45
call fcn.1002fe90
mov eax, dword [0x1007e470]
mov ecx, 0x1007e464
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, ecx
lea ebx, [ebx]
mov edx, dword [0x1007e474]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012f76
call fcn.1002fe90
test edi, edi
je 0x10012f82
cmp edi, 0x1007e464
je 0x10012f87
call fcn.1002fe90
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001300a
test edi, edi
mov dword [esp + 0x10], eax
jne 0x10012f9e
call fcn.1002fe90
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x10012faf
call fcn.1002fe90
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10012fc0
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x10012fd8
mov eax, dword [eax + 4]
jmp 0x10012fdb
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call ebx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x10012ffb
call fcn.1002fe90
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e470]
jmp 0x10012f60
push 0x426
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call ebx
mov eax, dword [0x1007e420]
mov edx, dword [0x1007e424]
add edx, eax
xor edi, edi
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013043
call fcn.1002fe90
mov eax, dword [0x1007e420]
mov ecx, 0x1007e414
mov dword [esp + 0x14], edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10013060
mov edx, dword [0x1007e424]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10013076
call fcn.1002fe90
test edi, edi
je 0x10013082
cmp edi, 0x1007e414
je 0x10013087
call fcn.1002fe90
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001310a
test edi, edi
mov dword [esp + 0x10], eax
jne 0x1001309e
call fcn.1002fe90
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100130af
call fcn.1002fe90
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x100130c0
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x100130d8
mov eax, dword [eax + 4]
jmp 0x100130db
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call ebx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x100130fb
call fcn.1002fe90
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e420]
jmp 0x10013060
push 0x429
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call ebx
mov eax, dword [0x1007e45c]
mov edx, dword [0x1007e460]
add edx, eax
xor edi, edi
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013143
call fcn.1002fe90
mov eax, dword [0x1007e45c]
mov ecx, 0x1007e450
mov dword [esp + 0x14], edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10013160
mov edx, dword [0x1007e460]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10013176
call fcn.1002fe90
test edi, edi
je 0x10013182
cmp edi, 0x1007e450
je 0x10013187
call fcn.1002fe90
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001320a
test edi, edi
mov dword [esp + 0x10], eax
jne 0x1001319e
call fcn.1002fe90
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100131af
call fcn.1002fe90
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x100131c0
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x100131d8
mov eax, dword [eax + 4]
jmp 0x100131db
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call ebx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x100131fb
call fcn.1002fe90
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e45c]
jmp 0x10013160
call fcn.10024ca0
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.1002ebd0
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x10043369
push str.laogongpo
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10013260
sub eax, edi
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10073878
call fcn.1000e090
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x24]
push eax
push 0x43a
push esi
call edi
lea ecx, [esp + 0x9c]
push ecx
push 0x64
lea edx, [esp + 0x2c]
push edx
push 0x10043369
push str.duizhang
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100132c0
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1007385c
call fcn.1000e090
lea ecx, [esp + 0x24]
push ecx
push 0x435
push esi
call edi
lea edx, [esp + 0x9c]
push edx
push 0x64
lea eax, [esp + 0x2c]
push eax
push 0x10043369
push str.zuzhang
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10013313
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10073894
call fcn.1000e090
lea edx, [esp + 0x24]
push edx
push 0x436
push esi
call edi
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x10043369
push str.jiazuzhang
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10013366
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x100738b0
call fcn.1000e090
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call edi
mov ecx, dword [0x1007ea10]
push ecx
lea edx, [esp + 0x8c]
push 0x1004336c
push edx
call fcn.1002eb55
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call edi
movzx ecx, word [0x1007ea1c]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call edi
movzx edx, word [0x1007ea54]
push 0
push edx
push 0x401
push 0x461
push esi
call edi
movzx eax, word [0x1007ea20]
push 0
push eax
push 0x401
push 0x462
push esi
call edi
movzx ecx, word [0x1007ea24]
push 0
push ecx
push 0x401
push 0x463
push esi
call edi
mov edx, dword [0x1007eaa8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push edx
push 0x459
push esi
call edi
mov eax, dword [0x1007eab0]
push 0
push eax
push 0x45a
push esi
call edi
push 0x449
push esi
call ebp
mov ecx, dword [0x1007ea0c]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x45b
push esi
call ebp
mov edx, dword [0x1007eaa4]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x46c
push esi
call ebp
mov ecx, dword [0x1007eab8]
push ecx
push eax
call fcn.100095e0
push 0x46b
push esi
call ebp
mov edx, dword [0x1007eab4]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x45c
push esi
call ebp
mov ecx, dword [0x1007eaac]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x400
push esi
call ebp
mov edx, dword [0x1007eabc]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x4dc
push esi
call ebp
mov ecx, dword [0x1007eac0]
push 0
push ecx
push 0xf1
push eax
call ebx
mov edx, dword [0x1007eac4]
neg edx
sbb edx, edx
and edx, 0xffffff83
add edx, 0x4b0
push edx
push esi
call ebp
push 0
push 1
push 0xf1
push eax
call ebx
mov eax, dword [0x1007f3c0]
test eax, eax
jne 0x10013521
mov eax, 0x43d
jmp 0x10013530
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xffffffd9
add eax, 0x48f
push eax
push esi
call ebp
push 0
push 1
push 0xf1
push eax
call ebx
push esi
call fcn.1000f7a0
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1002e6c3
add esp, 0x190
ret 4