Function at 0x402dc0
Capabilities:
Create process on windows
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x2a64
call fcn.00405580
push ebx
push ebp
push esi
push edi
mov ecx, 0xa
mov esi, str.SOFTWAREKasperskyLabInstalledProducts
lea edi, [esp + 0x274]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x76
lea edi, [esp + 0x29c]
rep stosd dword es:[edi], eax
mov ecx, 8
mov esi, str.SOFTWAREKasperskyLabSharedFiles
lea edi, [esp + 0x2474]
mov dword [esp + 0x24], 0x200
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x77
lea edi, [esp + 0x2496]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 9
mov esi, str.SOFTWAREKasperskyLabAVP6environment
lea edi, [esp + 0x2874]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x76
lea edi, [esp + 0x289b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2474]
push eax
push ecx
push 0x80000002
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403274
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
lea eax, [esp + 0x74]
push edx
push eax
push 0
push 0
push str.MainDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403274
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x474]
push eax
push str._s_avp32.exe
push ecx
mov dword [esp + 0x3c], 0x44
call fcn.00405520
lea edx, [esp + 0x480]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x403274
mov eax, dword [0x40c2d0]
test eax, eax
je 0x4030b5
lea eax, [esp + 0x74]
lea ecx, [esp + 0x474]
push eax
push str.__s_avp32.exe_
push ecx
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x402fd7
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x402fc3
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x402f20
xor ebx, ebx
test eax, eax
jle 0x403064
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403054
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x402fe6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403274
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
jmp 0x403f96
lea ecx, [esp + 0x74]
lea edx, [esp + 0x474]
push ecx
push str.__s_avp32.exe_
push edx
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x40319a
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x403186
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x4030e3
xor ebx, ebx
test eax, eax
jle 0x403227
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403217
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x4031a9
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403274
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
jmp 0x403f96
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2874]
push ecx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403696
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x74]
push eax
push ecx
push 0
push 0
push str.ProductRoot
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403696
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x474]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], 0x44
push ecx
push str._s_avp.exe
push edx
call fcn.00405520
lea eax, [esp + 0x480]
push 0
push eax
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x403696
mov eax, dword [0x40c2d0]
lea ecx, [esp + 0x74]
test eax, eax
push ecx
je 0x4034dc
lea edx, [esp + 0x478]
push str.__s_avp.exe__START_SCAN_MY_COMPUTER
push edx
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x4033fe
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x4033ea
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403347
xor ebx, ebx
test eax, eax
jle 0x40348b
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x40347b
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x40340d
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403696
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
jmp 0x403f96
lea edx, [esp + 0x478]
push str.__s_avp.exe__START_SCAN_OBJECTS
push edx
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x4035bc
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x4035a8
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403505
xor ebx, ebx
test eax, eax
jle 0x403649
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403639
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x4035cb
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403696
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
jmp 0x403f96
lea ecx, [esp + 0x10]
lea edx, [esp + 0x274]
push ecx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403ef3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2674]
push 0x200
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x403ee8
or ecx, 0xffffffff
mov edi, str.SOFTWAREKasperskyLabInstalledProducts
xor eax, eax
lea edx, [esp + 0x274]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x274]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b4cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x274]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2674]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x278]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403ec3
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x74]
push edx
push eax
push 0
push 0
push str.Folder
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403eb2
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x474]
push eax
push str._skav.exe
push ecx
mov dword [esp + 0x3c], 0x44
call fcn.00405520
lea edx, [esp + 0x480]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x403b40
mov eax, dword [0x40c2d0]
lea ecx, [esp + 0x474]
test eax, eax
lea eax, [esp + 0x74]
push eax
push str.__skav.exe_
push ecx
je 0x4039ad
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x4038ed
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x4038d9
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403836
xor ebx, ebx
test eax, eax
jle 0x40397a
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x40396a
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x4038fc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403f78
jmp 0x403eb2
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x403a80
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x403a6c
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x4039c9
xor ebx, ebx
test eax, eax
jle 0x403b0d
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403afd
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403a8f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403f00
jmp 0x403eb2
lea eax, [esp + 0x74]
lea ecx, [esp + 0x474]
push eax
push str._s_avp32.exe
push ecx
call fcn.00405520
lea edx, [esp + 0x480]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x403eb2
mov eax, dword [0x40c2d0]
lea ecx, [esp + 0x474]
test eax, eax
lea eax, [esp + 0x74]
push eax
push str.__s_avp32.exe___shellex
push ecx
je 0x403d24
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x403c64
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x403c50
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403bad
xor ebx, ebx
test eax, eax
jle 0x403cf1
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403ce1
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403c73
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403f3c
jmp 0x403eb2
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x403df7
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
je 0x403de3
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea edx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403d40
xor ebx, ebx
test eax, eax
jle 0x403e84
mov ebp, 0x40c2d4
push 0x20
push ebp
mov byte [ebp + 2], 0x5c
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x403e74
mov edi, 0x40b074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x474]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4102d4]
inc ebx
add ebp, 0x200
cmp ebx, eax
jl 0x403e06
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x490]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403f78
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 0x200
inc eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2674]
push 0x200
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4036d8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2a64
ret
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a64
ret
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a64
ret
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a64
ret