joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8909
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004bdfb0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0x5f6724
mov eax, edi
mov dword [edi + 8], 0x5f673c
mov dword [0x6649fc], eax
lea esi, [edi + 0xc]
mov dword [edi], 0x5f674c
mov dword [edi + 4], 0x5f6754
mov dword [edi + 8], 0x5f675c
push 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00553657
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], 0x5f6744
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
unpcklps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c2610
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8670
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0x5f6b60
call fcn.004c28f0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4c2694
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x4c2675
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27af
mov ecx, edi
push edx
push ecx
call fcn.00553618
mov dword [esi + 0x70], 0
add esp, 8
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x64]
call fcn.004c2580
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4c26ef
mov eax, dword [esi + 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4c26d0
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27af
mov ecx, edi
push edx
push ecx
call fcn.00553618
mov dword [esi + 0x58], 0
add esp, 8
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x4c2742
mov eax, dword [esi + 0x54]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4c2723
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4c27af
mov ecx, edi
push edx
push ecx
call fcn.00553618
mov dword [esi + 0x4c], 0
add esp, 8
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov ecx, dword [esi + 0x48]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4c275c
call fcn.004b8af0
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
jb 0x4c278c
mov eax, dword [esi + 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x4c2782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c27af
mov eax, edx
push ecx
push eax
call fcn.00553618
add esp, 8
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0058352a
int3

Function at 0x4cdfa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a7860

Function at 0x4da5d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4da5e0
mov edx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [eax + 0x10]
xor ebx, ebx
xor eax, eax
xor esi, esi
lea ecx, [edi + edx]
cmp edx, ecx
cmova edi, ebx
test edi, edi
je 0x4da613
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x4da600
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4df5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
test eax, eax
je 0x4df603
push 0x20
push eax
lea ecx, [ebx + 0x13d8]
call fcn.004073c0
mov byte [ebx + 0x369], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4df608
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 0x13bc]
call fcn.004073c0
push 0xff
lea eax, [ebx + 0x159]
push edi
push eax
call fcn.00583580
push 0x104
push dword [ebp - 0xc]
lea edi, [ebx + 0x259]
push edi
call fcn.00583580
push 0
push 0x2e
call fcn.00407200
push 1
push 0x65
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
call fcn.00407200
push 2
push 0x69
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
call fcn.00407200
push 3
push 0x78
mov byte [ebp - 0x12], al
call fcn.00407200
add esp, 0x38
mov byte [ebp - 0x11], al
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov al, cl
add al, 0x30
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 4
jb 0x4df683
lea edx, [ebp - 0x14]
mov byte [ebp - 0x10], 0
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4df6a0
sub edx, esi
dec edi
nop word [eax + eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4df6b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4df6d0
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 0x13a4]
call fcn.004073c0
mov al, byte [ebp - 0x15]
mov byte [ebp - 0xc], al
mov al, byte [ebp - 0x16]
push 2
push 0x70
mov byte [ebp - 0xb], al
call fcn.00407200
push 3
push 0x6b
mov byte [ebp - 0xa], al
call fcn.00407200
add esp, 0x10
mov byte [ebp - 9], al
mov byte [ebp - 8], 0
xor ecx, ecx
mov al, cl
add al, 0x30
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 4
jb 0x4df713
lea edx, [ebp - 0xc]
mov byte [ebp - 8], 0
lea esi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4df730
sub edx, esi
lea eax, [ebp - 0xc]
push edx
push eax
lea ecx, [ebx + 0x13a4]
call fcn.00408110
mov al, byte [ebp + 0x14]
mov ecx, ebx
mov byte [ebx + 0x368], al
call fcn.004df820
test al, al
je 0x4df7a6
mov ecx, ebx
call fcn.004df7c0
test al, al
je 0x4df7a6
cmp dword [ebp - 0x1c], 0
mov ecx, ebx
push 1
setne al
movzx eax, al
push eax
push dword [ebp - 0x20]
call fcn.004e1300
cmp byte [ebx + 0x368], 0
jne 0x4df791
push 0
mov ecx, ebx
call fcn.004df950
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553607
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4df820
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x61ebcc
lea esi, [edi + 0x259]
push esi
call fcn.00583766
add esp, 8
test eax, eax
je 0x4df84a
push eax
call fcn.00583a76
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x368], 0
jne 0x4df8a4
push 0x61eb9c
push esi
call fcn.00583766
mov esi, eax
add esp, 8
test esi, esi
je 0x4df8a4
push esi
push 1
push 4
push 0x5f7638
call fcn.0058399c
push esi
push 1
push 4
push 0x5f763c
call fcn.0058399c
push esi
push 1
lea eax, [edi + 0x154]
push 4
push eax
call fcn.0058399c
push esi
call fcn.00583a76
add esp, 0x34
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x4df8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13e8], 0x20
je 0x4df906
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x369], 0
jne 0x4df945
cmp dword [esi + 0x13ec], 0x10
push edi
lea edi, [esi + 0x13d8]
jb 0x4df921
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13e8]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x4df926
mov byte [esi + 0x369], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4e1180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x653ea8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4e122d
cmp byte [esi + 0x3e], 0
je 0x4e122d
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4e11e3
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4e11f5
sub eax, 1
je 0x4e11f9
sub eax, 2
je 0x4e122d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4e1216
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0058399c
add esp, 0x10
cmp edi, eax
jne 0x4e11e3
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553607
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00553607
mov esp, ebp
pop ebp
ret
Function at 0x4f2ec0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea876
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x5f9c88
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea esi, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov ecx, esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429620
mov dword [esi], eax
lea esi, [edi + 0x70]
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00429620
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov byte [edi + 0x78], 0
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 0x5055e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5055f0
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x505617
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x505605
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x50ce30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb6ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6dc150], edi
lea esi, [edi + 4]
mov dword [edi], 0x5fc390
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004351e0
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004161f0
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
call fcn.0050e120
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 0x50cf20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb6d0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx], 0x5fc390
call fcn.0050d150
mov ecx, dword [ebx + 0x30]
cmp ecx, 0x10
jb 0x50cf86
mov eax, dword [ebx + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x50cf7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50d043
mov eax, edx
push ecx
push eax
call fcn.00553618
add esp, 8
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov esi, dword [ebx + 0x14]
push dword [esi + 4]
lea ecx, [ebx + 0x14]
mov dword [ebp - 4], 0
call fcn.00416210
mov eax, dword [ebx + 0x14]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x14]
mov dword [eax], esi
mov eax, dword [ebx + 0x14]
mov dword [eax + 8], esi
mov dword [ebx + 0x18], 0
push dword [ebx + 0x14]
call fcn.00553618
mov esi, dword [ebx + 0xc]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 1
call fcn.00461540
mov eax, dword [ebx + 0xc]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebx + 0xc]
mov dword [eax], esi
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], esi
mov dword [ebx + 0x10], 0
push dword [ebx + 0xc]
call fcn.00553618
add esp, 8
lea ecx, [ebx + 4]
call fcn.0040feb0
push 0x18
push dword [ebx + 4]
call fcn.00553618
mov dword [ebx], 0x5fc388
add esp, 8
mov dword [0x6dc150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0058352a
int3
Function at 0x5109c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
sub eax, edx
sar eax, 2
mov dword [ebp + 0xc], eax
push esi
mov esi, eax
sar esi, 1
test esi, esi
jle 0x510ba7
push ebx
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 0x18], ecx
sar ebx, 1
push edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [edx + esi*4 - 4]
dec esi
mov dword [ebp - 0xc], ecx
mov ecx, esi
mov dword [ebp - 8], esi
mov edi, esi
mov dword [ebp - 4], ecx
cmp esi, ebx
jge 0x510aca
nop word [eax + eax]
mov ecx, dword [0x6dc0ec]
lea eax, [edi + edi]
mov edi, dword [edx + eax*4 + 4]
mov esi, dword [edx + eax*4 + 8]
mov dword [ebp - 0x14], eax
call fcn.00428380
mov ecx, esi
mov ebx, eax
call fcn.0043e770
mov ecx, edi
mov esi, eax
call fcn.0043e770
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm4, dword [eax + 4]
subss xmm3, dword [esi + 4]
movaps xmm0, xmm2
mov edi, dword [ebp - 0x14]
subss xmm2, dword [eax + 8]
subss xmm0, dword [esi + 8]
mulss xmm4, xmm4
xor eax, eax
mov edx, dword [ebp + 8]
mulss xmm3, xmm3
mov ecx, dword [ebp - 4]
mulss xmm1, xmm1
mov ebx, dword [ebp - 0x10]
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
seta al
inc edi
xor eax, 1
add edi, eax
mov eax, dword [edx + edi*4]
mov dword [edx + ecx*4], eax
mov ecx, edi
mov dword [ebp - 4], ecx
cmp edi, ebx
jl 0x510a10
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp edi, ebx
jne 0x510adf
test al, 1
jne 0x510adf
mov eax, dword [edx + eax*4 - 4]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
lea ebx, [ecx - 1]
sar ebx, 1
cmp esi, ecx
jge 0x510b91
nop dword [eax]
mov ecx, dword [0x6dc0ec]
mov esi, dword [edx + ebx*4]
call fcn.00428380
mov ecx, esi
mov edi, eax
call fcn.0043e770
mov ecx, dword [ebp - 0xc]
mov esi, eax
call fcn.0043e770
movss xmm5, dword [edi + 0x30]
movss xmm4, dword [edi + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [edi + 0x38]
movaps xmm3, xmm4
subss xmm3, dword [esi + 4]
subss xmm4, dword [eax + 4]
mov edx, dword [ebp + 8]
movaps xmm0, xmm2
subss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mulss xmm3, xmm3
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
jbe 0x510b91
mov eax, dword [edx + ebx*4]
mov dword [edx + ecx*4], eax
mov ecx, ebx
dec ebx
mov dword [ebp - 4], ecx
sar ebx, 1
cmp esi, ecx
jl 0x510af0
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0xc]
test esi, esi
jg 0x5109f0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x511790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
dec edi
mov dword [ebp - 4], ebx
mov eax, edi
mov dword [ebp - 0x10], edi
sar eax, 1
mov esi, ecx
mov dword [ebp - 0xc], eax
cmp ecx, eax
jge 0x51187a
nop dword [eax]
mov ecx, dword [0x6dc0ec]
lea eax, [esi + esi]
mov edi, dword [edx + eax*4 + 4]
mov esi, dword [edx + eax*4 + 8]
mov dword [ebp - 8], eax
call fcn.00428380
mov ecx, esi
mov ebx, eax
call fcn.0043e770
mov ecx, edi
mov esi, eax
call fcn.0043e770
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm4, dword [eax + 4]
subss xmm3, dword [esi + 4]
movaps xmm0, xmm2
mov edx, dword [ebp + 8]
subss xmm2, dword [eax + 8]
subss xmm0, dword [esi + 8]
mov esi, dword [ebp - 8]
xor eax, eax
mulss xmm3, xmm3
mov ecx, dword [ebp + 0xc]
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
seta al
inc esi
xor eax, 1
add esi, eax
mov eax, dword [edx + esi*4]
mov dword [edx + ecx*4], eax
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
cmp esi, eax
jl 0x5117c0
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
cmp esi, eax
jne 0x511891
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x511891
mov eax, dword [edx + eax*4 - 4]
mov dword [edx + ecx*4], eax
mov ecx, edi
mov dword [ebp + 0xc], ecx
cmp ebx, ecx
jge 0x51194b
nop dword [eax]
lea eax, [ecx - 1]
mov ecx, dword [ebp + 0x14]
sar eax, 1
mov dword [ebp + 0x10], eax
mov edi, dword [ecx]
mov ecx, dword [0x6dc0ec]
mov esi, dword [edx + eax*4]
call fcn.00428380
mov ecx, esi
mov ebx, eax
call fcn.0043e770
mov ecx, edi
mov esi, eax
call fcn.0043e770
movss xmm5, dword [ebx + 0x30]
movss xmm4, dword [ebx + 0x34]
movaps xmm1, xmm5
subss xmm1, dword [esi]
subss xmm5, dword [eax]
movss xmm2, dword [ebx + 0x38]
movaps xmm3, xmm4
subss xmm3, dword [esi + 4]
subss xmm4, dword [eax + 4]
mov edx, dword [ebp + 8]
movaps xmm0, xmm2
subss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mulss xmm3, xmm3
mulss xmm4, xmm4
mulss xmm1, xmm1
mulss xmm5, xmm5
addss xmm3, xmm1
mulss xmm0, xmm0
addss xmm4, xmm5
mulss xmm2, xmm2
addss xmm3, xmm0
addss xmm4, xmm2
comiss xmm4, xmm3
jbe 0x51194b
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + esi*4]
mov dword [edx + ecx*4], eax
mov ecx, esi
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 4], esi
jl 0x5118a0
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov dword [edx + ecx*4], eax
mov esp, ebp
pop ebp
ret
Function at 0x523f70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed377
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x5fd4d8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea esi, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ffb0
mov dword [esi], eax
lea esi, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004162a0
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x531690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edeac
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x653ea8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 8]
mov dword [edi], 0x5fe710
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00553657
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00553657
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 2
call fcn.004c8c80
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.005328d0
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