joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028d3b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1018a7a8]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10154d48]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10028e61
mov ebp, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x10], 0
inc edi
and dword [esp + 0x38], 0
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
test ecx, ecx
je 0x10028e57
mov esi, dword [0x10154d44]
xor edx, edx
mov eax, ebx
mov dword [esp + 0x3c], 1
div esi
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
test ebx, ebx
je 0x10028de4
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10028de4
cmp dword [esp + 0x28], 0x1000
jne 0x10028de4
test byte [esp + 0x2c], 0xee
je 0x10028de4
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10028de4
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10028e0b
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10028e03
xor edi, edi
push esi
push edi
push ebp
call fcn.10050e60
jmp 0x10028e17
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.100508e0
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10028e43
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10028e43
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1004cc11
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x10028d83
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10154d48
push esi
call fcn.1004e859
cmp dword [0x10154d48], 0xffffffff
pop ecx
jne 0x10028d62
call fcn.10028e90
push esi
mov dword [0x10154d44], eax
call fcn.1004e80f
pop ecx
jmp 0x10028d62

Function at 0x10028e90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100d1410]
sub esp, 0x24
cmp eax, 0xffffffff
jne 0x10028eb2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x100d1410], eax
leave
ret
Function at 0x10028eb4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1018a7a8]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10154d40]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10028fcb
mov ebx, dword [esp + 0x38]
xor edi, edi
and dword [esp + 0x10], 0
inc edi
and dword [esp + 0x38], 0
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x10028fc1
mov esi, dword [0x10154d3c]
xor edx, edx
mov eax, ebx
mov dword [esp + 0x40], 1
div esi
sub esi, edx
cmp ebp, esi
cmovle esi, ebp
test ebx, ebx
je 0x10028f59
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10028f59
cmp dword [esp + 0x28], 0x1000
jne 0x10028f59
test byte [esp + 0x2c], 0xcc
je 0x10028f59
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10028f59
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10028f78
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10028f70
xor edi, edi
jmp 0x10028f8a
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.100508e0
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10028fb3
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10028fb3
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1004cc11
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x10028ef8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10154d40
push esi
call fcn.1004e859
cmp dword [0x10154d40], 0xffffffff
pop ecx
jne 0x10028edb
call fcn.10028e90
push esi
mov dword [0x10154d3c], eax
call fcn.1004e80f
pop ecx
jmp 0x10028edb
Function at 0x1003c1ce
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x1003c20a
cmp byte [edx + 1], 0
jne 0x1003c1fa
cmp cl, 0x61
jl 0x1003c1ef
cmp cl, 0x7a
jg 0x1003c1ef
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x1003c1fa
movsx eax, cl
ret
cmp cl, 0x26
jne 0x1003c20a
lea eax, [edx + 1]
push eax
call fcn.1003c268
pop ecx
ret
mov eax, dword [str.lbutton]
xor ecx, ecx
push ebx
push esi
jmp 0x1003c248
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x1003c237
test bl, bl
je 0x1003c233
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x1003c237
add eax, 2
add esi, 2
test bl, bl
jne 0x1003c217
xor eax, eax
jmp 0x1003c23c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003c25f
mov eax, dword [ecx*8 + 0x100d3e64]
inc ecx
test eax, eax
jne 0x1003c215
push edx
push str.Unknown_key:__s
call fcn.1004cc11
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100d3e58]
jmp 0x1003c25c

Function at 0x1003cafd
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
sub ecx, eax
push 3
pop edx
movss xmm0, dword [ecx + eax]
xorps xmm0, xmmword [0x1007ce60]
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edx, 1
jne 0x1003cb0a
ret
Function at 0x10040a0e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100764af
call fcn.1004e6c4
sub esp, 0x2d8
cmp dword [0x10176338], 0
je 0x10040be5
call fcn.1002952d
test eax, eax
jne 0x10040be5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1018a290]
add ecx, 0x3e8
cmp eax, ecx
jbe 0x10040be5
push 1
lea ecx, [ebp - 0xe4]
call fcn.10002790
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push str.enemylist.ini
push 0x1018a2d0
push str._s_bookmano_sa___s
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.10006e35
add esp, 0x14
lea eax, [ebp - 0x2e4]
lea ecx, [ebp - 0xe4]
push 0x40
push 1
push eax
call fcn.10005dd6
mov eax, dword [0x101503cc]
push 0x3ec
add eax, 0xabe
push 0
push eax
call fcn.10050e60
and dword [0x1018a28c], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10001d4a
add esp, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10040b8d
push esi
push edi
mov ecx, dword [0x10176338]
xor esi, esi
movzx eax, word [ecx]
cmp eax, esi
je 0x10040b4b
cmp dword [ecx + esi*4 + 0x26], 0
je 0x10040b4b
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
call fcn.1003d762
pop ecx
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x10040b3c
test cl, cl
je 0x10040b38
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x10040b3c
add edi, 2
add eax, 2
test cl, cl
jne 0x10040b1c
xor eax, eax
jmp 0x10040b41
sbb eax, eax
or eax, 1
test eax, eax
je 0x10040b56
mov ecx, dword [0x10176338]
inc esi
cmp esi, 0x3ec
jl 0x10040afc
jmp 0x10040b69
mov eax, dword [0x101503cc]
inc dword [0x1018a28c]
mov byte [eax + esi + 0xabe], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10001d4a
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10040af4
pop edi
pop esi
lea ecx, [ebp - 0xe4]
call fcn.10004929
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1018a290], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10040bda
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x10040bd1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10003f4a
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1004e713
pop ecx
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.10003151
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x10040d2e
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100764af
call fcn.1004e6c4
sub esp, 0x2d8
cmp dword [0x10176338], 0
je 0x10040f05
call fcn.1002952d
test eax, eax
jne 0x10040f05
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1018a288]
add ecx, 0x3e8
cmp eax, ecx
jbe 0x10040f05
push 1
lea ecx, [ebp - 0xe4]
call fcn.10002790
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push str.friends.ini
push 0x1018a2d0
push str._s_bookmano_sa___s
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.10006e35
add esp, 0x14
lea eax, [ebp - 0x2e4]
lea ecx, [ebp - 0xe4]
push 0x40
push 1
push eax
call fcn.10005dd6
mov eax, dword [0x101503cc]
push 0x3ec
add eax, 0x6d2
push 0
push eax
call fcn.10050e60
and dword [0x1018a284], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10001d4a
add esp, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10040ead
push esi
push edi
mov ecx, dword [0x10176338]
xor esi, esi
movzx eax, word [ecx]
cmp eax, esi
je 0x10040e6b
cmp dword [ecx + esi*4 + 0x26], 0
je 0x10040e6b
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
call fcn.1003d762
pop ecx
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x10040e5c
test cl, cl
je 0x10040e58
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x10040e5c
add edi, 2
add eax, 2
test cl, cl
jne 0x10040e3c
xor eax, eax
jmp 0x10040e61
sbb eax, eax
or eax, 1
test eax, eax
je 0x10040e76
mov ecx, dword [0x10176338]
inc esi
cmp esi, 0x3ec
jl 0x10040e1c
jmp 0x10040e89
mov eax, dword [0x101503cc]
inc dword [0x1018a284]
mov byte [eax + esi + 0x6d2], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10001d4a
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10040e14
pop edi
pop esi
lea ecx, [ebp - 0xe4]
call fcn.10004929
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1018a288], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10040efa
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x10040ef1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10003f4a
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1004e713
pop ecx
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.10003151
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x100413c8
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1004cf6e
pop ecx
mov ecx, dword [0x1017df74]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x100413ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x1017df70]
mov edx, 0x100
push ebp
push 0x1017df74
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x1017df74], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x1004141f
push str.Failed_to_create_sprite_texture_
jmp 0x10041483
push str.bookmano.raw
push 0x1018a2d0
push str._s_bookmano_sa___s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.10006e35
lea eax, [esp + 0x24]
push 0x1007ae24
push eax
call fcn.1005c586
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x10041467
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.1004cc11
pop ecx
jmp 0x10041488
mov eax, dword [0x1017df74]
lea edx, [esp + 8]
push ebp
push ebp
push edx
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x4c]
test eax, eax
jns 0x100414ac
push str.Failed_to_lock_texture_
call fcn.1004cc11
pop ecx
mov ecx, dword [0x1017df74]
test ecx, ecx
je 0x1004149f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1017df74], ebp
test esi, esi
je 0x10041516
push esi
call fcn.10054ddf
pop ecx
jmp 0x10041516
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0x78
pop ebx
push esi
push 1
lea eax, [esp + 0x124]
push 0xf0
push eax
call fcn.1005569b
add esp, 0x10
lea edx, [edi + 2]
mov cl, byte [esp + ebp + 0x11c]
mov al, cl
shl cl, 5
and al, 0xf8
mov byte [edx + 1], cl
inc ebp
mov byte [edx - 2], al
mov byte [edx - 1], al
mov byte [edx], al
lea edx, [edx + 4]
cmp ebp, 0xf0
jl 0x100414d0
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x100414b5
mov eax, dword [0x1017df74]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10054ddf
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x10041538
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.1002952d
test eax, eax
jne 0x10041798
cmp dword [0x1018a4d8], eax
je 0x10041798
cmp dword [0x10176334], eax
je 0x10041798
cmp dword [0x10176338], eax
je 0x10041798
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x1004158c
cmp dword [0x10159ba7], 0
jne 0x10041797
mov eax, dword [0x1017634c]
cmp dword [eax], 0
jne 0x10041797
push 0x79
call esi
test ax, ax
js 0x10041797
cmp dword [0x1018a4ec], 0
je 0x10041797
push dword [0x1018a4f4]
call fcn.100297d1
pop ecx
test eax, eax
jne 0x10041797
mov eax, dword [0x101503cc]
push dword [eax + 0x2d4]
call fcn.1003d69d
push 0
push 0xffffffffffffffff
mov esi, eax
call fcn.1002918e
add esp, 0xc
test esi, esi
je 0x10041797
cmp eax, esi
je 0x10041797
mov ecx, dword [0x1018a4ec]
push edi
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov edi, eax
test edi, edi
je 0x10041796
xorps xmm1, xmm1
xorps xmm4, xmm4
xorps xmm5, xmm5
movss dword [ebp - 0x10], xmm1
xorps xmm2, xmm2
movss dword [ebp - 0xc], xmm4
xor esi, esi
movss dword [ebp - 8], xmm5
movss dword [ebp - 4], xmm2
inc esi
cmp esi, 1
jl 0x10041640
cmp esi, 8
jle 0x1004166a
cmp esi, 0x15
jl 0x1004164a
cmp esi, 0x1a
jle 0x1004166a
cmp esi, 0x1f
jl 0x10041654
cmp esi, 0x24
jle 0x1004166a
cmp esi, 0x29
jl 0x1004165e
cmp esi, 0x2c
jle 0x1004166a
lea eax, [esi - 0x33]
cmp eax, 3
ja 0x10041748
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push ecx
push esi
mov ecx, edi
call dword [eax + 0x74]
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x18]
push eax
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x28]
movss xmm0, dword [ebp - 0x14]
push eax
movss dword [ebp - 0x20], xmm0
call fcn.10040374
movss xmm0, dword [0x10077e18]
comiss xmm0, dword [ebp - 0x2c]
pop ecx
pop ecx
ja 0x10041796
movss xmm1, dword [ebp - 0x10]
xorps xmm3, xmm3
movss xmm6, dword [ebp - 0x30]
movss xmm7, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0xc]
movss xmm5, dword [ebp - 8]
movss xmm2, dword [ebp - 4]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x10041712
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jp 0x10041712
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x10041712
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x10041712
movaps xmm1, xmm6
movaps xmm2, xmm7
movaps xmm4, xmm1
movaps xmm5, xmm2
movaps xmm0, xmm6
minss xmm6, xmm4
maxss xmm0, xmm1
movaps xmm4, xmm6
movaps xmm1, xmm0
movss dword [ebp - 0xc], xmm4
movaps xmm0, xmm7
movss dword [ebp - 0x10], xmm1
maxss xmm0, xmm2
minss xmm7, xmm5
movaps xmm2, xmm0
movaps xmm5, xmm7
movss dword [ebp - 4], xmm2
movss dword [ebp - 8], xmm5
inc esi
cmp esi, 0x36
jle 0x10041636
mov ecx, dword [0x1017e0c8]
subss xmm1, xmm4
subss xmm2, xmm5
push 0
push 0xbe6f25ff
sub esp, 0x10
addss xmm1, dword [0x10084ef4]
addss xmm2, dword [0x10084ef4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm4
movss dword [esp], xmm5
call fcn.1003e80e
pop edi
pop esi
leave
ret
Function at 0x10042f7f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1004cf6e
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002918e
mov ecx, dword [0x101503cc]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x3346], esi
jne 0x10043124
test ebx, ebx
je 0x10043124
mov ecx, dword [0x10176334]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x10043124
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10042fe8
cmp dword [0x10159ba7], esi
jne 0x10043124
mov eax, dword [0x1017634c]
cmp dword [eax], esi
jne 0x10043124
push edi
mov edi, 0x20d4
mov eax, dword [0x10176334]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x10043113
mov eax, dword [edi + eax]
test eax, eax
je 0x10043113
mov eax, dword [eax + 0x40]
test eax, eax
je 0x10043113
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003ca8b
lea eax, [ebp - 0x10]
push eax
call fcn.1003cb81
add esp, 0xc
test eax, eax
jne 0x10043113
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003ca9b
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10170d73]
pop ecx
pop ecx
ja 0x10043113
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
push eax
movss dword [ebp - 0x18], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 8]
push eax
movss dword [ebp - 0x14], xmm0
call fcn.10040374
movss xmm0, dword [0x10077e18]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x10043113
mov eax, dword [0x10176334]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0x40]
movzx eax, word [eax + 0x22]
push eax
push esi
push str.Object:__d__ModelID:__d
lea eax, [ebp - 0x48]
push 0x1f
push eax
call fcn.1004024d
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x1007d668]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x1017e0d4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.1003fe78
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x10042ffb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100432a8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1004cf6e
mov eax, dword [0x101503cc]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x3346], ebp
jne 0x1004344f
mov eax, dword [0x10176334]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004344f
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002918e
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10043304
cmp dword [0x10159ba7], ebp
jne 0x1004344e
mov eax, dword [0x1017634c]
cmp dword [eax], ebp
jne 0x1004344e
test ebx, ebx
je 0x1004344e
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x10176334]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x1004343c
cmp dword [eax + esi + 0xf008], ebp
je 0x1004343c
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003ca8b
lea eax, [esp + 0x1c]
push eax
call fcn.1003cb81
add esp, 0xc
test eax, eax
jne 0x1004343c
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003ca9b
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10170d6b]
pop ecx
pop ecx
ja 0x1004343c
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.10040374
movss xmm0, dword [0x10077e18]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1004343c
mov eax, dword [0x10176334]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
push dword [eax + esi + 0xf004]
lea eax, [esp + 0x3c]
push edi
push str.Pickup:__d__ModelID:__d
push 0x1f
push eax
call fcn.1004024d
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1007d668]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x1017e0d4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.1003fe78
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x1004331f
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret
Function at 0x10049816
Capabilities:
Check for time delay via gettickcount

Disassembly:
push str.getFPS__
call fcn.1004cf6e
inc dword [0x1017e06c]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x1017e0ec]
jbe 0x100498af
mov eax, dword [0x1017e06c]
movss xmm2, dword [0x1017e060]
movss xmm3, dword [0x1017e064]
movss xmm0, dword [0x1017e05c]
shl eax, 2
and dword [0x1017e06c], 0
movss dword [0x1017e064], xmm2
addss xmm2, xmm3
movss dword [0x1017e068], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x1017e060], xmm0
movss dword [0x1017e05c], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1007d5e0]
movss dword [0x1017e058], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1017e0ec], eax
fld dword [0x1017e058]
ret

Function at 0x100498b6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1004cf6e
cmp dword [0x10170d83], 0
pop ecx
je 0x100498dd
cmp byte [0xba68a5], 5
jne 0x10049986
cmp dword [0xba6774], 0
je 0x10049986
push dword [0x10170d7f]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10049986
cmp dword [0x1018a4ec], 0
je 0x10049986
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x1004997c
push 0
call fcn.100294f1
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1018a4ec]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 8], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 8]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call dword [edx + 0x18]
fadd dword [0x1007d648]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002da20
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x10049917
pop edi
pop esi
leave
ret