Function at 0x1001b880
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10055e70
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100782d8]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
call fcn.10033080
push eax
push str.__wnbldy_d.ini
push 0xff
lea eax, [esp + 0x164]
push 0xff
push eax
call fcn.10043641
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
lea ecx, [esp + 0x158]
push ecx
xor edi, edi
push edi
push str.addjsnum
push str.lock
call esi
lea edx, [esp + 0x158]
push edx
push edi
push str.addsznum
push str.lock
mov ebp, eax
call esi
mov ebx, eax
lea eax, [esp + 0x158]
push eax
push edi
push str.addpetnum
push str.lock
call esi
lea ecx, [esp + 0x158]
push ecx
push edi
push str.deljsnum
push str.lock
mov dword [esp + 0x24], eax
call esi
lea edx, [esp + 0x158]
push edx
push edi
push str.delsznum
push str.lock
mov dword [esp + 0x2c], eax
call esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
test ebp, ebp
mov dword [esp + 0x264], edi
jle 0x1001ba67
push edi
push str.addjs_d
push 0x14
lea eax, [esp + 0x50]
push 0x14
push eax
call fcn.10043641
add esp, 0x14
lea ecx, [esp + 0x158]
push ecx
push 0xff
lea edx, [esp + 0x60]
push edx
push 0x100582d1
lea eax, [esp + 0x54]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x58], 0
je 0x1001ba5c
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001b9d1
sub eax, edx
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
call fcn.10016370
mov edx, dword [0x1007b500]
mov eax, dword [0x1007b4f8]
add edx, 1
cmp eax, edx
ja 0x1001ba0e
push 1
mov ecx, 0x1007b4f0
call fcn.10019ee0
mov eax, dword [0x1007b4f8]
mov ecx, dword [0x1007b4fc]
mov edx, dword [0x1007b500]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x1001ba23
sub esi, eax
mov eax, dword [0x1007b4f4]
cmp dword [eax + esi*4], 0
jne 0x1001ba41
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b4f4]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b4f4]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x24]
push eax
push esi
call fcn.10017460
add dword [0x1007b500], 1
add edi, 1
cmp edi, ebp
jl 0x1001b981
xor edi, edi
test ebx, ebx
jle 0x1001bb57
push edi
push str.addsz_d
push 0x14
lea ecx, [esp + 0x50]
push 0x14
push ecx
call fcn.10043641
add esp, 0x14
lea edx, [esp + 0x158]
push edx
push 0xff
lea eax, [esp + 0x60]
push eax
push 0x100582d1
lea ecx, [esp + 0x54]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x58], 0
je 0x1001bb4c
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001bac1
sub eax, edx
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
call fcn.10016370
mov eax, dword [0x1007b574]
lea ecx, [eax + 1]
mov eax, dword [0x1007b56c]
cmp eax, ecx
ja 0x1001bafd
push 1
mov ecx, 0x1007b564
call fcn.10019ee0
mov eax, dword [0x1007b56c]
mov edx, dword [0x1007b570]
mov ecx, dword [0x1007b574]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001bb12
sub esi, eax
mov edx, dword [0x1007b568]
cmp dword [edx + esi*4], 0
jne 0x1001bb31
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b568]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b568]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x24]
push eax
push esi
call fcn.10017460
add dword [0x1007b574], 1
add edi, 1
cmp edi, ebx
jl 0x1001ba71
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x1001bc85
push edi
push str.addpet_d
push 0x14
lea ecx, [esp + 0x50]
push 0x14
push ecx
call fcn.10043641
add esp, 0x14
lea edx, [esp + 0x158]
push edx
push 0xff
lea eax, [esp + 0x60]
push eax
push 0x100582d1
lea ecx, [esp + 0x54]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x58], 0
je 0x1001bc7a
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001bbb5
sub eax, edx
push eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
call fcn.10016370
mov eax, dword [0x1007b5b0]
lea ecx, [eax + 1]
mov eax, dword [0x1007b5a8]
cmp eax, ecx
ja 0x1001bbf1
push 1
mov ecx, 0x1007b5a0
call fcn.10019ee0
mov eax, dword [0x1007b5a8]
mov edx, dword [0x1007b5ac]
mov ecx, dword [0x1007b5b0]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001bc06
sub esi, eax
mov edx, dword [0x1007b5a4]
cmp dword [edx + esi*4], 0
jne 0x1001bc25
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b5a4]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b5a4]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x264], 1
je 0x1001bc6b
mov cl, byte [esp + 0x24]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x30]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.10016170
add dword [0x1007b5b0], 1
mov byte [esp + 0x264], 0
add edi, 1
cmp edi, ebx
jl 0x1001bb65
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x1001bdb4
mov bl, 2
push edi
push str.deljs_d
push 0x14
lea eax, [esp + 0x50]
push 0x14
push eax
call fcn.10043641
add esp, 0x14
lea ecx, [esp + 0x158]
push ecx
push 0xff
lea edx, [esp + 0x60]
push edx
push 0x100582d1
lea eax, [esp + 0x54]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x58], 0
je 0x1001bda7
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001bce3
sub eax, edx
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
call fcn.10016370
mov edx, dword [0x1007b460]
mov eax, dword [0x1007b458]
add edx, 1
cmp eax, edx
ja 0x1001bd20
push 1
mov ecx, 0x1007b450
call fcn.10019ee0
mov eax, dword [0x1007b458]
mov ecx, dword [0x1007b45c]
mov edx, dword [0x1007b460]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x1001bd35
sub esi, eax
mov eax, dword [0x1007b454]
cmp dword [eax + esi*4], 0
jne 0x1001bd53
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b454]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b454]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x264], bl
je 0x1001bd98
mov cl, byte [esp + 0x24]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x30]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.10016170
add dword [0x1007b460], 1
mov byte [esp + 0x264], 0
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x1001bc93
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x1001bee3
mov bl, 3
push edi
push str.delsz_d
push 0x14
lea eax, [esp + 0x50]
push 0x14
push eax
call fcn.10043641
add esp, 0x14
lea ecx, [esp + 0x158]
push ecx
push 0xff
lea edx, [esp + 0x60]
push edx
push 0x100582d1
lea eax, [esp + 0x54]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x58], 0
je 0x1001bed6
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001be12
sub eax, edx
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
call fcn.10016370
mov edx, dword [0x1007b528]
mov eax, dword [0x1007b520]
add edx, 1
cmp eax, edx
ja 0x1001be4f
push 1
mov ecx, 0x1007b518
call fcn.10019ee0
mov eax, dword [0x1007b520]
mov ecx, dword [0x1007b524]
mov edx, dword [0x1007b528]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x1001be64
sub esi, eax
mov eax, dword [0x1007b51c]
cmp dword [eax + esi*4], 0
jne 0x1001be82
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b51c]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b51c]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x264], bl
je 0x1001bec7
mov cl, byte [esp + 0x24]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x30]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.10016170
add dword [0x1007b528], 1
mov byte [esp + 0x264], 0
add edi, 1
cmp edi, dword [esp + 0x20]
jl 0x1001bdc2
cmp dword [esp + 0x40], 0x10
jb 0x1001bef7
mov eax, dword [esp + 0x2c]
push eax
call fcn.10044219
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.1004309b
add esp, 0x254
ret