Function at 0x410c10
Capabilities:
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56ac41
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4b7c
call fcn.00527a90
mov eax, dword [0x5bfc00]
xor eax, esp
mov dword [esp + 0x4b78], eax
push ebx
push esi
push edi
mov eax, dword [0x5bfc00]
xor eax, esp
push eax
lea eax, [esp + 0x4b90]
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.00436da7
push edi
call fcn.00437c1c
add esp, 4
push 0xc
call fcn.00423988
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x4b98], edi
cmp eax, edi
je 0x410cb2
mov ecx, eax
call fcn.004383d7
mov dword [esp + 0x14], eax
jmp 0x410cb6
mov dword [esp + 0x14], edi
mov ebx, 2
mov dword [esp + 0x4b98], 0xffffffff
cmp dword [0x5c8adc], ebx
jl 0x410cea
mov ecx, dword [0x5c8ae0]
mov edx, dword [ecx + 4]
push edx
push 0x599e94
push 0x5ca198
call fcn.00403300
add esp, 0xc
call fcn.00410200
mov eax, dword [0x5ca190]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x410fdb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Install.zip
call fcn.00401f10
lea ecx, [esp + 0x20]
push ecx
call fcn.00411a60
mov dword [esp + 0x4ba0], 1
mov eax, dword [esp + 0x24]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402d80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004117c0
xor esi, esi
add esp, 4
cmp eax, esi
je 0x411057
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 + 0x4b98], bl
call fcn.00435894
lea edx, [esp + 0x7c]
mov byte [esp + 0x4b98], 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 0x410dbe
call fcn.0040f550
jmp 0x410dc3
call fcn.0040f6d0
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 0x410e2d
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x410de3
xor esi, esi
cmp edi, esi
jl 0x410e8a
cmp edi, eax
jge 0x410e8a
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp dword [edx + edi*4], ecx
jne 0x410e24
call fcn.0040f9b0
mov esi, eax
test esi, esi
je 0x410e24
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x410e24
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 0x410de1
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 0x410e95
lea ebx, [ebx]
call fcn.00428cc8
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 0x410e8f
push 0
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
call esi
test eax, eax
jne 0x410e60
jmp 0x410e95
call fcn.004260c6
call dword [sym.imp.USER32.dll_PostQuitMessage]
dec ebx
jne 0x410e40
lea edi, [esp + 0x18]
call fcn.004143e0
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x410ed9
push 0x59a024
push eax
call fcn.00522301
add esp, 8
test eax, eax
je 0x410ed9
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x410ed9
mov edx, dword [0x5ca190]
push edx
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x410ed9
mov bl, 1
jmp 0x410edb
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 0x410efd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x410f7d
push 0x10
push 0x59a028
push 0x59a030
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x2c], vtable.CProcessManager.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x4b98], 4
call fcn.00435ad2
mov byte [esp + 0x4b98], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
test eax, eax
je 0x410f4f
push eax
call fcn.004239c2
add esp, 4
mov dword [esp + 0x4b98], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x410f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x411033
mov dword [esp + 0x2c], vtable.CProcessManager.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x4b98], 5
call fcn.00435ad2
mov byte [esp + 0x4b98], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], vtable.CArray_unsigned_long_int__unsigned_long_int_.0
test eax, eax
je 0x410fb7
push eax
call fcn.004239c2
add esp, 4
mov dword [esp + 0x4b98], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x410fdb
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.004193e0
mov dword [esp + 0x4b98], 6
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x114]
mov ecx, edx
mov dword [eax + 0x20], edx
call fcn.004349d0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x411019
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
lea ecx, [esp + 0x114]
push ecx
mov dword [esp + 0x4b9c], 0xffffffff
call fcn.00411140
xor eax, eax
mov ecx, dword [esp + 0x4b90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b78]
xor ecx, esp
call fcn.00521a0b
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 0x411081
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 0x4110b9
test esi, esi
je 0x4110b5
push esi
call ebx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4110c2
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 0x4110f1
test esi, esi
je 0x4110ed
push esi
call ebx
mov esi, dword [esp + 0x14]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push 0
push 0x59a08c
push esi
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x411117
push esi
call ebx
mov dword [esp + 0x4b98], 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 0x410f67