Function at 0x4036a0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40c5cb
push eax
mov eax, 0x1528
mov dword fs:[0], esp
call fcn.00406c90
push ebx
call fcn.00401060
mov ebx, eax
mov ecx, ebx
call fcn.00404710
test eax, eax
je 0x403b0a
lea eax, [ebx + 0x80c]
mov ecx, ebx
push eax
call fcn.00404100
push eax
lea eax, [esp + 0x534]
push eax
call fcn.004059e0
lea ecx, [esp + 0x52c]
push ecx
call fcn.00405b60
test eax, eax
jne 0x40371f
lea edx, [esp + 0x52c]
push edx
push 0x483
call fcn.004052f0
add esp, 8
xor eax, eax
jmp 0x403b0a
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebx + 0x100c], 1
jbe 0x403844
mov eax, dword [ebx + 0x1414]
test eax, eax
jne 0x403844
mov ecx, dword [0x40f270]
mov edx, dword [0x40f274]
mov eax, dword [str.TRANSFORMS_]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x21], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x25], ecx
mov dword [esp + 0x14], eax
mov al, byte [0x40f278]
mov dword [esp + 0x29], ecx
lea ebp, [ebx + 0x1014]
mov dword [esp + 0x2d], ecx
push edx
push ebp
mov byte [esp + 0x28], al
mov byte [esp + 0x39], cl
call fcn.00406c10
mov edx, eax
add esp, 8
test edx, edx
jne 0x4037e6
mov edi, str.TRANSFORMS
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.00406c10
mov edx, eax
add esp, 8
test edx, edx
je 0x403822
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [edx], 0
lea eax, [ecx + edx]
lea edx, [ebx + 0xc0c]
push eax
lea eax, [esp + 0x18]
push edx
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x148]
push str._s_s_s__s
push ecx
call ebp
add esp, 0x18
jmp 0x403863
lea edx, [ebx + 0xc0c]
lea eax, [esp + 0x138]
push edx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push str._s_TRANSFORMS__s_
push eax
call ebp
add esp, 0x10
jmp 0x403863
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebx + 0x1014]
push ecx
lea edx, [esp + 0x13c]
push 0x40f23c
push edx
call ebp
add esp, 0xc
mov eax, dword [ebx + 0x141c]
dec eax
cmp eax, 3
ja case.default.0x403873
jmp dword [eax*4 + 0x403b24]
mov edx, dword [str.MSIEXEC.EXE]
lea eax, [esp + 0x138]
lea ecx, [esp + 0x538]
push eax
push ecx
push edx
push str._s__a___s__s
jmp 0x403943
lea ecx, [esp + 0x138]
lea edx, [esp + 0x538]
push ecx
mov ecx, dword [str.MSIEXEC.EXE]
lea eax, [ebx + 0x1420]
push edx
push eax
push ecx
lea edx, [esp + 0xd48]
push str._s__f_s___s___s
push edx
call ebp
add esp, 0x18
jmp 0x403950
lea eax, [esp + 0x138]
lea ecx, [esp + 0x538]
push eax
mov eax, dword [str.MSIEXEC.EXE]
lea edx, [ebx + 0x1420]
push ecx
push edx
push eax
lea ecx, [esp + 0xd48]
push str._s__j_s___s___s
push ecx
call ebp
add esp, 0x18
jmp 0x403950
mov ecx, dword [str.MSIEXEC.EXE]
lea edx, [esp + 0x138]
lea eax, [esp + 0x538]
push edx
push eax
push ecx
lea edx, [esp + 0xd44]
push str._s__x___s___s
push edx
jmp 0x40394b
mov edx, dword [str.MSIEXEC.EXE]
lea eax, [esp + 0x138]
lea ecx, [esp + 0x538]
push eax
push ecx
push edx
push str._s__i___s___s
lea eax, [esp + 0xd48]
push eax
call ebp
add esp, 0x14
mov eax, dword [esp + 0x1548]
xor esi, esi
cmp eax, esi
je 0x403aee
mov dword [esp + 0x10], esi
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
lea ecx, [esp + 0x1c]
mov dword [esp + 0x154c], esi
call fcn.00403e70
test eax, eax
jne 0x403acb
mov ecx, 0xff
lea edi, [esp + 0x939]
mov byte [esp + 0x938], al
push 0x40f1b4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x13c]
push ecx
stosb byte es:[edi], al
call fcn.00406b66
mov edi, eax
add esp, 8
cmp edi, esi
je 0x403a3c
mov esi, 0x40fc60
lea ecx, [esp + 0x938]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x4039ef
test dl, dl
je 0x4039eb
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x4039ef
add ecx, 2
add esi, 2
test dl, dl
jne 0x4039cb
xor ecx, ecx
jmp 0x4039f4
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
push edi
jne 0x403a0d
lea ecx, [esp + 0x93c]
push str._s_
push ecx
call ebp
add esp, 0xc
jmp 0x403a27
lea edx, [esp + 0x93c]
lea eax, [esp + 0x93c]
push edx
push str._s_s_
push eax
call ebp
add esp, 0x10
push 0x40f1b4
push 0
call fcn.00406b66
mov edi, eax
add esp, 8
test edi, edi
jne 0x4039bf
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.004046f0
test eax, eax
je 0x403a64
lea ecx, [esp + 0x34]
push 0x40f1a0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x4106c4]
lea edx, [esp + 0x538]
push 0x400
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x938]
push ecx
lea eax, [ebx + 0x80c]
push edx
push eax
mov ecx, ebx
call fcn.00404100
push eax
lea eax, [esp + 0x548]
push eax
lea ecx, [esp + 0x114c]
push str.__s___t__s___m__s___v__s___s
push ecx
call ebp
mov edx, dword [str.Setup]
add esp, 0x1c
lea eax, [esp + 0x1138]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00403eb0
push 0x453
call fcn.00405360
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x1540], 0xffffffff
call fcn.00403e50
jmp 0x403b02
call fcn.004021b0
lea ecx, [esp + 0xd38]
push 1
push ecx
call fcn.00405d70
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x152c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1534
ret 4