joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56402d
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x56406f
pop dword [esp + 7]
rdtsc
pop dword [esp + 5]
bswap ebx
lea esp, [esp + 7]
jmp 0x564081
pop dword [esp + 0x14]
clc
cmc
xchg dh, bh
pop dword [esp + 3]
mov dword [esp + 4], ecx
jmp 0x564059
clc
xchg dword [esp + 3], eax
lea eax, [edx + esi]
mov edx, 0x9c7c3d08
setge dl
lea esp, [esp + 2]
jmp 0x5645d8
xchg ah, bl
bsf dx, cx
cld
not dx
sets dh
mov bx, word [esp + 1]
call fcn.005640e9
btc bx, ax
rol edx, cl
mov word [esp], bx
xchg word [esp + 2], ax
lea ebx, reloc.MFC42.DLL_CWnd::OnCommand
lea eax, reloc.MFC42.DLL_CWnd::OnCommand
jmp 0x564232
xchg word [esp], ax
setnp bh
sub esp, 0xa
pop ebx
mov dword [esp + 3], ebp
jmp 0x564508
btc bx, dx
clc
add esp, 2
mov edx, dword [esp]
mov ebx, dword [esp]
mov bx, word [esp + 2]
jmp 0x56421c
btr bx, di
stc
mov bh, bl
rdtsc
sbb ebx, eax
rdtsc
jmp 0x5641d8
mov word [esp + 4], bp
mov dword [esp], esi
mov ebx, ecx
not bx
bswap ebx
jmp 0x5644c4
pop word [esp + 1]
ror ax, 8
not bx
lea edx, [esp + edx]
mov dword [esp], edi
xchg dl, bh
jmp 0x564289
dec dx
mov dx, 0x10aa
lea edx, [esi + edi]
bsr edx, ebx
lea eax, [ecx*4]
bswap edx
jmp 0x56429f
mov eax, ecx
call fcn.0056431d
lea eax, reloc.MFC42.DLL_CWnd::OnCommand
xchg dword [esp + 0x20], ebx
mov ax, word [esp + 0x1d]
jmp 0x5643f5
mov dh, 0x1c
inc bl
mov eax, dword [esp + 0xd]
shr edx, cl
mov bh, al
mov eax, ebp
jmp 0x56443f
rcr eax, 0x15
mov bx, word [esp + 1]
rcl eax, 0x18
xchg bl, dh
lea edx, [ebx + esi]
xchg byte [esp + 8], al
jmp 0x5643c1
mov bx, si
mov dl, 5
call 0x564429
mov word [esp + 0x11], bp
mov dx, 0x27f3
xchg dword [esp + 0x11], eax
std
pop bx
jmp 0x564489
xchg word [esp + 1], dx
xchg dword [esp + 0x12], ebx
lea ebx, [ebx + ebx]
jmp 0x56449e
sets al
rdtsc
bsr dx, si
std
mov edx, 0xca1395bc
mov bx, 0x160d
jmp 0x564473
mov word [esp + 0xc], bx
add esp, 0xa
mov bh, byte [esp + 0x17]
pushfd
neg edx
mov word [esp + 0xf], bx
jmp 0x5644ef
bswap ebx
push word [esp]
push dword [esp + 8]
cmc
lea edx, [esi + 0x7e]
mov eax, edx
jmp 0x564413
xchg word [esp + 9], ax
push sp
bsr dx, dx
mov ebx, esp
xor ebx, edx
jmp 0x56454b
lea ebx, [edi*4]
xchg edx, eax
neg al
mov dword [esp + 0xc], esi
rdtsc
jmp 0x5644d9
mov dh, 0x54
rdtsc
xchg bl, ah
seto bl
mov eax, 0x60c367c
lea edx, [ecx + ebx]
jmp 0x5642c5
inc edx
bts eax, eax
mov al, 0x85
std
xchg word [esp + 0xd], dx
cld
jmp 0x5645aa
inc ax
std
push ebp
mov dx, cx
push dword [esp]
setl dh
jmp 0x56451e
lea edx, [ecx + ebx]
lea ebx, [eax + ebx]
mov ah, byte [esp + 5]
cmc
xchg dh, bl
shr ax, 0xf
jmp 0x564534
mov byte [esp], bh
call fcn.0056458b
test al, 0x43
sal dword [esi + reloc.MFC42.DLL_CWnd::OnCommand], cl
lcall 0x8b30, 0x31b20cfd
fnstenv [edi - 0x27749905]
mov ebx, ecx
mov bh, 0xfb
mov bx, ax
push word [esp + 2]
mov bx, word [esp + 0x10]
mov al, byte [esp + 0x14]
jmp 0x56455e
sub dx, sp
lea esp, [esp + 0x11]
mov ah, cl
mov ax, word [esp + 0x16]
xchg byte [esp + 0x14], al
bswap ebx
jmp 0x564574
bswap ebx
bsr bx, si
mov bh, byte [esp + 1]
add esp, 6
xchg al, bh
bsf eax, ebx
jmp 0x564277
Function at 0x56701c
Capabilities:
Access peb ldr_data

Disassembly:
push word [esp]
jmp 0x567065
push word [esp + 3]
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
jmp 0x5670a0
mov eax, dword [eax]
jmp 0x5670ae
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x56708a
mov eax, dword [eax + 8]
push eax
jmp 0x566ffa

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x415860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41588b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041c970
add esp, 4
or eax, 0xffffffff
jmp 0x4158ba
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x4158b8
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x4158b8
mov dword [0x4446c4], 0xd
mov dword [0x4446c8], 5
or eax, 0xffffffff
jmp 0x4158ba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10005f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10094bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10138e70]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.10005d80
add esp, 4
mov esi, eax
push 0x100aeb40
mov edx, edi
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x30]
call fcn.10006320
add esp, 4
push esi
mov edx, eax
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x18]
call fcn.100055d0
add esp, 4
push str._is_not_a_valid_key_length
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 2
push eax
call fcn.10006840
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.1007018d
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.10006bc0
cmp dword [esp + 0x58], 0x10
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x10006021
push dword [esp + 0x44]
call fcn.100070d0
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x10006049
push dword [esp + 0x14]
call fcn.100070d0
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x10006071
push dword [esp + 0x2c]
call fcn.100070d0
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x10006099
push dword [esp + 0x5c]
call fcn.100070d0
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1006f41a
add esp, 0x74
ret 8
Function at 0x10008040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10094db3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10138e70]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esi + 0xc], eax
mov dword [esp + 0xc], esi
mov dword [esi + 0x14], 0
mov dword [esp + 0x5c], 2
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
push 0
mov dword [esi + 0x2c], 0
call fcn.10004400
mov dword [esi + 0x30], 0
mov dword [esp + 0x60], 3
push 0
mov dword [esi + 0x4c], 0
call fcn.10004400
add esp, 8
mov dword [esi + 0x50], 0
cmp byte [esp + 0x70], 0
mov byte [esp + 0x5c], 4
mov dword [esi], vtable.CryptoPP::StreamTransformationFilter.1.0
mov dword [esi + 4], vtable.CryptoPP::StreamTransformationFilter.0
mov dword [esi + 0x54], edi
jne 0x1000819f
push 0
push 0x1013d5ec
push 0x1013d5c0
push 0
push edi
call fcn.10094351
add esp, 0x14
test eax, eax
je 0x1000819f
push 0x87
push str.StreamTransformationFilter:_please_use_AuthenticatedEncryptionFilter_and_AuthenticatedDecryptionFilter_for_AuthenticatedSymmetricCipher
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.100064a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 5
call fcn.1007018d
push 0xffffffffffffffff
mov byte [esp + 0x60], 6
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], vtable.CryptoPP::Exception.0
mov dword [esp + 0x40], 1
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.10006bc0
push 0x100b9d24
lea eax, [esp + 0x2c]
mov byte [esp + 0x60], 5
push eax
mov dword [esp + 0x30], vtable.CryptoPP::InvalidArgument.0
call fcn.1006f429
push ecx
lea eax, [esp + 0x70]
mov edx, str.BlockPaddingScheme
push eax
lea ecx, [esp + 0x18]
call fcn.10008ca0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x60], 7
call fcn.100077a0
mov byte [esp + 0x5c], 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100081d6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1006f41a
add esp, 0x54
ret 0x10
Function at 0x10008ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10094f0c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 1
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push edx
call fcn.10008d60
mov dword [esi], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esi + 4], 0
mov byte [esp + 0x28], 2
mov cl, byte [eax + 8]
mov byte [esi + 8], cl
mov edi, dword [eax + 4]
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10008d2e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x10008d4c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x10009920
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + 0x100af4d0]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x1013fc60], ecx
mov dword [eax*8 + 0x1013fc64], edx
inc eax
cmp eax, 0x100
jl 0x10009924
xorps xmm0, xmm0
pop edi
movlpd qword [0x10140468], xmm0
movlpd qword [0x10140460], xmm0
mov byte [0x1013fc55], 1
pop esi
ret
Function at 0x10009990
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x100af3d0]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x101404b0], eax
mov dword [edx*8 + 0x101404b4], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x100099a0
pop edi
pop esi
pop ebp
mov byte [0x1013fc54], 1
pop ebx
add esp, 0x10
ret
Function at 0x1000ab90
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm0, xmmword [eax]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x1000abde
add edx, 0xfffffffe
lea ecx, [edi + 0x10]
shr edx, 1
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + 0x20]
aesdec xmm0, xmmword [ecx - 0x20]
movdqa xmmword [eax], xmm0
aesdec xmm0, xmmword [ecx - 0x10]
movdqa xmmword [eax], xmm0
dec edx
jne 0x1000abc0
movdqa xmm0, xmmword [eax]
add esi, esi
aesdec xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesdeclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
push esi
mov esi, dword [ebp + 0x10]
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push edi
mov edi, dword [ebp + 0x1c]
movdqa xmm0, xmmword [esi]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x1000acb5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x1000ac70
dec dword [esp + 0xc]
lea edi, [edi + 0x10]
movdqa xmm1, xmmword [edi - 0x10]
movdqa xmm0, xmmword [ecx]
aesdec xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesdec xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesdec xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesdec xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x1000ac70
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edi, edi
movdqa xmm0, xmmword [ecx]
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesdeclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesdeclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesdeclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesdeclast xmm0, xmm1
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10095160
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10138e70]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x10138e70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push str.BufferedTransformation:_this_object_doesnt_allow_input
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.100064a0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.1007018d
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10006bc0
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x1000c4ac
push dword [esp + 0x10]
call fcn.100070d0
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x1000f520
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x340], eax
mov eax, dword [ebp + 0xc]
push 0x63
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x67]
push 0
push eax
mov byte [ebp - 0x68], 0
call fcn.1006ff30
push 0x1013a51c
push 0x1013a52c
push 0x1013a53a
push 0x1013a534
push 0x1013a4fa
push 0x1013a540
push 0x1013a516
push 0x1013a52a
push 0x1013a524
push 0x1013a540
push 0x1013a53a
push 0x1013a53e
push 0x1013a550
push 0x1013a540
push 0x1013a4f6
push 0x1013a506
push 0x1013a512
push 0x1013a518
lea eax, [ebp - 0x68]
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
push eax
call fcn.1000fa10
add esp, 0x5c
xor eax, eax
mov word [ebp - 0x338], ax
push 0x206
push eax
lea eax, [ebp - 0x336]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x338]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 2
push 0x104
call fcn.10073ef2
mov edi, eax
add esp, 8
test edi, edi
je 0x1000f714
push 0x208
push 0
push edi
call fcn.1006ff30
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x338]
add esp, 0xc
push eax
push edi
call esi
push 0x100af9f8
push edi
call esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x33c]
push edi
call esi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x130], ax
lea eax, [ebp - 0x12e]
push eax
call fcn.1006ff30
push 0x1013a584
push 0x1013a584
push 0x1013a564
push 0x1013a4bc
push 0x1013a58c
push 0x1013a590
push 0x1013a588
push 0x1013a584
push 0x1013a59c
push 0x1013a5a8
lea eax, [ebp - 0x130]
push str._s_s_s_s_s_s_s_s_s_s
push eax
call fcn.1000fa30
add esp, 0x3c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000f70b
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f704
push 0
push 0
push edi
push dword [ebp - 0x340]
push 0
call eax
test eax, eax
jne 0x1000f704
test ebx, ebx
je 0x1000f6ec
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call fcn.1006da71
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
lea eax, [ebp - 0x10]
mov dword [ebp - 0x58], 0x44
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
push 0
push 0
push 0x200
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x50], 0x100af9cc
push 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000fa07
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 0x10
xor al, al
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000fc20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, 0x100af9cc
push edi
mov edx, esi
nop
mov cx, word [edx]
cmp cx, word [eax]
jne 0x1000fc66
test cx, cx
je 0x1000fc62
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x1000fc66
add edx, 4
add eax, 4
test cx, cx
jne 0x1000fc40
xor eax, eax
jmp 0x1000fc6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000fd07
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100afc0c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0
lea eax, [ebp - 0x460]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000fd07
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x100afc10
lea eax, [ebp - 0x434]
push eax
call edi
test eax, eax
jne 0x1000fd1a
lea eax, [ebp - 0x460]
push eax
push esi
call ebx
test eax, eax
jne 0x1000fce0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret