Function at 0x10012b50
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10082633
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
mov ecx, 0x100afb2c
mov dword [esp + 0x24], edi
call fcn.1007bc3c
push eax
push ebx
push 0x10096bc4
push 0x10096bbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, eax
mov eax, dword [0x1009dd3c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], ebx
mov ecx, dword [0x1009dd3c]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x94], 1
mov edx, dword [edi + 0xb4]
push ebx
push ebx
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
cmp ebp, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jle 0x10012cda
lea edi, [esi + 1]
lea eax, [esp + 0x18]
push edi
push 0x100964f0
push eax
call fcn.100766d3
add esp, 0xc
mov ecx, 0x100afb2c
push ebx
call fcn.1007bc3c
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x20]
call fcn.1007bc3c
push eax
push 0x100a3ee0
push ebx
lea ecx, [esp + 0x2c]
call fcn.1007bc3c
push eax
push 0x10096bbc
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.1007bc8b
push ebx
lea ecx, [esp + 0x18]
call fcn.1007bc3c
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push eax
push esi
push 1
add ecx, 0x98
call fcn.10076fea
push edi
lea edx, [esp + 0x1c]
push 0x100964e8
push edx
call fcn.100766d3
add esp, 0xc
mov ecx, 0x100afb2c
push ebx
call fcn.1007bc3c
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x20]
call fcn.1007bc3c
push eax
push 0x100a3ee0
push ebx
lea ecx, [esp + 0x2c]
call fcn.1007bc3c
push eax
push 0x10096bbc
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.1007bc8b
push ebx
lea ecx, [esp + 0x18]
call fcn.1007bc3c
push eax
mov eax, dword [esp + 0x24]
push 1
push esi
lea ecx, [eax + 0x98]
call fcn.10077036
mov eax, dword [esp + 0x24]
mov esi, edi
cmp esi, eax
jl 0x10012bdd
mov edi, dword [esp + 0x20]
push ebx
mov ecx, 0x100afb2c
call fcn.1007bc3c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push ebx
push 0x10096bb0
push 0x10096bbc
call esi
push ebx
mov ecx, 0x100afb2c
mov dword [edi + 0x130], eax
call fcn.1007bc3c
push eax
push ebx
push 0x10096ba4
push 0x10096bbc
call esi
push ebx
mov ecx, 0x100afb2c
mov dword [edi + 0x134], eax
call fcn.1007bc3c
push eax
push ebx
push 0x10096b98
push 0x10096bbc
call esi
push ebx
mov ecx, 0x100afb2c
mov dword [edi + 0x124], eax
call fcn.1007bc3c
push eax
push ebx
push 0x10096b8c
push 0x10096bbc
call esi
push ebx
mov ecx, 0x100afb2c
mov dword [edi + 0x128], eax
call fcn.1007bc3c
push eax
push ebx
push 0x10096b80
push 0x10096bbc
call esi
push ebx
mov ecx, 0x100afb2c
mov dword [edi + 0x12c], eax
call fcn.1007bc3c
push eax
push 0x104
push 0x104
lea ecx, [edi + 0x120]
call fcn.1007bc3c
push eax
push 0x10096b4c
push 0x10096b74
push 0x10096bbc
call ebp
push 0xffffffffffffffff
lea ecx, [edi + 0x120]
call fcn.1007bc8b
mov ecx, dword [0x1009dd3c]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x94], 2
push ebx
mov ecx, 0x100afb2c
call fcn.1007bc3c
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x24]
call fcn.1007bc3c
push eax
push 0x10096bd8
push 0x10096b64
push 0x10096bbc
call ebp
push ebx
push ebx
mov edx, dword [edi + 0xf0]
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebp
jle 0x100130c5
add edi, 0xd4
mov dword [esp + 0x28], edi
jmp 0x10012e38
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
push ebx
lea eax, [esp + 0x30]
push ebp
push eax
mov ecx, edi
call fcn.10077061
mov byte [esp + 0x94], 3
push eax
lea ecx, [esp + 0x20]
call fcn.1007b9b9
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x2c]
call fcn.1007b8cc
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1007634d
cmp eax, 0xffffffff
mov ecx, edi
je 0x10012f97
push 0x10096b70
push 1
push ebp
call fcn.10077036
push ebx
lea ecx, [esp + 0x20]
call fcn.1007bc3c
mov dl, byte [esp + 0x13]
mov esi, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x54], dl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x58]
push ebp
call fcn.100143f0
test al, al
je 0x10012eec
mov edi, dword [esp + 0x58]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], ebp
mov byte [ecx + ebp], bl
mov byte [esp + 0x94], 4
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x7c]
call fcn.10013fb0
mov byte [esp + 0x94], 5
mov dword [esp + 0x88], ebx
mov byte [esp + 0x94], 6
lea eax, [esp + 0x78]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0x100afa80
call fcn.10014510
mov esi, dword [esp + 0x34]
mov byte [esp + 0x94], 4
push 1
lea ecx, [esp + 0x7c]
call fcn.10014380
mov dword [esi + 0x1c], 1
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x10012f86
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x10012f7d
cmp cl, 0xff
je 0x10012f7d
dec cl
mov byte [eax], cl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
jmp 0x100130a6
push eax
call fcn.10077adb
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
jmp 0x100130a6
push 0x10096bd0
push 1
push ebp
call fcn.10077036
push ebx
lea ecx, [esp + 0x20]
call fcn.1007bc3c
mov dl, byte [esp + 0x13]
mov esi, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x44], dl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x48]
push ebp
call fcn.100143f0
test al, al
je 0x10013001
mov edi, dword [esp + 0x48]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ebp
mov byte [ecx + ebp], bl
mov byte [esp + 0x94], 8
mov dl, byte [esp + 0x44]
push ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], dl
call fcn.10014380
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push ebx
push eax
lea ecx, [esp + 0x70]
call fcn.10014180
mov byte [esp + 0x94], 9
mov dword [esp + 0x74], ebx
mov byte [esp + 0x94], 0xa
lea ecx, [esp + 0x64]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x100afa80
call fcn.10014510
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x94], 8
push 1
lea ecx, [esp + 0x68]
call fcn.10014380
mov dword [esi + 0x1c], ebx
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x1001309a
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x10013091
cmp cl, 0xff
je 0x10013091
dec cl
mov byte [eax], cl
jmp 0x1001309a
push eax
call fcn.10077adb
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x10012e30
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
mov ecx, 0x100afb2c
call fcn.1007bc3c
push eax
push ebx
push 0x10096b58
push 0x10096bbc
call esi
push ebx
mov ecx, edi
mov dword [edi + 0x110], eax
call fcn.10079c7c
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x1c]
call fcn.1007b8cc
mov byte [esp + 0x94], bl
lea ecx, [esp + 0x14]
call fcn.1007b8cc
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1007b8cc
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret