Function at 0x10017160
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
mov eax, 0x1a48
call fcn.102244a0
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xe58]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x554]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push 0x400
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1a60]
lea eax, [esp + 0x558]
push eax
push str.Shell
push 0x1023294c
push ecx
push reloc.platform.dll_Ordinal_2
call fcn.10013db0
add esp, 0x18
cmp eax, 1
jne 0x10017807
lea edx, [esp + 0x554]
push str.Explorer.exe
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10017807
mov cl, byte [esp + 0x554]
lea eax, [esp + 0x554]
test cl, cl
je 0x1001721f
cmp byte [eax], 0x22
jne 0x10017217
mov byte [eax], 0x20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001720f
lea edi, [esp + 0x554]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10017248
lea eax, [esp + ecx + 0x553]
mov cl, byte [esp + ecx + 0x553]
cmp cl, 0x5c
jne 0x10017248
mov byte [eax], 0
lea eax, [esp + 0xe58]
lea ecx, [esp + 0x554]
push eax
push ecx
call fcn.10016850
lea edi, [esp + 0xe60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x55c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2c
mov eax, ecx
mov esi, edi
mov edi, edx
lea ebp, [esp + 0x560]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor ebx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x560]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x10
test eax, eax
je 0x1001742e
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x55c]
push 0x10232cac
push ecx
mov ebx, 1
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, ebx
jne 0x1001761f
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xd54]
lea edx, [esp + 0xd54]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push edx
push eax
call fcn.10016850
lea edi, [esp + 0xd5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x58]
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 + 0x1260]
push ecx
push edx
call fcn.10016cb0
add esp, 0x10
cmp eax, 1
jne 0x100173f1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1258]
add ecx, 0x10
push eax
push ecx
call fcn.10016bf0
add esp, 8
cmp eax, 1
jne 0x10017364
mov dword [esp + 0x1c], eax
jmp 0x100173c3
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca8
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]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x50]
push ecx
push eax
push str.Explorer.exe
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x100173f1
mov dword [esp + 0x18], 1
add ebp, dword [esp + 0x10]
cmp byte [ebp], 0x2c
jne 0x1001760c
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x2c
je 0x100173ff
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
push edx
push 0x10232cac
push ebp
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 1
je 0x100172d9
jmp 0x1001760c
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x954]
lea edx, [esp + 0x554]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
push str._259____n
push edx
lea ebp, [esp + 0x564]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 1
jne 0x1001761f
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x954]
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 eax, [esp + 0x1258]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x958]
push ecx
call fcn.10016cb0
add esp, 8
cmp eax, 1
jne 0x100175a7
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1258]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stat]
mov eax, dword [esp + 0x3a]
add esp, 8
test ah, 0x80
je 0x100175a7
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1258]
add edx, 0x10
push ecx
push edx
call fcn.10016bf0
add esp, 8
cmp eax, 1
jne 0x10017505
mov dword [esp + 0x1c], eax
jmp 0x10017567
lea edi, [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca4
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]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x50]
push ecx
push eax
push str.Explorer.exe
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10017595
mov dword [esp + 0x18], 1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x954]
rep stosd dword es:[edi], eax
jmp 0x100175d8
mov edi, 0x10232ca4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x954]
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]
add ebp, dword [esp + 0x10]
cmp byte [ebp], 0x20
jne 0x1001760c
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x100175e2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
push str._259____n
push ebp
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 1
je 0x1001746e
cmp dword [esp + 0x1c], 1
je 0x1001761f
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10017807
mov edi, str.HKEY_LOCAL_MACHINESOFTWAREMICROSOFTWindows_NTCurrentVersionWinlogon
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1658]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov ecx, dword [0x107ab9f4]
test ecx, ecx
je 0x1001767d
lea eax, [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 0x31c]
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x1664]
push str.Shell
push eax
mov eax, dword [0x107ab9f8]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10017780
lea ecx, [esp + 0x154]
push str.Explorer.exe
push ecx
call fcn.10018400
add esp, 8
test eax, eax
jne 0x10017780
mov ecx, 0x100
lea edi, [esp + 0xe58]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x154]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe58]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov edi, 0x10232d38
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebx, 1
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca8
je 0x1001772a
mov edi, 0x10232ca4
or ecx, 0xffffffff
xor eax, eax
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe58]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x153], 0x2c
je 0x100177b6
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x153], 0x20
jne 0x100177ce
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x153], al
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x1a60]
push eax
push str.Shell
push 0x1023294c
push ecx
push reloc.platform.dll_Ordinal_2
call fcn.10013e20
add esp, 0x18
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], reloc.platform.dll_Ordinal_1
mov eax, dword [edx + 0x324]
test eax, eax
je 0x10017821
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x20]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x554]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1a5c]
lea eax, [esp + 0x554]
push 0x400
push eax
push str.Shell
push 0x1023294c
push ecx
push edx
call fcn.10013db0
add esp, 0x18
cmp eax, 1
jne 0x10017ec4
lea eax, [esp + 0x554]
push str.Explorer.exe
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10017ec4
mov cl, byte [esp + 0x554]
lea eax, [esp + 0x554]
test cl, cl
je 0x100178a6
cmp byte [eax], 0x22
jne 0x1001789e
mov byte [eax], 0x20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017896
lea edi, [esp + 0x554]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100178cf
lea eax, [esp + ecx + 0x553]
mov cl, byte [esp + ecx + 0x553]
cmp cl, 0x5c
jne 0x100178cf
mov byte [eax], 0
lea ecx, [esp + 0xe58]
lea edx, [esp + 0x554]
push ecx
push edx
call fcn.10016850
lea edi, [esp + 0xe60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x55c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2c
mov eax, ecx
mov esi, edi
mov edi, edx
lea ebp, [esp + 0x560]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x34], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x560]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x10
test eax, eax
je 0x10017af6
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x55c]
mov esi, 1
push 0x10232cac
push ecx
mov dword [esp + 0x38], esi
call ebx
add esp, 0x10
cmp eax, esi
jne 0x10017a68
lea edx, [esp + 0x1258]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.10016cb0
add esp, 8
cmp eax, esi
jne 0x10017a39
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1258]
add edx, 0x10
push ecx
push edx
call fcn.10016bf0
add esp, 8
cmp eax, esi
jne 0x100179ab
mov dword [esp + 0x1c], esi
jmp 0x10017a0f
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca8
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 esi, 1
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x50]
push ecx
push eax
push str.Explorer.exe
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10017a39
mov dword [esp + 0x18], esi
add ebp, dword [esp + 0x10]
cmp byte [ebp], 0x2c
jne 0x10017a68
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x2c
je 0x10017a43
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
push edx
push 0x10232cac
push ebp
call ebx
add esp, 0x10
cmp eax, esi
je 0x1001796c
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, 1
cmp ecx, eax
je 0x10017a85
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10017ec9
mov eax, dword [ebx + 0x324]
test eax, eax
jne 0x10017cdd
mov edi, str.HKEY_CURRENT_USERSOFTWAREMICROSOFTWindows_NTCurrentVersionWinlogon
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1658]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov ecx, dword [0x107ab9f4]
test ecx, ecx
je 0x10017d36
lea eax, [esp + 0x24]
mov edx, dword [ecx]
push eax
lea eax, [ebx + 0x31c]
push eax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x1664]
push str.Shell
push eax
mov eax, dword [0x107ab9f8]
push eax
call dword [edx + 0x1c]
jmp 0x10017d36
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x954]
lea edx, [esp + 0x554]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
push str._259____n
push edx
lea ebp, [esp + 0x564]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 1
jne 0x10017a68
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x954]
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 eax, [esp + 0x1258]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x958]
push ecx
call fcn.10016cb0
add esp, 8
cmp eax, 1
jne 0x10017c6f
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1258]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stat]
mov eax, dword [esp + 0x3a]
add esp, 8
test ah, 0x80
je 0x10017c6f
lea ecx, [esp + 0x1258]
lea edx, [ebx + 0x10]
push ecx
push edx
call fcn.10016bf0
add esp, 8
cmp eax, 1
jne 0x10017bcd
mov dword [esp + 0x1c], eax
jmp 0x10017c2f
lea edi, [esp + 0x954]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca4
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]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x50]
push ecx
push eax
push str.Explorer.exe
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10017c5d
mov dword [esp + 0x18], 1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x954]
rep stosd dword es:[edi], eax
jmp 0x10017ca0
mov edi, 0x10232ca4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x954]
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]
add ebp, dword [esp + 0x10]
cmp byte [ebp], 0x20
jne 0x10017a6c
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x10017cae
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push ecx
push str._259____n
push ebp
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 1
je 0x10017b3a
jmp 0x10017a6c
mov ecx, dword [ebx + 0x328]
push str.SOFTWAREMICROSOFTWindows_NTCurrentVersionWinlogon
push ecx
push str.HKEY_USERS
lea edx, [esp + 0x1664]
push str._s_s_s_
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [0x107ab9f4]
add esp, 0x14
test ecx, ecx
je 0x10017d36
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edx
lea edx, [ebx + 0x31c]
push edx
mov edx, dword [ebx]
push edx
lea edx, [esp + 0x1664]
push str.Shell
push edx
mov edx, dword [0x107ab9f8]
push edx
call dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10017e3d
lea eax, [esp + 0x154]
push str.Explorer.exe
push eax
call fcn.10018400
add esp, 8
test eax, eax
jne 0x10017e3d
mov ecx, 0x100
lea edi, [esp + 0xe58]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x154]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe58]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov edi, 0x10232d38
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28]
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232ca8
je 0x10017de7
mov edi, 0x10232ca4
or ecx, 0xffffffff
xor eax, eax
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 + 0x154]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe58]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x153], 0x2c
je 0x10017e73
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x153], 0x20
jne 0x10017e8b
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x153], al
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x1a60]
push eax
push str.Shell
push 0x1023294c
push ecx
push edx
call fcn.10013e20
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a48
ret 4