joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402590
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x4025db
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x4025cb
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x4025b1
jmp 0x4025d0
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40262b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x4025f0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4025f0
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x40260c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00401000
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40264d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x4026c0
mov esi, dword [ebx]
cmp esi, ebx
je 0x4026c0
test esi, esi
je 0x4026c0
cmp word [esi + 0x24], 2
jbe 0x4026ba
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x4026ba
cmp dword [esi + 0x18], 0
je 0x4026ba
test ebp, ebp
je 0x402675
cmp ebp, eax
jne 0x4026ba
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00401000
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40269a
cmp eax, dword [esi + 0x18]
jne 0x4026ba
cmp dword [esp + 0x10], 0
je 0x4026cd
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401500
add esp, 8
test eax, eax
je 0x4026cd
mov esi, dword [esi]
cmp esi, ebx
jne 0x402653
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x403240
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x81a554]
sub esp, 0x11c
test eax, eax
jne 0x40333e
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.004015f0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x403290
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41e100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x4032a0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41e104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x4032d5
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00401340
pop edi
pop esi
pop ebx
test eax, eax
je 0x403339
mov eax, dword [eax + 0x18]
test eax, eax
je 0x403339
mov dword [0x81a554], eax
add esp, 0x11c
ret
mov eax, dword [0x81a554]
add esp, 0x11c
ret

Function at 0x403460
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x403488
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x403496
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x4034af
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x4034bd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x4034d6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4034e4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4034fd
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x40350b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x403552
add dword [esp], 5
retf
Function at 0x403fe0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x819408]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x40418d
cmp dword [0x81940c], 0
jne 0x404179
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.004015f0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x404030
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41e0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x404040
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41e0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x404075
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004015f0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4040d4
sub edx, esi
sar edx, 1
je 0x40418d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x4040f0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x40418d
xor eax, eax
push ebx
test edx, edx
je 0x404128
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x404128
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x404111
xor eax, eax
test edx, edx
je 0x404142
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x404142
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x404130
xor eax, eax
test edx, edx
je 0x40415f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x40415f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x404150
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x819408]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x4041a0
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x819548
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4042c9
cmp dword fs:[0xc0], eax
je 0x4041cb
mov dword [0x819544], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x81942c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x819430], eax
movzx edx, word [esi + 0xac]
mov dword [0x819434], edx
mov eax, dword [esi + 0xb0]
mov dword [0x819438], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x40422b
push 0x7f
push eax
push 0x81943c
call fcn.00401000
mov edx, dword [0x819434]
add esp, 0xc
jmp 0x404233
xor eax, eax
mov word [0x81943c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x81953c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x81953e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x819540], ax
mov ecx, eax
mov byte [0x819542], 0
cmp byte [0x7ffe0268], 0
je 0x40427a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x819542], bl
cmp ebx, 1
pop ebx
jne 0x404294
and ecx, 0xffef
mov word [0x819540], cx
test edx, edx
jne 0x4042c9
call fcn.004041a0
cmp dword [0x81942c], 6
ja 0x4042c9
jb 0x4042b1
cmp dword [0x819430], 4
jae 0x4042c9
call fcn.004041a0
cmp dword [0x81942c], 0xa
jae 0x4042c9
mov dword [0x819434], 1
ret

Function at 0x41d2c2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x10706058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107061a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1070607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1070606a
add dl, dl
jne 0x10706089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107060dc
xor eax, eax
add dl, dl
jne 0x10706096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1070617d
add dl, dl
jne 0x107060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10706075
mov eax, 1
add dl, dl
jne 0x107060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107060e1
sub eax, ebx
mov ebx, 1
jne 0x10706128
mov ecx, 1
add dl, dl
jne 0x1070610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10706119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10706105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10706075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1070613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1070614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10706136
cmp eax, 0x7d00
jae 0x1070616d
cmp eax, 0x500
jb 0x10706168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10706075
cmp eax, 0x7f
ja 0x10706170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10706075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1070619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10706075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40987c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
jmp 0x409925
cmp dword [esi + 0x10], 0x1000
jne 0x409911
test byte [esi + 0x15], 1
jne 0x409911
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4098d0
cmp eax, 2
je 0x4098d0
cmp eax, 0x10
je 0x4098d0
cmp eax, 0x20
jne 0x4098e5
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4098e5
mov bl, 1
xor ebp, ebp
jmp 0x4098f6
mov eax, dword [esi]
add eax, ebp
call fcn.00409874
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4098e9
test bl, bl
je 0x409911
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409930
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4098a8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x414ac0
Capabilities:
Check for software breakpoints

Disassembly:
dec esp
neg dword [ecx + ebp*8 + 0x6e28ae1c]
sbb dword [edi + 0x11], edi
invalid

Function at 0x414de6
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], edx
add eax, 4
sub ebx, 1
cmp eax, edi
jne fcn.00414de6
mov ecx, 0x4684e8a1
inc ecx
inc esi
ret
Function at 0x4046c8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437bb8
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4047eb
push ecx
lea ecx, [esi + 0x18]
call fcn.00423ee8
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x404802
push ecx
lea ecx, [esi + 0x24]
call fcn.00423df8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437598
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x14
dec eax
add byte [edi - 0x51a55e89], al
pop ecx
inc edi
push 6
add eax, 0xd15721dd
lea edx, [0xf6d8bffd]
cmp al, 3
xor cl, byte [ebx + 8]
lcall 0x57f9, 0xb3fc9642
retf
cmp ebp, edi
push 0x3de914e2
iretd
jbe 0x437594
pop ss
cmp bl, byte cs:[eax - 0x6e3d1a5b]
in eax, 0xc2
xchg ecx, eax
or ebp, eax
mov bh, 0x77
push edx
int1
js 0x43755f
invalid
dec ebp
sub eax, 0x2277b3da
jno 0x437555
loop 0x4375cc
leave
popfd
out 0xb9, eax
xchg cl, ch
fcmovbe st(0), st(6)
popal
movsb byte es:[edi], byte [esi]
call 0xb967bcb
adc al, 0xa8
push 0xffffffffffffffde
or eax, 0x5810ed5
push cs
invalid
add eax, 0x8e749243
push cs
add dword [0x8e749243], 0x467348be
cmp dh, ch
mov esi, 0x3a467348
cmc
in al, 0xff
mov bl, 0xe2
mov cl, 0x33
das
mov dl, 0x85
out dx, eax
push ecx
dec esp
adc eax, 0x6651c508
xor eax, 0x5b26e243
xchg dword [ebp + edx + 0x21], edx
inc edi
in al, 0xcd
loopne fcn.00437598
mov al, 2
mov eax, 0x86c5f0b1
jle 0x437579
jle 0x437579
outsb dx, byte [esi]
inc ebx
jg 0x437566
add eax, 0x5204d3a6
push 0x43695d18
sbb byte [ebp + 0x69], bl
inc ebx
Function at 0x44a210
Capabilities:
Accept command line arguments
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov edi, eax
mov dword [esi], 0
call ebx
test ax, ax
jge 0x44a23b
or dword [esi], 0x2000000
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x11
mov edi, eax
call ebx
test ax, ax
jge 0x44a258
or dword [esi], 0x4000000
test edi, edi
je 0x44a26e
mov ecx, dword [0x657a4c]
push 0x657768
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x12
call ebx
test ax, ax
jge 0x44a27d
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44da38
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00480f28
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44db5b
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d258
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44db72
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d168
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46d168
Capabilities:
Encode data using xor

Disassembly:
mov edx, ebp
add dh, byte [eax + ebp*4 + 0x4c]
inc dword [edi - 0xb6ca88e]
mov ecx, 0xd9845cf7
fldenv [ebx + 0x5f763297]
pop esp
push edi
xchg ebx, eax
hlt
xchg edi, eax
mov esp, 0xe452744a
arpl word [edx + edx*8 + 0x6b], si
xchg ecx, eax
push esp
add byte [edi - 0x18ecca94], al
push 0x6c
cmp edi, edi
adc ah, 1
sbb al, 0x82
test byte [ecx + 0x41fcd0b1], bl
xor al, 0xd8
jo 0x46d161
sbb dword [edx + 4], esi
scasd eax, dword es:[edi]
sub dword [edi - 0xd], ebx
cmp eax, 0xb1ba0c89
xchg dh, bh
push esi
xchg edx, eax
lodsb al, byte [esi]
ret 0x3685
Function at 0x478278
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
mov eax, 0x8b0436bb
mov edi, 0x4911a9ac
dec ecx
dec ecx
cld
xor byte [eax + 0x6722a726], 0xab
mul dword [edx + 0x1df0e26a]
jecxz 0x47826f
sbb eax, 0x97e6e3
push ecx
mov bl, 0xa3
pop edi
xchg ebp, eax
pop esp
pop ebp
xchg edi, eax
add byte [ecx - 0x4d], dl
mov dword [0x5d5c955f], eax
push es
jae 0x47826e
sub byte [edx + 0x41217111], 0x5b
inc ecx
pop ebx
push esi
mov ah, 0x27
mov ah, 0xc4
loopne 0x47829a
or esp, eax
mov esi, ebp
int1
xlatb
in eax, 0x27
xchg esi, eax
pop esi
mov al, 0xdf
xor byte [esi], 0x44
adc edx, ecx
fcmovne st(0), st(0)
sub ecx, ebp
arpl word [ebp - 0x5d], bx
add edi, esi
int1
adc al, 0xc1
dec byte [ebx - 0xe]
xor al, 0xd9
pop cx
xchg edi, eax
and byte [ecx + 0x3f82f8a4], bl
inc ebx
out dx, eax
movsd dword es:[edi], dword [esi]
aas
jl 0x478286
xchg edx, eax
mov bh, 0xb7
in al, dx
cmp al, 0x42
cmp eax, 0x5025219a
mov ebp, 0x5aea9702
dec esp
cmpsd dword [esi], dword es:[edi]
retf 0x1b51

Function at 0x4b5928
Capabilities:
Encode data using xor

Disassembly:
les ebx, [ecx + 0x2bbc13c8]
dec esi
out dx, al
nop
leave
call 0x19a0c618
mov edx, 0xaf6f2ba2
std
cmc
xor al, 0xf4
invalid
out dx, al
dec esi
imul ebp, dword [0x3261cd7d], 0x7641ddc8
mov ch, 0xb4
in eax, 0x94
mov ds, word [edx + esi*8]
cwde
jbe 0x4b58c3
or eax, 0x2adae481
push edi
inc ebp
xor ecx, dword [edx]
add edx, esi
sahf
cmp ah, byte [ebx - 0x34e2fc9f]
mov ebx, 0x51787762
pushfd
daa
jge 0x4b5936
lea edx, [eax + 0x1c]
int 0x53
retf
Function at 0x4e0228
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00513718
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4e034b
push ecx
lea ecx, [esi + 0x18]
call int.004ffa48
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4e0362
push ecx
lea ecx, [esi + 0x24]
call fcn.004ff958
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4ff8b8
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
push ds
add eax, 0x236e6c92
dec edi
cmc
sbb al, 0xd2
sbb dword [esp + ebp*4 + 0x67], ebp
mov byte gs:[0x5ea74192], al
jle 0x4ff938
seta byte [ecx - 0x4a]
dec edx
clc
pop ss
invalid
jg 0x4ff959
fisubr dword [ecx]
loopne 0x4ff9a3
mov byte [0x9fcc34d0], al
jecxz 0x4ff940
add dword [ebp - 0xc], edx
cli
xchg esi, eax
jb 0x4ff9a4
test al, 0xc5
add ecx, eax
push cs
invalid
mov dl, al
fbstp tbyte [ecx + 0x19fc5742]
jp 0x4ffa07
rcr bh, 1
mov cl, 0x42
push edi
cld
sbb dword [edx + 0x5a], edi
fidivr dword [esi]
push 0xffffffffffffff85
pop eax
ret
out 0x16, eax
Function at 0x529958
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055ce48
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529a7b
push ecx
lea ecx, [esi + 0x18]
call fcn.00549178
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529a92
push ecx
lea ecx, [esi + 0x24]
call 0x549088
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret