joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x102bbdac], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x102bbdbc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100d849d
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x102bbdbc], 0
call fcn.10001a30
mov ecx, dword [0x102bbdb8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100d849d
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x102bbdb8], 0
mov dword [0x102bbdac], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x102bbdb0], 0
je 0x10002679
mov eax, dword [0x102bbdb0]
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.100d88db
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.100d849d
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x102bbdb0], eax
mov dword [0x102bbdb4], 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 [0x102bbdb8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x102bbdb8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10008cb0
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 0x10008ccb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10008cd6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10008ce1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10008cec
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10008cf7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10008d02
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10008d0d
bts eax, 1
test cl, 2
je 0x10008d16
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 0x10008db2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10008da3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10008cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008de0
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 0x1012f300
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10008e1a
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10008e48
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x10008e9c
push esi
nop
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 0x10008e62
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10008e60
pop esi
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x1000cee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 1
push 0x1000cee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 2
push 0x1000cee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 3
push 0x1000cee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 4
push 0x1000cee0
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 0x1000df70
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 0x1000d8e0
push 0x520ecf
push 0xe8
call fcn.100c9bf0
push 0x1000d8e0
push 0x520f1f
push 0xe8
call fcn.100c9bf0
push 0x1000d8e0
push 0x63e743
push 0xe8
call fcn.100c9bf0
push 0x1000d8e0
push 0x640eb2
push 0xe8
call fcn.100c9bf0
push 0x1000d8e0
push 0x7d2dd9
push 0xe8
call fcn.100c9bf0
push 0x1000d8e0
push 0x7e6c0f
push 0xe8
call fcn.100c9bf0
add esp, 0x48
push 0x1000d8e0
push 0x84aef7
push 0xe8
call fcn.100c9bf0
push 0x1000dda0
push 0x4dada4
push 0xe8
call fcn.100c9bf0
push 0x1000dbc0
push 0x63e71b
push 0xe8
call fcn.100c9bf0
push 0x1000dbc0
push 0x63eeb6
push 0xe8
call fcn.100c9bf0
push 0x1000dbc0
push 0x6410ee
push 0xe8
call fcn.100c9bf0
push 0x1000d950
push 0x47e15a
push 0xe8
call fcn.100c9bf0
add esp, 0x48
push 0x1000def0
push 0x54ee78
push 0xe9
call fcn.100c9bf0
push 0x1000df10
push 0x54ffb7
push 0xe9
call fcn.100c9bf0
push 0x1000df30
push 0x5880ad
push 0xe9
call fcn.100c9bf0
push 0x1000df50
push 0x560ce6
push 0xe9
call fcn.100c9bf0
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018ec0
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, 0x102ea390
mov edi, 0x100
sub eax, esi
mov dword [ebp - 8], eax
mov byte [eax + esi], 0
cmp byte [esi], 1
jne 0x10018f0d
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 0x10018ee7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100192c0
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 0x10018f40
push 0x4da3c7
push 0xe8
call fcn.100c9bf0
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 0x10019590
push 0x4d5ec3
push 0xff
call fcn.100c9bf0
push 0x10019550
push 0x4d79c3
push 0xff
call fcn.100c9bf0
push 0x10018e80
push 0x4d9d59
push 0xe8
call fcn.100c9bf0
push 0x10018e50
push 0x74cd7d
push 0xe9
call fcn.100c9bf0
push 0x10018e00
push 0x51e29d
push 0xe8
call fcn.100c9bf0
push 0x10018d50
push 0x588357
push 0xff
call fcn.100c9bf0
add esp, 0x48
push 0x10018d50
push 0x5883f4
push 0xff
call fcn.100c9bf0
push 0x10018d50
push 0x588505
push 0xff
call fcn.100c9bf0
push 0x10018d50
push 0x588617
push 0xff
call fcn.100c9bf0
push 0x10018d50
push 0x588661
push 0xff
call fcn.100c9bf0
push 0x10018d50
push 0x58876e
push 0xff
call fcn.100c9bf0
push 0x10018d50
push 0x5887ad
push 0xff
call fcn.100c9bf0
add esp, 0x48
push 0x10018f20
push 0x4dac5c
push 0xe9
call fcn.100c9bf0
push 0x10019010
push 0x588277
push 0xe9
call fcn.100c9bf0
push 0x10019030
push 0x588460
push 0xe9
call fcn.100c9bf0
push 0x10019050
push 0x588560
push 0xe9
call fcn.100c9bf0
push 0x10019190
push 0x4f0356
push 0xe8
call fcn.100c9bf0
push 0x100191e0
push 0x51cb60
push 0xe9
call fcn.100c9bf0
add esp, 0x48
push 0x10019070
push 0x51e440
push 0xe9
call fcn.100c9bf0
add esp, 0xc
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 0x1001a190
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 0x1001a2c6
movaps xmm0, xmm5
addss xmm0, xmm3
comiss xmm0, xmm1
jb 0x1001a2c6
movd xmm2, dword [0x8793410]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jb 0x1001a2c6
movss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x1001a2c6
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 0x1001a264
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1001a26a
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 0x1001a32a
push 0x102ea4a0
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 0x1001a330
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 0x1001a464
movaps xmm0, xmm4
addss xmm0, dword [ebp + 0x20]
comiss xmm0, xmm1
jb 0x1001a464
movd xmm1, dword [0x8793410]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jb 0x1001a464
movaps xmm0, xmm3
addss xmm0, dword [ebp + 0x24]
comiss xmm0, xmm1
jb 0x1001a464
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 0x1001a3ec
movss xmm2, dword [ebp + 0x10]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x1001a3f7
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 0x1001a4cf
push 0x102ea4a0
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 0x10021280
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 [0x101ef818], 2
push ebx
push esi
push edi
jne 0x100212b8
push 0x10
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100212b8
call fcn.10078450
cmp al, 1
je 0x100214ea
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 0x10021359
mov eax, dword [0x7bc4f04]
mov esi, 0x1c
cmp dword [eax + 0x2a4], 0
je 0x10021359
subss xmm1, dword [0x10138168]
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 [0x102bc21c], 0
movd xmm0, dword [ebp + 0x18]
cvtdq2pd xmm1, xmm1
mov dword [esp + 0xc], 0x280
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, qword [0x10137cd8]
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
je 0x10021411
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 [0x101380c8]
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 0x1002d900
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 [0x10142890]
push esi
mov esi, dword [0x10142894]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x10137e48]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x10138b90]
mulsd xmm0, qword [0x10137ac8]
push esi
addsd xmm0, qword [0x10138100]
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 [0x10142890]
mov esi, dword [0x10142898]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x10137e48]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x10138b90]
mulsd xmm0, qword [0x10137ac8]
addsd xmm0, qword [0x10138100]
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 [0x10142890]
mov esi, dword [0x1014289c]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x10137e48]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x10138b90]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10137c50]
addss xmm0, dword [0x10138714]
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 [0x10142890]
mov esi, dword [0x101428a0]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x10137e48]
push eax
andps xmm0, xmmword [0x10138b90]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10137c50]
addss xmm0, dword [0x10138714]
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 [0x10142890]
mov esi, dword [0x101428a4]
movsd xmm0, qword [eax]
lea eax, [ebp - 4]
subsd xmm0, qword [0x10137e48]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x10138b90]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10137c50]
addss xmm0, dword [0x10138708]
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