Function at 0x46f1a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f6c65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x52bd18]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x450]
mov dword [esp + 0x43c], eax
lea eax, [esp + 0x2c]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x20], ebx
call fcn.00477e00
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x448], ebx
call fcn.004630c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.004630c0
lea ecx, [esi + 0x50]
mov byte [esp + 0x448], 2
call fcn.004e72e3
lea ecx, [esi + 0x58]
call fcn.004e72e3
lea ecx, [esi + 0x60]
call fcn.004e72e3
lea ecx, [esi + 0x68]
call fcn.004e72e3
lea ecx, [esi + 0x70]
call fcn.004e72e3
lea ecx, [esi + 0x78]
call fcn.004e72e3
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x3e8
lea ecx, [esp + 0x5c]
push ecx
push 0x4fca4e
push str.ProgressCtrlBmp1
push str.ProgressCtrl
call ebp
mov al, byte [esp + 0x54]
test al, al
je 0x46f2bb
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00401e30
add esp, 0xc
mov edx, dword [eax]
mov ebx, 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
call fcn.004e72e3
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x46f2c0
mov byte [esp + 0x13], 1
test bl, 1
mov dword [esp + 0x448], 2
je 0x46f2f1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f2f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x46f3a2
push edi
push 0x3e8
lea eax, [esp + 0x5c]
push eax
push 0x4fca4e
push str.ProgressCtrlBmp2
push str.ProgressCtrl
call ebp
mov al, byte [esp + 0x54]
test al, al
je 0x46f367
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00401e30
add esp, 0xc
mov ebp, dword [eax]
or ebx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 4
mov dword [esp + 0x18], ebx
call fcn.004e72e3
push 0
push ebp
lea ecx, [esp + 0x24]
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x46f36c
mov byte [esp + 0x13], 1
test bl, 2
mov dword [esp + 0x448], 2
je 0x46f39a
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f39a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x46f3f4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.004630e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 0
call fcn.004630e0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x448], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f3ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x46f643
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 1
push str.ProgressCtrlStart
push str.ProgressCtrl
call ebp
push edi
push 1
push str.ProgressCtrlEnd
mov ebx, eax
push str.ProgressCtrl
mov dword [esp + 0x28], ebx
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004e6f81
lea ecx, [esp + 0x24]
mov edi, eax
xor ebp, ebp
call fcn.0041e3b0
sub esp, 0x10
mov edx, esp
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ebp
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esi + 0x50]
push eax
push edi
call fcn.00477ac0
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041e3b0
mov edx, dword [esp + 0x18]
mov ebx, eax
sub esp, 0x10
mov ecx, esp
xor eax, eax
mov dword [ecx], eax
lea eax, [esp + 0x2c]
push eax
mov dword [ecx + 4], ebp
lea eax, [esi + 0x68]
push eax
mov dword [ecx + 8], edx
push edi
mov dword [ecx + 0xc], ebx
call fcn.00477ac0
add esp, 0x1c
lea ecx, [esp + 0x24]
call fcn.0041e360
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub eax, ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esi + 0x58]
push eax
push edi
mov dword [ecx + 0xc], ebx
call fcn.00477ac0
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041e360
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x70]
push eax
push edi
mov dword [ecx + 0xc], ebx
call fcn.00477ac0
add esp, 0x1c
lea ecx, [esp + 0x24]
call fcn.0041e360
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], eax
call fcn.0041e360
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esi + 0x60]
push eax
push edi
mov dword [ecx + 0xc], ebx
call fcn.00477ac0
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041e360
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.0041e360
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
lea eax, [esp + 0x2c]
mov dword [ecx + 0xc], ebx
push eax
lea ebx, [esi + 0x78]
push ebx
push edi
call fcn.00477ac0
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x1c]
add esp, 0x1c
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x50]
push eax
lea edi, [esi + 0x80]
push edi
mov ecx, esi
call fcn.0046ea10
push ebx
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x88]
push eax
mov ecx, esi
call fcn.0046ea10
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x206
mov ecx, edi
call fcn.0041e3b0
push eax
mov ecx, edi
call fcn.0041e360
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004e380d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.004630e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 0
call fcn.004630e0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x448], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46f63e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x43c]
call fcn.004ce183
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret 4