Function at 0x10010e70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100401a9
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1007a664]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a664]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.100248e0
push eax
push str.__wnbldy_d.ini
push 0xff
lea eax, [esp + 0x160]
push 0xff
push eax
call fcn.1002f353
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 0x1001103f
push edi
push str.addjs_d
push 0x14
lea edx, [esp + 0x4c]
push 0x14
push edx
call fcn.1002f353
add esp, 0x14
lea eax, [esp + 0x154]
push eax
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x1004201a
lea edx, [esp + 0x50]
push edx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011034
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10010fa8
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.1000e180
mov ecx, dword [0x1007e444]
mov eax, dword [0x1007e43c]
add ecx, 1
cmp eax, ecx
ja 0x10010fe5
push 1
mov ecx, 0x1007e434
call fcn.1000fda0
mov eax, dword [0x1007e43c]
mov edx, dword [0x1007e440]
mov ecx, dword [0x1007e444]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10010ffa
sub esi, eax
mov edx, dword [0x1007e438]
cmp dword [edx + esi*4], 0
jne 0x10011019
push 0x20
call fcn.1002e256
mov ecx, dword [0x1007e438]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e438]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e8e0
add dword [0x1007e444], 1
add edi, 1
cmp edi, ebp
jl 0x10010f58
xor edi, edi
test ebx, ebx
jle 0x10011136
lea esp, [esp]
push edi
push str.addsz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002f353
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004201a
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x1001112b
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100110a0
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e180
mov eax, dword [0x1007e480]
lea ecx, [eax + 1]
mov eax, dword [0x1007e478]
cmp eax, ecx
ja 0x100110dc
push 1
mov ecx, 0x1007e470
call fcn.1000fda0
mov eax, dword [0x1007e478]
mov edx, dword [0x1007e47c]
mov ecx, dword [0x1007e480]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x100110f1
sub esi, eax
mov edx, dword [0x1007e474]
cmp dword [edx + esi*4], 0
jne 0x10011110
push 0x20
call fcn.1002e256
mov ecx, dword [0x1007e474]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e474]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e8e0
add dword [0x1007e480], 1
add edi, 1
cmp edi, ebx
jl 0x10011050
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x10011264
push edi
push str.deljs_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002f353
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x1004201a
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011259
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011194
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e180
mov eax, dword [0x1007e3b8]
lea ecx, [eax + 1]
mov eax, dword [0x1007e3b0]
cmp eax, ecx
ja 0x100111d0
push 1
mov ecx, 0x1007e3a8
call fcn.1000fda0
mov eax, dword [0x1007e3b0]
mov edx, dword [0x1007e3b4]
mov ecx, dword [0x1007e3b8]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x100111e5
sub esi, eax
mov edx, dword [0x1007e3ac]
cmp dword [edx + esi*4], 0
jne 0x10011204
push 0x20
call fcn.1002e256
mov ecx, dword [0x1007e3ac]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e3ac]
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 0x1001124a
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.1000dfb0
add dword [0x1007e3b8], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, ebx
jl 0x10011144
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10011393
mov bl, 2
push edi
push str.delsz_d
push 0x14
lea eax, [esp + 0x4c]
push 0x14
push eax
call fcn.1002f353
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
push 0xff
lea edx, [esp + 0x5c]
push edx
push 0x1004201a
lea eax, [esp + 0x50]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x10011386
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100112c2
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1000e180
mov edx, dword [0x1007e458]
mov eax, dword [0x1007e450]
add edx, 1
cmp eax, edx
ja 0x100112ff
push 1
mov ecx, 0x1007e448
call fcn.1000fda0
mov eax, dword [0x1007e450]
mov ecx, dword [0x1007e454]
mov edx, dword [0x1007e458]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x10011314
sub esi, eax
mov eax, dword [0x1007e44c]
cmp dword [eax + esi*4], 0
jne 0x10011332
push 0x20
call fcn.1002e256
mov ecx, dword [0x1007e44c]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e44c]
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 0x10011377
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.1000dfb0
add dword [0x1007e458], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x10011272
cmp dword [esp + 0x3c], 0x10
jb 0x100113a7
mov eax, dword [esp + 0x28]
push eax
call fcn.1002e2c0
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.1002dd43
add esp, 0x250
ret