Function at 0x4710c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fce25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x531d28]
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.00479d80
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x448], ebx
call fcn.00465020
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.00465020
lea ecx, [esi + 0x50]
mov byte [esp + 0x448], 2
call fcn.004ed255
lea ecx, [esi + 0x58]
call fcn.004ed255
lea ecx, [esi + 0x60]
call fcn.004ed255
lea ecx, [esi + 0x68]
call fcn.004ed255
lea ecx, [esi + 0x70]
call fcn.004ed255
lea ecx, [esi + 0x78]
call fcn.004ed255
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x3e8
lea ecx, [esp + 0x5c]
push ecx
push 0x502a56
push str.ProgressCtrlBmp1
push str.ProgressCtrl
call ebp
mov al, byte [esp + 0x54]
test al, al
je 0x4711db
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.004ed255
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.004631c0
test eax, eax
mov byte [esp + 0x13], 0
jne 0x4711e0
mov byte [esp + 0x13], 1
test bl, 1
mov dword [esp + 0x448], 2
je 0x471211
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 0x471211
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x4712c2
push edi
push 0x3e8
lea eax, [esp + 0x5c]
push eax
push 0x502a56
push str.ProgressCtrlBmp2
push str.ProgressCtrl
call ebp
mov al, byte [esp + 0x54]
test al, al
je 0x471287
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.004ed255
push 0
push ebp
lea ecx, [esp + 0x24]
call fcn.004631c0
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47128c
mov byte [esp + 0x13], 1
test bl, 2
mov dword [esp + 0x448], 2
je 0x4712ba
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 0x4712ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x471314
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.00465040
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 0
call fcn.00465040
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 0x47130d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x471563
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.004ecef3
lea ecx, [esp + 0x24]
mov edi, eax
xor ebp, ebp
call fcn.0041f5c0
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.00479a40
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041f5c0
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.00479a40
add esp, 0x1c
lea ecx, [esp + 0x24]
call fcn.0041f570
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.00479a40
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041f570
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.00479a40
add esp, 0x1c
lea ecx, [esp + 0x24]
call fcn.0041f570
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], eax
call fcn.0041f570
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.00479a40
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.0041f570
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.0041f570
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.00479a40
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.00470930
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.00470930
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.0041f5c0
push eax
mov ecx, edi
call fcn.0041f570
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004e977f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x448], 1
call fcn.00465040
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 0
call fcn.00465040
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 0x47155e
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.004d40be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret 4