joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x83d274]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x840e98], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.0044b6ec
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b4ad
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x840e90]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044b4ad
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x83d274]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x45c6a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b4ad
mov esp, ebp
pop ebp
ret 4
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b325
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x83d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0044b6a5
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45e530]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45e530]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044f8a0
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0044bf10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043d210
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0044c669
int3
Function at 0x43d210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43d363
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043d110
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43d336
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43d2ae
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43d329
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43d2ea
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43d2e2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43d329
mov edi, eax
cmp ebx, eax
je 0x43d306
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43d33f
cmp ebx, eax
jne 0x43d2f0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43d272
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43d329
push str.invalid_hash_bucket_count
call fcn.0044c669
int3
Function at 0x452293
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46078c
push 0x460784
push str.FlsAlloc
push 0x1e
call fcn.00452171
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4522c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
jmp 0x4522cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x452311
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46079c
push 0x460794
push str.FlsGetValue
push 0x20
call fcn.00452171
mov esi, eax
add esp, 0x10
test esi, esi
je 0x452348
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x453bdb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x453c78
push ebx
push esi
call fcn.00453ba4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00451f44
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x453c25
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x453c77
push edi
push eax
call fcn.00451c31
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x453c45
call fcn.00451bf7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x453c76
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00451f44
add esp, 0x20
test eax, eax
jne 0x453c64
push edi
call fcn.00451bf7
jmp 0x453c6c
push ebx
call fcn.00451bf7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d58
cmp byte [esi + ebx - 1], 0xa
je 0x401d2c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x4025a0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
jmp loc.004097e8

Function at 0x401346
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edx
push edi
mov esi, dword [esp + 0x14]
mov edi, esi
sub esi, 0xffffffff
add esi, 0x3b
mov ecx, dword [esi]
add esi, 0x1e
add esi, 0x1e
add esi, ecx
mov ecx, dword [esi]
sub ecx, 0xffffffec
add ecx, 8
add ecx, edi
lea edx, [ecx]
mov eax, dword [edx]
add eax, edi
add edx, 4
mov ecx, dword [edx]
add ecx, edi
sub edx, 0xfffffffc
push dword [edx]
pop esi
add esi, edi
push esi
push eax
xchg ecx, eax
mov edi, dword [esp + 0x20]
xor ecx, ecx
push ecx
mov esi, dword [esp + 0x20]
mov edx, esi
add esi, dword [eax]
xor ecx, ecx
add cl, byte [esi]
inc esi
rol ecx, 4
xor ecx, 0x33aaf51b
cmp byte [esi], 0
jne 0x4013a5
xor ecx, edi
cmp ecx, 0
je 0x4013d1
add eax, 4
mov esi, dword [eax]
add esi, edx
pop ecx
inc ecx
push ecx
mov ecx, 0
jmp 0x4013a5
pop edi
mov ecx, dword [esp + 4]
shl edi, 1
add ecx, edi
mov esi, 0
mov si, word [ecx]
shl esi, 2
pop ecx
push ecx
add ecx, esi
pop edi
mov eax, dword [ecx]
pop edi
add eax, edx
pop edi
pop edx
pop esi
pop ecx
ret 8
Function at 0x100094e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x100094f3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10009536
mov eax, dword [ebp - 0x10]
jmp 0x1000959c
cmp dword [ebp - 8], 1
je 0x10009549
cmp dword [ebp - 8], 2
je 0x10009549
mov eax, 0xd
jmp 0x1000959c
cmp dword [ebp + 0xc], 0
je 0x10009590
cmp dword [ebp - 0xc], 0
je 0x1000957f
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x10009576
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x1000957d
mov eax, 0xd
jmp 0x1000959c
jmp 0x10009590
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000a460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000a484
xor eax, eax
jmp 0x1000a504
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a49b
xor eax, eax
jmp 0x1000a504
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x1000a4e7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x1000a4e7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x1000a4be
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x1000a4f3
xor eax, eax
jmp 0x1000a504
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x1000a501
xor eax, eax
jmp 0x1000a504
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000fb80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c110
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101fd398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CSetupReport.0
call fcn.1002bf10
push 0
lea ecx, [ebp - 0x18]
call fcn.10011e70
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10011df0
lea ecx, [ebp - 0x18]
call fcn.10011e30
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.10004780
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10011e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100105a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100105c3
cmp dword [ebp - 4], 1
je 0x100105d7
cmp dword [ebp - 4], 2
je 0x100105eb
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002bfa0
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002bfe0
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002bfc0
push str._seraphim_::SendLog
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret 4
Function at 0x10010d10
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c898
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
call fcn.10004650
mov dword [ebp - 4], 0
push 0
push 0x200
lea ecx, [ebp - 0x2c]
call fcn.10009480
push 0x1388
lea eax, [ebp - 0x14]
push eax
push 0x200
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004160
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100044a0
add eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.10004160
push eax
push str..pipee985eb35bca890d841971794e2c18c89
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10010db4
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10009480
jmp 0x10010dc0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.10009480
lea edx, [ebp - 0x2c]
push edx
call fcn.100044f0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.100045d0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004780
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
Function at 0x10010e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005000
lea ecx, [ebp - 0x1c]
call fcn.1003e780
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x24]
call fcn.10005000
push 0x101e0650
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10005370
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.100055d0
xor dl, dl
mov ecx, eax
call fcn.1003e050
push 4
lea ecx, [ebp - 0x20]
call fcn.10005000
push str.GameSharedUp.exe
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10005370
add esp, 0xc
mov byte [ebp - 4], 2
push 4
lea ecx, [ebp - 0x14]
call fcn.10005000
push 0x101e0694
lea ecx, [ebp - 0x14]
call fcn.1000af00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100121c0
push 0x101e0698
lea ecx, [ebp - 0x14]
call fcn.1001fb90
push 0
lea ecx, [ebp - 0x14]
call fcn.100055d0
mov edx, 0x7530
mov ecx, eax
call fcn.1003dcf0
add esp, 4
push 4
lea ecx, [ebp - 0x18]
call fcn.10005000
lea ecx, [ebp - 0x18]
call fcn.10007cc0
mov byte [ebp - 4], 4
push str.GameShared
push str.schtasks__delete__tn__s__F
lea edx, [ebp - 0x18]
push edx
call fcn.10012d70
add esp, 0xc
push 0
lea ecx, [ebp - 0x18]
call fcn.100055d0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push str._action_:_exit___params_:
lea ecx, [ebp - 0x40]
call fcn.10004f90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10010d10
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.10004780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10004780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10009c10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10009c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10009c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10009c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
Function at 0x1001f7f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x1001f7f9
cmp dword [ebp + 0xc], 0
je 0x1001f80c
mov dword [ebp - 0xc], 1
jmp 0x1001f813
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x1001f826
mov eax, 0xd
jmp 0x1001f87b
xor edx, edx
jne 0x1001f7fd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x1001f839
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001fbb0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001fc0f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001fbdc
mov eax, 1
jmp 0x1001fc2d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001fc0d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x1001fc2d
jmp 0x1001fc28
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1001fc28
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1001fc2d
mov eax, 1
mov esp, ebp
pop ebp
ret 8