Function at 0x410c60
Capabilities:
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c5f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5854
call fcn.005295a0
mov eax, dword [0x5c1c00]
xor eax, esp
mov dword [esp + 0x5850], eax
push ebx
push esi
push edi
mov eax, dword [0x5c1c00]
xor eax, esp
push eax
lea eax, [esp + 0x5868]
mov dword fs:[0], eax
lea eax, [esp + 0x58]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], edi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004388e6
push edi
call fcn.0043975b
add esp, 4
push 0xc
call fcn.00425508
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x5870], edi
cmp eax, edi
je 0x410d02
mov ecx, eax
call fcn.00439f16
mov dword [esp + 0x14], eax
jmp 0x410d06
mov dword [esp + 0x14], edi
mov ebx, 2
mov dword [esp + 0x5870], 0xffffffff
cmp dword [0x5caadc], ebx
jl 0x410d3a
mov ecx, dword [0x5caae0]
mov edx, dword [ecx + 4]
push edx
push 0x59be84
push 0x5cc19c
call fcn.00403220
add esp, 0xc
call fcn.00410250
mov eax, dword [0x5cc0dc]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x41102b
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Install.zip
call fcn.00401ed0
lea ecx, [esp + 0x20]
push ecx
call fcn.00411c70
mov dword [esp + 0x5878], 1
mov eax, dword [esp + 0x24]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402c90
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00411870
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4110a7
mov dword [esp + 0x2c], vtable.CProcessManager.0
mov dword [esp + 0x30], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x5870], bl
call fcn.004373d3
lea edx, [esp + 0x7c]
mov byte [esp + 0x5870], 3
push edx
mov dword [esp + 0x80], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x8c], ebx
je 0x410e0e
call fcn.0040f4c0
jmp 0x410e13
call fcn.0040f640
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, esi
jle 0x410e7d
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x410e33
xor esi, esi
cmp edi, esi
jl 0x410eda
cmp edi, eax
jge 0x410eda
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp dword [edx + edi*4], ecx
jne 0x410e74
call fcn.0040f920
mov esi, eax
test esi, esi
je 0x410e74
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x410e74
push 0xffffffffffffffff
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x410e31
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 3
mov edi, edi
push 0x3e8
call edi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
call esi
test eax, eax
je 0x410ee5
lea ebx, [ebx]
call fcn.0042a861
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
push 0
test eax, eax
je 0x410edf
push 0
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
call esi
test eax, eax
jne 0x410eb0
jmp 0x410ee5
call fcn.00427c2a
call dword [sym.imp.USER32.dll_PostQuitMessage]
dec ebx
jne 0x410e90
lea edi, [esp + 0x18]
call fcn.00415020
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x410f29
push 0x59c014
push eax
call fcn.00523e0f
add esp, 8
test eax, eax
je 0x410f29
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x410f29
mov edx, dword [0x5cc0dc]
push edx
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x410f29
mov bl, 1
jmp 0x410f2b
xor bl, bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x410fcd
push 0x10
push 0x59c018
push 0x59c020
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x2c], vtable.CProcessManager.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x5870], 4
call fcn.00437611
mov byte [esp + 0x5870], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
test eax, eax
je 0x410f9f
push eax
call fcn.00425542
add esp, 4
mov dword [esp + 0x5870], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x410fc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x411083
mov dword [esp + 0x2c], vtable.CProcessManager.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x5870], 5
call fcn.00437611
mov byte [esp + 0x5870], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
test eax, eax
je 0x411007
push eax
call fcn.00425542
add esp, 4
mov dword [esp + 0x5870], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41102b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x114]
push ecx
call fcn.0041a740
mov dword [esp + 0x5870], 6
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x114]
mov ecx, edx
mov dword [eax + 0x20], edx
call fcn.0043650f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x411069
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
lea ecx, [esp + 0x114]
push ecx
mov dword [esp + 0x5874], 0xffffffff
call fcn.00411190
xor eax, eax
mov ecx, dword [esp + 0x5868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5850]
xor ecx, esp
call fcn.00523519
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push 0
push str.Software
push SysReAllocString
mov dword [esp + 0x34], esi
call edi
test eax, eax
jne 0x4110d1
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SetupBox
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x411109
test esi, esi
je 0x411105
push esi
call ebx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x411112
push esi
call ebx
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push 0
push str.SoftwareSetupBox
push SysReAllocString
mov dword [esp + 0x28], 0
call edi
test eax, eax
jne 0x411141
test esi, esi
je 0x41113d
push esi
call ebx
mov esi, dword [esp + 0x14]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push 0
push 0x59c07c
push esi
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x411167
push esi
call ebx
mov dword [esp + 0x5870], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x410fb7