Function at 0x10199900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acbf6
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x10216574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x150], esi
push 0x104
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
movq qword [ebp - 0x20], xmm0
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x14], 0
call fcn.1015d520
push 0
lea eax, [ebp - 0x30]
push 0x101f2c30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov dword [ebp - 0x154], 1
lea eax, [ebp - 0x134]
push 0x101f2c38
push 0x103
push eax
push 0x101ef8df
lea eax, [ebp - 0x30]
push eax
push 0x101f2c4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, 0x16
test eax, eax
je 0x10199b95
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
lea edi, [ebp - 0x134]
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x14c], xmm0
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x101999d8
sub edi, ecx
cmp edi, 0x7fffffff
ja 0x10199fed
cmp edi, 0x10
jae 0x10199a20
push edi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x13c], edi
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x138], 0xf
push eax
call fcn.1015d680
mov byte [ebp + edi - 0x14c], 0
jmp 0x10199a78
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10199a33
mov eax, SysReAllocString
jmp 0x10199a39
cmp eax, 0x16
cmovb eax, edx
mov dword [ebp - 0x158], eax
inc eax
push eax
call fcn.10010080
mov esi, eax
mov dword [ebp - 0x13c], edi
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x134]
push edi
push eax
push esi
mov dword [ebp - 0x14c], esi
call fcn.1015d680
mov byte [esi + edi], 0
mov esi, dword [ebp - 0x150]
add esp, 0xc
add esi, 0xb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x158], esi
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10199abf
movups xmm0, xmmword [ebp - 0x14c]
mov ecx, 0xf
mov byte [ebp - 0x14c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x13c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x10199ad4
lea ecx, [ebp - 0x14c]
push ecx
push eax
mov ecx, esi
call fcn.1000fcc0
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x10199b0f
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10199b05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10199fe8
push ecx
push edx
call fcn.1015b197
add esp, 8
push 0x104
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
movq qword [ebp - 0x20], xmm0
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x14], 0
call fcn.1015d520
mov esi, dword [ebp - 0x154]
lea eax, [ebp - 0x30]
push esi
push 0x101f2c30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x134]
inc esi
mov dword [ebp - 0x154], esi
push 0x101f2c38
push 0x103
push eax
push 0x101ef8df
lea eax, [ebp - 0x30]
push eax
push 0x101f2c4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [ebp - 0x150]
mov edx, 0x16
test eax, eax
jne 0x101999b1
jmp 0x10199ba1
lea eax, [esi + 0xb0]
mov dword [ebp - 0x158], eax
push 0
lea eax, [ebp - 0x30]
push str.HPMP_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x154], 1
lea eax, [ebp - 0x134]
push 0x101f2c5c
push 0x103
push eax
push 0x101ef8e2
lea eax, [ebp - 0x30]
push eax
push str.AllHP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10199e02
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
lea edi, [ebp - 0x134]
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x14c], xmm0
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10199c17
sub edi, ecx
cmp edi, 0x7fffffff
ja 0x10199fed
cmp edi, 0x10
jae 0x10199c5f
push edi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x13c], edi
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x138], 0xf
push eax
call fcn.1015d680
mov byte [ebp + edi - 0x14c], 0
jmp 0x10199cbc
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10199c72
mov eax, SysReAllocString
jmp 0x10199c7d
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x15c], eax
inc eax
push eax
call fcn.10010080
mov esi, eax
mov dword [ebp - 0x13c], edi
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x134]
push edi
push eax
push esi
mov dword [ebp - 0x14c], esi
call fcn.1015d680
mov byte [esi + edi], 0
mov esi, dword [ebp - 0x150]
add esp, 0xc
lea edi, [esi + 0xbc]
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
mov dword [ebp - 0x160], edi
cmp eax, dword [edi + 8]
je 0x10199d03
movups xmm0, xmmword [ebp - 0x14c]
mov ecx, 0xf
mov byte [ebp - 0x14c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x13c]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x10199d18
lea ecx, [ebp - 0x14c]
push ecx
push eax
mov ecx, edi
call fcn.1000fcc0
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x10199d53
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10199d49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10199fe8
push ecx
push edx
call fcn.1015b197
add esp, 8
push 0x104
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
movq qword [ebp - 0x20], xmm0
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x14], 0
call fcn.1015d520
push dword [ebp - 0x154]
lea eax, [ebp - 0x30]
push str.HPMP_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
inc dword [ebp - 0x154]
lea eax, [ebp - 0x134]
add esp, 0x18
push 0x101f2c5c
push 0x103
push eax
push 0x101ef8e2
lea eax, [ebp - 0x30]
push eax
push str.AllHP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10199bf0
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x158]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ecx, dword [sym.imp.USER32.dll_SendMessageA]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x15c], eax
test eax, eax
jle 0x10199eec
mov edi, dword [ebp - 0x158]
xor esi, esi
jmp 0x10199e1c
mov edx, dword [ebp - 0x150]
lea edi, [edx + 0xbc]
mov dword [ebp - 0x160], edi
jmp 0x10199dd0
mov edx, dword [ebp - 0x150]
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199e28
mov eax, dword [eax]
push eax
push 0
push 0x143
push dword [edx + 0x208]
call ecx
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199e44
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x150]
push 0
push 0x143
push dword [eax + 0x288]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199e6a
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x150]
push 0
push 0x143
push dword [eax + 0x308]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199e90
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x150]
push 0
push 0x143
push dword [eax + 0x388]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199eb6
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x150]
push 0
push 0x143
push dword [eax + 0x408]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [sym.imp.USER32.dll_SendMessageA]
add esi, 0x18
sub dword [ebp - 0x15c], 1
jne 0x10199e16
mov edi, dword [ebp - 0x160]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x10199f3a
xor esi, esi
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10199f12
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x150]
push 0
push 0x143
push dword [eax + 0x488]
call ecx
mov ecx, dword [sym.imp.USER32.dll_SendMessageA]
add esi, 0x18
sub dword [ebp - 0x160], 1
jne 0x10199f06
push 0x104
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.1015d520
add esp, 0xc
lea eax, [ebp - 0x134]
push 0x101f2c78
push 0x103
push eax
push 0x101f2c8c
push str.Item0
push str.AllMoveItem
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10199f80
mov esi, dword [ebp - 0x150]
lea eax, [ebp - 0x134]
sub ecx, edx
push ecx
push eax
lea ecx, [esi + 0xc8]
call fcn.1000f9d0
push 0x3eb
push 0x3ec
push 0x3eb
mov ecx, esi
call fcn.1001b4a3
push 0
push 0x190
push 0x578
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015b166
mov esp, ebp
pop ebp
ret
call fcn.10160ddf
call fcn.1000ff20
int3