Function at 0x1005b9a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e44cb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.Drawing::HookGroup.0
push 0xc
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100b4eaa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi], vtable.Drawing::UI.0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
mov byte [ebp - 4], 2
push 0xc
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
call fcn.100b4eaa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x70], eax
lea ebx, [edi + 0x58]
mov byte [ebp - 4], 3
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov ecx, dword [0x1012f1d0]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ecx]
sub ecx, eax
cmp ecx, 0x190
jb 0x1005ba80
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov dword [edi + 0x14], 0x190
call esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov ecx, dword [0x1012f1d0]
mov ecx, dword [ecx]
sub ecx, eax
cmp ecx, 0x115
jb 0x1005baa9
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov dword [edi + 0x18], 0x115
call esi
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x68]
call fcn.1003ecf0
push ebx
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x68]
lea ecx, [edi + 0x3c]
cmp ecx, eax
je 0x1005badb
cmp dword [ebp - 0x54], 0x10
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1003f030
push ebx
call esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1005bb16
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bb0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be09
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [0x101252d4]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 6
jb 0x1005be0e
cmp dword [0x101252d8], 0x10
mov eax, 0x101252c4
push 6
cmovae eax, dword [0x101252c4]
push str.UI.ini
push ecx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.1003f600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp + 0x10]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp + 0x24], 0x10
push ecx
cmovae eax, dword [ebp + 0x10]
push 0
push 0x10103cc0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, eax
mov eax, dword [0x1012f1e0]
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax]
ja 0x1005bb9b
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x40]
push ebx
mov dword [edi + 0xc], eax
call esi
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 0x10]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp + 0x24], 0x10
push ecx
cmovae eax, dword [ebp + 0x10]
push 0
push 0x10103ccc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, eax
mov eax, dword [0x1012f1d0]
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax]
ja 0x1005bbde
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x40]
push ebx
mov dword [edi + 0x10], eax
call esi
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 0x10]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp + 0x24], 0x10
push ecx
cmovae eax, dword [ebp + 0x10]
push 0xea
push str.minimizedX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov dword [edi + 0x20], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 0x10]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp + 0x24], 0x10
push ecx
cmovae eax, dword [ebp + 0x10]
push 0x249
push str.minimizedY
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x24], esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call esi
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
lea ecx, [ebp + 0x10]
cmovae eax, dword [ebp - 0x3c]
cmp dword [ebp + 0x24], 0x10
push eax
cmovae ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 0x14
push eax
push str.true
push str.Minimized
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub esp, 0x18
lea ecx, [ebp - 0x24]
mov edx, esp
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005bca6
sub ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, edx
call fcn.1003f030
call fcn.10041230
add esp, 0x18
mov ecx, edi
test al, al
je 0x1005bd24
push 1
call fcn.1005d110
cmp dword [0x1012f200], 0x15555555
mov eax, dword [0x1012f1fc]
mov dword [ebp - 0x40], eax
je 0x1005be13
mov dword [ebp - 0x4c], 0x1012f1fc
mov byte [ebp - 4], 6
push 0xc
mov dword [ebp - 0x48], 0
call fcn.100b4eaa
mov edx, dword [ebp - 0x40]
add esp, 4
mov byte [ebp - 4], 5
mov dword [eax + 8], edi
inc dword [0x1012f200]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
jmp 0x1005bd2b
push 0
call fcn.1005d110
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov byte [edi + 0x28], 0
call esi
mov eax, dword [0x1012f1f8]
mov dword [edi + 0x1c], eax
cmp dword [0x1012f1f8], 0x15555555
mov esi, dword [0x1012f1f4]
je 0x1005be13
mov dword [ebp - 0x4c], 0x1012f1f4
mov byte [ebp - 4], 7
push 0xc
mov dword [ebp - 0x48], 0
call fcn.100b4eaa
add esp, 4
mov dword [eax + 8], edi
inc dword [0x1012f1f8]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x1005bdb9
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bdaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be1d
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov edx, dword [ebp + 0x24]
cmp edx, 0x10
jb 0x1005bde9
mov ecx, dword [ebp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bddf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be22
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret 0x20
call fcn.100ba49f
call fcn.10036790
push str.list_too_long
call fcn.100b2c5b
call fcn.100ba49f
call fcn.100ba49f
int3