Function at 0x1007ff20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189842
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
mov eax, dword [ebp - 0x450]
mov cl, byte [eax + 0x62a]
mov byte [ebp - 0x425], cl
movzx edx, byte [ebp - 0x425]
test edx, edx
je 0x10080211
mov al, byte [0x101a0fc1]
mov byte [ebp - 0x314], al
push 0x1ff
push 0
lea ecx, [ebp - 0x313]
push ecx
call fcn.1014e270
add esp, 0xc
mov dl, byte [0x101a0fc1]
mov byte [ebp - 0x114], dl
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.1014e270
add esp, 0xc
mov cl, byte [0x101a0fc1]
mov byte [ebp - 0x414], cl
push 0xff
push 0
lea edx, [ebp - 0x413]
push edx
call fcn.1014e270
add esp, 0xc
mov ecx, dword [ebp - 0x450]
call fcn.1007dda0
push eax
push 0x1ff
lea eax, [ebp - 0x314]
push eax
push 0x101a0fc1
push str.PortableKey
push str.LICENSE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x314]
test ecx, ecx
je 0x10080211
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x314]
push ecx
call fcn.100f1310
add esp, 0xc
movzx edx, al
test edx, edx
je 0x10080211
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.1007dbf0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [0x101a0fb4]
mov dword [ebp - 0x430], ecx
sub esp, 8
mov edx, esp
mov dword [ebp - 0x420], esp
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x42c]
mov byte [eax], 0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x454], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x434], edx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x434]
call fcn.100753f0
mov byte [ebp - 0x455], al
movzx edx, byte [ebp - 0x455]
test edx, edx
je 0x100801df
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
call fcn.10079110
movzx ecx, al
test ecx, ecx
je 0x100801df
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x2590]
neg eax
sbb eax, eax
neg eax
sub eax, 1
cmp eax, 0xffffffff
je 0x1008012c
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x2590]
mov dword [ebp - 0x43c], edx
push 1
mov ecx, dword [ebp - 0x43c]
call fcn.10079070
mov eax, dword [0x101a0fb4]
mov dword [ebp - 0x444], eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x424], esp
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
mov byte [edx], 0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 4
push 2
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x114]
push edx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x450]
call fcn.1007edd0
mov byte [ebp - 0x45d], al
movzx eax, byte [ebp - 0x45d]
test eax, eax
jne 0x100801df
mov ecx, dword [ebp - 0x450]
mov byte [ecx + 0x62c], 0
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x2590]
neg eax
sbb eax, eax
neg eax
sub eax, 1
cmp eax, 0xffffffff
je 0x100801df
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x2590]
mov dword [ebp - 0x448], edx
push 0
mov ecx, dword [ebp - 0x448]
call fcn.10079070
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x418]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
cmp dword [ecx], 0
je 0x10080211
mov edx, dword [ebp - 0x44c]
mov ecx, dword [edx]
call fcn.10021940
mov eax, dword [ebp - 0x450]
mov al, byte [eax + 0x62c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret