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

Disassembly:
push 0xffffffffffffffff
push 0x4c50da
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x38], 0
mov esi, dword [edi + 0x10]
mov ebp, dword [edi + 0xc]
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x48ab16
cmp ebp, esi
jbe 0x48aaeb
call fcn.004ac063
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
push esi
push eax
lea eax, [esp + 0x48]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
push ebx
push edi
call fcn.0048ad00
jmp 0x48ab63
jae 0x48ab63
cmp ebp, esi
jbe 0x48ab21
call fcn.004ac063
mov ebp, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebp, dword [edi + 0x10]
jbe 0x48ab34
call fcn.004ac063
mov eax, dword [edi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
call fcn.0048b060
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push esi
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0048ab90
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0xffffffff
call fcn.00484600
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
Function at 0x497d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x497da1
xor eax, eax
jmp 0x497f8b
mov eax, 1
test eax, eax
je 0x497ded
mov dword [ebp - 4], 1
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x497dd4
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00497f90
add esp, 0xc
jmp 0x497f8b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00498390
add esp, 0xc
jmp 0x497f8b
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x497f4c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d81a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d81a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d81a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d81a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d81a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d81a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d81a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d81a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 8
mov dword [ebp + 0x10], edx
jmp 0x497df6
cmp dword [ebp + 0x10], 0
je 0x497f85
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d81a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jne 0x497f52
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x49a350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 8], 0

Function at 0x49fc4f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x49fc74
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x49fc8c
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x49fcbb
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x49fcfa
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x49fdce
sub edx, 0x10000
js 0x49fdce
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x49fce0
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x49fce0
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x49fd51
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x49fd4e
add edx, 8
jne 0x49fd35
jmp 0x49fdbf
add edx, 4
test eax, 0xffff
jne 0x49fd5e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x49fdbf
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x49fd92
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x49fce0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x49fdce
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x49fce0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x49fddf
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4a1210
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00439e50
mov dword [esp + 0x18], 0x4daea0
mov edi, dword [esp + 0x30]
push 0x54a100
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00439eb0
mov ebx, dword [esp + 0x34]
test al, al
je 0x4a12b8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004a08c0
test eax, eax
je 0x4a129a
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a12a7
push ebx
push edi
mov ecx, esi
call fcn.004a0f30
test eax, eax
je 0x4a12b8
mov ecx, dword [esp + 0x38]
push ecx
push edi
mov ecx, eax
call fcn.004a0790
test al, al
jne 0x4a12f9
push ebx
push 0x4db2c8
push edi
call fcn.00438580
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], 0x4daea0
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], 0x4daea0
call fcn.0040a7d0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x4a1330
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00439e50
mov dword [esp + 0x18], 0x4daea0
mov edi, dword [esp + 0x30]
push 0x54a100
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00439eb0
mov ebx, dword [esp + 0x34]
test al, al
je 0x4a13dd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004a08c0
test eax, eax
je 0x4a13ba
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a13c7
push ebx
push edi
mov ecx, esi
call fcn.004a0f30
test eax, eax
je 0x4a13dd
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
mov ecx, eax
call fcn.004a03c0
test al, al
jne 0x4a141e
push ebx
push 0x4db308
push edi
call fcn.00438580
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], 0x4daea0
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], 0x4daea0
call fcn.0040a7d0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4a2d00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2020
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x1c]
call fcn.00439e50
mov dword [esp + 0x14], 0x4db560
mov esi, dword [ebp + 8]
push 0x54a338
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00439eb0
test al, al
je 0x4a2e89
push 0x64
push 0
lea ecx, [esp + 0x24]
call fcn.00439e50
mov dword [esp + 0x1c], 0x4db558
push 0x54a568
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.00439eb0
test al, al
je 0x4a2e7b
push 0
push esi
lea ecx, [edi + 0x154]
call fcn.0043f5d0
test al, al
je 0x4a2e7b
push 0
push esi
lea ecx, [edi + 0x44c]
call fcn.0043f5d0
test al, al
je 0x4a2e7b
mov ebx, dword [ebp + 0xc]
push 0x4dfdac
mov ecx, ebx
call fcn.004392f0
cmp byte [edi + 0x151], 0
jne 0x4a2ded
push 0x4db5e4
mov ecx, esi
call fcn.004384d0
mov ecx, eax
jmp 0x4a2e76
mov eax, dword [ebp + 0x10]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004a6590
test al, al
je 0x4a2e57
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a2e57
call fcn.004a5d10
push eax
mov ecx, ebx
call fcn.004392f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.0040a7d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040a7d0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x4db5d0
mov ecx, esi
call fcn.004384d0
mov ecx, eax
call fcn.00438920
mov ecx, ebx
mov esi, eax
call fcn.00439760
push eax
mov ecx, esi
call fcn.00438920
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.0040a7d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040a7d0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a4880
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c23f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0x4db868
mov dword [esi + 4], ecx
push edi
mov ecx, 0x54a338
mov byte [esi], al
call fcn.00445100
test al, al
jne 0x4a48f0
push 0x4db844
push edi
call fcn.00438580
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0x4db818
push edi
mov ecx, 0x54a568
call fcn.00439fe0
test al, al
je 0x4a48cd
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00439e50
mov dword [esp + 0x10], 0x4db558
push 0x54a568
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00439eb0
test al, al
jne 0x4a496c
push 0x4db844
push edi
call fcn.00438580
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
xor bl, bl
cmp byte [esi + 0xa78], bl
jne 0x4a4a0c
call fcn.00441e40
mov ecx, eax
call fcn.004403a0
test al, al
jne 0x4a49c3
push edi
call fcn.00441e40
mov ecx, eax
call fcn.00440430
test al, al
jne 0x4a49c3
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
call fcn.00441e40
mov ecx, eax
call fcn.004726f0
test al, al
je 0x4a49da
mov byte [esi + 0xa78], 1
mov ecx, esi
call fcn.004a3330
push 1
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
call fcn.004a4440
test al, al
je 0x4a4a0e
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004a3cf0
test al, al
je 0x4a4a0e
mov byte [esi + 0xa78], 1
mov bl, 1
call fcn.00441e40
mov ecx, eax
call fcn.004726f0
test al, al
jne 0x4a4a26
test bl, bl
je 0x4a499b
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4a4a50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c23f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov cl, byte [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0x4db868
mov byte [esi + 8], cl
push edi
mov ecx, 0x54a338
mov dword [esi + 0xc], eax
call fcn.00445100
test al, al
jne 0x4a4ac1
push 0x4db844
push edi
call fcn.00438580
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0x4db818
push edi
mov ecx, 0x54a568
call fcn.00439fe0
test al, al
je 0x4a4a9e
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00439e50
mov dword [esp + 0x10], 0x4db558
push 0x54a568
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00439eb0
test al, al
jne 0x4a4b3d
push 0x4db844
push edi
call fcn.00438580
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
xor bl, bl
cmp byte [esi + 0xa78], bl
jne 0x4a4bdd
call fcn.00441e40
mov ecx, eax
call fcn.004403a0
test al, al
jne 0x4a4b94
push edi
call fcn.00441e40
mov ecx, eax
call fcn.00440430
test al, al
jne 0x4a4b94
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
call fcn.00441e40
mov ecx, eax
call fcn.004726f0
test al, al
je 0x4a4bab
mov byte [esi + 0xa78], 1
mov ecx, esi
call fcn.004a3330
push 1
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
call fcn.004a4440
test al, al
je 0x4a4bdf
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004a3cf0
test al, al
je 0x4a4bdf
mov byte [esi + 0xa78], 1
mov bl, 1
call fcn.00441e40
mov ecx, eax
call fcn.004726f0
test al, al
jne 0x4a4bf7
test bl, bl
je 0x4a4b6c
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a7d0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4a4d80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c2350
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00439e50
mov dword [esp + 0x18], 0x4db560
mov esi, dword [esp + 0x30]
push 0x54a338
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00439eb0
test al, al
je 0x4a4e17
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00439e50
mov dword [esp + 0x10], 0x4db558
push 0x54a568
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00439eb0
test al, al
jne 0x4a4e3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0040a7d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a7d0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x154]
call fcn.0043f5d0
test al, al
je 0x4a4e09
push 0
push esi
lea ecx, [edi + 0x44c]
call fcn.0043f5d0
test al, al
je 0x4a4e09
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004a4750
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.0040a7d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x4a4ec0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c2350
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00439e50
mov dword [esp + 0x18], 0x4db560
mov esi, dword [esp + 0x30]
push 0x54a338
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00439eb0
test al, al
je 0x4a4f57
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00439e50
mov dword [esp + 0x10], 0x4db558
push 0x54a568
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00439eb0
test al, al
jne 0x4a4f7f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0040a7d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a7d0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x154]
call fcn.0043f5d0
test al, al
je 0x4a4f49
push 0
push esi
lea ecx, [edi + 0x44c]
call fcn.0043f5d0
test al, al
je 0x4a4f49
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004a4c20
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.0040a7d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a7d0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4a9fc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
lea ebx, [eax + ecx - 0x21524111]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, ebx
mov ebp, ebx
cmp eax, 0xc
jbe 0x4aa0ba
lea edx, [eax - 0xd]
mov eax, 0xaaaaaaab
mul edx
shr edx, 3
inc edx
mov dword [esp + 0x14], edx
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 4]
add edx, esi
shl eax, 8
lea edi, [edx + eax]
movzx eax, byte [ecx + 0xb]
movzx edx, byte [ecx + 0xa]
movzx esi, byte [ecx + 2]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
add edx, ebx
shl eax, 8
lea ebx, [edx + eax]
movzx edx, byte [ecx + 3]
shl edx, 8
add edx, esi
movzx esi, byte [ecx + 1]
shl edx, 8
add edx, esi
movzx esi, byte [ecx]
shl edx, 8
add edx, esi
sub edx, ebx
add edx, ebp
mov eax, ebx
rol eax, 4
xor eax, edx
add ebx, edi
sub edi, eax
mov esi, eax
rol esi, 6
xor esi, edi
add eax, ebx
sub dword [esp + 0x18], 0xc
sub ebx, esi
mov edi, esi
rol edi, 8
xor edi, ebx
add esi, eax
sub eax, edi
mov edx, edi
rol edx, 0x10
xor edx, eax
mov ebp, edx
add edi, esi
sub esi, ebp
mov eax, ebp
ror eax, 0xd
xor esi, eax
add ebp, edi
mov edx, esi
sub edi, esi
rol edx, 4
xor edx, edi
add esi, ebp
add ecx, 0xc
sub dword [esp + 0x14], 1
mov ebx, edx
jne 0x4a9ff2
cmp dword [esp + 0x18], 0xc
ja 0x4aa123
mov eax, dword [esp + 0x18]
jmp dword [eax*4 + 0x4a2d74]
xor ebx, esi
mov edx, esi
rol edx, 0xe
sub ebx, edx
mov eax, ebx
rol eax, 0xb
mov ecx, ebx
xor ecx, ebp
sub ecx, eax
xor esi, ecx
mov edx, ecx
ror edx, 7
sub esi, edx
xor ebx, esi
mov eax, esi
rol eax, 0x10
sub ebx, eax
mov eax, ebx
mov edi, eax
rol edi, 4
mov edx, eax
xor edx, ecx
sub edx, edi
mov ecx, edx
xor esi, edx
rol ecx, 0xe
sub esi, ecx
pop edi
mov edx, esi
xor eax, esi
pop esi
ror edx, 8
pop ebp
sub eax, edx
pop ebx
ret