Function at 0x100130b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x1007b664]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.10011b10
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x425
push esi
call ebp
mov ecx, dword [0x1007f41c]
mov dword [esp + 0x20], eax
mov eax, dword [0x1007f418]
add ecx, eax
xor ebx, ebx
cmp eax, ecx
mov edi, eax
jbe 0x10013105
call fcn.1003028a
mov eax, dword [0x1007f418]
mov ecx, 0x1007f40c
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 [0x1007f41c]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10013136
call fcn.1003028a
test ebx, ebx
je 0x10013142
cmp ebx, 0x1007f40c
je 0x10013147
call fcn.1003028a
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x100131ca
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001315e
call fcn.1003028a
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x1001316f
call fcn.1003028a
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013180
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 0x10013198
mov eax, dword [eax + 4]
jmp 0x1001319b
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 0x100131bb
call fcn.1003028a
add dword [esp + 0x1c], 1
mov eax, dword [0x1007f418]
jmp 0x10013120
push 0x426
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x1007f3c8]
mov edx, dword [0x1007f3cc]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013203
call fcn.1003028a
mov eax, dword [0x1007f3c8]
mov ecx, 0x1007f3bc
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10013220
mov edx, dword [0x1007f3cc]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10013236
call fcn.1003028a
test ebx, ebx
je 0x10013242
cmp ebx, 0x1007f3bc
je 0x10013247
call fcn.1003028a
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x100132ca
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001325e
call fcn.1003028a
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x1001326f
call fcn.1003028a
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013280
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 0x10013298
mov eax, dword [eax + 4]
jmp 0x1001329b
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 0x100132bb
call fcn.1003028a
add dword [esp + 0x1c], 1
mov eax, dword [0x1007f3c8]
jmp 0x10013220
push 0x429
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x1007f404]
mov edx, dword [0x1007f408]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013303
call fcn.1003028a
mov eax, dword [0x1007f404]
mov ecx, 0x1007f3f8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x10013320
mov edx, dword [0x1007f408]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x10013336
call fcn.1003028a
test ebx, ebx
je 0x10013342
cmp ebx, 0x1007f3f8
je 0x10013347
call fcn.1003028a
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x100133ca
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x1001335e
call fcn.1003028a
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x1001336f
call fcn.1003028a
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013380
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 0x10013398
mov eax, dword [eax + 4]
jmp 0x1001339b
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 0x100133bb
call fcn.1003028a
add dword [esp + 0x1c], 1
mov eax, dword [0x1007f404]
jmp 0x10013320
call fcn.10025120
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.100300c3
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x1004326a
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 0x10013420
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10074868
call fcn.1000e890
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 0x1004326a
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 0x10013480
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1007484c
call fcn.1000e890
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 0x1004326a
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 0x100134d3
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10074884
call fcn.1000e890
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 0x1004326a
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 0x10013526
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x100748a0
call fcn.1000e890
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call ebx
mov ecx, dword [0x1007fa58]
push ecx
lea edx, [esp + 0x8c]
push 0x1004326c
push edx
call fcn.10030048
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call ebx
movzx ecx, word [0x1007fa64]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call ebx
movzx edx, word [0x1007fa94]
push 0
push edx
push 0x401
push 0x461
push esi
call ebx
movzx eax, word [0x1007fa68]
push 0
push eax
push 0x401
push 0x462
push esi
call ebx
mov ecx, dword [0x1007fae8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x459
push esi
call ebx
mov edx, dword [0x1007faf0]
push 0
push edx
push 0x45a
push esi
call ebx
push 0x449
push esi
call ebp
mov ecx, dword [0x1007fa54]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x45b
push esi
call ebp
mov edx, dword [0x1007fae4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x46c
push esi
call ebp
mov ecx, dword [0x1007faf8]
push ecx
push eax
call fcn.100099e0
push 0x46b
push esi
call ebp
mov edx, dword [0x1007faf4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x45c
push esi
call ebp
mov ecx, dword [0x1007faec]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x400
push esi
call ebp
mov edx, dword [0x1007fafc]
push 0
push edx
push 0xf1
push eax
call edi
push 0x4dc
push esi
call ebp
mov ecx, dword [0x1007fb00]
push 0
push ecx
push 0xf1
push eax
call edi
mov edx, dword [0x1007fb04]
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 [0x10080330]
test eax, eax
jne 0x100136cb
mov eax, 0x43d
jmp 0x100136da
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.1000ff30
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1002eab3
add esp, 0x190
ret 4