Function at 0x10012930
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x1007a664]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.100113e0
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x425
push esi
call ebp
mov ecx, dword [0x1007e41c]
mov dword [esp + 0x20], eax
mov eax, dword [0x1007e418]
add ecx, eax
xor ebx, ebx
cmp eax, ecx
mov edi, eax
jbe 0x10012985
call fcn.1002f51b
mov eax, dword [0x1007e418]
mov ecx, 0x1007e40c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, ecx
lea ebx, [ebx]
mov edx, dword [0x1007e41c]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x100129b6
call fcn.1002f51b
test ebx, ebx
je 0x100129c2
cmp ebx, 0x1007e40c
je 0x100129c7
call fcn.1002f51b
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x10012a4a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x100129de
call fcn.1002f51b
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100129ef
call fcn.1002f51b
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10012a00
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x10012a18
mov eax, dword [eax + 4]
jmp 0x10012a1b
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call edi
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebx + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x10012a3b
call fcn.1002f51b
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e418]
jmp 0x100129a0
push 0x426
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x1007e3c8]
mov edx, dword [0x1007e3cc]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10012a83
call fcn.1002f51b
mov eax, dword [0x1007e3c8]
mov ecx, 0x1007e3bc
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10012aa0
mov edx, dword [0x1007e3cc]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012ab6
call fcn.1002f51b
test ebx, ebx
je 0x10012ac2
cmp ebx, 0x1007e3bc
je 0x10012ac7
call fcn.1002f51b
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x10012b4a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x10012ade
call fcn.1002f51b
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x10012aef
call fcn.1002f51b
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10012b00
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x10012b18
mov eax, dword [eax + 4]
jmp 0x10012b1b
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call edi
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebx + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x10012b3b
call fcn.1002f51b
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e3c8]
jmp 0x10012aa0
push 0x429
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x1007e404]
mov edx, dword [0x1007e408]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10012b83
call fcn.1002f51b
mov eax, dword [0x1007e404]
mov ecx, 0x1007e3f8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10012ba0
mov edx, dword [0x1007e408]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012bb6
call fcn.1002f51b
test ebx, ebx
je 0x10012bc2
cmp ebx, 0x1007e3f8
je 0x10012bc7
call fcn.1002f51b
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x10012c4a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x10012bde
call fcn.1002f51b
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x10012bef
call fcn.1002f51b
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10012c00
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x10012c18
mov eax, dword [eax + 4]
jmp 0x10012c1b
add eax, 4
push eax
mov eax, dword [esp + 0x24]
push 0
push 0x180
push eax
call edi
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebx + 0x10]
cmp dword [esp + 0x1c], ecx
jb 0x10012c3b
call fcn.1002f51b
add dword [esp + 0x1c], 1
mov eax, dword [0x1007e404]
jmp 0x10012ba0
call fcn.100248e0
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.1002f353
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x1004201a
push str.laogongpo
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10012ca0
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10073868
call fcn.1000e180
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x24]
push eax
push 0x43a
push esi
call ebx
lea ecx, [esp + 0x9c]
push ecx
push 0x64
lea edx, [esp + 0x2c]
push edx
push 0x1004201a
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 0x10012d00
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1007384c
call fcn.1000e180
lea ecx, [esp + 0x24]
push ecx
push 0x435
push esi
call ebx
lea edx, [esp + 0x9c]
push edx
push 0x64
lea eax, [esp + 0x2c]
push eax
push 0x1004201a
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 0x10012d53
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10073884
call fcn.1000e180
lea edx, [esp + 0x24]
push edx
push 0x436
push esi
call ebx
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x1004201a
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 0x10012da6
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x100738a0
call fcn.1000e180
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call ebx
mov ecx, dword [0x1007ea58]
push ecx
lea edx, [esp + 0x8c]
push 0x1004201c
push edx
call fcn.1002f2d8
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call ebx
movzx ecx, word [0x1007ea64]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call ebx
movzx edx, word [0x1007ea94]
push 0
push edx
push 0x401
push 0x461
push esi
call ebx
movzx eax, word [0x1007ea68]
push 0
push eax
push 0x401
push 0x462
push esi
call ebx
mov ecx, dword [0x1007eae8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x459
push esi
call ebx
mov edx, dword [0x1007eaf0]
push 0
push edx
push 0x45a
push esi
call ebx
push 0x449
push esi
call ebp
mov ecx, dword [0x1007ea54]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x45b
push esi
call ebp
mov edx, dword [0x1007eae4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x46c
push esi
call ebp
mov ecx, dword [0x1007eaf8]
push ecx
push eax
call fcn.100092e0
push 0x46b
push esi
call ebp
mov edx, dword [0x1007eaf4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x45c
push esi
call ebp
mov ecx, dword [0x1007eaec]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x400
push esi
call ebp
mov edx, dword [0x1007eafc]
push 0
push edx
push 0xf1
push eax
call edi
push 0x4dc
push esi
call ebp
mov ecx, dword [0x1007eb00]
push 0
push ecx
push 0xf1
push eax
call edi
mov edx, dword [0x1007eb04]
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 edi
mov eax, dword [0x1007f2ac]
test eax, eax
jne 0x10012f4b
mov eax, 0x43d
jmp 0x10012f5a
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 edi
push esi
call fcn.1000f800
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1002dd43
add esp, 0x190
ret 4