Function at 0x100273f
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
xor edi, edi
push 0x10
push 0x40
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call esi
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x1002786
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov ebx, eax
test ebx, ebx
je 0x1002786
push 0x10
push 0x40
call esi
mov dword [ebx + edi*4], eax
inc edi
cmp edi, 4
jl 0x1002773
push 8
push 0x40
call esi
mov edi, 0x400
push edi
push 0x40
mov dword [ebp - 0xc], eax
call esi
push edi
push 0x40
mov dword [ebp - 8], eax
call esi
test ebx, ebx
mov dword [ebp - 0x18], eax
je 0x100292e
cmp dword [ebp - 0xc], 0
je 0x100292e
cmp dword [ebp - 8], 0
je 0x100292e
test eax, eax
je 0x100292e
movzx edi, word [ebp + 0x10]
push edi
mov esi, 0x10013ac
push esi
push 0x10013a4
push 0x10
push dword [ebx]
call fcn.01001728
mov eax, edi
and eax, 0x3ff
push eax
push esi
push 0x10013a4
push 0x10
push dword [ebx + 4]
call fcn.01001728
shr edi, 0xa
push edi
push esi
push 0x10013a4
push 0x10
push dword [ebx + 8]
call fcn.01001728
push esi
push 0x10013a0
push 0x10
push dword [ebx + 0xc]
call fcn.01001728
mov eax, dword [0x100c290]
add esp, 0x4c
test eax, eax
je 0x100282c
push eax
jmp 0x100282f
push dword [ebp + 0x14]
push 0x100139c
push 8
push dword [ebp - 0xc]
call fcn.01001728
add esp, 0x10
xor esi, esi
push dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
push 0x400
push edi
push 0x100c2a8
push dword [ebp - 0xc]
push dword [ebx + esi*4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x100286f
inc esi
cmp esi, 4
jl 0x1002843
jmp 0x1002938
cmp byte [edi], 0
mov dword [ebp + 0x10], edi
je 0x1002917
mov esi, dword [ebp + 0x10]
mov al, byte [esi]
cmp al, 0x2c
jne 0x100289f
cmp dword [ebp - 0x10], 0
jne 0x100289f
push 0x1001398
push 4
push dword [ebp - 8]
call fcn.0100168e
add dword [ebp - 4], 2
jmp 0x1002902
cmp al, 0x5c
jne 0x10028cc
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp + 0x10], eax
mov al, byte [eax]
cmp al, 0x5c
jne 0x10028c6
push 0x1001280
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc dword [ebp - 4]
jmp 0x1002902
cmp al, 0x6e
jne 0x1002902
jmp 0x100288a
cmp al, 0x22
jne 0x10028de
xor eax, eax
cmp dword [ebp - 0x10], 1
setne al
mov dword [ebp - 0x10], eax
jmp 0x1002902
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub eax, esi
add edi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add dword [ebp - 4], eax
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
mov dword [ebp + 0x10], eax
jne 0x100287b
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0100166f
mov dword [ebp - 0x1c], 1
jmp 0x1002938
mov dword [0x100c290], 0x228
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x1002962
test ebx, ebx
je 0x1002954
push dword [ebx + edi*4]
call esi
inc edi
cmp edi, 4
jl 0x1002945
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 0x14]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x14