Function at 0x10013040
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x1007d664]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.10011af0
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x425
push esi
call ebp
mov ecx, dword [0x1008141c]
mov dword [esp + 0x20], eax
mov eax, dword [0x10081418]
add ecx, eax
xor ebx, ebx
cmp eax, ecx
mov edi, eax
jbe 0x10013095
call fcn.100300eb
mov eax, dword [0x10081418]
mov ecx, 0x1008140c
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 [0x1008141c]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x100130c6
call fcn.100300eb
test ebx, ebx
je 0x100130d2
cmp ebx, 0x1008140c
je 0x100130d7
call fcn.100300eb
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001315a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x100130ee
call fcn.100300eb
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100130ff
call fcn.100300eb
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013110
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 0x10013128
mov eax, dword [eax + 4]
jmp 0x1001312b
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 0x1001314b
call fcn.100300eb
add dword [esp + 0x1c], 1
mov eax, dword [0x10081418]
jmp 0x100130b0
push 0x426
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x100813c8]
mov edx, dword [0x100813cc]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013193
call fcn.100300eb
mov eax, dword [0x100813c8]
mov ecx, 0x100813bc
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x100131b0
mov edx, dword [0x100813cc]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x100131c6
call fcn.100300eb
test ebx, ebx
je 0x100131d2
cmp ebx, 0x100813bc
je 0x100131d7
call fcn.100300eb
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001325a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x100131ee
call fcn.100300eb
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100131ff
call fcn.100300eb
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013210
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 0x10013228
mov eax, dword [eax + 4]
jmp 0x1001322b
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 0x1001324b
call fcn.100300eb
add dword [esp + 0x1c], 1
mov eax, dword [0x100813c8]
jmp 0x100131b0
push 0x429
push esi
call ebp
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x30], eax
call edi
mov eax, dword [0x10081404]
mov edx, dword [0x10081408]
add edx, eax
xor ebx, ebx
cmp eax, edx
mov dword [esp + 0x10], eax
jbe 0x10013293
call fcn.100300eb
mov eax, dword [0x10081404]
mov ecx, 0x100813f8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x100132b0
mov edx, dword [0x10081408]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x100132c6
call fcn.100300eb
test ebx, ebx
je 0x100132d2
cmp ebx, 0x100813f8
je 0x100132d7
call fcn.100300eb
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x1001335a
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x100132ee
call fcn.100300eb
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x10]
cmp dword [esp + 0x1c], eax
jb 0x100132ff
call fcn.100300eb
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x10013310
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 0x10013328
mov eax, dword [eax + 4]
jmp 0x1001332b
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 0x1001334b
call fcn.100300eb
add dword [esp + 0x1c], 1
mov eax, dword [0x10081404]
jmp 0x100132b0
call fcn.10024fb0
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.1002ff23
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 0x100133b0
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x10076868
call fcn.1000e960
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 0x10013410
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1007684c
call fcn.1000e960
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 0x10013463
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10076884
call fcn.1000e960
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 0x100134b6
sub eax, ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x100768a0
call fcn.1000e960
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call ebx
mov ecx, dword [0x10081a58]
push ecx
lea edx, [esp + 0x8c]
push 0x1004326c
push edx
call fcn.1002fea8
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call ebx
movzx ecx, word [0x10081a64]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call ebx
movzx edx, word [0x10081a94]
push 0
push edx
push 0x401
push 0x461
push esi
call ebx
movzx eax, word [0x10081a68]
push 0
push eax
push 0x401
push 0x462
push esi
call ebx
mov ecx, dword [0x10081ae8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x459
push esi
call ebx
mov edx, dword [0x10081af0]
push 0
push edx
push 0x45a
push esi
call ebx
push 0x449
push esi
call ebp
mov ecx, dword [0x10081a54]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x45b
push esi
call ebp
mov edx, dword [0x10081ae4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x46c
push esi
call ebp
mov ecx, dword [0x10081af8]
push ecx
push eax
call fcn.100099d0
push 0x46b
push esi
call ebp
mov edx, dword [0x10081af4]
push 0
push edx
push 0xf1
push eax
call edi
push 0x45c
push esi
call ebp
mov ecx, dword [0x10081aec]
push 0
push ecx
push 0xf1
push eax
call edi
push 0x400
push esi
call ebp
mov edx, dword [0x10081afc]
push 0
push edx
push 0xf1
push eax
call edi
push 0x4dc
push esi
call ebp
mov ecx, dword [0x10081b00]
push 0
push ecx
push 0xf1
push eax
call edi
mov edx, dword [0x10081b04]
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 [0x10082324]
test eax, eax
jne 0x1001365b
mov eax, 0x43d
jmp 0x1001366a
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.1000ffb0
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1002e913
add esp, 0x190
ret 4