Function at 0x10010a90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1003fc29
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1007c654]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007c654]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.100246a0
push eax
push str.__wnbldy_d.ini
push 0xff
lea eax, [esp + 0x160]
push 0xff
push eax
call fcn.1002ede3
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 0x10010c5f
push edi
push str.addjs_d
push 0x14
lea edx, [esp + 0x4c]
push 0x14
push edx
call fcn.1002ede3
add esp, 0x14
lea eax, [esp + 0x154]
push eax
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x1004202b
lea edx, [esp + 0x50]
push edx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10010c54
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10010bc8
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.1000df80
mov ecx, dword [0x10080444]
mov eax, dword [0x1008043c]
add ecx, 1
cmp eax, ecx
ja 0x10010c05
push 1
mov ecx, 0x10080434
call fcn.1000fa20
mov eax, dword [0x1008043c]
mov edx, dword [0x10080440]
mov ecx, dword [0x10080444]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10010c1a
sub esi, eax
mov edx, dword [0x10080438]
cmp dword [edx + esi*4], 0
jne 0x10010c39
push 0x20
call fcn.1002dce6
mov ecx, dword [0x10080438]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x10080438]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e730
add dword [0x10080444], 1
add edi, 1
cmp edi, ebp
jl 0x10010b78
xor edi, edi
test ebx, ebx
jle 0x10010d56
lea esp, [esp]
push edi
push str.addsz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002ede3
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004202b
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10010d4b
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10010cc0
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000df80
mov eax, dword [0x10080480]
lea ecx, [eax + 1]
mov eax, dword [0x10080478]
cmp eax, ecx
ja 0x10010cfc
push 1
mov ecx, 0x10080470
call fcn.1000fa20
mov eax, dword [0x10080478]
mov edx, dword [0x1008047c]
mov ecx, dword [0x10080480]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10010d11
sub esi, eax
mov edx, dword [0x10080474]
cmp dword [edx + esi*4], 0
jne 0x10010d30
push 0x20
call fcn.1002dce6
mov ecx, dword [0x10080474]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x10080474]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e730
add dword [0x10080480], 1
add edi, 1
cmp edi, ebx
jl 0x10010c70
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x10010e84
push edi
push str.deljs_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002ede3
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004202b
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10010e79
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10010db4
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000df80
mov eax, dword [0x100803b8]
lea ecx, [eax + 1]
mov eax, dword [0x100803b0]
cmp eax, ecx
ja 0x10010df0
push 1
mov ecx, 0x100803a8
call fcn.1000fa20
mov eax, dword [0x100803b0]
mov edx, dword [0x100803b4]
mov ecx, dword [0x100803b8]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10010e05
sub esi, eax
mov edx, dword [0x100803ac]
cmp dword [edx + esi*4], 0
jne 0x10010e24
push 0x20
call fcn.1002dce6
mov ecx, dword [0x100803ac]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x100803ac]
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 0x10010e6a
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.1000ddb0
add dword [0x100803b8], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, ebx
jl 0x10010d64
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10010fb3
mov bl, 2
push edi
push str.delsz_d
push 0x14
lea eax, [esp + 0x4c]
push 0x14
push eax
call fcn.1002ede3
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
push 0xff
lea edx, [esp + 0x5c]
push edx
push 0x1004202b
lea eax, [esp + 0x50]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10010fa6
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10010ee2
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1000df80
mov edx, dword [0x10080458]
mov eax, dword [0x10080450]
add edx, 1
cmp eax, edx
ja 0x10010f1f
push 1
mov ecx, 0x10080448
call fcn.1000fa20
mov eax, dword [0x10080450]
mov ecx, dword [0x10080454]
mov edx, dword [0x10080458]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x10010f34
sub esi, eax
mov eax, dword [0x1008044c]
cmp dword [eax + esi*4], 0
jne 0x10010f52
push 0x20
call fcn.1002dce6
mov ecx, dword [0x1008044c]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1008044c]
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 0x10010f97
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.1000ddb0
add dword [0x10080458], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x10010e92
cmp dword [esp + 0x3c], 0x10
jb 0x10010fc7
mov eax, dword [esp + 0x28]
push eax
call fcn.1002dd50
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.1002d7d3
add esp, 0x250
ret