joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459db0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6941
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push esi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x459e23
cmp byte [esi + 5], 0
je 0x459ef2
cmp byte [esi + 6], 0
je 0x459ef2
mov eax, dword [esi]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0x20]
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x459e71
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Failed_to_set_stream_length__stream_is_disposed_
lea ecx, [ebp - 0x24]
call fcn.00403040
push str.::setLength__
mov edx, 0x4dae08
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405f30
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.0044e9e0
push 0x4d8e48
lea eax, [ebp - 0x90]
push eax
call fcn.0048ab6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0045e990
push eax
mov edx, str.Failed_to_set_end_of_file__
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.0041b7d0
push 0x4c58a8
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.0041b8d0
mov esi, eax
push str.::setLength__
mov edx, 0x4dae08
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf0]
call fcn.00405f30
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.0040bf40
push 0x4d8ba4
lea eax, [ebp - 0x144]
push eax
call fcn.0048ab6b
push str.Stream_does_not_support_both_writing_and_seeking
lea ecx, [ebp - 0x24]
call fcn.00403040
push str.::setLength__
mov edx, 0x4dae08
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405f30
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00401a60
push 0x4d8af4
lea eax, [ebp - 0x90]
push eax
call fcn.0048ab6b
int3
Function at 0x45d1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push 0x4c
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0048b170
add esp, 0xc
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x90], eax
push 0xc
call fcn.00489209
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x64], 0x20
test esi, esi
je 0x45d27c
call fcn.0047e6a0
mov dword [esi + 4], eax
test eax, eax
je 0x45d279
mov dword [esi], 0x4b7884
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], 3
lea eax, [edi + 0x1f]
shr eax, 5
mov dword [ebp - 0x90], eax
test eax, eax
je 0x45d3a4
mov dword [ebp - 0x8c], ebx
test esi, esi
je 0x45d2ba
mov eax, dword [esi]
test eax, eax
je 0x45d2ba
push dword [esi + 4]
mov eax, dword [eax + 0x10]
call eax
mov esi, dword [ebp - 0x20]
add esp, 4
mov ecx, 1
mov dword [ebp - 0x68], ecx
test esi, esi
je 0x45d2e5
mov eax, dword [esi]
test eax, eax
je 0x45d2e5
mov eax, dword [eax + 0x14]
push 0x20
push dword [ebp - 0x94]
push dword [esi + 4]
call eax
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x68]
mov eax, ebx
bswap eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x45d30d
mov eax, dword [esi]
test eax, eax
je 0x45d30d
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x14]
push 4
push ecx
push dword [esi + 4]
call eax
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x68]
cmp ecx, 1
jne 0x45d337
test esi, esi
je 0x45d32e
mov eax, dword [esi]
test eax, eax
je 0x45d32e
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0x60]
push ecx
push dword [esi + 4]
call eax
mov esi, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x68], 2
jmp 0x45d33c
cmp ecx, 2
jne 0x45d352
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048abe0
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov ecx, 0x20
sub edi, eax
cmp edi, 0x20
cmova edi, ecx
xor edx, edx
test edi, edi
je 0x45d38b
mov ecx, dword [ebp - 0x98]
add ecx, eax
mov al, byte [ebp + edx - 0x88]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jb 0x45d373
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp + 0xc]
inc ebx
add eax, 0x20
mov dword [ebp - 0x8c], eax
cmp ebx, dword [ebp - 0x90]
jb 0x45d2a2
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0047b460
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45d3c4
push 0xc
push eax
call fcn.00489239
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004891fb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460a00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a76c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x460aa6
push 0x11
push str.CONTENT_META_INFO
mov ecx, esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00461180
add dword [edi + 4], 0x40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
push esi
call fcn.00460c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x461040
Capabilities:
Get process heap flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7798
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0xc
mov dword [edi], 0
push str.CONTENT_INFO
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00403200
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
push 1
push 0
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0044e760
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00461120
mov edi, dword [ebx + 8]
mov ecx, esi
lea eax, [edi + 0x18]
push eax
call fcn.0044e8b0
mov ecx, dword [ebp - 0x14]
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ecx + 0x40], xmm0
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x50], eax
mov al, byte [edi + 0x54]
mov byte [ecx + 0x54], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x462970
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7afa
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x10
mov dword [edi], 0
push str.CERTIFICATE_BODY
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00403200
push 1
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xf
mov byte [edi + 0x38], 0
lea esi, [edi + 0x58]
mov byte [ebp - 4], 3
push 1
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0044e760
push 1
lea ecx, [esi + 8]
mov byte [ebp - 4], 4
push 0
mov dword [ebp - 0x18], ecx
call fcn.0044e760
push 1
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 5
push 0
mov dword [ebp - 0x18], ecx
call fcn.0044e760
lea esi, [edi + 0x70]
mov byte [ebp - 4], 6
push 1
push 0
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0044e760
push 1
lea ecx, [esi + 8]
mov byte [ebp - 4], 7
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
push 1
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 8
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00462f40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4667e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a80e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x1d
mov dword [esi], 0
push str.KERNEL_INITIAL_PROCESS_HEADER
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 2
call fcn.00468520
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00466ce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x466890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8131
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x1d
mov dword [esi], 0
push str.KERNEL_INITIAL_PROCESS_HEADER
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
lea edi, [esi + 0x20]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 2
call fcn.00468520
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00466ce0
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x20]
cmp edi, eax
je 0x466949
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x46693e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403200
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x90]
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
movzx eax, byte [ebx + 0x44]
mov byte [esi + 0x44], al
movzx eax, byte [ebx + 0x45]
mov byte [esi + 0x45], al
movzx eax, byte [ebx + 0x46]
mov byte [esi + 0x46], al
movzx eax, byte [ebx + 0x47]
mov byte [esi + 0x47], al
movzx eax, byte [ebx + 0x48]
mov byte [esi + 0x48], al
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
movzx eax, byte [ebx + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x70], eax
movzx eax, byte [ebx + 0x74]
mov byte [esi + 0x74], al
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x7c]
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 0x80]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x84]
mov dword [esi + 0x84], eax
movzx eax, byte [ebx + 0x88]
mov byte [esi + 0x88], al
mov eax, dword [ebx + 0x8c]
mov dword [esi + 0x8c], eax
lea eax, [ebx + 0x90]
push eax
call fcn.004686e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c5b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8949
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4da018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x1a
mov dword [esi], 0
push str.FILE_SYSTEM_ACCESS_CONTROL
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403200
push 1
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x14], ecx
call fcn.0044e760
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0046c930
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47b4c0
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x47b4d3
mov esi, 1
mov edx, 0x4ddd08
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x4ddd30
jl 0x47b510
mov eax, 1
mov byte [0x4dd708], 0x63
mov byte [0x4ddc6b], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x4dd708], bl
mov byte [ebx + 0x4ddc08], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x47b550
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x4dd708]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x4df130], ecx
rol ecx, 8
mov dword [esi*4 + 0x4ded30], ecx
rol ecx, 8
mov dword [esi*4 + 0x4de130], ecx
rol ecx, 8
mov dword [esi*4 + 0x4ddd30], ecx
movzx ecx, byte [esi + 0x4ddc08]
test ecx, ecx
je 0x47b67f
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x47b688
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x4de930], eax
rol eax, 8
mov dword [esi*4 + 0x4de530], eax
rol eax, 8
mov dword [esi*4 + 0x4df530], eax
rol eax, 8
mov dword [esi*4 + 0x4dd808], eax
inc esi
cmp esi, 0x100
jl 0x47b5c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c680
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4da018]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x14]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.0048b170
push dword [ebp + 8]
lea edi, [ebx + 8]
mov edx, esi
lea ecx, [esp + 0x20]
mov dword [ebx + 4], edi
call fcn.0047b700
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x47c880
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
shl ecx, 4
add ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [edi + 0xc], eax
add edi, 0x10
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x47c86a
nop dword [eax]
movzx eax, byte [ecx + 3]
dec esi
movzx edx, byte [eax + 0x4dd708]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x4dd808]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4df530]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de530]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de930]
mov dword [edi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x4dd708]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4df530]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de530]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4dd808]
movzx eax, bl
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de930]
mov dword [edi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x4dd708]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4df530]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de530]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4dd808]
movzx eax, bl
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de930]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x4dd708]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4df530]
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de530]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4dd808]
movzx eax, bl
movzx eax, byte [eax + 0x4dd708]
xor edx, dword [eax*4 + 0x4de930]
mov dword [edi + 0xc], edx
add edi, 0x10
test esi, esi
jg 0x47c710
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
push 0x118
lea eax, [esp + 0x14]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
mov ecx, dword [esp + 0x138]
add esp, 0xc
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004891fb
mov esp, ebp
pop ebp
ret
Function at 0x47de00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
mov dword [ebp - 0x328], edi
cmp ebx, 0x180
jbe 0x47de41
mov eax, 0xffffffc8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004891fb
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0048b170
push 0x118
lea eax, [ebp - 0x324]
push 0
push eax
call fcn.0048b170
mov eax, ebx
mov byte [ebp - 0x1f9], bl
shr eax, 0x18
mov byte [ebp - 0x1fc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1fb], al
mov eax, ebx
shr eax, 8
push ebx
mov byte [ebp - 0x1fa], al
lea eax, [ebp - 0x1f4]
push esi
push eax
mov byte [ebp - 0x1f5], 0x30
call fcn.0048abe0
lea esi, [ebx + 0x19]
mov byte [ebp + ebx - 0x1f4], 0x80
add esp, 0x24
mov dword [ebp - 0x330], esi
xor eax, eax
nop dword [eax]
mov byte [ebp + eax - 0x68], al
inc eax
cmp eax, 0x20
jl 0x47dec0
push 0x100
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x324]
call fcn.0047b700
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47dfe6
mov dword [ebp - 0x32c], eax
lea ebx, [eax + 0x10]
xorps xmm0, xmm0
mov edi, esi
movups xmmword [ebp - 0x18], xmm0
test esi, esi
je 0x47df68
lea esi, [ebp - 0x20c]
lea eax, [ebp - 0x18]
sub esi, eax
nop dword [eax + eax]
xor eax, eax
lea edx, [ebp - 0x18]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x47df12
add esi, 0x10
lea ecx, [ebp - 0x324]
cmp edi, 0x10
mov eax, edi
mov edx, 1
cmovae eax, ebx
sub edi, eax
lea eax, [ebp - 0x18]
push eax
push eax
call fcn.0047d480
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47dfe0
lea ebx, [eax + 0x10]
test edi, edi
jne 0x47df10
movups xmm0, xmmword [ebp - 0x18]
mov eax, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x330]
inc byte [ebp - 0x209]
movups xmmword [ebp + eax - 0x48], xmm0
add eax, 0x10
mov dword [ebp - 0x32c], eax
cmp eax, 0x30
jl 0x47def3
push 0x100
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x324]
call fcn.0047b700
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47dfe0
mov esi, dword [ebp - 0x328]
xor edi, edi
nop dword [eax]
lea eax, [ebp - 0x28]
mov edx, 1
push eax
push eax
lea ecx, [ebp - 0x324]
call fcn.0047d480
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47dfe0
movups xmm0, xmmword [ebp - 0x28]
add edi, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp edi, 0x30
jl 0x47dfb0
mov edi, dword [ebp - 0x328]
push 0x118
lea eax, [ebp - 0x324]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
push 0x1a0
lea eax, [ebp - 0x20c]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
push 0x20
lea eax, [ebp - 0x68]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
push 0x10
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
add esp, 0x3c
test ebx, ebx
je 0x47e053
mov eax, dword [fcn.0048b170]
push 0x30
push 0
push edi
call eax
add esp, 0xc
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004891fb
mov esp, ebp
pop ebp
ret
Function at 0x47e070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4da018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov dword [ebp - 0x44], edx
push 0x30
mov eax, edi
mov dword [ebp - 0x38], ecx
push 0
push eax
mov dword [ebp - 0x3c], edi
call fcn.0048b170
mov edx, dword [ebp - 0x38]
mov esi, 1
add esp, 0xc
xor ebx, ebx
sub esi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 0x40], ecx
add byte [eax], 1
jne 0x47e0c0
dec eax
lea ecx, [esi + eax]
test ecx, ecx
jg 0x47e0b3
mov ecx, dword [ebp - 0x40]
push edi
push edx
mov edx, 1
call fcn.0047d480
mov edi, eax
add esp, 8
test edi, edi
jne 0x47e13e
mov edi, dword [ebp - 0x3c]
add ebx, 0x10
mov edx, dword [ebp - 0x38]
add edi, 0x10
mov dword [ebp - 0x3c], edi
lea eax, [edx + 0xf]
cmp ebx, 0x30
jl 0x47e0b3
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
xor edx, edx
sub ecx, eax
nop dword [eax]
lea eax, [ebp - 0x34]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x30
jl 0x47e100
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x34]
push 0x100
call fcn.0047b700
mov edi, eax
add esp, 4
test edi, edi
jne 0x47e13e
mov ecx, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ecx], xmm0
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
mov eax, dword [fcn.0048b170]
call eax
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004891fb
mov esp, ebp
pop ebp
ret