Function at 0x100113e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10040b99
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a6b4]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.10024ca0
push eax
push str.__wnbldy_d.ini
push 0xff
lea eax, [esp + 0x160]
push 0xff
push eax
call fcn.1002ebd0
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 0x100115af
push edi
push str.addjs_d
push 0x14
lea edx, [esp + 0x4c]
push 0x14
push edx
call fcn.1002ebd0
add esp, 0x14
lea eax, [esp + 0x154]
push eax
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x10043369
lea edx, [esp + 0x50]
push edx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x100115a4
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011518
sub eax, edx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.1000e090
mov ecx, dword [0x1007e49c]
mov eax, dword [0x1007e494]
add ecx, 1
cmp eax, ecx
ja 0x10011555
push 1
mov ecx, 0x1007e48c
call fcn.100103b0
mov eax, dword [0x1007e494]
mov edx, dword [0x1007e498]
mov ecx, dword [0x1007e49c]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001156a
sub esi, eax
mov edx, dword [0x1007e490]
cmp dword [edx + esi*4], 0
jne 0x10011589
push 0x20
call fcn.1002eceb
mov ecx, dword [0x1007e490]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e490]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e8b0
add dword [0x1007e49c], 1
add edi, 1
cmp edi, ebp
jl 0x100114c8
xor edi, edi
test ebx, ebx
jle 0x100116a6
lea esp, [esp]
push edi
push str.addsz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002ebd0
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x10043369
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x1001169b
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011610
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e090
mov eax, dword [0x1007e4d8]
lea ecx, [eax + 1]
mov eax, dword [0x1007e4d0]
cmp eax, ecx
ja 0x1001164c
push 1
mov ecx, 0x1007e4c8
call fcn.100103b0
mov eax, dword [0x1007e4d0]
mov edx, dword [0x1007e4d4]
mov ecx, dword [0x1007e4d8]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10011661
sub esi, eax
mov edx, dword [0x1007e4cc]
cmp dword [edx + esi*4], 0
jne 0x10011680
push 0x20
call fcn.1002eceb
mov ecx, dword [0x1007e4cc]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e4cc]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.1000e8b0
add dword [0x1007e4d8], 1
add edi, 1
cmp edi, ebx
jl 0x100115c0
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x100117d4
push edi
push str.deljs_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.1002ebd0
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x10043369
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x100117c9
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011704
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.1000e090
mov eax, dword [0x1007e410]
lea ecx, [eax + 1]
mov eax, dword [0x1007e408]
cmp eax, ecx
ja 0x10011740
push 1
mov ecx, 0x1007e400
call fcn.100103b0
mov eax, dword [0x1007e408]
mov edx, dword [0x1007e40c]
mov ecx, dword [0x1007e410]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x10011755
sub esi, eax
mov edx, dword [0x1007e404]
cmp dword [edx + esi*4], 0
jne 0x10011774
push 0x20
call fcn.1002eceb
mov ecx, dword [0x1007e404]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e404]
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 0x100117ba
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.1000dec0
add dword [0x1007e410], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, ebx
jl 0x100116b4
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10011903
mov bl, 2
push edi
push str.delsz_d
push 0x14
lea eax, [esp + 0x4c]
push 0x14
push eax
call fcn.1002ebd0
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
push 0xff
lea edx, [esp + 0x5c]
push edx
push 0x10043369
lea eax, [esp + 0x50]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], 0
je 0x100118f6
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10011832
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1000e090
mov edx, dword [0x1007e4b0]
mov eax, dword [0x1007e4a8]
add edx, 1
cmp eax, edx
ja 0x1001186f
push 1
mov ecx, 0x1007e4a0
call fcn.100103b0
mov eax, dword [0x1007e4a8]
mov ecx, dword [0x1007e4ac]
mov edx, dword [0x1007e4b0]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x10011884
sub esi, eax
mov eax, dword [0x1007e4a4]
cmp dword [eax + esi*4], 0
jne 0x100118a2
push 0x20
call fcn.1002eceb
mov ecx, dword [0x1007e4a4]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007e4a4]
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 0x100118e7
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.1000dec0
add dword [0x1007e4b0], 1
mov byte [esp + 0x260], 0
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x100117e2
cmp dword [esp + 0x3c], 0x10
jb 0x10011917
mov eax, dword [esp + 0x28]
push eax
call fcn.1002ed55
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.1002e6c3
add esp, 0x250
ret