Function at 0x1001bf30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10055eab
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x238], eax
push ebp
push esi
push edi
mov eax, dword [0x100782d8]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
call fcn.10033080
push eax
push str.__wnblenermy_d.ini
push 0xff
lea eax, [esp + 0x154]
push 0xff
push eax
call fcn.10043641
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
lea ecx, [esp + 0x148]
push ecx
push 0
push str.actornum
push str.lock
call esi
lea edx, [esp + 0x148]
push edx
push 0
push str.sznum
push str.lock
mov ebp, eax
call esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
xor edi, edi
test ebp, ebp
mov dword [esp + 0x254], 0
jle 0x1001c0d6
push edi
push str.js_d
push 0x14
lea eax, [esp + 0x40]
push 0x14
push eax
call fcn.10043641
add esp, 0x14
lea ecx, [esp + 0x148]
push ecx
push 0xff
lea edx, [esp + 0x50]
push edx
push 0x100582d1
lea eax, [esp + 0x44]
push eax
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x48], 0
je 0x1001c0cb
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001c041
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.10016370
mov edx, dword [0x1007b4ec]
mov eax, dword [0x1007b4e4]
add edx, 1
cmp eax, edx
ja 0x1001c07e
push 1
mov ecx, 0x1007b4dc
call fcn.10019ee0
mov eax, dword [0x1007b4e4]
mov ecx, dword [0x1007b4e8]
mov edx, dword [0x1007b4ec]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x1001c093
sub esi, eax
mov eax, dword [0x1007b4e0]
cmp dword [eax + esi*4], 0
jne 0x1001c0b1
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b4e0]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [0x1007b4e0]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.10017460
add dword [0x1007b4ec], 1
add edi, 1
cmp edi, ebp
jl 0x1001bff1
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x1001c1ca
push edi
push str.sz_d
push 0x14
lea edx, [esp + 0x40]
push 0x14
push edx
call fcn.10043641
add esp, 0x14
lea eax, [esp + 0x148]
push eax
push 0xff
lea ecx, [esp + 0x50]
push ecx
push 0x100582d1
lea edx, [esp + 0x44]
push edx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x48], 0
je 0x1001c1bd
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1001c132
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.10016370
mov ecx, dword [0x1007b59c]
mov eax, dword [0x1007b594]
add ecx, 1
cmp eax, ecx
ja 0x1001c16f
push 1
mov ecx, 0x1007b58c
call fcn.10019ee0
mov eax, dword [0x1007b594]
mov edx, dword [0x1007b598]
mov ecx, dword [0x1007b59c]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001c184
sub esi, eax
mov edx, dword [0x1007b590]
cmp dword [edx + esi*4], 0
jne 0x1001c1a3
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b590]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [0x1007b590]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.10017460
add dword [0x1007b59c], 1
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x1001c0e2
cmp dword [esp + 0x30], 0x10
jb 0x1001c1de
mov edx, dword [esp + 0x1c]
push edx
call fcn.10044219
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.1004309b
add esp, 0x248
ret