Function at 0x100115a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10040f29
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1007b664]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007b664]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.10025120
push eax
push str.__wnbldy_d.ini
push 0xff
lea eax, [esp + 0x160]
push 0xff
push eax
call fcn.100300c3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
xor edi, edi
push edi
push str.addjsnum
push str.lock
call esi
lea edx, [esp + 0x154]
push edx
push edi
push str.addsznum
push str.lock
mov ebp, eax
call esi
mov ebx, eax
lea eax, [esp + 0x154]
push eax
push edi
push str.deljsnum
push str.lock
call esi
lea ecx, [esp + 0x154]
push ecx
push edi
push str.delsznum
push str.lock
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
test ebp, ebp
mov dword [esp + 0x260], edi
jle 0x1001176f
push edi
push str.addjs_d
push 0x14
lea edx, [esp + 0x4c]
push 0x14
push edx
call fcn.100300c3
add esp, 0x14
lea eax, [esp + 0x154]
push eax
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x1004326a
lea edx, [esp + 0x50]
push edx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011764
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100116d8
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.1000e890
mov ecx, dword [0x1007f444]
mov eax, dword [0x1007f43c]
add ecx, 1
cmp eax, ecx
ja 0x10011715
push 1
mov ecx, 0x1007f434
call fcn.100104d0
mov eax, dword [0x1007f43c]
mov edx, dword [0x1007f440]
mov ecx, dword [0x1007f444]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001172a
sub esi, eax
mov edx, dword [0x1007f438]
cmp dword [edx + esi*4], 0
jne 0x10011749
push 0x20
call fcn.1002efc6
mov ecx, dword [0x1007f438]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007f438]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000f040
add dword [0x1007f444], 1
add edi, 1
cmp edi, ebp
jl 0x10011688
xor edi, edi
test ebx, ebx
jle 0x10011866
lea esp, [esp]
push edi
push str.addsz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.100300c3
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004326a
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x1001185b
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100117d0
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e890
mov eax, dword [0x1007f480]
lea ecx, [eax + 1]
mov eax, dword [0x1007f478]
cmp eax, ecx
ja 0x1001180c
push 1
mov ecx, 0x1007f470
call fcn.100104d0
mov eax, dword [0x1007f478]
mov edx, dword [0x1007f47c]
mov ecx, dword [0x1007f480]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10011821
sub esi, eax
mov edx, dword [0x1007f474]
cmp dword [edx + esi*4], 0
jne 0x10011840
push 0x20
call fcn.1002efc6
mov ecx, dword [0x1007f474]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007f474]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000f040
add dword [0x1007f480], 1
add edi, 1
cmp edi, ebx
jl 0x10011780
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x10011994
push edi
push str.deljs_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.100300c3
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004326a
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011989
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100118c4
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e890
mov eax, dword [0x1007f3b8]
lea ecx, [eax + 1]
mov eax, dword [0x1007f3b0]
cmp eax, ecx
ja 0x10011900
push 1
mov ecx, 0x1007f3a8
call fcn.100104d0
mov eax, dword [0x1007f3b0]
mov edx, dword [0x1007f3b4]
mov ecx, dword [0x1007f3b8]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10011915
sub esi, eax
mov edx, dword [0x1007f3ac]
cmp dword [edx + esi*4], 0
jne 0x10011934
push 0x20
call fcn.1002efc6
mov ecx, dword [0x1007f3ac]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007f3ac]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x260], 1
je 0x1001197a
mov cl, byte [esp + 0x20]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.1000e6c0
add dword [0x1007f3b8], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, ebx
jl 0x10011874
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10011ac3
mov bl, 2
push edi
push str.delsz_d
push 0x14
lea eax, [esp + 0x4c]
push 0x14
push eax
call fcn.100300c3
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
push 0xff
lea edx, [esp + 0x5c]
push edx
push 0x1004326a
lea eax, [esp + 0x50]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011ab6
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100119f2
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1000e890
mov edx, dword [0x1007f458]
mov eax, dword [0x1007f450]
add edx, 1
cmp eax, edx
ja 0x10011a2f
push 1
mov ecx, 0x1007f448
call fcn.100104d0
mov eax, dword [0x1007f450]
mov ecx, dword [0x1007f454]
mov edx, dword [0x1007f458]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x10011a44
sub esi, eax
mov eax, dword [0x1007f44c]
cmp dword [eax + esi*4], 0
jne 0x10011a62
push 0x20
call fcn.1002efc6
mov ecx, dword [0x1007f44c]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007f44c]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x260], bl
je 0x10011aa7
mov cl, byte [esp + 0x20]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.1000e6c0
add dword [0x1007f458], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x100119a2
cmp dword [esp + 0x3c], 0x10
jb 0x10011ad7
mov eax, dword [esp + 0x28]
push eax
call fcn.1002f030
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1002eab3
add esp, 0x250
ret