joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fa13
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x439790
call fcn.00438386
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
cmp esi, 0xffffffff
jne 0x40fab4
mov ecx, ebx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fad0
lea ecx, [ebp - 0x2c]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.00411580
test al, al
je 0x40fa80
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401e5c
cmp esi, 0xffffffff
jne 0x40fad0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40faaa
cmp eax, 3
je 0x40faaa
cmp eax, 0x12
je 0x40faaa
mov al, 1
jmp 0x40faac
xor al, al
mov byte [edi + 0x5c], al
jmp 0x40fb83
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40fad0
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x40faac
push ebx
mov ecx, edi
call fcn.0040335d
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401d16
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov ecx, edi
call fcn.00410be4
lea ecx, [ebp - 0x2c]
call fcn.00401e5c
mov ecx, dword [ebp - 0x260]
xor eax, eax
add eax, dword [ebp - 0x25c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x27c]
adc ecx, 0
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x278]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x274]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x270]
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x268]
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x264]
mov dword [edi + 0x50], eax
lea eax, [ebp - 0x268]
mov dword [edi + 0x54], ecx
lea ecx, [edi + 0x28]
push eax
call fcn.00417610
lea eax, [ebp - 0x278]
push eax
lea ecx, [edi + 0x30]
call fcn.00417610
lea eax, [ebp - 0x270]
push eax
lea ecx, [edi + 0x38]
call fcn.00417610
and dword [edi + 0x58], 0
mov eax, esi
call fcn.00438335
ret 4
Function at 0x4101fe
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x2c
mov eax, 0x43983b
call fcn.00438353
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x43b8a0
push 1
push ebx
push 0x43b8b0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4103ed
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
push 0x441948
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.0041059c
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004105e4
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x43b26c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00410559
test esi, esi
js 0x4103da
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x4103ca
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
mov edi, dword [eax + 0x50]
call fcn.0041049f
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004105e4
push 0x441984
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0041049f
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004105e4
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x30
push esi
push eax
push dword [ebp - 0x10]
mov ecx, edi
call dword [0x43b26c]
call edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00410559
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00410559
test esi, esi
js 0x4103c7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4103c7
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov esi, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
mov ecx, dword [esi + 0x10]
push eax
call dword [0x43b26c]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41038a
cmp dword [ebp - 0x20], ebx
jbe 0x41038a
mov esi, dword [eax]
lea ecx, [ebp - 0x38]
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 0x441988
push eax
call dword [0x43b26c]
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
call fcn.00410472
test eax, eax
lea eax, [ebp - 0x38]
push eax
setne bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov al, bl
jmp 0x4103ef
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
xor al, al
call fcn.00438321
ret
Function at 0x4103f5
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp byte [0x44f531], 0
jne 0x410458
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 0xa
ja 0x410448
jne 0x410444
cmp dword [ebp - 0x74], 0x55f0
jb 0x410444
call fcn.004101fe
test al, al
je 0x410448
xor al, al
jmp 0x41044a
mov al, 1
mov byte [0x44f530], al
mov byte [0x44f531], 1
jmp 0x41045d
mov al, byte [0x44f530]
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00422945
add ebp, 0x98
leave
ret

Function at 0x41468f
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov edx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edx + 0x18]
mov dword [esp + 0xc], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x414712
mov ecx, dword [ebp + 8]
mov eax, ecx
add ecx, 0x10
mov dword [ebp + 8], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0xc]
dec ecx
movups xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x4146ef
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0xc]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x4146df
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x414702
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x4146b0
pop edi
movups xmmword [edx + 8], xmm2
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41471e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x34
mov eax, dword [0x448020]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x20
push eax
mov esi, dword [ebp + 4]
lea eax, [esp + 0x28]
sub esi, 6
mov dword [esp + 0x1c], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00424030
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x4147aa
cmp ebx, dword [ebp + 4]
jg 0x41490e
cmp edi, esi
jge 0x414797
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x414793
mov esi, dword [esp + 0x14]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x414773
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x41479d
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x41475e
cmp ebx, dword [ebp + 4]
jg 0x41490e
mov edi, 0x4413f0
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + str.cw]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + str.cw]
xor byte [esp + 0x23], al
mov al, byte [edi]
inc edi
xor al, cl
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], al
cmp esi, 8
je 0x41483b
cmp esi, 1
jle 0x41482f
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x41481d
sub dword [esp + 0x10], 1
jne 0x41481a
xor edi, edi
test esi, esi
jle 0x414901
jmp 0x4148b9
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x41484a
sub dword [esp + 0x10], 1
jne 0x414847
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], 3
mov al, byte [eax + str.cw]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + str.cw]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4148a7
sub dword [esp + 0x10], 1
jne 0x4148a4
cmp ebx, dword [ebp + 4]
jg 0x414904
cmp edi, esi
jge 0x4148ee
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4148ea
mov esi, dword [esp + 0x14]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x4148ca
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x4148f4
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x4148b9
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x4147b8
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422945
add esp, 0x34
ret 4
Function at 0x414923
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x448020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebx
cmp dword [ebp + 4], ebx
jle 0x4149dc
push esi
push edi
lea edi, [ebp + 0x28]
mov dword [esp + 0x14], edi
lea eax, [edi + 2]
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [esp + 0x20]
mov ebp, eax
push 4
add ebx, esi
pop edi
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp - 1]
mov dl, byte [esi + eax*4 + 0x44f130]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x44e930]
xor dl, byte [esi + eax*4 + 0x44e530]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x44ed30]
mov byte [ebx], dl
lea ebx, [ebx + 4]
sub edi, 1
jne 0x414966
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x41495b
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
call fcn.00424030
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
cmp ebx, dword [ebp + 4]
jl 0x414952
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.00422945
add esp, 0x24
ret
Function at 0x414a08
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x44c430], cl
inc ecx
cmp ecx, ebp
jl 0x414a15
mov bl, byte [edi + str.cw]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x44d131], bl
mov byte [edi*4 + 0x44d130], bl
mov byte [edi*4 + 0x44cd33], bl
mov byte [edi*4 + 0x44cd30], bl
mov byte [edi*4 + 0x44c933], bl
mov byte [edi*4 + 0x44c932], bl
mov byte [edi*4 + 0x44c532], bl
mov byte [edi*4 + 0x44c531], bl
call fcn.004149ed
mov dl, 3
mov byte [edi*4 + 0x44d133], al
mov cl, bl
mov byte [edi*4 + 0x44cd32], al
mov byte [edi*4 + 0x44c931], al
mov byte [edi*4 + 0x44c530], al
call fcn.004149ed
mov bl, byte [edi + 0x44c430]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x44d132], al
mov byte [edi*4 + 0x44cd31], al
mov byte [edi*4 + 0x44c930], al
mov byte [edi*4 + 0x44c533], al
call fcn.004149ed
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x44e132], al
mov byte [edi*4 + 0x44dd31], al
mov byte [edi*4 + 0x44d930], al
mov byte [edi*4 + 0x44d533], al
mov byte [esi*4 + 0x44f132], al
mov byte [esi*4 + 0x44ed31], al
mov byte [esi*4 + 0x44e930], al
mov byte [esi*4 + 0x44e533], al
call fcn.004149ed
mov dl, 0xd
mov byte [edi*4 + 0x44e130], al
mov cl, bl
mov byte [edi*4 + 0x44dd33], al
mov byte [edi*4 + 0x44d932], al
mov byte [edi*4 + 0x44d531], al
mov byte [esi*4 + 0x44f130], al
mov byte [esi*4 + 0x44ed33], al
mov byte [esi*4 + 0x44e932], al
mov byte [esi*4 + 0x44e531], al
call fcn.004149ed
mov dl, 0xe
mov byte [edi*4 + 0x44e131], al
mov cl, bl
mov byte [edi*4 + 0x44dd30], al
mov byte [edi*4 + 0x44d933], al
mov byte [edi*4 + 0x44d532], al
mov byte [esi*4 + 0x44f131], al
mov byte [esi*4 + 0x44ed30], al
mov byte [esi*4 + 0x44e933], al
mov byte [esi*4 + 0x44e532], al
call fcn.004149ed
mov byte [edi*4 + 0x44e133], al
mov byte [edi*4 + 0x44dd32], al
mov byte [edi*4 + 0x44d931], al
mov byte [edi*4 + 0x44d530], al
inc edi
mov byte [esi*4 + 0x44f133], al
mov byte [esi*4 + 0x44ed32], al
mov byte [esi*4 + 0x44e931], al
mov byte [esi*4 + 0x44e530], al
cmp edi, ebp
jl 0x414a27
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x414df1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x449868]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x414e19
mov ecx, 0x449860
call fcn.00414c02
mov esi, dword [0x449868]
movzx ecx, byte [ebp + 0xc]
mov eax, edi
and eax, 0xfffffff0
cmp byte [ebp + 8], 0
je 0x414e5f
test esi, esi
je 0x414e81
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43b26c]
call esi
test eax, eax
jne 0x414ea3
push str.CryptProtectMemory_failed
mov esi, 0x449850
push esi
call fcn.00409f2c
pop ecx
pop ecx
call fcn.0040a1b6
push 2
mov ecx, esi
call fcn.0040a0e9
jmp 0x414ea3
mov esi, dword [0x44986c]
test esi, esi
je 0x414e81
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43b26c]
call esi
test eax, eax
jne 0x414ea3
push str.CryptUnprotectMemory_failed
jmp 0x414e42
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test edi, edi
je 0x414ea3
add al, 0x4b
lea ecx, [edx + ebx]
add al, dl
xor byte [ecx], al
inc edx
mov eax, dword [esp + 0xc]
cmp edx, edi
jb 0x414e91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41573c
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x4159df
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret
Function at 0x415a1f
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x448020]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x30], edi
lea ecx, [edi + 0x28]
add ecx, esi
call fcn.0040fc08
mov dword [esp + esi + 0x48], eax
add esi, 4
cmp esi, 0x40
jb 0x415a3f
push 0x30
lea ebx, [esp + 0x84]
pop ebp
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x415a5f
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0x14]
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, ebp
rol eax, 7
mov dword [esp + 0x40], esi
mov esi, ebp
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov ecx, ebp
ror eax, 6
not ecx
and ecx, dword [esp + 0x10]
xor esi, eax
mov eax, edx
mov dword [esp + 0x1c], ebp
and eax, ebp
mov dword [esp + 0x3c], ebp
xor ecx, eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add esi, ecx
add esi, dword [ebx + 0x441500]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
add ebp, esi
mov dword [esp + 0x10], edx
mov eax, edi
rol eax, 0xa
mov edx, edi
ror edx, 0xd
xor edx, eax
mov dword [esp + 0x20], edi
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x14]
and ecx, edi
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea edi, [edx + esi]
mov esi, dword [esp + 0x1c]
mov edx, eax
cmp ebx, 0x100
jb 0x415ad6
mov eax, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x30]
add dword [edi + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x3c]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], ebp
mov ecx, dword [esp + 0x44]
add dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x148]
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422945
add esp, 0x13c
ret
Function at 0x415c49
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
push 0x38
pop edi
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x20]
and edx, 0x3f
mov ebp, dword [esi + 0x24]
shld ebp, ebx, 3
shl ebx, 3
mov byte [edx + esi + 0x28], 0x80
inc edx
cmp edx, edi
je 0x415cac
jbe 0x415c99
push 0x40
pop ecx
cmp edx, ecx
jae 0x415c90
sub ecx, edx
lea eax, [esi + 0x28]
push ecx
add eax, edx
push 0
push eax
call fcn.004245b0
add esp, 0xc
mov ecx, esi
call fcn.00415a1f
xor edx, edx
sub edi, edx
lea eax, [esi + 0x28]
push edi
add eax, edx
push 0
push eax
call fcn.004245b0
add esp, 0xc
lea edx, [esi + 0x60]
mov ecx, ebp
call fcn.004159c9
lea edx, [esi + 0x64]
mov ecx, ebx
call fcn.004159c9
mov ecx, esi
call fcn.00415a1f
mov ebx, dword [esp + 0x10]
mov edx, ebx
mov ecx, dword [esi]
call fcn.004159c9
mov ecx, dword [esi + 4]
lea edx, [ebx + 4]
call fcn.004159c9
mov ecx, dword [esi + 8]
lea edx, [ebx + 8]
call fcn.004159c9
mov ecx, dword [esi + 0xc]
lea edx, [ebx + 0xc]
call fcn.004159c9
mov ecx, dword [esi + 0x10]
lea edx, [ebx + 0x10]
call fcn.004159c9
mov ecx, dword [esi + 0x14]
lea edx, [ebx + 0x14]
call fcn.004159c9
mov ecx, dword [esi + 0x18]
lea edx, [ebx + 0x18]
call fcn.004159c9
mov ecx, dword [esi + 0x1c]
lea edx, [ebx + 0x1c]
call fcn.004159c9
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.004159df
Function at 0x416db7
Capabilities:
Get common file path

Disassembly:
push 0x5c
mov eax, 0x439cc5
call fcn.00438386
mov edi, ecx
push ecx
push 0x104
lea ecx, [ebp - 0x68]
call fcn.00401a88
xor esi, esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.00401895
mov edx, eax
call fcn.0040188a
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x416e59
lea ecx, [ebp - 0x2c]
call fcn.004021e6
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401d16
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040188a
push eax
lea ecx, [ebp - 0x44]
call fcn.00401d16
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00410d79
lea ecx, [ebp - 0x44]
call fcn.00401e5c
lea ecx, [ebp - 0x5c]
call fcn.00401e5c
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00401e5c
lea ecx, [ebp - 0x68]
call fcn.0040189d
mov eax, esi
call fcn.00438335
ret

Function at 0x416e69
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x416ecc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00422945
leave
ret

Function at 0x416f8d
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0
push edx
push 0x417200
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x416fd0
push str.CreateThread_failed
mov edi, 0x449850
push edi
call fcn.00409f2c
pop ecx
pop ecx
call fcn.0040a1b6
push 2
mov ecx, edi
call fcn.0040a0e9
pop edi
mov eax, esi
pop esi
pop ecx
ret