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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x100415f0
push 0x868986
push 0xe8
call fcn.100bec40
push 0x10041d50
push 0x8685c0
push 0xe9
call fcn.100bec40
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push 0x40
push 0x20b
push 0x8689a0
call esi
push 0x20b
push 0x90
push 0x8689a0
call fcn.100c2c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x20b
push 0x8689a0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0xb4
push 0x868cf0
call esi
push 0xb4
push 0x90
push 0x868cf0
call fcn.100c2c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0xb4
push 0x868cf0
call esi
mov eax, dword [0x100fac74]
movss xmm0, dword [0x10869f54]
mulss xmm0, dword [0x100f14a4]
cdq
sub eax, edx
sar eax, 1
cmp dword [0x102c732c], 0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [0x10869f60], xmm1
je 0x10039b97
push 0x10041590
push 0x772960
push 0xe8
call fcn.100bec40
push 0x100415b0
push 0x7729b3
push 0xe8
call fcn.100bec40
push 0x10039be0
push 0x8494b0
push 0xe9
call fcn.100bec40
add esp, 0x24
lea eax, [ebp - 4]
push eax
push 0x40
push 0x2a4
push 0x849730
call esi
push 0x2a4
push 0x90
push 0x849730
call fcn.100c2c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x2a4
push 0x849730
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x3b7
push 0x8499e0
call esi
push 0x3b7
push 0x90
push 0x8499e0
call fcn.100c2c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x3b7
push 0x8499e0
call esi
push 0x100398b0
push 0x8490f5
push 0xe8
call fcn.100bec40
push 0x100398e0
push 0x848e5d
push 0xe8
call fcn.100bec40
push 0x100398e0
push 0x848eb2
push 0xe8
call fcn.100bec40
push 0x100398e0
push 0x848f07
push 0xe8
call fcn.100bec40
push 0x100398f0
push 0x848f4b
push 0xe8
call fcn.100bec40
push 0x100398e0
push 0x849087
push 0xe8
call fcn.100bec40
add esp, 0x48
push 0x848e31
push 0x848e09
push 0xe9
call fcn.100bec40
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x849007
call esi
lea eax, [ebp - 4]
mov byte [0x849007], 0x5a
push eax
push dword [ebp - 4]
push 1
push 0x849007
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10041000
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0xe60974], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x1004120c
movaps xmm0, xmmword [0x100f2190]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x102a527d], 1
mov dword [0xe8cb3c], 1
mov dword [0x10109c4c], 0
movups xmmword [0x10109c3c], xmm0
mov dword [0x102a5328], 0xbf800000
mov dword [0x102a52c8], 0xbf800000
call esi
sub eax, 0xc8
mov dword [0x102a52d8], eax
call esi
movd xmm0, dword [0x100fac74]
sub eax, 0xc8
mov edi, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [0x102a5338], eax
mov dword [0xe61e58], edi
mov dword [0xe61e5c], esi
movd xmm1, edi
lea eax, [esi + 0x1e]
cvtps2pd xmm0, xmm0
push 0x116
push eax
push edi
push 0
push 0
cvtdq2pd xmm1, xmm1
push 0
push dword [0xe8c578]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0xe7c3d4], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x100f1bd8]
cvtpd2ps xmm0, xmm0
movss dword [0xe7c3d8], xmm0
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 0x630bc0
call eax
push 1
mov eax, 0x596ac0
call eax
add esp, 4
mov eax, 0x482b70
call eax
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov eax, 0x407b20
call eax
mov dword [eax + 0x28], edi
mov edi, 0x861110
mov dword [eax + 0x2c], esi
call edi
mov esi, eax
mov eax, 0x785870
push 0x17e
push 0
push dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push dword [esi]
call eax
call edi
mov edx, 0x861ac0
mov ecx, eax
call edx
mov edx, 0x7f0d40
mov ecx, eax
call edx
mov eax, dword [0x107e7b70]
mov ecx, dword [esi + 0x138]
add eax, 0x1c2
push 0
push eax
push dword [esi]
mov eax, 0x7f0c80
call eax
mov eax, dword [0x107e1c40]
mov dword [0x81c0380], eax
mov ecx, dword [esi + 0xb4]
mov eax, 0x830b70
push 1
push 1
push dword [esi]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push 0xd2c848
call esi
movsd xmm0, qword [0x100f1c88]
lea eax, [ebp + 8]
push eax
movsd qword [0xd2c848], xmm0
push dword [ebp + 8]
push 8
push 0xd2c848
call esi
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push 0xd2c898
call esi
movsd xmm0, qword [0x100f1c80]
lea eax, [ebp + 8]
push eax
movsd qword [0xd2c898], xmm0
push dword [ebp + 8]
push 8
push 0xd2c898
call esi
mov eax, dword [0x102c724c]
cmp eax, 4
jne 0x100411f5
push eax
mov ecx, ebx
call fcn.1003f340
mov eax, dword [0x102c724c]
cmp eax, 1
je 0x10041204
cmp eax, 2
je 0x10041204
cmp eax, 3
jne 0x1004120c
push eax
mov ecx, ebx
call fcn.1003f340
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x100426d0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
push 0xff
push 0
push eax
call fcn.100c2c10
add esp, 0xc
push 0x100ed144
push esi
call fcn.100c436a
mov edi, eax
add esp, 8
mov dword [ebp - 0x3f4], edi
test edi, edi
je 0x100428fd
push edi
push 1
lea eax, [ebp - 0x3fc]
push 6
push eax
call fcn.100c47e8
mov eax, 0x5447
add esp, 0x10
cmp word [ebp - 0x3fc], ax
jne 0x100428e1
xor eax, eax
mov dword [ebp - 0x3f0], 0
cmp ax, word [ebp - 0x3fa]
jge 0x100428e1
mov word [ebp - 0x3e4], 0xcffc
mov byte [ebp - 0x3e2], 0xab
nop dword [eax]
push edi
push 1
lea eax, [ebp - 0x3ec]
push 8
push eax
call fcn.100c47e8
mov eax, dword [ebp - 0x3e8]
inc eax
push eax
call fcn.100c1070
add esp, 0x14
mov ebx, eax
push edi
push dword [ebp - 0x3e8]
push 1
push ebx
call fcn.100c47e8
mov edi, dword [ebp - 0x3e8]
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x100427d6
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov al, byte [ebp + ecx - 0x3e4]
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jl 0x100427b1
mov edi, dword [ebp - 0x3e8]
mov byte [edi + ebx], 0
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x3e8]
push ebx
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x268]
push 0x15e
push eax
call fcn.100c9e5b
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 1
jne 0x10042842
mov eax, dword [ebp - 0x270]
lea esi, [ebp - 0x270]
mov dword [ebp - 0x3e0], eax
lea edi, [ebp - 0x3dc]
mov ecx, 0x5a
lea eax, [ebp - 0x3e0]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x404]
mov ecx, 0x101da3dc
jmp 0x100428b0
cmp eax, 2
jne 0x1004287a
mov eax, dword [ebp - 0x270]
lea esi, [ebp - 0x270]
mov dword [ebp - 0x3e0], eax
lea edi, [ebp - 0x3dc]
mov ecx, 0x5a
lea eax, [ebp - 0x3e0]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x40c]
mov ecx, 0x101da3cc
jmp 0x100428b0
cmp eax, 3
jne 0x100428b6
mov eax, dword [ebp - 0x270]
lea esi, [ebp - 0x270]
mov dword [ebp - 0x3e0], eax
lea edi, [ebp - 0x3dc]
mov ecx, 0x5a
lea eax, [ebp - 0x3e0]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x414]
mov ecx, 0x101da3d4
push eax
call fcn.100429a0
push ebx
call fcn.100c1079
mov ecx, dword [ebp - 0x3f0]
add esp, 4
movsx eax, word [ebp - 0x3fa]
inc ecx
mov edi, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f0], ecx
cmp ecx, eax
jl 0x10042770
push edi
call fcn.100c45df
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c0a54
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x108]
push str._s___File_not_exist.
push eax
call fcn.100112b0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push 0
push eax
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 2
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0a54
mov esp, ebp
pop ebp
ret 8
Function at 0x1004a0a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push esi
push edi
call fcn.10070e40
test al, al
je 0x1004a0c6
push 0x22
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x1004a369
call fcn.10071370
test al, al
jne 0x1004a369
cmp dword [0x10886fa8], 0
jl 0x1004a23d
push 1
mov edi, 0x635fd0
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
movd xmm0, dword [0x107e7b78]
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
addss xmm0, dword [0x100f2108]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x43160000
mov dword [esp + 4], 0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
lea eax, [edi - 0x80]
call eax
add esp, 8
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
push 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call esi
mov ecx, dword [0x10886fb0]
sub eax, dword [0x10886fb4]
inc ecx
mov dword [0x10886fb0], ecx
cmp eax, 0x3e8
jbe 0x1004a1c6
mov dword [0x10886fac], ecx
mov dword [0x10886fb0], 0
call esi
mov dword [0x10886fb4], eax
push dword [0x10886fa8]
mov ecx, 0x101b3888
push 0xae
call fcn.10042330
push eax
mov eax, dword [0x107e7b78]
push 1
push 0x64
push 4
add eax, 0x1f4
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x20
mov ecx, 0x101b3888
push dword [0x10886fa0]
push 0xaf
call fcn.10042330
push eax
mov eax, dword [0x107e7b78]
push 1
push 0x64
push 4
add eax, 0x226
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x20
jmp 0x1004a330
cmp dword [0x102c7254], 2
jne 0x1004a369
push 1
mov edi, 0x635fd0
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
movd xmm0, dword [0x107e7b78]
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
push 0
sub esp, 0x14
addss xmm0, dword [0x100f212c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42480000
mov dword [esp + 4], 0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
lea eax, [edi - 0x80]
call eax
add esp, 8
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
push 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call esi
mov ecx, dword [0x10886fb0]
sub eax, dword [0x10886fb4]
inc ecx
mov dword [0x10886fb0], ecx
cmp eax, 0x3e8
jbe 0x1004a330
mov dword [0x10886fac], ecx
mov dword [0x10886fb0], 0
call esi
mov dword [0x10886fb4], eax
push dword [0x10886fac]
mov ecx, 0x101b3888
push 0xb0
call fcn.10042330
push eax
mov eax, dword [0x107e7b78]
push 1
push 0x64
push 4
add eax, 0x258
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x20
pop edi
pop esi
pop ecx
ret
Function at 0x1004a670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x100fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x108a3b34]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x1004a845
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x102c72b4]
add ecx, dword [0x10246764]
cmp eax, ecx
jbe 0x1004a845
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
call esi
test ax, ax
jns 0x1004a845
push 0x10
call esi
test ax, ax
jns 0x1004a845
push 0x59
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.100c2c10
push dword [0x7e452a]
lea eax, [ebp - 0x60]
push 0x59
push eax
call fcn.100c9e5b
add esp, 0x14
lea eax, [ebp - 0x60]
push str.Excellent
push eax
call fcn.1004a500
push 0x59
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100c96c0
add esp, 8
lea eax, [ebp - 0x60]
push str.Excelente
push eax
call fcn.1004a500
push 0x59
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100c96c0
add esp, 0xc
lea eax, [ebp - 0x60]
mov ecx, 0x101b3888
push eax
push 0x47
call fcn.10042330
push eax
lea eax, [ebp - 0x126]
push eax
call fcn.1004b180
mov ecx, dword [0x107e7d48]
add esp, 0xc
movq xmm0, qword [ecx]
movq qword [ebp - 0x131], xmm0
mov ax, word [ecx + 8]
mov word [ebp - 0x129], ax
mov al, byte [ecx + 0xa]
mov byte [ebp - 0x127], al
test edi, edi
je 0x1004a7fb
mov esi, edi
mov ecx, 0x1a
lea edi, [ebp - 0xcd]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x1004a81e
push 0x6b
lea eax, [ebp - 0xcd]
push 0
push eax
call fcn.100c2c10
add esp, 0xc
call fcn.100cad3d
mov dword [eax], 0x16
call fcn.100c9d17
mov edx, 0xd2
mov word [ebp - 0x134], 0xd2c1
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x132], 0x78
call fcn.100b5120
call ebx
mov dword [0x10246764], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0a54
mov esp, ebp
pop ebp
ret
Function at 0x1004c330
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.OPENGL32.dll_glColor3f]
push edi
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [0x102679f8]
mov edi, 0x790b10
addss xmm0, dword [0x100f1e18]
push 0xf
push 0x4b
cvttss2si eax, xmm0
movd xmm0, dword [0x107e7b78]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x102679f4]
addss xmm0, dword [0x100f1d98]
cvttss2si eax, xmm0
push eax
call edi
add esp, 0x10
cmp al, 1
jne 0x1004c3b8
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004c42d
movss xmm0, dword [0x102679f8]
addss xmm0, dword [0x100f1e18]
push 0xf
push 0x4b
cvttss2si eax, xmm0
movd xmm0, dword [0x107e7b78]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x102679f4]
addss xmm0, dword [0x100f1d98]
cvttss2si eax, xmm0
push eax
call edi
add esp, 0x10
cmp al, 1
jne 0x1004c42d
sub esp, 0xc
mov dword [0x10267a18], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [0x102679f8]
mov eax, 0x637c60
cvtps2pd xmm0, xmm0
push 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x100f19a8]
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, dword [0x107e7b78]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x102679f4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100f1908]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7b4b
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0x5a
mov ecx, 0x101b3888
call fcn.10042330
movss xmm0, dword [0x102679f8]
cvtps2pd xmm0, xmm0
push eax
push 3
push 0x4b
addsd xmm0, qword [0x100f19b0]
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [0x102679f4]
add eax, dword [0x107e7b78]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x100f1908]
cvttsd2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
mov ecx, 0x101b3888
push 0x59
call fcn.10042330
push eax
cvttss2si eax, dword [0x102679f8]
push 3
push 0xbe
add eax, 0x46
push eax
cvttss2si eax, dword [0x102679f4]
add eax, dword [0x107e7b78]
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
pop edi
pop esi
pop ecx
ret
Function at 0x1004d310
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.OPENGL32.dll_glColor3f]
push edi
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [0x102679f8]
addss xmm0, dword [0x100f1f14]
push 0xf
push 0x4b
cvttss2si eax, xmm0
movd xmm0, dword [0x107e7b78]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, dword [0x102679f4]
addss xmm0, dword [0x100f1d98]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1004d400
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004d454
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x10267a10]
cmp eax, 0x7d0
jb 0x1004d3e4
call edi
mov dword [0x10267a10], eax
lea ecx, [ebp - 8]
xor eax, eax
mov dword [ebp - 7], eax
mov dword [ebp - 8], 0xfbf308c1
mov dword [ebp - 4], eax
lea edx, [eax + 8]
call fcn.100b5120
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
jmp 0x1004d452
mov eax, dword [0x10267a20]
cmp eax, dword [0x10267a1c]
jl 0x1004d454
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [0x10267a34]
cmp eax, 0x1f4
jbe 0x1004d454
call edi
sub eax, dword [0x10267a34]
cmp eax, 0x3e8
jbe 0x1004d438
call edi
mov dword [0x10267a34], eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call esi
movss xmm0, dword [0x102679f8]
mov eax, 0x637c60
cvtps2pd xmm0, xmm0
push 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x100f1a30]
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, dword [0x107e7b78]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x102679f4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x100f1908]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7b4b
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
push 0x57
mov ecx, 0x101b3888
call fcn.10042330
movss xmm0, dword [0x102679f8]
cvtps2pd xmm0, xmm0
push eax
push 3
push 0x4b
addsd xmm0, qword [0x100f1a40]
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [0x102679f4]
add eax, dword [0x107e7b78]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x100f1908]
cvttsd2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004e5b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x10267a30]
cmp eax, dword [0x10267a2c]
jl 0x1004e641
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
or edi, 0xffffffff
call esi
sub eax, dword [0x10267a38]
cmp eax, 0x1f4
jbe 0x1004e5f6
mov edi, 0xff00ffff
call esi
sub eax, dword [0x10267a38]
cmp eax, 0x3e8
jbe 0x1004e5f6
call esi
mov dword [0x10267a38], eax
push 0x58
mov ecx, 0x101b3888
call fcn.10042330
movss xmm0, dword [0x102679f8]
cvtps2pd xmm0, xmm0
push eax
push 3
push 0xbe
addsd xmm0, qword [0x100f1b50]
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [0x102679f4]
add eax, dword [0x107e7b78]
push eax
push edi
push 0x102a22b0
call fcn.1006c9b0
add esp, 0x1c
pop edi
pop esi
ret
Function at 0x1004edc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov eax, 0x861110
push edi
call eax
mov edx, 0x861260
mov ecx, eax
call edx
mov edx, 0x835720
mov ecx, eax
call edx
xor ebx, ebx
mov ecx, 0x83c3c0
nop dword [eax]
push ebx
call ecx
mov esi, eax
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861260
call eax
mov ecx, eax
mov eax, 0x83cbe0
call eax
cmp esi, eax
je 0x1004eecb
push esi
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x861260
call eax
mov ecx, eax
mov eax, 0x835720
call eax
push 0x40
mov esi, eax
mov eax, 0x83c4b0
push ebx
call eax
push eax
mov ecx, esi
mov eax, 0x7da660
call eax
mov esi, eax
test esi, esi
je 0x1004eeb9
movsx eax, word [esi]
cmp eax, dword [ebp + 8]
jne 0x1004eeb9
mov ecx, dword [ebp + 0xc]
test ecx, ecx
js 0x1004ee6d
mov eax, dword [esi + 2]
xor edx, edx
sar eax, 3
and eax, 0xf
cmp ecx, eax
sete dl
jmp 0x1004ee72
mov edx, 1
cmp dword [ebp + 0x10], 0
lea eax, [edx + 1]
jl 0x1004ee8a
mov ecx, dword [esi + 2]
sar ecx, 2
and ecx, 1
cmp ecx, dword [ebp + 0x10]
cmovne eax, edx
cmp dword [ebp + 0x14], 0
lea edx, [eax + 1]
jl 0x1004ee9f
mov ecx, dword [esi + 2]
sar ecx, 7
cmp ecx, dword [ebp + 0x14]
cmovne edx, eax
cmp edx, 3
jb 0x1004eeb9
push dword [ebp + 8]
call fcn.10084d60
test al, al
je 0x1004eeb8
movzx eax, byte [esi + 0x16]
add edi, eax
jmp 0x1004eeb9
inc edi
inc ebx
mov ecx, 0x83c3c0
cmp ebx, 0xcc
jl 0x1004edf0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x1004f800
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x102c71dc], 2
je 0x1004f8be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102a2bd8]
cmp eax, 0x5dc
jb 0x1004f8be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x102a2bdd], 1
mov dword [0x102a2bd8], eax
jne 0x1004f853
mov byte [0x102a2bdd], 0
mov dword [0xe8cb3c], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x102a22b0
call fcn.10071a40
call fcn.1004eee0
mov dword [ebp - 8], 0xf304c1
lea ecx, [ebp - 8]
mov edx, 4
mov dword [0x10886fc8], 0
mov byte [ebp - 5], 0xe7
call fcn.100b5120
mov dword [ebp - 7], 0
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
mov dword [0x10886fc0], 0
mov byte [ebp - 4], 0
call fcn.100b5120
mov byte [0x102a2bdd], 1
mov dword [0xe8cb3c], 1
mov esp, ebp
pop ebp
ret
Function at 0x10052cc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a2c98]
cmp eax, 0x5dc
jb 0x10052d54
cmp byte [0x102a2c9d], 1
jne 0x10052cfb
mov byte [0x102a2c9d], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x107e7d4c]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
mov edx, 6
mov byte [ebp - 3], 0
mov dword [ebp - 8], 0xdbf306c1
mov dword [eax + 0x418], 0x42700000
mov al, byte [0x10887164]
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.100b5120
call esi
mov dword [0x10887168], eax
call esi
mov dword [0x102a2c98], eax
mov byte [0x102a2c9d], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret