Function at 0x1001c210
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10055f02
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100782d8]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.10033080
push eax
push str.__wnbllock_d.ini
push 0xff
lea eax, [esp + 0x160]
push 0xff
push eax
call fcn.10043641
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
xor ebx, ebx
push ebx
push str.actornum
push str.lock
call esi
lea edx, [esp + 0x154]
push edx
push ebx
push str.sznum
push str.lock
mov ebp, eax
call esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x154]
push eax
push ebx
push str.jznum
push str.lock
call esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x260], ebx
jle 0x1001c3c6
push edi
push str.js_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.10043641
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x100582d1
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], bl
je 0x1001c3bb
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001c331
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.10016370
mov eax, dword [0x1007b4c4]
lea ecx, [eax + 1]
mov eax, dword [0x1007b4bc]
cmp eax, ecx
ja 0x1001c36d
push 1
mov ecx, 0x1007b4b4
call fcn.10019ee0
mov eax, dword [0x1007b4bc]
mov edx, dword [0x1007b4c0]
mov ecx, dword [0x1007b4c4]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001c382
sub esi, eax
mov edx, dword [0x1007b4b8]
cmp dword [edx + esi*4], ebx
jne 0x1001c3a0
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b4b8]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b4b8]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10017460
add dword [0x1007b4c4], 1
add edi, 1
cmp edi, ebp
jl 0x1001c2e2
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp ebp, ebx
jle 0x1001c4b8
push edi
push str.sz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.10043641
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x100582d1
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], bl
je 0x1001c4ad
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001c423
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.10016370
mov eax, dword [0x1007b474]
lea ecx, [eax + 1]
mov eax, dword [0x1007b46c]
cmp eax, ecx
ja 0x1001c45f
push 1
mov ecx, 0x1007b464
call fcn.10019ee0
mov eax, dword [0x1007b46c]
mov edx, dword [0x1007b470]
mov ecx, dword [0x1007b474]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001c474
sub esi, eax
mov edx, dword [0x1007b468]
cmp dword [edx + esi*4], ebx
jne 0x1001c492
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b468]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b468]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10017460
add dword [0x1007b474], 1
add edi, 1
cmp edi, ebp
jl 0x1001c3d4
xor edi, edi
cmp dword [esp + 0x18], ebx
jle 0x1001c5dd
push edi
push str.jz_d
push 0x14
lea ecx, [esp + 0x4c]
push 0x14
push ecx
call fcn.10043641
add esp, 0x14
lea edx, [esp + 0x154]
push edx
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x100582d1
lea ecx, [esp + 0x50]
push ecx
push str.lock
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x54], bl
je 0x1001c5d0
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001c513
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x2c]
call fcn.10016370
mov eax, dword [0x1007b4b0]
lea ecx, [eax + 1]
mov eax, dword [0x1007b4a8]
cmp eax, ecx
ja 0x1001c54f
push 1
mov ecx, 0x1007b4a0
call fcn.10019ee0
mov eax, dword [0x1007b4a8]
mov edx, dword [0x1007b4ac]
mov ecx, dword [0x1007b4b0]
lea esi, [ecx + edx]
cmp eax, esi
ja 0x1001c564
sub esi, eax
mov edx, dword [0x1007b4a4]
cmp dword [edx + esi*4], ebx
jne 0x1001c582
push 0x20
call fcn.10044763
mov ecx, dword [0x1007b4a4]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [0x1007b4a4]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x260], 1
je 0x1001c5c2
mov cl, byte [esp + 0x20]
mov byte [eax], cl
push 0xffffffffffffffff
lea ecx, [eax + 4]
push ebx
lea edx, [esp + 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.10016170
add dword [0x1007b4b0], 1
mov byte [esp + 0x260], bl
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x1001c4c4
cmp dword [esp + 0x3c], 0x10
jb 0x1001c5f1
mov eax, dword [esp + 0x28]
push eax
call fcn.10044219
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.1004309b
add esp, 0x250
ret