joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423f80
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041cb45
and dword [ebp - 4], 0
cmp dword [0x43ce50], 0
mov ebx, eax
jne 0x424031
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4240e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4240e2
push eax
call fcn.0041cad3
mov dword [esp], 0x430084
push edi
mov dword [0x43ce50], eax
call esi
push eax
call fcn.0041cad3
mov dword [esp], 0x430070
push edi
mov dword [0x43ce54], eax
call esi
push eax
call fcn.0041cad3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ce58], eax
call esi
push eax
call fcn.0041cad3
pop ecx
mov dword [0x43ce60], eax
test eax, eax
je 0x424031
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041cad3
pop ecx
mov dword [0x43ce5c], eax
mov eax, dword [0x43ce5c]
cmp eax, ebx
je 0x424089
cmp dword [0x43ce60], ebx
je 0x424089
push eax
call fcn.0041cb4e
push dword [0x43ce60]
mov esi, eax
call fcn.0041cb4e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424089
test edi, edi
je 0x424089
call esi
test eax, eax
je 0x424080
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424080
test byte [ebp - 0xc], 1
jne 0x424089
or dword [ebp + 0x10], 0x200000
jmp 0x4240c2
mov eax, dword [0x43ce54]
cmp eax, ebx
je 0x4240c2
push eax
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4240c2
mov eax, dword [0x43ce58]
cmp eax, ebx
je 0x4240c2
push eax
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ce50]
call fcn.0041cb4e
pop ecx
test eax, eax
je 0x4240e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4240e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1240008], 0x8088405
inc edx
mov dword [ebx + 0x1240008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x122458e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1224595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x12258f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x124254c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x124254c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x1241378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12258fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x100197ee
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
push edi
xor edi, edi
movzx edx, byte [edi + 0x10148df8]
mov ecx, edx
mov eax, edx
shr ecx, 7
imul esi, ecx, 0x1b000000
shl eax, 0x19
imul ecx, ecx, 0x11b
xor esi, eax
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or esi, eax
lea eax, [edx + edx]
xor ecx, eax
xor eax, eax
xor ecx, edx
or eax, esi
or ecx, esi
mov dword [edi*8 + 0x101a0250], eax
mov dword [edi*8 + 0x101a0254], ecx
inc edi
cmp edi, 0x100
jl 0x100197f2
xorps xmm0, xmm0
pop edi
movlpd qword [0x101a0a58], xmm0
movlpd qword [0x101a0a50], xmm0
mov byte [0x101a0a72], 1
pop esi
ret

Function at 0x1001985e
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
movzx edi, byte [edx + 0x10148cf8]
mov dword [esp + 0x10], edi
mov eax, 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
imul eax, dword [esp + 0x14], 0x11b0000
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 3
xor ecx, dword [esp + 0x10]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
xor ecx, dword [esp + 0x10]
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 + 0x101a0bd0], eax
mov dword [edx*8 + 0x101a0bd4], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x1001986b
pop edi
pop esi
pop ebp
mov byte [0x101a0a73], 1
pop ebx
add esp, 0x10
ret
Function at 0x1001b1e6
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edx, ecx
mov dword [esp + 8], edx
push 0x10
and dword [edx + 4], 0
lea eax, [edx + 0x10]
and dword [edx + 8], 0
lea ecx, [edx + 0x68]
mov byte [eax + 0x41], 1
mov edi, 0x3fffffff
mov dword [eax + 0x48], edi
mov dword [eax + 0x50], eax
pop esi
mov dword [eax + 0x4c], esi
mov eax, ecx
mov dword [ecx + 0x54], esi
and eax, 0xf
mov byte [ecx + 0x49], 1
add eax, ecx
mov dword [ecx + 0x50], edi
mov esi, 0x1014a420
mov dword [ecx + 0x58], eax
mov eax, edx
mov edi, dword [edx + 0xc0]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [edx], vtable.CryptoPP::SHA256.0
pop esi
pop ecx
ret
Function at 0x1001fbc4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x1001fc0d
mov ecx, dword [esp + 0xc]
push ebp
push 4
pop ebp
cmp esi, ebp
jb 0x1001fbf6
push ebx
mov ebx, esi
shr ebx, 2
mov eax, dword [edx]
sub esi, ebp
xor eax, dword [ecx]
add edx, ebp
mov dword [edi], eax
add ecx, ebp
add edi, ebp
sub ebx, 1
jne 0x1001fbe2
pop ebx
pop ebp
test esi, esi
je 0x1001fc0d
sub edx, ecx
sub edi, ecx
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub esi, 1
jne 0x1001fbff
pop edi
pop esi
ret

Function at 0x1001fc10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
xor ecx, ecx
mov esi, edx
cmp edi, 4
jb 0x1001fc3b
mov edx, edi
shr edx, 2
mov eax, dword [ebx]
sub edi, 4
xor eax, dword [esi]
add ebx, 4
or ecx, eax
add esi, 4
sub edx, 1
jne 0x1001fc27
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x1001fc6e
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x1001fc5d
pop edi
test edx, edx
pop esi
sete al
pop ebx
ret

Function at 0x10020691
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
lea edx, [ecx - 1]
push edi
pxor xmm0, xmmword [esi]
movups xmmword [eax], xmm0
cmp edx, 1
jbe 0x100206d6
add edx, 0xfffffffe
lea edi, [esi + 0x10]
shr edx, 1
inc edx
aesenc xmm0, xmmword [edi]
movups xmmword [eax], xmm0
lea edi, [edi + 0x20]
aesenc xmm0, xmmword [edi - 0x10]
movups xmmword [eax], xmm0
sub edx, 1
jne 0x100206bd
add ecx, ecx
pop edi
aesenc xmm0, xmmword [esi + ecx*8 - 0x10]
movups xmmword [eax], xmm0
aesenclast xmm0, xmmword [esi + ecx*8]
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100206f1
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
movups xmm1, xmmword [eax]
mov eax, dword [ebp + 8]
movaps xmm0, xmm1
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
pxor xmm0, xmmword [eax]
movups xmmword [eax], xmm0
movaps xmm0, xmm1
pxor xmm0, xmmword [ecx]
movups xmmword [ecx], xmm0
movaps xmm0, xmm1
pxor xmm0, xmmword [edx]
movups xmmword [edx], xmm0
pxor xmm1, xmmword [esi]
movups xmmword [esi], xmm1
cmp edi, 1
jbe 0x1002078e
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [edi - 1]
mov edi, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
sub dword [esp + 8], 1
movups xmm1, xmmword [edi]
lea edi, [edi + 0x10]
movups xmm0, xmmword [eax]
aesenc xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx]
aesenc xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi]
aesenc xmm0, xmm1
movups xmmword [esi], xmm0
jne 0x10020752
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
add edi, edi
movups xmm0, xmmword [eax]
movups xmm1, xmmword [esi + edi*8]
mov esi, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx]
aesenclast xmm0, xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi]
aesenclast xmm0, xmm1
pop edi
movups xmmword [esi], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100207cc
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push edi
push ecx
push esi
movups xmm0, xmmword [ecx + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call fcn.100f29f0
movaps xmm1, xmmword [esp + 0x2c]
mov edx, edi
shr edx, 2
add esp, 0xc
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
lea eax, [edx + 7]
mov dword [esp + 0x18], 0x10148f14
shl eax, 4
add eax, esi
xor ecx, 1
mov dword [esp + 0x1c], eax
jmp 0x100208a5
cmp edi, 0x18
jne 0x10020843
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x10020888
cmp edi, 0x20
jne 0x10020881
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x10020888
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
xor ecx, dword [esi]
add dword [esp + 0x18], 4
lea eax, [esi + edx*4]
mov dword [eax], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov dword [esi + edx*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + edx*4 + 0xc], eax
lea eax, [esi + 0x10]
lea eax, [eax + edx*4]
cmp eax, dword [esp + 0x1c]
jne 0x10020825
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100208e2
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
movups xmm1, xmmword [ecx]
mov eax, edx
add eax, eax
lea edx, [edx*4 - 4]
push 4
movups xmm0, xmmword [ecx + eax*8]
movups xmmword [ecx], xmm0
movups xmmword [ecx + eax*8], xmm1
pop eax
cmp edx, eax
jbe 0x10020926
aesimc xmm0, xmmword [ecx + edx*4]
aesimc xmm1, xmmword [ecx + eax*4]
movups xmmword [ecx + eax*4], xmm0
add eax, 4
movups xmmword [ecx + edx*4], xmm1
sub edx, 4
cmp eax, edx
jb 0x10020908
aesimc xmm0, xmmword [ecx + eax*4]
movups xmmword [ecx + eax*4], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x100230d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov byte [ebp - 2], 0
mov byte [ebp - 3], 1
mov dword [ebp - 8], 0
jmp 0x100230f3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x10023158
movzx ecx, byte [ebp + 0xc]
movzx edx, byte [ebp - 3]
and ecx, edx
mov byte [ebp - 4], cl
movzx eax, byte [ebp - 4]
test eax, eax
je 0x1002314d
mov cl, byte [ebp + 8]
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], 0
jmp 0x10023126
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x10023140
movzx ecx, byte [ebp - 1]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.100232a0
mov byte [ebp - 1], al
jmp 0x1002311d
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
xor edx, eax
mov byte [ebp - 2], dl
movzx ecx, byte [ebp + 0xc]
sar ecx, 1
mov byte [ebp + 0xc], cl
jmp 0x100230ea
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret 8
Function at 0x10023470
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10198754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 0x10], 0x40
jne 0x10023497
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x40
jmp 0x10023512
cmp dword [ebp + 0x10], 0x40
jbe 0x100234c3
lfence
mov dword [ebp - 0x2c], 0x20
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10023a40
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ecx
jmp 0x100234cf
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, 0x40
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
push 0x36
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x2a0]
push edx
call fcn.100f2f70
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
push 0x5c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2e0]
push eax
call fcn.100f2f70
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x10023524
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x2c]
jge 0x1002355e
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x28]
mov byte [edx + 0x2a0], cl
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x28]
mov byte [edx + 0x2e0], cl
jmp 0x1002351b
mov eax, dword [ebp + 8]
push eax
call fcn.10023c00
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10023c50
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.10023c00
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.10023c50
add esp, 0xc
mov edi, dword [ebp + 8]
add edi, 0x150
mov ecx, 0x2a
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
add esi, 0xa8
mov edi, dword [ebp + 8]
add edi, 0x1f8
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bd80
mov esp, ebp
pop ebp
ret
Function at 0x10023c00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x10023c16
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x10023c35
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x1015f020]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x10023c0d
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret

Function at 0x10025a93
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
mov word [edi], cx
lea esp, [esp + 0x18]
jmp fcn.101a9e3e

Function at 0x10025b63
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
lea esp, [esp + 0x1c]
jmp fcn.101a9e3e

Function at 0x10025bcb
Capabilities:
Authenticate hmac
Execute anti-debugging instructions
Get system information on windows
Link many functions at runtime
Terminate process

Disassembly:
add edi, 4
shld dx, bp, cl
push 0x7633be84
mov word [edi], dx
jmp fcn.101a2409