Function at 0x3000a273
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30033c6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x46c], 0x1000
lea ecx, [ebp - 0x250]
call fcn.30011ee0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [str.fp4.ini]
push ecx
call fcn.3000cbb0
add esp, 8
push 0
lea edx, [ebp - 0x214]
push edx
call fcn.30006e17
add esp, 8
test eax, eax
jne 0x3000a2f9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.30011f5b
jmp 0x3000a7e9
cmp dword [ebp + 0xc], 0
je 0x3000a312
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.300166e3
add esp, 8
cmp dword [ebp + 8], 0x80000002
jne 0x3000a3cd
cmp dword [ebp + 0xc], 0
jne 0x3000a3cd
lea ecx, [ebp - 0x4a0]
call fcn.30014c00
mov byte [ebp - 4], 1
lea edx, [ebp - 0x214]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x300415f0
push 0x3003b830
push 0x3003b838
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x3000a37b
lea ecx, [ebp - 0x110]
push ecx
push 0x3003b844
lea ecx, [ebp - 0x4a0]
call fcn.30012c66
lea edx, [ebp - 0x214]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x300415f4
push 0x3003b84c
push 0x3003b85c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x3000a3be
lea ecx, [ebp - 0x110]
push ecx
push 0x3003b868
lea ecx, [ebp - 0x4a0]
call fcn.30012c66
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.30004570
cmp dword [ebp + 8], 0x80000001
jne 0x3000a48d
cmp dword [ebp + 0xc], 0
jne 0x3000a48d
push 0x80000001
lea ecx, [ebp - 0x4d4]
call fcn.30014c76
mov byte [ebp - 4], 2
lea edx, [ebp - 0x214]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x300415f8
push str.Name
push 0x3003b878
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x3000a43b
lea ecx, [ebp - 0x110]
push ecx
push 0x3003b884
lea ecx, [ebp - 0x4d4]
call fcn.30012c66
lea edx, [ebp - 0x214]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x300415fc
push str.SerialNumber
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x3000a47e
lea ecx, [ebp - 0x110]
push ecx
push 0x3003b8a8
lea ecx, [ebp - 0x4d4]
call fcn.30012c66
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4d4]
call fcn.30004570
mov edx, dword [ebp - 0x46c]
push edx
call fcn.300291ac
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x3000a4c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.30011f5b
jmp 0x3000a7e9
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x218]
push edx
push 0x30041600
push 0
push 0x3003b8b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x3000a4f2
jmp 0x3000a7bc
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x254], eax
jmp 0x3000a50c
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
movsx eax, byte [edx]
test eax, eax
je 0x3000a7bc
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.30019760
add esp, 4
mov edx, dword [ebp - 0x254]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x214]
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0x30041604
mov eax, dword [ebp - 0x254]
push eax
push str.Registry
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x3000a56c
jmp 0x3000a500
push 0x5c
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.3001a930
add esp, 8
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x3000a591
jmp 0x3000a500
mov edx, dword [ebp - 0x25c]
mov byte [edx], 0
push str.HKCU
mov eax, dword [ebp - 0x254]
push eax
call fcn.300197e0
add esp, 8
test eax, eax
je 0x3000a5ca
push str.HKEY_CURRENT_USER
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.300197e0
add esp, 8
test eax, eax
jne 0x3000a5da
cmp dword [ebp + 8], 0x80000001
je 0x3000a5d8
jmp 0x3000a500
jmp 0x3000a61f
push str.HKLM
mov edx, dword [ebp - 0x254]
push edx
call fcn.300197e0
add esp, 8
test eax, eax
je 0x3000a60a
push str.HKEY_LOCAL_MACHINE
mov eax, dword [ebp - 0x254]
push eax
call fcn.300197e0
add esp, 8
test eax, eax
jne 0x3000a61a
cmp dword [ebp + 8], 0x80000002
je 0x3000a618
jmp 0x3000a500
jmp 0x3000a61f
jmp 0x3000a500
mov ecx, dword [ebp - 0x25c]
add ecx, 1
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.300193e0
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x3000a675
push 0x30041638
lea eax, [ebp - 0x468]
push eax
call fcn.3001b060
add esp, 8
test eax, eax
jne 0x3000a66e
push 0x30041638
lea ecx, [ebp - 0x110]
push ecx
call fcn.3001b060
add esp, 8
test eax, eax
je 0x3000a673
jmp 0x3000a500
jmp 0x3000a6c5
push 0x30041638
lea edx, [ebp - 0x468]
push edx
call fcn.3001b060
add esp, 8
test eax, eax
jne 0x3000a6aa
push 0x30041638
lea eax, [ebp - 0x110]
push eax
call fcn.3001b060
add esp, 8
test eax, eax
jne 0x3000a6aa
jmp 0x3000a500
lea ecx, [ebp - 0x364]
push ecx
push 0x30041638
lea edx, [ebp - 0x468]
push edx
call fcn.30018151
add esp, 0xc
push 0x5c
lea eax, [ebp - 0x468]
push eax
call fcn.3001a820
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x3000a6ea
jmp 0x3000a500
mov ecx, dword [ebp - 0x260]
mov byte [ecx], 0
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.300120c9
add esp, 0xc
test eax, eax
jne 0x3000a725
jmp 0x3000a500
movsx eax, byte [ebp - 0x110]
cmp eax, 0x22
jne 0x3000a781
cmp dword [ebp + 0xc], 0
je 0x3000a74f
mov ecx, dword [ebp + 0xc]
push ecx
push 0x30041638
lea edx, [ebp - 0x110]
push edx
call fcn.30018151
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.30019760
add esp, 4
mov byte [ebp + eax - 0x111], 0
lea ecx, [ebp - 0x10f]
push ecx
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x250]
call fcn.30012c66
jmp 0x3000a7ac
push 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.3001b040
add esp, 0xc
push eax
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x250]
call fcn.30012c24
lea ecx, [ebp - 0x250]
call fcn.3001223f
jmp 0x3000a500
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
push ecx
call fcn.300291e8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.30011f5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret