Function at 0x1000c670
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x190
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
push edi
call fcn.1000b170
push 0x425
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x10067a3c]
mov dword [esp + 0x14], eax
mov eax, dword [0x10067a38]
add ecx, eax
xor ebx, ebx
cmp eax, ecx
mov ebp, eax
jbe 0x1000c6c3
call fcn.100258eb
mov eax, dword [0x10067a38]
mov dword [esp + 0x18], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0x10067a2c
mov edx, dword [0x10067a3c]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x1000c6e8
call fcn.100258eb
test edi, edi
je 0x1000c6f4
cmp edi, 0x10067a2c
je 0x1000c6f9
call fcn.100258eb
cmp ebp, dword [esp + 0x10]
je 0x1000c770
test edi, edi
mov dword [esp + 0x10], ebp
jne 0x1000c70c
call fcn.100258eb
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp ebp, eax
jb 0x1000c71b
call fcn.100258eb
mov ecx, dword [edi + 8]
cmp ecx, ebp
ja 0x1000c72a
mov eax, ebp
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 0x1000c742
mov eax, dword [eax + 4]
jmp 0x1000c745
add eax, 4
push eax
mov eax, dword [esp + 0x18]
push 0
push 0x180
push eax
call ebx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 0x10]
cmp ebp, ecx
jb 0x1000c763
call fcn.100258eb
mov eax, dword [0x10067a38]
add ebp, 1
jmp 0x1000c6d2
push 0x426
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x24], eax
call ebx
mov eax, dword [0x100679e8]
mov edx, dword [0x100679ec]
add edx, eax
xor edi, edi
cmp eax, edx
mov ebp, eax
jbe 0x1000c7ab
call fcn.100258eb
mov eax, dword [0x100679e8]
mov ecx, 0x100679dc
mov dword [esp + 0x18], edi
mov edi, ecx
mov ecx, dword [0x100679ec]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x1000c7cb
call fcn.100258eb
test edi, edi
je 0x1000c7d7
cmp edi, 0x100679dc
je 0x1000c7dc
call fcn.100258eb
cmp ebp, dword [esp + 0x10]
je 0x1000c853
test edi, edi
mov dword [esp + 0x10], ebp
jne 0x1000c7ef
call fcn.100258eb
mov edx, dword [edi + 0xc]
add edx, dword [edi + 0x10]
cmp ebp, edx
jb 0x1000c7fe
call fcn.100258eb
mov ecx, dword [edi + 8]
cmp ecx, ebp
ja 0x1000c80d
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x1000c825
mov eax, dword [eax + 4]
jmp 0x1000c828
add eax, 4
mov edx, dword [esp + 0x14]
push eax
push 0
push 0x180
push edx
call ebx
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp ebp, eax
jb 0x1000c846
call fcn.100258eb
mov eax, dword [0x100679e8]
add ebp, 1
jmp 0x1000c7b6
push 0x429
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
mov dword [esp + 0x24], eax
call ebx
mov eax, dword [0x10067a24]
mov ecx, dword [0x10067a28]
add ecx, eax
xor edi, edi
cmp eax, ecx
mov ebp, eax
jbe 0x1000c88e
call fcn.100258eb
mov eax, dword [0x10067a24]
mov ecx, 0x10067a18
mov dword [esp + 0x18], edi
mov edi, ecx
lea esp, [esp]
mov edx, dword [0x10067a28]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], ecx
jbe 0x1000c8b6
call fcn.100258eb
test edi, edi
je 0x1000c8c2
cmp edi, 0x10067a18
je 0x1000c8c7
call fcn.100258eb
cmp ebp, dword [esp + 0x10]
je 0x1000c93e
test edi, edi
mov dword [esp + 0x10], ebp
jne 0x1000c8da
call fcn.100258eb
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
cmp ebp, eax
jb 0x1000c8e9
call fcn.100258eb
mov ecx, dword [edi + 8]
cmp ecx, ebp
ja 0x1000c8f8
mov eax, ebp
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 0x1000c910
mov eax, dword [eax + 4]
jmp 0x1000c913
add eax, 4
push eax
mov eax, dword [esp + 0x18]
push 0
push 0x180
push eax
call ebx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 0x10]
cmp ebp, ecx
jb 0x1000c931
call fcn.100258eb
mov eax, dword [0x10067a24]
add ebp, 1
jmp 0x1000c8a0
call fcn.1001dab0
push eax
push str.__wnbllock_d.ini
push 0xff
lea edx, [esp + 0xa8]
push 0xff
push edx
call fcn.10025723
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
lea eax, [esp + 0x9c]
push eax
push 0x64
lea ecx, [esp + 0x2c]
push ecx
push 0x10037a3b
push str.laogongpo
push str.lock
call ebp
lea eax, [esp + 0x24]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000c990
sub eax, edi
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x1005d3a8
call fcn.100082b0
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 0x10037a3b
push str.duizhang
push str.lock
call ebp
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1000c9e5
sub eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1005d38c
call fcn.100082b0
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 0x10037a3b
push str.zuzhang
push str.lock
call ebp
lea eax, [esp + 0x24]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1000ca34
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1005d3c4
call fcn.100082b0
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 0x10037a3b
push str.jiazuzhang
push str.lock
call ebp
lea eax, [esp + 0x24]
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ca83
sub eax, ebp
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x1005d3e0
call fcn.100082b0
lea eax, [esp + 0x24]
push eax
push 0x439
push esi
call edi
mov ecx, dword [0x10068004]
push ecx
lea edx, [esp + 0x8c]
push 0x10037a3c
push edx
call fcn.100256a8
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x448
push esi
call edi
movzx ecx, word [0x10068010]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push ecx
push 0x401
push 0x460
push esi
call edi
movzx edx, word [0x10068024]
push 0
push edx
push 0x401
push 0x461
push esi
call edi
mov eax, dword [0x10068298]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push eax
push 0x459
push esi
call edi
mov ecx, dword [0x100682a0]
push 0
push ecx
push 0x45a
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x449
push esi
call edi
mov edx, dword [0x10068000]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x45b
push esi
call edi
mov ecx, dword [0x10068294]
push 0
push ecx
push 0xf1
push eax
call ebx
push 0x46c
push esi
call edi
mov edx, dword [0x100682a8]
push edx
push eax
call fcn.10003930
push 0x46b
push esi
call edi
push 0
mov ecx, dword [0x100682a4]
push ecx
push 0xf1
push eax
call ebx
push 0x45c
push esi
call edi
mov edx, dword [0x1006829c]
push 0
push edx
push 0xf1
push eax
call ebx
push 0x400
push esi
call edi
mov ecx, dword [0x100682ac]
push 0
push ecx
push 0xf1
push eax
call ebx
mov edx, dword [0x100682b0]
neg edx
sbb edx, edx
and edx, 0xffffff83
add edx, 0x4b0
push edx
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebx
mov eax, dword [0x10068704]
test eax, eax
jne 0x1000cbfd
mov eax, 0x43d
jmp 0x1000cc0c
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xffffffd9
add eax, 0x48f
push eax
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push esi
call fcn.100095c0
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100248f3
add esp, 0x190
ret 4