joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1032b8cc], 0
je 0x10002679
mov eax, dword [0x1032b8cc]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.1014333d
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10142fdf
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1032b8cc], eax
mov dword [0x1032b8d0], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1032b8d4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1032b8d4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10008d60
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x10008d7b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10008d86
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10008d91
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10008d9c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10008da7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10008db2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10008dbd
bts eax, 1
test cl, 2
je 0x10008dc6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10008e62
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10008e53
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10008d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008e90
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x1019c740
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.1014f0b1
add esp, 0xc
test eax, eax
je 0x10008ec9
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.1014f100
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10008ef5
call fcn.1014f347
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.1014f54b
add esp, 0x10
test eax, eax
je 0x10008f4b
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10008f12
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.1014f54b
add esp, 0x10
test eax, eax
jne 0x10008f10
pop esi
push ebx
call fcn.1014f690
push dword [ebp + 0xc]
call fcn.1014f347
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000cfa0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x1000ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 1
push 0x1000ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 2
push 0x1000ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 3
push 0x1000ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 4
push 0x1000ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, 1
test eax, eax
je 0x1000d034
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000e080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf7], 0x69
push eax
push dword [ebp - 4]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
mov byte [0x62ee41], 0x69
push eax
push dword [ebp - 4]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 4]
mov byte [0x62eee4], 0x69
push eax
push dword [ebp - 4]
push 1
push 0x62eee4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 4]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eeeb
call esi
push 0x1000d9f0
push 0x520ecf
push 0xe8
call fcn.100d0420
push 0x1000d9f0
push 0x520f1f
push 0xe8
call fcn.100d0420
push 0x1000d9f0
push 0x63e743
push 0xe8
call fcn.100d0420
push 0x1000d9f0
push 0x640eb2
push 0xe8
call fcn.100d0420
push 0x1000d9f0
push 0x7d2dd9
push 0xe8
call fcn.100d0420
push 0x1000d9f0
push 0x7e6c0f
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x1000d9f0
push 0x84aef7
push 0xe8
call fcn.100d0420
push 0x1000deb0
push 0x4dada4
push 0xe8
call fcn.100d0420
push 0x1000dcd0
push 0x63e71b
push 0xe8
call fcn.100d0420
push 0x1000dcd0
push 0x63eeb6
push 0xe8
call fcn.100d0420
push 0x1000dcd0
push 0x6410ee
push 0xe8
call fcn.100d0420
push 0x1000da60
push 0x47e15a
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x1000e000
push 0x54ee78
push 0xe9
call fcn.100d0420
push 0x1000e020
push 0x54ffb7
push 0xe9
call fcn.100d0420
push 0x1000e040
push 0x5880ad
push 0xe9
call fcn.100d0420
push 0x1000e060
push 0x560ce6
push 0xe9
call fcn.100d0420
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100149c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187590
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101b31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1014333d
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100defe0
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10014de0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001d230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov eax, 0x791100
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
mov eax, 0x1035a540
mov edi, 0x100
sub eax, esi
mov dword [ebp - 8], eax
mov byte [eax + esi], 0
cmp byte [esi], 1
jne 0x1001d27d
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call ebx
lea eax, [ebp - 4]
mov byte [esi], 0
push eax
push dword [ebp - 4]
push 1
push esi
call ebx
mov eax, dword [ebp - 8]
inc esi
sub edi, 1
jne 0x1001d257
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x4da3c7
call esi
mov eax, 0x4da3c7
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x4da3c7
call esi
push 0x1001d2b0
push 0x4da3c7
push 0xe8
call fcn.100d0420
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x4da3d8
call esi
mov eax, 0x4da3d8
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x4da3d8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x4da3dd
call esi
mov eax, 0x4da3dd
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 7
push 0x4da3dd
call esi
push 0x1001d990
push 0x4d5ec3
push 0xff
call fcn.100d0420
push 0x1001d950
push 0x4d79c3
push 0xff
call fcn.100d0420
push 0x1001d1f0
push 0x4d9d59
push 0xe8
call fcn.100d0420
push 0x1001d1c0
push 0x74cd7d
push 0xe9
call fcn.100d0420
push 0x1001d170
push 0x51e29d
push 0xe8
call fcn.100d0420
push 0x1001d0c0
push 0x5711ab
push 0xff
call fcn.100d0420
add esp, 0x48
push 0x1001d0c0
push 0x57126f
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x5713d6
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x576ddb
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x588357
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x5883f4
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x588505
push 0xff
call fcn.100d0420
add esp, 0x48
push 0x1001d0c0
push 0x588617
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x588661
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x58876e
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x5887ad
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x609d1e
push 0xff
call fcn.100d0420
push 0x1001d0c0
push 0x610691
push 0xff
call fcn.100d0420
add esp, 0x48
push 0x1001d0c0
push 0x5887ad
push 0xff
call fcn.100d0420
push 0x1001d290
push 0x4dac5c
push 0xe9
call fcn.100d0420
push 0x1001d380
push 0x588277
push 0xe9
call fcn.100d0420
push 0x1001d3a0
push 0x588460
push 0xe9
call fcn.100d0420
push 0x1001d3c0
push 0x588560
push 0xe9
call fcn.100d0420
push 0x1001d500
push 0x4f0356
push 0xe8
call fcn.100d0420
add esp, 0x48
push 0x1001d550
push 0x51cb60
push 0xe9
call fcn.100d0420
push 0x1001d3e0
push 0x51e440
push 0xe9
call fcn.100d0420
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x813bf4
call esi
lea eax, [ebp - 4]
mov byte [0x813bf4], 1
push eax
push dword [ebp - 4]
push 1
push 0x813bf4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4ebd07
call esi
lea eax, [ebp - 4]
mov byte [0x4ebd07], 1
push eax
push dword [ebp - 4]
push 1
push 0x4ebd07
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001e580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movd xmm1, dword [0x879340c]
movaps xmm5, xmm2
movss xmm6, dword [ebp + 0x14]
movaps xmm4, xmm3
movss xmm7, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0xc]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 4], xmm4
comiss xmm1, xmm5
movss dword [ebp - 8], xmm5
jb 0x1001e6b6
movaps xmm0, xmm5
addss xmm0, xmm3
comiss xmm0, xmm1
jb 0x1001e6b6
movd xmm2, dword [0x8793410]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jb 0x1001e6b6
movss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x1001e6b6
movaps xmm0, xmm1
divss xmm0, xmm7
push 1
movss dword [ebp + 0x14], xmm0
movaps xmm0, xmm3
divss xmm0, xmm6
movss dword [ebp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp + 0x14]
movss xmm0, dword [ebp + 0x18]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
jns 0x1001e654
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1001e65a
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1001e71a
push 0x1035a650
call dword [ebp + 0x1c]
add esp, 4
mov esp, ebp
pop ebp
ret 0x18
movss xmm1, dword [ebp + 0x10]
movaps xmm2, xmm3
divss xmm1, xmm7
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 1
sub esp, 0x20
divss xmm2, xmm6
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm3
movss dword [esp + 4], xmm4
movss dword [esp], xmm5
push dword [ebp + 8]
call eax
add esp, 0x30
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001e720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movd xmm1, dword [0x879340c]
movaps xmm4, xmm2
movss xmm5, dword [ebp + 0x14]
movss xmm2, dword [ebp + 0x18]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 4], xmm3
comiss xmm1, xmm4
movss dword [ebp - 8], xmm4
jb 0x1001e854
movaps xmm0, xmm4
addss xmm0, dword [ebp + 0x20]
comiss xmm0, xmm1
jb 0x1001e854
movd xmm1, dword [0x8793410]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jb 0x1001e854
movaps xmm0, xmm3
addss xmm0, dword [ebp + 0x24]
comiss xmm0, xmm1
jb 0x1001e854
movss xmm0, dword [ebp + 0x10]
divss xmm0, xmm2
push 1
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [ebp + 0xc]
divss xmm0, xmm5
movss dword [ebp + 0xc], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
jns 0x1001e7dc
movss xmm2, dword [ebp + 0x10]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x1001e7e7
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [ebp + 0xc]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp + 0x24]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1001e8bf
push 0x1035a650
call dword [ebp + 0x1c]
add esp, 4
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x10]
mov eax, 0x637c60
divss xmm1, xmm2
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movss xmm2, dword [ebp + 0xc]
divss xmm2, xmm5
movss xmm0, dword [ebp + 0x24]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [ebp + 8]
call eax
add esp, 0x30
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10025670
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [0x1025e238], 2
push ebx
push esi
push edi
jne 0x100256a8
push 0x10
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100256a8
call fcn.1007ca50
cmp al, 1
je 0x100258da
mov esi, dword [0x81f6b6c]
mov eax, 0x5c6e80
call eax
xor ecx, ecx
cmp ecx, esi
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
and ecx, 0xffffffb0
add ecx, 0xffffffc1
lea ebx, [eax + ecx]
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
cmp esi, 0x32
jne 0x10025749
mov eax, dword [0x7bc4f04]
mov esi, 0x1c
cmp dword [eax + 0x2a4], 0
je 0x10025749
subss xmm1, dword [0x101a53a8]
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3ddd2f1c
mov dword [esp + 0x18], 0x3d9df3ba
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41b00000
mov dword [esp + 8], 0x41800000
mov dword [esp + 4], 0x41d80000
movss dword [esp], xmm1
push 0x7a4e
call eax
add esp, 0x30
push 1
mov eax, 0x635fd0
call eax
add esp, 4
mov edi, 0x41fe10
push 0xff
push 0xff
push 0xff
push 0xff
call edi
mov edx, 0x420040
mov ecx, eax
call edx
push 0xc8
push 0
push 0
push 0
call edi
mov edx, 0x4200b0
mov ecx, eax
call edx
push 0
push 3
push 0
push 0x32
push dword [ebp + 0x10]
lea eax, [esi + 5]
push eax
push ebx
call edi
mov edx, 0x420150
mov ecx, eax
call edx
movd xmm1, dword [ebp + 0x14]
add esi, 0x10
cmp dword [0x1032c498], 0
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm1, xmm1
mov dword [esp + 0xc], 0x280
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, qword [0x101a4ec8]
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
je 0x10025801
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d8]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
push 0xd23ab8
call edi
movd xmm0, dword [esp + 0xc]
lea eax, [esp + 0x10]
cvtdq2pd xmm0, xmm0
push eax
movsd qword [0xd23ab8], xmm0
push dword [esp + 0x14]
push 8
push 0xd23ab8
call edi
movss xmm0, dword [esp + 0x14]
mov eax, 0x5b9260
push 1
push 0
sub esp, 0x14
movss dword [esp + 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x40800000
mov dword [esp + 8], 0x42480000
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
push 0x40
push 8
push 0xd23ab8
call edi
movsd xmm0, qword [0x101a5308]
lea eax, [esp + 0x10]
push eax
movsd qword [0xd23ab8], xmm0
push dword [esp + 0x14]
push 8
push 0xd23ab8
call edi
mov eax, 0x635f50
call eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031cf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101b4c80]
push esi
mov esi, dword [0x101b4c84]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a5038]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x101a5dd0]
mulsd xmm0, qword [0x101a4cb8]
push esi
addsd xmm0, qword [0x101a5340]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x101b4c80]
mov esi, dword [0x101b4c88]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a5038]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x101a5dd0]
mulsd xmm0, qword [0x101a4cb8]
addsd xmm0, qword [0x101a5340]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x101b4c80]
mov esi, dword [0x101b4c8c]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a5038]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x101a5dd0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101a4e40]
addss xmm0, dword [0x101a5964]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x101b4c80]
mov esi, dword [0x101b4c90]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a5038]
push eax
andps xmm0, xmmword [0x101a5dd0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101a4e40]
addss xmm0, dword [0x101a5964]
movss dword [ebp - 0xc], xmm0
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x101b4c80]
mov esi, dword [0x101b4c94]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x101a5038]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x101a5dd0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x101a4e40]
addss xmm0, dword [0x101a5958]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [esi], xmm0
push 4
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret