Function at 0x100124f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x1007c654]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.10011000
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x425
push esi
call ebp
mov ecx, dword [0x1008041c]
mov dword [esp + 0x20], eax
mov eax, dword [0x10080418]
add ecx, eax
xor ebx, ebx
cmp eax, ecx
mov edi, eax
jbe 0x10012545
call fcn.1002efab
mov eax, dword [0x10080418]
mov ecx, 0x1008040c
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 [0x1008041c]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012576
call fcn.1002efab
test ebx, ebx
je 0x10012582
cmp ebx, 0x1008040c
je 0x10012587
call fcn.1002efab
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001260a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001259e
call fcn.1002efab
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100125af
call fcn.1002efab
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x100125c0
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 0x100125d8
mov eax, dword [eax + 4]
jmp 0x100125db
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 0x100125fb
call fcn.1002efab
add dword [esp + 0x1c], 1
mov eax, dword [0x10080418]
jmp 0x10012560
push 0x426
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x100803c8]
mov edx, dword [0x100803cc]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10012643
call fcn.1002efab
mov eax, dword [0x100803c8]
mov ecx, 0x100803bc
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10012660
mov edx, dword [0x100803cc]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012676
call fcn.1002efab
test ebx, ebx
je 0x10012682
cmp ebx, 0x100803bc
je 0x10012687
call fcn.1002efab
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001270a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001269e
call fcn.1002efab
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100126af
call fcn.1002efab
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x100126c0
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 0x100126d8
mov eax, dword [eax + 4]
jmp 0x100126db
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 0x100126fb
call fcn.1002efab
add dword [esp + 0x1c], 1
mov eax, dword [0x100803c8]
jmp 0x10012660
push 0x429
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x10080404]
mov edx, dword [0x10080408]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10012743
call fcn.1002efab
mov eax, dword [0x10080404]
mov ecx, 0x100803f8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10012760
mov edx, dword [0x10080408]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10012776
call fcn.1002efab
test ebx, ebx
je 0x10012782
cmp ebx, 0x100803f8
je 0x10012787
call fcn.1002efab
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001280a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001279e
call fcn.1002efab
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100127af
call fcn.1002efab
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x100127c0
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 0x100127d8
mov eax, dword [eax + 4]
jmp 0x100127db
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 0x100127fb
call fcn.1002efab
add dword [esp + 0x1c], 1
mov eax, dword [0x10080404]
jmp 0x10012760
call fcn.100246a0
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.1002ede3
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x1004202b
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 0x10012860
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10075860
call fcn.1000df80
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 0x1004202b
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 0x100128c0
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10075844
call fcn.1000df80
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 0x1004202b
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 0x10012913
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1007587c
call fcn.1000df80
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 0x1004202b
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 0x10012966
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10075898
call fcn.1000df80
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call ebx
mov ecx, dword [0x10080a60]
push ecx
lea edx, [esp + 0x8c]
push 0x1004202c
push edx
call fcn.1002ed68
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call ebx
movzx ecx, word [0x10080a6c]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call ebx
movzx edx, word [0x10080a94]
push 0
push edx
push 0x401
push 0x461
push esi
call ebx
mov eax, dword [0x10080d08]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push eax
push 0x459
push esi
call ebx
mov ecx, dword [0x10080d10]
push 0
push ecx
push 0x45a
push esi
call ebx
push 0x449
push esi
call ebp
mov edx, dword [0x10080a5c]
push 0
push edx
push 0xf1
push eax
call edi
push 0x45b
push esi
call ebp
mov ecx, dword [0x10080d04]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x46c
push esi
call ebp
mov edx, dword [0x10080d18]
push edx
push eax
call fcn.10009100
push 0x46b
push esi
call ebp
mov ecx, dword [0x10080d14]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x45c
push esi
call ebp
mov edx, dword [0x10080d0c]
push 0
push edx
push 0xf1
push eax
call edi
push 0x400
push esi
call ebp
mov ecx, dword [0x10080d1c]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x4dc
push esi
call ebp
mov edx, dword [0x10080d20]
push 0
push edx
push 0xf1
push eax
call edi
mov eax, dword [0x10080d24]
neg eax
sbb eax, eax
and eax, 0xffffff83
add eax, 0x4b0
push eax
push esi
call ebp
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x100812a4]
test eax, eax
jne 0x10012af1
mov eax, 0x43d
jmp 0x10012b00
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.1000f4a0
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1002d7d3
add esp, 0x190
ret 4