Function at 0x46fcd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fcc2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x531d28]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x168]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x18]
push edi
push eax
mov esi, ecx
call fcn.00479d80
add esp, 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0xd
push str.ItemHeight
push 0x50f778
mov dword [esp + 0x170], 0
call ebp
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push edi
push 5
mov dword [esi + 0x14c], eax
call ebx
push eax
push str.ItemBackColor1
push 0x50f778
call ebp
push edi
push 5
mov dword [esi + 0x150], eax
call ebx
push eax
push str.ItemBackColor2
push 0x50f778
call ebp
push edi
push 0xd
mov dword [esi + 0x154], eax
call ebx
push eax
push str.ItemHilightColor
push 0x50f778
call ebp
push edi
push 0x11
mov dword [esi + 0x158], eax
call ebx
push eax
push str.ItemSpliterColor
push 0x50f778
call ebp
push edi
push 0
push str.ProgressLeft
push 0x50f778
mov dword [esi + 0x15c], eax
call ebp
push edi
push 0
push str.ProgressRight
push 0x50f778
mov dword [esi + 0x174], eax
call ebp
push edi
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x502a56
push str.Progress1
push 0x50f778
mov dword [esi + 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x502aa8
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00401e30
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x178], 1
call fcn.00401e30
add esp, 0x18
mov eax, dword [eax]
lea ebx, [esi + 0x164]
mov ecx, ebx
mov byte [esp + 0x160], 2
mov dword [esp + 0x1c], eax
call fcn.004ed255
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov ecx, ebx
call fcn.004631c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x160], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fe66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x160], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fe8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
push 0xff
lea eax, [esp + 0x5c]
push eax
push 0x502a56
push str.Progress2
push 0x50f778
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x502aa8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401e30
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x178], 3
call fcn.00401e30
add esp, 0x18
mov eax, dword [eax]
lea ebx, [esi + 0x16c]
mov ecx, ebx
mov byte [esp + 0x160], 4
mov dword [esp + 0x10], eax
call fcn.004ed255
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, ebx
call fcn.004631c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x160], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46ff2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x160], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ff50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
push 0
push str.SandGlassWidth
push 0x50f778
call ebp
push edi
push 0xff
mov dword [esi + 0x184], eax
lea eax, [esp + 0x5c]
push eax
push 0x502a56
push str.SandGlass
push 0x50f778
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x502aa8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00401e30
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x178], 5
call fcn.00401e30
add esp, 0x18
mov ebx, dword [eax]
lea ebp, [esi + 0x17c]
mov ecx, ebp
mov byte [esp + 0x160], 6
call fcn.004ed255
push 0
push ebx
mov ecx, ebp
call fcn.004631c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x160], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x160], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x184]
test eax, eax
je 0x470084
test ebp, ebp
je 0x470036
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x470048
xor eax, eax
xor edx, edx
div dword [esi + 0x184]
mov dword [esi + 0x188], eax
jmp 0x47008e
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x30], eax
push 0x18
mov dword [esp + 0x38], eax
push ebp
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x24]
xor edx, edx
div dword [esi + 0x184]
mov dword [esi + 0x188], eax
jmp 0x47008e
mov dword [esi + 0x188], 0
push 3
push edi
lea ecx, [esi + 0x50]
call fcn.00474b70
push edi
lea ecx, [esi + 0xd0]
call fcn.0046e5c0
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0x190]
push edi
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov esi, dword [esi + 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x38]
push edx
push 0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 4]
push 0x47
sub ecx, eax
push esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0x216
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x160], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x470119
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x144]
mov eax, 1
call fcn.004d40be
add esp, 0x154
ret 4