joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014e2
Capabilities:
Terminate process

Disassembly:
jmp 0x100177e0
call fcn.10001c8a
test al, al
je 0x1001782b
push esi
push str.Its_VM_Machine_detected_
push 0x101f0960
call fcn.10001870
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000205e
mov ecx, esi
call fcn.10001898
push 0x40
push str.Victus_R___Blocked_VMWare
push str.Virtual_machines_are_not_allowed_to_play_on_this_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x10001c8a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x10016b40
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push str.HARDWAREACPIDSDTVBOX__
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10016b6e
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
pop ecx
ret

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

Disassembly:
jmp 0x1000ffd0
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [ebp + 0x4c]
cmp esi, dword [ebp + 0x50]
push edi
lea edi, [ebp + 0x48]
mov ebx, ecx
jbe 0x1000fff0
call fcn.10117977
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x44], eax
jbe 0x10010001
call fcn.10117977
cmp edi, edi
je 0x1001000a
call fcn.10117977
cmp esi, dword [esp + 0x44]
je 0x100100f1
cmp esi, dword [edi + 8]
fld dword [0x101a29fc]
fstp dword [esp + 0x20]
jb 0x10010028
call fcn.10117977
cmp esi, dword [edi + 8]
fld dword [esi + 0x28]
fstp dword [esp + 0x1c]
jb 0x10010039
call fcn.10117977
cmp esi, dword [edi + 8]
fld dword [esi + 0x2c]
fstp dword [esp + 0x24]
fld dword [0x101a29fc]
fstp dword [esp + 0x14]
jb 0x10010054
call fcn.10117977
cmp esi, dword [edi + 8]
fld dword [esi + 0x30]
fstp dword [esp + 0x10]
jb 0x10010065
call fcn.10117977
fld dword [esi + 0x34]
mov eax, dword [ebx + 0xc]
fstp dword [esp + 0x18]
push ebp
fld dword [esp + 0x14]
push eax
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x3c]
lea edx, [esp + 0x28]
fld dword [esp + 0x28]
push edx
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x4c]
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.10001357
add esp, 0x40
cmp esi, dword [edi + 8]
jb 0x100100e9
call fcn.10117977
add esi, 0x78
jmp 0x1000fff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x10013800
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x40
push esi
push edi
push ebx
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10013832
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001384b
xor ebp, ebp
cmp dword [esp + 0xc], esi
je 0x10013853
xor ebp, ebp
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1001386c
xor ebp, ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1001387b
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1001db80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10199901
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x101e51ac]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.100023a1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.1001d5f0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.100023a1
mov eax, dword [esp + 0x28]
cmp eax, 8
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
jb 0x1001dc2c
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, 0x4052d0
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10022960
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e51ac]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x100229ab
push str.Failed_to_unprotect_memory_n
jmp 0x100229d0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x100229d8
push str.Failed_to_restore_protection_on_memory
call fcn.10119709
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.101172a0
add esp, 0x14
ret 8
Function at 0x1002d450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e51ac]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002d49b
push str.Failed_to_unprotect_memory_n
jmp 0x1002d4c0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x1002d4c8
push str.Failed_to_restore_protection_on_memory
call fcn.10119709
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.101172a0
add esp, 0x14
ret

Function at 0x1002d4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x1002d51b
push str.Failed_to_unprotect_memory_n
call fcn.10119709
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002d546
push str.Failed_to_restore_protection_on_memory
call fcn.10119709
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002d550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002d582
push str.Failed_to_unprotect_memory_n
call fcn.10119709
add esp, 4
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002d5a8
push str.Failed_to_restore_protection_on_memory
call fcn.10119709
add esp, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x1002d5f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002d618
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
push esi
push 0x90
push edi
call fcn.101188f0
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x10032c60
Capabilities:
Create thread

Disassembly:
cmp byte [ecx + 8], 0
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jne 0x10032c9f
cmp byte [ecx + 9], 0
jne 0x10032c9f
push 0
push 0
push 0
push 0x10032a80
mov al, 1
push 0
push 0
mov byte [ecx + 9], al
mov byte [ecx + 8], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
ret 8
Function at 0x1003de30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x101e9b44], 0
jne 0x1003dedc
xor edx, edx
nop
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x101e9b40], ecx
add edx, 1
cmp edx, 0x100
jl 0x1003de40
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003df18
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101e9b40]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003def2
pop edi
not eax
pop esi
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003df51
cmp cl, 0x23
jne 0x1003df31
cmp byte [edx], cl
jne 0x1003df31
cmp byte [edx + 1], cl
jne 0x1003df31
mov eax, esi
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov cl, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x101e9b40]
add edx, 1
test cl, cl
jne 0x1003df21
pop edi
not eax
pop esi
ret
Function at 0x10049460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1019b4bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e51ac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
fldz
fst dword [esi + 0x18]
mov dword [esi], ebx
fst dword [esi + 0x14]
mov dword [esi + 4], ebx
fst dword [esi + 0x20]
mov byte [esi + 8], bl
fst dword [esi + 0x1c]
mov byte [esi + 9], bl
fst dword [esi + 0x24]
mov dword [esi + 0xc], ebx
fstp dword [esi + 0x28]
mov dword [esi + 0x10], 1
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x100494da
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.1003f360
add esp, 4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x100497b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100497be
mov dword [eax], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push edi
push eax
push ecx
call fcn.100496d0
mov edi, eax
add esp, 8
test edi, edi
jne 0x100497d9
pop edi
ret
push esi
push 2
push 0
push edi
call fcn.1011bd9f
add esp, 0xc
test eax, eax
jne 0x1004988f
push edi
call fcn.1011bcaa
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1004988f
push 0
push 0
push edi
call fcn.1011bd9f
add esp, 0xc
test eax, eax
jne 0x1004988f
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea edx, [esi + ebp]
push edx
call fcn.1003f330
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x1004983c
call fcn.1011ba96
add esp, 4
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
push esi
push 1
push ebx
call fcn.1011ba08
add esp, 0x10
cmp eax, esi
je 0x10049862
push edi
call fcn.1011ba96
push ebx
call fcn.1003f360
add esp, 8
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
test ebp, ebp
jle 0x10049875
push ebp
lea eax, [ebx + esi]
push 0
push eax
call fcn.101188f0
add esp, 0xc
push edi
call fcn.1011ba96
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x10049888
mov dword [eax], esi
pop ebp
mov eax, ebx
pop ebx
pop esi
pop edi
ret
push edi
call fcn.1011ba96
add esp, 4
pop esi
xor eax, eax
pop edi
ret
Function at 0x100790f0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebp
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
mov ebx, ebp
movzx ecx, di
shr edi, 0x10
sub ebx, edx
test ebp, ebp
je 0x100791c6
mov edi, edi
xor edx, edx
cmp ebx, 7
jbe 0x1007917c
mov eax, 7
lea esp, [esp]
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
add eax, 8
add edi, ecx
add esi, 8
add edx, 8
cmp eax, ebx
jb 0x10079130
cmp edx, ebx
jae 0x10079193
mov eax, ebx
sub eax, edx
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x10079184
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
sub dword [esp + 0x14], ebx
mov ebx, 0x15b0
jne 0x10079120
mov eax, edi
pop edi
pop esi
shl eax, 0x10
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x1007eaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019bab1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101e51ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
fldz
xor eax, eax
fst dword [esi + 0xc]
fst dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
fld1
fstp dword [esi + 4]
mov byte [esp + 0x1c], 2
mov word [esi + 0x3c], 0x3f
fst dword [esp + 0xc]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.1007b2f0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x1007eb40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019baf1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e51ac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.1007b2f0
mov eax, dword [esi + 0x30]
test eax, eax
mov byte [esp + 0x14], 1
je 0x1007eb8a
push eax
call fcn.1003f360
add esp, 4
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esp + 0x14], 0
je 0x1007eb9f
push eax
call fcn.1003f360
add esp, 4
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x1007ebb7
push esi
call fcn.1003f360
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1008c226
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x101b05e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1008c27d
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1008c27d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x1008c27d
xor eax, eax
inc eax
jmp 0x1008c27f
xor eax, eax
leave
ret 0x10

Function at 0x1008c2a8
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x101b05e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x1008c316
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1008c30d
cmp dword [ebp - 0xc], 4
jne 0x1008c30d
cmp dword [ebp - 0x10], edi
je 0x1008c30d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101dbf88], edi
xor eax, eax
jmp 0x1008c355
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101dbf88], edi
jge 0x1008c350
lea eax, [ebp - 0x34]
push eax
mov dword [0x101dbf88], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x1008c350
cmp word [ebp - 0x14], 5
jb 0x1008c350
call fcn.1008c283
test eax, eax
je 0x1008c350
emms
mov dword [0x101dbf88], 1
mov eax, dword [0x101dbf88]
pop edi
leave
ret

Function at 0x1008c511
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x101b05e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1008c568
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1008c568
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x1008c568
xor eax, eax
inc eax
jmp 0x1008c56a
xor eax, eax
leave
ret 0x10
Function at 0x1008fa93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x1008fbb4
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x1008fb98
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x1008faea
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x1008fac8
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x1008fea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x1008ffe7
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x1008ffc2
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x1008ff09
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x1008fee0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret