Function at 0x1009c880
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x270]
sub esp, 0x270
push 0xffffffffffffffff
push 0x100b38a9
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp + 0x26c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x278]
xor eax, eax
mov edi, dword [ebp + 0x27c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x18]
push 0xa
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
push str.config.ini
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
call fcn.10003a60
mov byte [ebp - 4], 2
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push edi
push eax
call fcn.100100d0
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x1009c96f
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c965
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x30]
push eax
mov dword [ebp + 0x2c], 7
call fcn.1000e210
add esp, 4
test al, al
je 0x1009c9f2
push 0x20a
lea eax, [ebp + 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x44], 8
cmovae eax, dword [ebp + 0x30]
push eax
push 0x104
lea eax, [ebp + 0x60]
push eax
push 0x100b5aa4
push str.Version
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp + 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009c9d6
sub ecx, edx
lea eax, [ebp + 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.10003a60
cmp dword [ebp + 0x58], 0
jne 0x1009cab8
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x100b5aa4
mov word [esi], ax
call fcn.10003a60
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x1009ca63
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009ca59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009ca59
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], al
mov edx, dword [ebp + 0x5c]
cmp edx, 8
jb 0x1009cb4d
mov ecx, dword [ebp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009cb43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009cb43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp]
push edi
push eax
call fcn.100100d0
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, eax
push 1
push 0x100b64ac
call fcn.10003ba0
push eax
mov ecx, esi
call fcn.100037e0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x1009cb2a
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009cb20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009cb20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
jmp 0x1009ca23
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp + 0x5c], 7
mov dword [ebp + 0x58], eax
mov word [ebp + 0x48], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x26c]
xor ecx, ebp
call fcn.1009ea6c
lea esp, [ebp + 0x270]
pop ebp
ret