joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d356
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4e5478]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40c], edx
xor edx, edx
push edi
mov edi, dword [ebp + 0x18]
div edi
mov dword [ebp - 0x424], ecx
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x41c], esi
test eax, eax
je 0x45d3ab
test dword [eax], 0x800
je 0x45d3ab
mov eax, dword [eax + 0x10]
jmp 0x45d3b0
mov eax, dword [0x4e56ec]
cmp eax, edi
ja 0x45d3b9
xor ebx, ebx
inc ebx
jmp 0x45d3cd
xor edx, edx
div edi
mov ebx, eax
mov dword [ebp - 0x414], ebx
cmp ebx, 0x40
jb 0x45d3d3
push 0x40
pop ebx
mov dword [ebp - 0x414], ebx
test esi, esi
je 0x45d562
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x420], eax
cmp esi, ebx
jae 0x45d3f9
mov dword [ebp - 0x418], esi
jmp 0x45d401
mov esi, ebx
mov dword [ebp - 0x418], ebx
test esi, esi
je 0x45d444
mov ecx, esi
lea eax, [ebp - 0x400]
mov esi, dword [ebp - 0x420]
xor ebx, ebx
mov dword [eax - 8], esi
add esi, edi
mov dword [eax - 4], edx
adc edx, ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [eax + 0x10]
sub ecx, 1
jne 0x45d415
mov ebx, dword [ebp - 0x414]
mov dword [ebp - 0x420], esi
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x408]
push eax
mov eax, esi
lea edx, [ebp - 0x408]
shl eax, 4
push eax
call fcn.0045c17a
mov ecx, eax
test ecx, ecx
js 0x45d562
mov edx, dword [ebp - 0x40c]
add edx, 0xfffffff0
add edx, edi
cmp esi, 1
jbe 0x45d4ab
lea ecx, [ebp - 0x3f0]
lea ebx, [esi - 1]
mov eax, dword [edx]
xor dword [ecx - 8], eax
mov eax, dword [edx + 4]
xor dword [ecx - 4], eax
mov eax, dword [edx + 8]
xor dword [ecx], eax
lea ecx, [ecx + 0x10]
mov eax, dword [edx + 0xc]
add edx, edi
xor dword [ecx - 0xc], eax
sub ebx, 1
jne 0x45d485
mov ebx, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x408]
mov eax, edi
imul eax, esi
push eax
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
call fcn.0047d776
add dword [ebp - 0x410], edi
xor ecx, ecx
add dword [ebp - 0x40c], edi
sub dword [ebp + 0x10], edi
mov dword [ebp - 0x430], ecx
cmp esi, 1
jbe 0x45d54a
mov ebx, dword [ebp - 0x410]
lea eax, [esi - 1]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x3f0]
mov dword [ebp - 0x42c], eax
mov esi, eax
imul eax, edi
add dword [ebp - 0x40c], eax
mov eax, dword [edx - 8]
sub ecx, edi
xor dword [ebx], eax
mov eax, dword [edx - 4]
xor dword [ebx + 4], eax
mov eax, dword [edx]
lea edx, [edx + 0x10]
xor dword [ebx + 8], eax
mov eax, dword [edx - 0xc]
xor dword [ebx + 0xc], eax
add ebx, edi
sub esi, 1
jne 0x45d50d
mov esi, dword [ebp - 0x418]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x410], ebx
mov ebx, dword [ebp - 0x414]
sub dword [ebp - 0x41c], esi
mov esi, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x428]
jne 0x45d3ed
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040548e
leave
ret 0x18
Function at 0x461efc
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e5478]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00461e80
test al, al
je 0x461f5e
mov eax, 0x40000000
lea edi, [ebp - 0x18]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x14], 0x7263694d
jne 0x461f5e
cmp dword [ebp - 0x10], 0x666f736f
jne 0x461f5e
cmp dword [ebp - 0xc], 0x76482074
jne 0x461f5e
mov al, 1
jmp 0x461f60
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040548e
leave
ret

Function at 0x46d45b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x511bc8]
push esi
push edi
mov edi, edx
mov edx, ecx
mov dword [ebp - 4], edx
test eax, eax
jne 0x46d4af
push ebx
inc eax
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
lea ebx, [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
test dword [ebp - 0xc], 0x100000
pop ebx
je 0x46d4a4
mov dword [0x511bc8], 1
jmp 0x46d4b4
mov edx, dword [ebp - 4]
push 2
pop eax
mov dword [0x511bc8], eax
cmp eax, 1
jne 0x46d4c3
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, edi
call fcn.0046d406
jmp 0x46d4e9
xor esi, esi
not edx
cmp dword [ebp + 8], esi
jbe 0x46d4e5
movzx ecx, byte [esi + edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4da2d8]
inc esi
cmp esi, dword [ebp + 8]
jb 0x46d4cc
not edx
mov eax, edx
pop edi
pop esi
leave
ret 4

Function at 0x46d4ef
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
test edx, edx
je 0x46d548
push ebx
push esi
push edi
mov esi, 0x4da258
test dl, 1
je 0x46d53b
mov edi, dword [esi]
xor ebx, ebx
test ecx, ecx
je 0x46d539
mov eax, ecx
shr eax, 0x1f
neg eax
and eax, edi
xor ebx, eax
mov eax, edi
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edi, 1
and eax, 0x82f63b78
xor edi, eax
add ecx, ecx
jne 0x46d516
mov ecx, ebx
add esi, 4
shr edx, 1
jne 0x46d509
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
xor eax, ecx
leave
ret 4
Function at 0x46eb17
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x64], 8
jae 0x46eb4b
mov eax, dword [edi + 0x78]
xor esi, esi
mov ecx, dword [ebp + 0xc]
add eax, 0x28
mov ebx, dword [ebp + 8]
push 8
pop edx
cmp byte [eax + 8], 0
je 0x46eb54
cmp dword [eax], ebx
jne 0x46eb56
cmp dword [eax + 4], ecx
jne 0x46eb56
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edx, esi
inc esi
add eax, 0x38
cmp esi, 8
jb 0x46eb3c
imul edx, edx, 0x38
add edx, dword [edi + 0x78]
mov byte [edx + 0x30], 1
mov dword [edx + 0x28], ebx
mov dword [edx + 0x2c], ecx
inc dword [edi + 0x64]
mov byte [edx + 8], 1
mov dword [edx + 0xc], 0x46ebcb
mov eax, dword [edx + 0x1c]
call fcn.004659eb
mov esi, dword [ebp - 4]
mov dword [eax + 0x10], esi
mov esi, 0xfff
mov dword [eax + 0x18], edx
mov eax, dword [edx + 0x1c]
mov dword [eax + 0x34], ecx
mov dword [eax + 0x28], 2
mov dword [eax + 0x30], ebx
mov dword [eax + 0x38], 0x1000
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x2c], ecx
and ecx, esi
add ecx, esi
shr ecx, 0xc
inc ecx
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
mov eax, dword [edx + 0x1c]
jmp 0x46eb4d

Function at 0x470b2e
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x40000080
cpuid
mov esi, ebx
lea edi, [ebp - 0x10]
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0xc], 0x7263694d
jne 0x470bbe
cmp dword [ebp - 8], 0x666f736f
jne 0x470bbe
cmp dword [ebp - 4], 0x53562074
jne 0x470bbe
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x10], 0x31235356
jne 0x470bbe
mov eax, 0x40000082
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test byte [ebp - 0x10], 2
je 0x470bbe
mov al, 1
jmp 0x470bc0
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x472d2b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x511bac]
push ebx
push esi
push edi
test eax, eax
jne 0x472d58
push eax
push 0xf4240
push dword [0x517834]
push dword [0x517830]
call fcn.004c5d90
mov dword [0x511bac], eax
mul dword [ebp + 8]
mov ecx, eax
mov esi, edx
rdtsc
mov edi, eax
mov ebx, edx
rdtsc
sub eax, edi
sbb edx, ebx
cmp edx, esi
jb 0x472d65
ja 0x472d75
cmp eax, ecx
jb 0x472d65
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x473d56
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00461efc
cmp al, 1
jne 0x473def
mov eax, 0x40000080
lea edi, [ebp - 0x10]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0xc], 0x7263694d
jne 0x473def
cmp dword [ebp - 8], 0x666f736f
jne 0x473def
cmp dword [ebp - 4], 0x53562074
jne 0x473def
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x10], 0x31235356
jne 0x473def
mov eax, 0x40000082
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test byte [ebp - 0x10], 2
je 0x473def
mov al, 1
jmp 0x473df1
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x478b84
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4e5478]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
xor eax, eax
mov dword [ebp - 0x38], edx
push esi
push edi
lea edi, [ebp - 0x1c]
mov ebx, ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x30], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00461f70
test al, al
je 0x478bdb
mov eax, 0x40000004
lea edi, [ebp - 0x1c]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov ebx, dword [ebp - 0x30]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
test dword [ebp - 0x1c], 0x1000
je 0x478bea
mov byte [ebx + 0x65], 1
jmp 0x478c5b
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x40000080
cpuid
mov esi, ebx
lea edi, [ebp - 0x1c]
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x18], 0x7263694d
jne 0x478cd3
cmp dword [ebp - 0x14], 0x666f736f
jne 0x478cd3
cmp dword [ebp - 0x10], 0x53562074
jne 0x478cd3
mov eax, 0x40000081
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp dword [ebp - 0x1c], 0x31235356
jne 0x478cd3
mov ebx, dword [ebp - 0x30]
mov ecx, 0x40000001
rdmsr
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x478c71
and eax, 1
or eax, 0
je 0x478cd3
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x14], eax
call fcn.00461fcc
test dword [ebp - 0x20], 0x20000
je 0x478c8f
mov byte [ebx + 0x64], 1
cmp byte [ebx + 0x65], 0
mov ecx, 0x40000000
rdmsr
jne 0x478cac
or eax, edx
jne 0x478cac
mov eax, 0x1010001
mov edx, 0x10001
wrmsr
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx], eax
mov al, 1
mov dword [ebx + 0x24], ecx
jmp 0x478cd5
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040548e
leave
ret 0x1c

Function at 0x479382
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push esi
push edi
xor eax, eax
lea edi, [ecx + 0x58]
push 8
mov dword [ecx + 8], eax
mov esi, 0x4da988
mov dword [ecx + 0xc], eax
mov dword [ecx], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x47944a
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, dword [esi]
lea edi, [esi + 0x58]
mov byte [eax + esi + 0x18], 0x80
inc eax
cmp eax, 0x38
jbe 0x479490
push 0x40
pop edx
lea ecx, [esi + 0x18]
sub edx, eax
add ecx, eax
call fcn.004c4920
lea eax, [esp + 0xc]
mov ecx, edi
push eax
push 0x40
lea edx, [esi + 0x18]
call fcn.0047ad64
xor eax, eax
push 0x40
pop edx
lea ecx, [esi + 0x18]
sub edx, eax
add ecx, eax
call fcn.004c4920
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
mov eax, dword [esi + 0xc]
shld eax, ecx, 3
bswap eax
shl ecx, 3
mov dword [esi + 0x50], eax
lea eax, [esp + 0xc]
bswap ecx
push eax
mov dword [esi + 0x54], ecx
mov ecx, edi
push 0x40
call fcn.0047ad64
push 8
mov edx, edi
pop ecx
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [ebx], eax
lea ebx, [ebx + 4]
sub ecx, 1
jne 0x4794cc
push 0x78
pop edx
mov ecx, esi
call fcn.004c4920
push 8
pop ecx
mov esi, 0x4da988
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ae02
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4e5478]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
push 0x78
xor ebx, ebx
lea eax, [esp + 0x1c]
mov edi, ecx
mov esi, edx
push ebx
push eax
mov dword [esp + 0x1c], edi
call fcn.004c2a80
add esp, 0xc
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
call fcn.00479382
push 0x40
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.004c2a80
add esp, 0xc
cmp dword [ebp + 8], 0x40
push dword [ebp + 8]
ja 0x47ae77
lea eax, [esp + 0x98]
push esi
push eax
call fcn.004c5a50
add esp, 0xc
jmp 0x47ae92
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.004793a0
lea edx, [esp + 0x94]
lea ecx, [esp + 0x18]
call fcn.0047944a
mov eax, ebx
mov ecx, 0x36363636
xor dword [esp + eax*8 + 0x94], ecx
xor dword [esp + eax*8 + 0x98], ecx
inc eax
cmp eax, 8
jb 0x47ae99
push 8
pop ecx
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x70]
push 8
pop ecx
add edi, 0x20
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x94]
push eax
push 0x40
mov ecx, esi
call fcn.0047ad64
mov eax, 0x6a6a6a6a
xor dword [esp + ebx*8 + 0x94], eax
xor dword [esp + ebx*8 + 0x98], eax
inc ebx
cmp ebx, 8
jb 0x47aee4
lea eax, [esp + 0x14]
push eax
push 0x40
lea edx, [esp + 0x9c]
lea ecx, [esi + 0x20]
call fcn.0047ad64
push 0x40
pop edx
lea ecx, [esp + 0x94]
call fcn.004c4920
push 0x78
pop edx
lea ecx, [esp + 0x18]
call fcn.004c4920
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040548e
mov esp, ebp
pop ebp
ret 4
Function at 0x47c7c6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x4e5478]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
push 0x70
xor ebx, ebx
lea eax, [esp + 0x1c]
mov edi, ecx
mov esi, edx
push ebx
push eax
mov dword [esp + 0x1c], edi
call fcn.004c2a80
add esp, 0xc
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
call fcn.0047b138
push 0x40
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004c2a80
add esp, 0xc
cmp dword [ebp + 8], 0x40
push dword [ebp + 8]
ja 0x47c83b
lea eax, [esp + 0x90]
push esi
push eax
call fcn.004c5a50
add esp, 0xc
jmp 0x47c856
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.0047b15c
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x18]
call fcn.0047b176
mov eax, ebx
mov ecx, 0x36363636
xor dword [esp + eax*8 + 0x8c], ecx
xor dword [esp + eax*8 + 0x90], ecx
inc eax
cmp eax, 8
jb 0x47c85d
push 5
pop ecx
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x70]
push 5
pop ecx
add edi, 0x14
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push eax
push 0x40
mov ecx, esi
call fcn.0047b22e
mov eax, 0x6a6a6a6a
xor dword [esp + ebx*8 + 0x8c], eax
xor dword [esp + ebx*8 + 0x90], eax
inc ebx
cmp ebx, 8
jb 0x47c8a8
lea eax, [esp + 0x14]
push eax
push 0x40
lea edx, [esp + 0x94]
lea ecx, [esi + 0x14]
call fcn.0047b22e
push 0x40
pop edx
lea ecx, [esp + 0x8c]
call fcn.004c4920
push 0x70
pop edx
lea ecx, [esp + 0x18]
call fcn.004c4920
mov ecx, dword [esp + 0xcc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040548e
mov esp, ebp
pop ebp
ret 4
Function at 0x47d54e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
cmp esi, 0x10
jne 0x47d58b
mov eax, dword [ecx]
xor eax, dword [edx]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ecx + 4]
xor eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
jmp 0x47d5f1
mov eax, dword [ebp + 8]
push ebx
push edi
push 3
pop edi
xor ebx, ebx
cmp esi, edi
jbe 0x47d5cf
mov dword [ebp - 4], ecx
sub eax, edx
sub dword [ebp - 4], edx
mov ecx, edx
sub edi, edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx]
add ebx, 4
mov esi, dword [ebp - 0xc]
xor eax, dword [ecx]
mov dword [esi + ecx], eax
lea ecx, [ecx + 4]
mov esi, dword [ebp + 0xc]
lea eax, [edi + ecx]
cmp eax, esi
jb 0x47d5ab
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp ebx, esi
jae 0x47d5ef
sub eax, edx
lea edi, [ebx + edx]
sub ecx, edx
mov dword [ebp - 0x14], eax
sub esi, ebx
mov edx, eax
mov al, byte [edi + ecx]
xor al, byte [edi]
mov byte [edi + edx], al
inc edi
sub esi, 1
jne 0x47d5e1
pop edi
pop ebx
pop esi
leave
ret 8

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

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebx + 8], 0
je 0x47d632
mov eax, dword [ecx]
movd xmm0, eax
pshufd xmm0, xmm0, 0
aeskeygenassist xmm0, xmm0, 0
movaps xmmword [ebp - 0x10], xmm0
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x47d668
movzx eax, byte [ecx]
mov al, byte [eax*4 + 0x4dd001]
mov byte [edx], al
movzx eax, byte [ecx + 1]
mov al, byte [eax*4 + 0x4dd001]
mov byte [edx + 1], al
movzx eax, byte [ecx + 2]
mov al, byte [eax*4 + 0x4dd001]
mov byte [edx + 2], al
movzx eax, byte [ecx + 3]
mov al, byte [eax*4 + 0x4dd001]
mov byte [edx + 3], al
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
test byte [0x4e5518], 6
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
jne 0x47d6cf
movups xmm2, xmmword [esi]
mov edi, dword [ecx + 0x1d0]
lea eax, [ecx + 0x10]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [eax]
add eax, 0x10
pxor xmm2, xmm0
aesenc xmm2, xmm1
jmp 0x47d6be
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
aesenc xmm2, xmm1
add eax, 0x20
aesenc xmm2, xmm0
cmp eax, edi
jb 0x47d6aa
movups xmm0, xmmword [eax]
aesenclast xmm2, xmm0
movups xmmword [edx], xmm2
jmp 0x47d6d7
push edx
mov edx, esi
call fcn.004c49d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47d6e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
test byte [0x4e5518], 6
push esi
mov esi, edx
mov edx, dword [ebp + 8]
jne 0x47d735
mov eax, dword [ecx + 0x1d0]
movups xmm2, xmmword [esi]
mov ecx, dword [ecx + 0x1d4]
movups xmm1, xmmword [eax]
pxor xmm2, xmm1
jmp 0x47d718
movups xmm1, xmmword [eax]
aesdec xmm2, xmm1
movups xmm0, xmmword [eax + 0x10]
add eax, 0x20
aesdec xmm2, xmm0
cmp eax, ecx
jb 0x47d710
movups xmm0, xmmword [eax]
aesdeclast xmm2, xmm0
movups xmmword [edx], xmm2
jmp 0x47d73d
push edx
mov edx, esi
call fcn.004c4c10
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47e088
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebx + 0x10]
push esi
mov esi, edx
mov dword [ebp - 8], esi
push edi
movups xmm3, xmmword [esi]
cmp eax, 0x10
jb 0x47e117
mov edi, dword [ebx + 8]
mov esi, ecx
mov edx, dword [ebx + 0xc]
sub edi, edx
shr eax, 4
mov ecx, dword [esi + 0x1d0]
movups xmm1, xmmword [edi + edx]
mov dword [ebp - 4], ecx
lea ecx, [esi + 0x10]
movups xmm0, xmmword [esi]
movups xmm2, xmmword [ecx]
add ecx, 0x10
pxor xmm3, xmm1
pxor xmm3, xmm0
aesenc xmm3, xmm2
jmp 0x47e0fc
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [ecx + 0x10]
aesenc xmm3, xmm1
add ecx, 0x20
aesenc xmm3, xmm0
cmp ecx, dword [ebp - 4]
jb 0x47e0e8
movups xmm0, xmmword [ecx]
aesenclast xmm3, xmm0
movups xmmword [edx], xmm3
add edx, 0x10
sub eax, 1
jne 0x47e0c0
mov esi, dword [ebp - 8]
pop edi
movups xmmword [esi], xmm3
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x482a1a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4e5478]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0xc]
push 0xa
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xa0], edx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0x5c
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004c2a80
mov edx, dword [ebp - 0xa0]
add esp, 0xc
push 0x28
pop ecx
push 0x14
pop esi
test edx, edx
jne 0x482a77
mov edx, 0x80290104
jmp 0x482af5
test ebx, ebx
jne 0x482a82
mov edx, 0x80290103
jmp 0x482af5
xor eax, eax
lea esi, [edx + 0x34]
mov edi, ebx
push 5
pop ecx
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0xc]
pop ecx
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x9c]
call fcn.004b5890
push 0x28
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
call fcn.004b5950
mov edx, ebx
lea ecx, [ebp - 0x9c]
call fcn.004b5a50
push 0x5c
lea eax, [ebp - 0x9c]
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x482ad2
push 0x14
lea ecx, [ebp - 0x40]
xor edx, edx
pop esi
sub ecx, ebx
mov edi, esi
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
sub edi, 1
jne 0x482ae7
push 0x28
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x482af8
lea ecx, [ebp - 0x40]
mov byte [ecx], 0
inc ecx
sub esi, 1
jne 0x482b04
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040548e
leave
ret 8