Function at 0x46ddb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f6a6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x52bd18]
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.00477e00
add esp, 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0xd
push str.ItemHeight
push 0x509890
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 0x509890
call ebp
push edi
push 5
mov dword [esi + 0x150], eax
call ebx
push eax
push str.ItemBackColor2
push 0x509890
call ebp
push edi
push 0xd
mov dword [esi + 0x154], eax
call ebx
push eax
push str.ItemHilightColor
push 0x509890
call ebp
push edi
push 0x11
mov dword [esi + 0x158], eax
call ebx
push eax
push str.ItemSpliterColor
push 0x509890
call ebp
push edi
push 0
push str.ProgressLeft
push 0x509890
mov dword [esi + 0x15c], eax
call ebp
push edi
push 0
push str.ProgressRight
push 0x509890
mov dword [esi + 0x174], eax
call ebp
push edi
push 0xff
lea ecx, [esp + 0x5c]
push ecx
push 0x4fca4e
push str.Progress1
push 0x509890
mov dword [esi + 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4fcaa0
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.004e72e3
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov ecx, ebx
call fcn.00461210
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 0x46df46
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 0x46df6c
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 0x4fca4e
push str.Progress2
push 0x509890
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4fcaa0
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.004e72e3
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, ebx
call fcn.00461210
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 0x46e00a
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 0x46e030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
push 0
push str.SandGlassWidth
push 0x509890
call ebp
push edi
push 0xff
mov dword [esi + 0x184], eax
lea eax, [esp + 0x5c]
push eax
push 0x4fca4e
push str.SandGlass
push 0x509890
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4fcaa0
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.004e72e3
push 0
push ebx
mov ecx, ebp
call fcn.00461210
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 0x46e0db
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 0x46e101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x184]
test eax, eax
je 0x46e164
test ebp, ebp
je 0x46e116
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x46e128
xor eax, eax
xor edx, edx
div dword [esi + 0x184]
mov dword [esi + 0x188], eax
jmp 0x46e16e
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 0x46e16e
mov dword [esi + 0x188], 0
push 3
push edi
lea ecx, [esi + 0x50]
call fcn.00472bf0
push edi
lea ecx, [esi + 0xd0]
call fcn.0046c6a0
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 0x46e1f9
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.004ce183
add esp, 0x154
ret 4