joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push ecx
call fcn.10009dbf
mov edi, eax
mov dword [esp], 0xfae
mov dword [ebp - 0x1c], edi
call fcn.10009dbf
mov ecx, dword [0x10020fd8]
mov esi, eax
add ecx, 0x648
push ecx
call fcn.1001575c
mov ecx, dword [0x10020fd8]
push eax
add ecx, 0x122a
lea eax, [ebp - 0x22c]
push ecx
push 0x1001de98
push 0x104
push eax
call fcn.1000cd7f
push 0
push edi
mov eax, 0x1001dcf4
push eax
push esi
push eax
mov eax, dword [0x10020fd8]
add eax, 0x1020
push eax
call fcn.1000a5f9
add esp, 0x34
lea ecx, [ebp - 0x22c]
push 0
push ecx
push eax
mov eax, dword [0x10020fa0]
call dword [eax + 0x120]
mov eax, dword [0x10020fa0]
push edi
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x1000ef08
mov eax, dword [0x10020fa0]
push edi
call dword [eax + 4]
mov esi, eax
test esi, esi
jne 0x1000ef08
lea eax, [ebp - 0x1c]
push eax
call fcn.1000aa3b
pop ecx
or eax, 0xffffffff
jmp 0x1000f035
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [0x10020fa0]
call dword [eax + 4]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000f00a
mov ecx, dword [esi + 0x3c]
add ecx, esi
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1000f00a
push ebx
lea ebx, [eax + esi]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
add eax, esi
mov dword [ebp - 0x24], eax
add edx, esi
mov eax, dword [ebx + 0x1c]
add eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x18], eax
jbe 0x1000f009
movzx eax, word [edx + eax*2]
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + eax*4]
add edi, esi
cmp edi, ebx
jb 0x1000ef7a
mov eax, dword [ecx + 0x7c]
add eax, ebx
cmp edi, eax
jb 0x1000eff6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, esi
push eax
mov eax, dword [0x10020fa0]
push dword [ebp - 0x18]
call dword [eax + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000eff0
push 8
push eax
push edi
call fcn.10009f96
add esp, 0xc
test eax, eax
je 0x1000eff0
cmp byte [edi], 0xe9
jne 0x1000eff0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x10020fa0]
push 0x40
push 8
push edi
call dword [eax + 0xfc]
test eax, eax
je 0x1000eff0
push 8
push dword [ebp - 0x10]
push edi
call fcn.10009ed7
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
push dword [ebp - 0x14]
mov eax, dword [0x10020fa0]
push 8
push edi
call dword [eax + 0xfc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebx + 0x18]
jb 0x1000ef61
mov edi, dword [ebp - 0x18]
pop ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.1000aa3b
pop ecx
test edi, edi
je 0x1000f021
mov eax, dword [0x10020fa0]
push edi
call dword [eax + 8]
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [0x10020fa0]
call dword [eax + 0x11c]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000f2f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not esi
push edi
mov edi, ecx
test edx, edx
jne 0x1000f307
xor eax, eax
jmp 0x1000f33a
xor ecx, ecx
test edx, edx
je 0x1000f336
movzx eax, byte [ecx + edi]
xor esi, eax
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1001dc18]
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1001dc18]
inc ecx
cmp ecx, edx
jb 0x1000f30d
not esi
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x10011a3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x1001df50
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call fcn.1000db16
pop ecx
push 0xf
pop esi
xor ebx, ebx
mov byte [ebp - 9], bl
cmp eax, esi
ja 0x10011a6a
mov esi, eax
test esi, esi
je 0x10011a78
mov ecx, ebx
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, esi
jb 0x10011a6c
lea eax, [ebp - 0x18]
push eax
call dword [0x1001a0a0]
cmp dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dh, byte [edi + 0x100]
mov al, byte [edi + 0x101]
jle 0x10011aca
inc dh
movzx esi, dh
mov dl, byte [esi + edi]
add al, dl
movzx ecx, al
mov byte [ebp + 0xb], al
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov al, byte [esi + edi]
mov ecx, dword [ebp - 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi]
xor byte [ebx + ecx], al
inc ebx
mov al, byte [ebp + 0xb]
cmp ebx, dword [ebp - 4]
jl 0x10011a97
mov byte [edi + 0x100], dh
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10011b0d
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
ret
Function at 0x10011bcb
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea edx, [esi + 0x1d]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x154], ecx
inc edi
cmp edi, 0x10
jl 0x10011be1
push 0x40
lea ecx, [ebp - 0x14c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x10011c18
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
and dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x5a827999
mov dword [ebp - 0xc], esi
mov esi, edi
mov edi, ebx
add edx, dword [ebp + eax*4 - 0x154]
mov ebx, dword [ebp - 8]
add edx, ecx
ror edi, 2
inc eax
push 0x14
pop ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x10011c4d
mov dword [ebp - 4], esi
mov eax, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [ebp + ecx*4 - 0x154]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x28
jl 0x10011c96
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 0xc]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [ebp + esi*4 - 0x154]
mov dword [ebp - 0xc], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 8]
ror edi, 2
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
cmp esi, 0x3c
jl 0x10011ccf
mov esi, dword [ebp - 0x14]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 0xc]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x154]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x50
jl 0x10011d12
add dword [esi + 0xc], eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov eax, dword [ebp - 0xc]
add dword [esi + 0x10], eax
and dword [esi + 0x5c], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011d60
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi + 0x5c]
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x10011dad
jmp 0x10011d83
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x40
jl 0x10011d78
call fcn.10011bcb
jmp 0x10011d9a
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], 0
inc dword [esi + 0x5c]
cmp dword [esi + 0x5c], 0x38
jl 0x10011d8f
jmp 0x10011db2
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x38
jl 0x10011da2
mov al, byte [esi + 0x1b]
mov ecx, esi
mov byte [esi + 0x54], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x55], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x56], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x57], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x58], al
mov al, byte [esi + 0x16]
mov byte [esi + 0x59], al
mov al, byte [esi + 0x15]
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5b], al
pop esi
jmp fcn.10011bcb

Function at 0x10013efa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xdeadbeef
add edi, ecx
push 0xc
pop eax
mov edx, edi
mov esi, edi
mov dword [ebp + 0x10], edx
cmp ecx, eax
jbe 0x10013ff4
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, dword [ebp + 0x10]
xor edi, ecx
sub esi, edi
mov eax, edi
add edi, edx
rol eax, 6
xor eax, esi
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov edx, ecx
rol edx, 0x10
add ecx, eax
xor edx, edi
mov esi, edx
sub eax, edx
ror esi, 0xd
add edx, ecx
xor esi, eax
mov dword [ebp + 0x10], edx
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, edx
xor edi, ecx
mov ecx, dword [ebp + 0xc]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
jne 0x10013f31
cmp ecx, eax
ja 0x10014060
jmp dword [ecx*4 + 0x100134ae]
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
xor edx, dword [ebp + 0x10]
rol eax, 0xb
sub edx, eax
xor esi, edx
mov eax, edx
ror eax, 7
sub esi, eax
mov eax, esi
xor edi, esi
rol eax, 0x10
sub edi, eax
mov eax, edi
mov ecx, edi
rol eax, 4
xor ecx, edx
sub ecx, eax
mov eax, ecx
xor esi, ecx
rol eax, 0xe
sub esi, eax
mov eax, esi
xor edi, esi
ror eax, 8
sub edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10015717
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 0x9c0], 1
mov ecx, dword [edx + 0x9c0]
mov eax, dword [edx + ecx*4 - 4]
shr eax, 0x1e
xor eax, dword [edx + ecx*4 - 4]
imul eax, eax, 0x6c078965
add eax, ecx
mov dword [edx + ecx*4], eax
inc dword [edx + 0x9c0]
cmp dword [edx + 0x9c0], 0x270
jl 0x1001572c
pop ebp
ret

Function at 0x1001575c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jl 0x1001580e
push ebx
xor edi, edi
mov ebx, 0x7fffffff
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x10015780
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0x26f
jl 0x100157ad
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebx
mov eax, dword [eax*4 + 0x1001f02c]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
pop ebp
ret

Function at 0x10017890
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100178a0

Function at 0x10017b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017dd0
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x10011be
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x1002018]
push 0x104
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x174], ecx
push 1
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
call fcn.01001149
cmp eax, 1
jl 0x100129e
push ebx
xor ebx, ebx
cmp byte [ebp - 0x160], bl
push esi
lea esi, [ebp - 0x160]
je 0x1001238
cmp byte [esi], 0x3a
je 0x100121b
inc esi
cmp byte [esi], bl
jne 0x100120f
jmp 0x100121e
mov byte [esi], bl
inc esi
cmp byte [esi], bl
je 0x1001238
push 0x10010ac
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100123e
lea esi, [ebp - 0x160]
push 0x29
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x100129c
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x100129c
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x100129c
push ebx
lea eax, [ebp - 0x170]
push eax
call sub.ole32.dll_CoRegisterSurrogateEx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.01001324
leave
ret 0x10
Function at 0x10001950
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x1001d680]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x100019a1
push 0x10001630
push str.Error:_Unable_to_create_process_snapshot.
push 0x1001e768
call fcn.10003850
add esp, 8
mov ecx, eax
call fcn.10002a90
xor al, al
jmp 0x10001ac8
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100019f5
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10001630
push str.Error:_Unable_to_retrieve_process_information.
push 0x1001e768
call fcn.10003850
add esp, 8
mov ecx, eax
call fcn.10002a90
xor al, al
jmp 0x10001ac8
mov ecx, dword [ebp + 8]
call fcn.10002d80
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1000619a
add esp, 8
test eax, eax
jne 0x10001a9d
mov ecx, dword [ebp - 0x230]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x10001a9d
mov dword [ebp - 0x244], 0x104
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x450]
push eax
push 0
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x10001a90
lea edx, [ebp - 0x450]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10002d60
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10001ac8
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100019f5
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006001
mov esp, ebp
pop ebp
ret
Function at 0x10001ae0
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016cf3
mov eax, dword fs:[0]
push eax
mov eax, 0x10594
call fcn.10012890
mov eax, dword [0x1001d680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov word [ebp - 0x5c], ax
push 0x40
push 0
lea ecx, [ebp - 0x5a]
push ecx
call fcn.10007820
add esp, 0xc
lea edx, [ebp - 0x5c]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x10001c27
push str.360Tray.exe
lea ecx, [ebp - 0x98]
call fcn.10002cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10002c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.10001950
add esp, 8
movzx eax, al
test eax, eax
je 0x10001bff
lea ecx, [ebp - 0x7c]
call fcn.10002d80
mov dword [ebp - 0x9c], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x10001bff
mov dword [ebp - 0xa4], 0x64
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x1059c]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x105a0]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x10001bff
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10002d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.10002d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006001
mov esp, ebp
pop ebp
ret
Function at 0x10006001
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d680]
jne 0x1000600b
repz ret
jmp fcn.1000aa9c

Function at 0x10012a64
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001d680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000b5bf
and dword [ebp - 0x14], 0
cmp dword [0x1001f594], 0
mov dword [ebp - 0x18], eax
jne 0x10012b17
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10012bbf
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10012bbf
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001f594], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001f598], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001f59c], eax
call edi
push eax
call esi
mov dword [0x1001f5a4], eax
test eax, eax
je 0x10012b17
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001f5a0], eax
mov eax, dword [0x1001f5a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10012b70
cmp dword [0x1001f5a4], ecx
je 0x10012b70
push eax
call esi
push dword [0x1001f5a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10012b70
test ebx, ebx
je 0x10012b70
call edi
test eax, eax
je 0x10012b67
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10012b67
test byte [ebp - 8], 1
jne 0x10012b70
or dword [ebp + 0x10], 0x200000
jmp 0x10012ba3
mov eax, dword [0x1001f598]
cmp eax, dword [ebp - 0x18]
je 0x10012ba3
push eax
call esi
test eax, eax
je 0x10012ba3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10012ba3
mov eax, dword [0x1001f59c]
cmp eax, dword [ebp - 0x18]
je 0x10012ba3
push eax
call esi
test eax, eax
je 0x10012ba3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001f594]
call esi
test eax, eax
je 0x10012bbf
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10012bc1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006001
leave
ret