joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007dde0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1007de13
push str.Failed_to_unprotect_memory_n
call fcn.10125754
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
fld dword [ebp + 0xc]
lea ecx, [ebp - 8]
fstp dword [esi]
push ecx
push edx
push 4
push esi
call edi
test eax, eax
jne 0x1007de36
push str.Failed_to_restore_protection_on_memory
call fcn.10125754
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100835b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor bl, bl
push 0x11
mov byte [ebp - 1], bl
mov dword [ebp - 8], 4
call fcn.10127271
push 0x288
mov edi, eax
call fcn.10127271
mov esi, eax
add esp, 8
test esi, esi
je 0x10083703
lea eax, [ebp - 8]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1008360a
mov ecx, dword [ebp - 8]
push ecx
call fcn.10127271
mov esi, eax
add esp, 4
test esi, esi
je 0x10083703
lea edx, [ebp - 8]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x10083703
test esi, esi
je 0x100836e2
jmp 0x10083630
mov eax, dword [esi + 0x1a0]
cmp eax, 0x17
je 0x1008370c
cmp eax, 6
jne 0x10083688
test bl, bl
jne 0x10083688
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X__02X__02X__02X__02X__02X
push edi
call fcn.10123eb6
add esp, 0x20
mov bl, 1
cmp dword [esi + 0x1a0], 0x47
jne 0x100836d5
test bl, bl
jne 0x100836d5
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X__02X__02X__02X__02X__02X
push edi
call fcn.10123eb6
add esp, 0x20
mov bl, 1
mov esi, dword [esi]
test esi, esi
jne 0x10083630
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
mov eax, 1
cpuid
jne 0x10083729
push 0
push str.Error
push str.No_suitable_adapter_found_for_HWID_lib
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.Error
push str.You_are_not_allowed_to_play_with_a_VPN_on_our_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10083740
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x1e
mov dword [ebp - 4], 0
call fcn.10127271
push 2
mov esi, eax
call fcn.10127271
add esp, 8
push 0x1e
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
mov al, byte [esi]
push 0
push 0
push 0
mov byte [edi], al
mov cl, byte [esi + 1]
push 0
lea eax, [ebp - 4]
push eax
push 0
mov byte [edi + 1], cl
mov dl, byte [esi + 2]
push 0
mov byte [edi + 2], dl
push edi
mov byte [edi + 3], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
push ecx
push 0x10158b04
push esi
call fcn.10123eb6
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100842d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
jne 0x1008430c
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123a72
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov cl, byte [ebp + 8]
sub edx, esi
sub edx, 5
mov dword [ebp - 0xb], edx
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 0xc]
movzx ecx, byte [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x10]
push edx
push eax
push 5
push esi
mov byte [esi + 4], cl
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret

Function at 0x100bcfd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0xa4]
push str.Change
push eax
mov esi, ecx
call fcn.100b7d50
lea ecx, [ebp - 0x14c]
push ecx
call fcn.101240fb
lea edx, [ebp - 0x14c]
push edx
call fcn.10126ade
push eax
push str._d__m__Y__H:_M:_S
lea eax, [ebp - 0x144]
push 0xa0
push eax
call fcn.10126d25
add esp, 0x24
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
cmp ax, 0xff81
je 0x100bd042
cmp ax, 0xff80
jne 0x100bd04e
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret

Function at 0x100d4dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xac]
push eax
mov esi, ecx
call fcn.101240fb
lea ecx, [ebp - 0xac]
push ecx
call fcn.10126ade
push eax
push str._d__m__Y__H:_M:_S
lea edx, [ebp - 0xa4]
push 0xa0
push edx
call fcn.10126d25
mov ecx, dword [esi + 0x914]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb4]
add esp, 0x18
lea edx, [ebp - 0xa4]
push edx
call eax
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
cmp ax, 0xff81
je 0x100d4e46
cmp ax, 0xff80
jne 0x100d4e52
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
mov dword [ebp - 4], 0
call ebx
push esi
push 0x90
push edi
call fcn.10123d10
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e7140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0xc], 0
call ebx
push edi
push 0x90
push esi
call fcn.10123d10
mov edx, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
push edx
push edi
push esi
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x10], 0
call ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x100e71a9
mov byte [ebp - 0xc], 0xe9
jmp 0x100e71b2
cmp eax, 1
jne 0x100e71b2
mov byte [ebp - 0xc], 0xe8
mov ecx, dword [ebp + 0x10]
sub ecx, esi
sub ecx, 5
mov dword [ebp - 0xb], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 8]
mov dword [esi], edx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push edx
push edi
push esi
mov byte [esi + 4], al
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10123a72
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
mov dword [ebp - 4], 0
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call fcn.10124140
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100e7240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.1010e6fd
mov ebx, dword [ebp + 8]
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push ebx
push edi
call fcn.10124140
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e77d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101a8f24]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov ecx, 0xeece80
call fcn.100ec600
push eax
lea eax, [ebp - 0x20c]
push str._sSettingSRExtQSOptionSec.dat
push eax
call fcn.1001deb0
lea ecx, [ebp - 0x20c]
push 0x10159fe0
push ecx
call fcn.10125e06
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100e7870
movzx edx, byte [esi + 0x36c]
movzx eax, byte [esi + 0x36d]
movzx ecx, byte [esi + 0x36e]
mov byte [ebp - 0xc], dl
movzx edx, byte [esi + 0x36f]
push edi
mov byte [ebp - 0xb], al
movzx eax, byte [esi + 0x370]
mov byte [ebp - 0xa], cl
movzx ecx, byte [esi + 0x371]
push 6
mov byte [ebp - 9], dl
lea edx, [ebp - 0xc]
push 1
push edx
mov byte [ebp - 8], al
mov byte [ebp - 7], cl
call fcn.10125cc0
push edi
call fcn.10125ae5
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10123a72
mov esp, ebp
pop ebp
ret

Function at 0x100ec110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 8], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jne 0x100ec150
cmp byte [ecx + 9], 0
jne 0x100ec150
push 0
push 0
push 0
push 0x100ebf50
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]
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101abbdc], 0
jne 0x100eda3e
xor edx, edx
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 + 0x101abbd8], ecx
add edx, 1
cmp edx, 0x100
jb 0x100ed9a2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not esi
push edi
mov eax, esi
jle 0x100eda78
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101abbd8]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x100eda51
pop edi
not eax
pop esi
pop ebp
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x100edab1
cmp cl, 0x23
jne 0x100eda91
cmp byte [edx], cl
jne 0x100eda91
cmp byte [edx + 1], cl
jne 0x100eda91
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 + 0x101abbd8]
add edx, 1
test cl, cl
jne 0x100eda81
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x100f4be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100f4bf0
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.100f4a40
mov edi, eax
add esp, 8
test edi, edi
jne 0x100f4c0a
pop edi
pop ebp
ret
push esi
push 2
push 0
push edi
call fcn.10129603
add esp, 0xc
test eax, eax
jne 0x100f4cc0
push edi
call fcn.1012950e
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x100f4cc0
push 0
push 0
push edi
call fcn.10129603
add esp, 0xc
test eax, eax
jne 0x100f4cc0
mov edx, dword [ebp + 0x14]
lea eax, [esi + edx]
push ebx
push eax
call fcn.100eea30
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x100f4c6b
call fcn.10125ae5
add esp, 4
pop ebx
pop esi
xor eax, eax
pop edi
pop ebp
ret
push esi
push 1
push ebx
call fcn.101260b5
add esp, 0x10
cmp eax, esi
je 0x100f4c91
push edi
call fcn.10125ae5
push ebx
call fcn.100eea60
add esp, 8
pop ebx
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x100f4ca7
push eax
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.10123d10
add esp, 0xc
push edi
call fcn.10125ae5
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x100f4cb9
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
push edi
call fcn.10125ae5
add esp, 4
pop esi
xor eax, eax
pop edi
pop ebp
ret
Function at 0x100fb830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
fldz
mov eax, dword [0x101abbcc]
push esi
fstp dword [eax + 0x2c24]
mov esi, dword [ebp + 8]
test esi, esi
je 0x100fb886
lea ecx, [ebp + 8]
push edi
push ecx
mov dword [ebp + 8], 0
call fcn.100f7210
push 0x10171784
push esi
mov edi, eax
call fcn.100f4a40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100fb885
mov edx, dword [ebp + 8]
push esi
push edx
push 1
push edi
call fcn.10125cc0
push esi
call fcn.10125ae5
add esp, 0x14
pop edi
pop esi
pop ebp
ret

Function at 0x100fe0e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
call fcn.100eeaa0
mov ecx, dword [0x101abfe8]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
fstp dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
fild dword [ebp - 4]
mov dword [esi + 8], ecx
fstp dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x101abff0]
mov edx, dword [ebp - 8]
sbb edx, dword [0x101abff4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
fild qword [ebp - 0x14]
fild qword [0x101abff8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
fdivp st(1)
fstp dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [0x101abff0], eax
mov dword [0x101abff4], ecx
call edi
push 0x10
shr eax, 0xf
and al, 1
mov byte [esi + 0x100], al
call edi
push 0x12
shr eax, 0xf
and al, 1
mov byte [esi + 0x101], al
call edi
mov byte [esi + 0x103], 0
shr eax, 0xf
and al, 1
mov byte [esi + 0x102], al
call fcn.100fe010
cmp byte [esi + 0xb4], 0
pop edi
pop esi
je 0x100fe1ba
or eax, 0xffffffff
jmp 0x100fe1bf
call fcn.100ef0a0
cmp dword [0x1019fc08], eax
je 0x100fe1cc
mov dword [0x1019fc08], eax
mov esp, ebp
pop ebp
ret
Function at 0x10104b20
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
movzx ecx, di
shr edi, 0x10
sub ebx, edx
cmp dword [ebp + 8], 0
je 0x10104bf9
cmp ebx, 7
mov dword [ebp - 4], 0
jbe 0x10104bae
mov eax, 7
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add dword [ebp - 4], 8
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
add eax, 8
add edi, ecx
add esi, 8
cmp eax, ebx
jb 0x10104b61
cmp dword [ebp - 4], ebx
jae 0x10104bc7
mov eax, ebx
sub eax, dword [ebp - 4]
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x10104bb8
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 [ebp + 8], ebx
mov ebx, 0x15b0
jne 0x10104b50
mov eax, edi
pop edi
shl eax, 0x10
pop esi
add eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10108470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101523d1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101a8f24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 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 [ebp - 4], 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 [ebp - 4], 2
mov word [esi + 0x3c], 0x3f
fst dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
fstp dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.10105e50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10113b64
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 0x10177e1c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10113bbb
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 0x10113bbb
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10113bbb
xor eax, eax
inc eax
jmp 0x10113bbd
xor eax, eax
leave
ret 0x10

Function at 0x10113be7
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 0x10177e1c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10113c55
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 0x10113c4c
cmp dword [ebp - 0xc], 4
jne 0x10113c4c
cmp dword [ebp - 0x10], edi
je 0x10113c4c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101a0108], edi
xor eax, eax
jmp 0x10113c94
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101a0108], edi
jge 0x10113c8f
lea eax, [ebp - 0x34]
push eax
mov dword [0x101a0108], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10113c8f
cmp word [ebp - 0x14], 5
jb 0x10113c8f
call fcn.10113bc1
test eax, eax
je 0x10113c8f
emms
mov dword [0x101a0108], 1
mov eax, dword [0x101a0108]
pop edi
leave
ret

Function at 0x10113e78
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.101247d0
mov eax, dword [0x101a0110]
cmp eax, 0xffffffff
jne 0x10113ea6
push 0
push str.debug
push str.Direct3D
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x101a0110], eax
cmp dword [ebp + 8], eax
ja 0x10113f03
cmp dword [0x101ac238], 0
jne 0x10113f03
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov esi, 0x1000
lea eax, [ebp - 0x1000]
push esi
push eax
call fcn.10129282
and byte [ebp - 1], 0
lea eax, [ebp - 0x1000]
push eax
push str.D3DX:__s_r_n
lea eax, [ebp - 0x2000]
push esi
push eax
call fcn.10125270
and byte [ebp - 0x1001], 0
add esp, 0x20
lea eax, [ebp - 0x2000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
leave
ret
Function at 0x10113f05
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 0x10114026
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 0x1011400a
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 0x10113f5c
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 0x10113f3a
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x10123a72
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a8f24]
jne 0x10123a7c
repz ret
jmp fcn.1012e72c