Function at 0x4037c0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40cadb
push eax
mov eax, 0x1928
mov dword fs:[0], esp
call fcn.004071a0
push ebx
call fcn.00401060
mov ebx, eax
mov ecx, ebx
call fcn.00404a40
test eax, eax
je 0x403d92
lea eax, [ebx + 0x810]
mov ecx, ebx
push eax
call fcn.004043a0
push eax
lea eax, [esp + 0x134]
push eax
call fcn.00405dd0
lea ecx, [esp + 0x12c]
push ecx
call fcn.00405f50
test eax, eax
jne 0x403849
lea edx, [esp + 0x12c]
mov dword [0x41072c], 0x483
push edx
push 0x483
call fcn.004056e0
add esp, 8
xor eax, eax
jmp 0x403d92
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x539]
mov byte [esp + 0x538], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebx + 0x1010], 1
jbe 0x40396e
mov eax, dword [ebx + 0x1418]
test eax, eax
jne 0x40396e
mov ecx, dword [0x40f2cc]
mov edx, dword [0x40f2d0]
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 [0x40f2d4]
mov dword [esp + 0x29], ecx
lea ebp, [ebx + 0x1018]
mov dword [esp + 0x2d], ecx
push edx
push ebp
mov byte [esp + 0x28], al
mov byte [esp + 0x39], cl
call fcn.00407120
mov edx, eax
add esp, 8
test edx, edx
jne 0x403910
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.00407120
mov edx, eax
add esp, 8
test edx, edx
je 0x40394c
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 + 0xc10]
push eax
lea eax, [esp + 0x18]
push edx
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x548]
push str._s_s_s__s
push ecx
call ebp
add esp, 0x18
jmp 0x40398d
lea edx, [ebx + 0xc10]
lea eax, [esp + 0x538]
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 0x40398d
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebx + 0x1018]
push ecx
lea edx, [esp + 0x53c]
push 0x40f298
push edx
call ebp
add esp, 0xc
mov eax, dword [ebx + 0x1420]
dec eax
cmp eax, 4
ja case.default.0x40399d
jmp dword [eax*4 + 0x403dac]
mov edx, dword [str.MSIEXEC.EXE]
lea eax, [esp + 0x538]
lea ecx, [esp + 0x138]
push eax
push ecx
push edx
lea eax, [esp + 0x1144]
push str._s__a___s__s
push eax
jmp 0x403aa2
lea ecx, [esp + 0x538]
lea edx, [esp + 0x138]
push ecx
mov ecx, dword [str.MSIEXEC.EXE]
lea eax, [ebx + 0x1424]
push edx
push eax
push ecx
lea edx, [esp + 0x1148]
push str._s__f_s___s___s
push edx
call ebp
add esp, 0x18
jmp 0x403aa7
lea eax, [esp + 0x538]
lea ecx, [esp + 0x138]
push eax
mov eax, dword [str.MSIEXEC.EXE]
lea edx, [ebx + 0x1424]
push ecx
push edx
push eax
lea ecx, [esp + 0x1148]
push str._s__j_s___s___s
push ecx
call ebp
add esp, 0x18
jmp 0x403aa7
mov ecx, dword [str.MSIEXEC.EXE]
lea edx, [esp + 0x538]
lea eax, [esp + 0x138]
push edx
push eax
push ecx
lea edx, [esp + 0x1144]
push str._s__x___s___s
push edx
jmp 0x403aa2
mov edx, dword [str.MSIEXEC.EXE]
lea eax, [esp + 0x538]
lea ecx, [esp + 0x138]
push eax
push ecx
push edx
lea eax, [esp + 0x1144]
push str._s__p___s___s
push eax
jmp 0x403aa2
mov eax, dword [str.MSIEXEC.EXE]
lea ecx, [esp + 0x538]
lea edx, [esp + 0x138]
push ecx
push edx
push eax
lea ecx, [esp + 0x1144]
push str._s__i___s___s
push ecx
call ebp
add esp, 0x14
mov eax, dword [esp + 0x1948]
xor esi, esi
cmp eax, esi
je 0x403d47
mov dword [esp + 0x10], esi
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
lea ecx, [esp + 0x1c]
mov dword [esp + 0x194c], esi
call fcn.00404110
test eax, eax
jne 0x403d14
mov ecx, 0xff
lea edi, [esp + 0xd39]
mov byte [esp + 0xd38], al
lea edx, [esp + 0x538]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40f200
push edx
stosb byte es:[edi], al
call fcn.00407076
mov edi, eax
add esp, 8
cmp edi, esi
je 0x403b93
mov esi, 0x40fcc0
lea ecx, [esp + 0xd38]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x403b46
test dl, dl
je 0x403b42
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x403b46
add ecx, 2
add esi, 2
test dl, dl
jne 0x403b22
xor ecx, ecx
jmp 0x403b4b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
push edi
jne 0x403b64
lea ecx, [esp + 0xd3c]
push str._s_
push ecx
call ebp
add esp, 0xc
jmp 0x403b7e
lea edx, [esp + 0xd3c]
lea eax, [esp + 0xd3c]
push edx
push str._s_s_
push eax
call ebp
add esp, 0x10
push 0x40f200
push 0
call fcn.00407076
mov edi, eax
add esp, 8
test edi, edi
jne 0x403b16
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x939]
mov byte [esp + 0x938], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x1420]
dec eax
cmp eax, 4
ja case.default.0x403bba
jmp dword [eax*4 + 0x403dc0]
lea ecx, [esp + 0x938]
push 0x40f1ec
push ecx
jmp 0x403c31
lea edx, [ebx + 0x1424]
lea eax, [esp + 0x938]
push edx
push str._f_s
push eax
call ebp
add esp, 0xc
jmp 0x403c36
lea ecx, [ebx + 0x1424]
lea edx, [esp + 0x938]
push ecx
push str._j_s
push edx
call ebp
add esp, 0xc
jmp 0x403c36
lea eax, [esp + 0x938]
push 0x40f1d8
push eax
jmp 0x403c31
lea ecx, [esp + 0x938]
push 0x40f1d4
push ecx
jmp 0x403c31
lea edx, [esp + 0x938]
push 0x40fcc0
push edx
call ebp
add esp, 8
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.004049a0
test eax, eax
je 0x403c5e
lea eax, [esp + 0x34]
push 0x40f1d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x410724]
lea ecx, [esp + 0x138]
push 0x400
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, ebx
call fcn.004049a0
test eax, eax
je 0x403cbe
lea eax, [esp + 0x34]
lea ecx, [esp + 0xd38]
push eax
lea eax, [ebx + 0x810]
push ecx
push eax
mov ecx, ebx
call fcn.004043a0
push eax
lea edx, [esp + 0x948]
lea eax, [esp + 0x148]
push edx
push eax
lea ecx, [esp + 0x1550]
push str.__s___k__s__t__s___m__s___w__v__s___s
push ecx
jmp 0x403cf7
lea edx, [esp + 0x34]
lea eax, [esp + 0xd38]
push edx
push eax
lea eax, [ebx + 0x810]
mov ecx, ebx
push eax
call fcn.004043a0
lea ecx, [esp + 0x944]
push eax
lea edx, [esp + 0x148]
push ecx
push edx
lea eax, [esp + 0x1550]
push str.__s___s__t__s___m__s___v__s___s
push eax
call ebp
mov ecx, dword [str.Setup]
add esp, 0x20
lea edx, [esp + 0x1538]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00404150
mov eax, dword [0x410728]
test eax, eax
je 0x403d24
call fcn.00406310
jmp 0x403d31
push 0x453
call fcn.00405750
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x1940], 0xffffffff
call fcn.004040f0
jmp 0x403d8a
call fcn.004022a0
mov ecx, ebx
call fcn.00404c10
test eax, eax
push 1
je 0x403d6f
lea eax, [esp + 0x113c]
push eax
call fcn.00406160
cmp eax, 0xcccccccc
jne 0x403d8a
jmp 0x403d80
lea ecx, [esp + 0x113c]
push ecx
call fcn.00406280
test eax, eax
jne 0x403d8a
mov dword [0x41072c], 0x485
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x192c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1934
ret 4