joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c3eb
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008787e
call fcn.10062ce0
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x1001c521
push 0x1008ac40
push dword [ebp + 8]
call fcn.100697d9
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1001c521
push 0xc
call fcn.10062a93
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1001c43c
mov ecx, eax
call fcn.1000f6ee
mov esi, eax
jmp 0x1001c43e
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x2c]
push 8
pop ecx
push ebx
xor eax, eax
push 1
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.10069b09
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x1001c505
cmp byte [ebp - 0x2b], 0x4f
jne 0x1001c505
cmp byte [ebp - 0x2a], 0x4c
jne 0x1001c505
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.10062a85
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10069b09
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x1001c4b8
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100b7194]
add esp, 0xc
jmp 0x1001c4f3
cmp al, 0x32
jne 0x1001c4d5
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
push edi
call dword [0x100b7198]
jmp 0x1001c4f0
cmp al, 0x33
jne 0x1001c4f3
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
push edi
call dword [0x100b719c]
add esp, 0x10
push edi
call fcn.10062ad1
push ebx
call fcn.100691a1
pop ecx
pop ecx
mov eax, esi
jmp 0x1001c523
test esi, esi
je 0x1001c51a
mov ecx, esi
call fcn.1000f720
push 0xc
push esi
call fcn.10062ac3
pop ecx
pop ecx
push ebx
call fcn.100691a1
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1002d97b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1043c80c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101a7a28]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1002daa1
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 0x1002da97
mov esi, dword [0x101a7a24]
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 0x1002da24
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 0x1002da24
cmp dword [esp + 0x28], 0x1000
jne 0x1002da24
test byte [esp + 0x2c], 0xee
je 0x1002da24
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002da24
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002da4b
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002da43
xor edi, edi
push esi
push edi
push ebp
call main
jmp 0x1002da57
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.10064e80
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002da83
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 0x1002da83
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.10060e10
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x1002d9c3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x101a7a28
push esi
call fcn.10062c09
cmp dword [0x101a7a28], 0xffffffff
pop ecx
jne 0x1002d9a2
call fcn.1002dad0
push esi
mov dword [0x101a7a24], eax
call fcn.10062bbf
pop ecx
jmp 0x1002d9a2

Function at 0x1002dad0
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1043c80c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101a7a20]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1002dc0b
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 0x1002dc01
mov esi, dword [0x101a7a1c]
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 0x1002db99
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 0x1002db99
cmp dword [esp + 0x28], 0x1000
jne 0x1002db99
test byte [esp + 0x2c], 0xcc
je 0x1002db99
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002db99
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002dbb8
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002dbb0
xor edi, edi
jmp 0x1002dbca
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.10064e80
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002dbf3
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 0x1002dbf3
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.10060e10
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x1002db38
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x101a7a20
push esi
call fcn.10062c09
cmp dword [0x101a7a20], 0xffffffff
pop ecx
jne 0x1002db1b
call fcn.1002dad0
push esi
mov dword [0x101a7a1c], eax
call fcn.10062bbf
pop ecx
jmp 0x1002db1b
Function at 0x10041aba
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x10041af6
cmp byte [edx + 1], 0
jne 0x10041ae6
cmp cl, 0x61
jl 0x10041adb
cmp cl, 0x7a
jg 0x10041adb
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x10041ae6
movsx eax, cl
ret
cmp cl, 0x26
jne 0x10041af6
lea eax, [edx + 1]
push eax
call fcn.10041b54
pop ecx
ret
mov eax, dword [0x100e6e6c]
xor ecx, ecx
push ebx
push esi
jmp 0x10041b34
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x10041b23
test bl, bl
je 0x10041b1f
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x10041b23
add eax, 2
add esi, 2
test bl, bl
jne 0x10041b03
xor eax, eax
jmp 0x10041b28
sbb eax, eax
or eax, 1
test eax, eax
je 0x10041b4b
mov eax, dword [ecx*8 + 0x100e6e74]
inc ecx
test eax, eax
jne 0x10041b01
push edx
push str.Unknown_key:__s
call fcn.10060e10
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100e6e68]
jmp 0x10041b48

Function at 0x100423f3
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 [0x10090740]
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edx, 1
jne 0x10042400
ret

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

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xc8
cmp dword [0x1042e82c], eax
jae 0x10043591
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1042e82c], eax
ret
Function at 0x10044191
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov edi, dword [ebx + 4]
sub edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
push 0
push 0xf4240
push eax
push ecx
call fcn.10062e90
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.10062d00
push eax
call fcn.100716bb
pop ecx
call fcn.1007169a
cdq
mov ecx, 0x7fff
idiv ecx
mov ecx, eax
mov eax, dword [ebx]
imul ecx, edi
pop edi
pop ebx
add eax, ecx
leave
ret
Function at 0x10047ad4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1008976b
call fcn.10062ce0
mov eax, dword [0x10163938]
sub esp, 0x11c
cmp byte [eax + 0xcf0f], 0
je 0x10047cf5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1043c228]
cmp eax, 0x3e8
jbe 0x10047b19
inc dword [0x1043c224]
call esi
mov dword [0x1043c228], eax
cmp dword [0x1043c224], 0xd
jle 0x10047cf4
push ebx
push edi
push str._baliktut
call fcn.10045678
pop ecx
lea ecx, [ebp - 0x128]
call fcn.100015fd
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
xor ebx, ebx
lea ecx, [ebp - 0x128]
inc ebx
push ebx
push 0x20
pop edi
push edi
push eax
mov dword [ebp - 0x10], ebx
call fcn.10001873
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push ebx
push edi
push eax
lea ecx, [ebp - 0x128]
call fcn.10001873
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x48c8
push eax
lea ecx, [ebp - 0x128]
call fcn.10001873
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.10001873
movsd xmm0, qword [0x1009db20]
lea eax, [ebp - 0x14]
push ebx
push 0x40
pop esi
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
movsd xmm0, qword [0x1009db00]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
push ebx
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push esi
movsd qword [ebp - 0x14], xmm0
push eax
lea ecx, [ebp - 0x128]
call fcn.10001873
push ebx
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
movsd xmm0, qword [0x1008b6f0]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
movsd xmm0, qword [0x1008b6f0]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
movsd xmm0, qword [0x1008b6f0]
lea eax, [ebp - 0x14]
push ebx
push esi
push eax
lea ecx, [ebp - 0x128]
movsd qword [ebp - 0x14], xmm0
call fcn.10001873
push ebx
push edi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x10], esi
call fcn.10001873
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea ecx, [ebp - 0x128]
call fcn.10001873
mov ecx, dword [0x1042ec54]
lea eax, [ebp - 0x128]
push esi
push esi
push 9
push ebx
push eax
push 0x74
call fcn.10043971
lea ecx, [ebp - 0x128]
mov dword [0x1043c224], esi
call fcn.10001618
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x1004809f
Capabilities:
Log keystrokes via polling

Disassembly:
call fcn.1002e16d
test eax, eax
jne 0x1004824d
cmp dword [0x1043c4b0], eax
je 0x1004824d
cmp dword [0x1042ec70], eax
je 0x1004824d
cmp dword [0x1042ec74], eax
je 0x1004824d
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x100480ed
cmp dword [0x104124ac], 0
jne 0x1004824c
mov eax, dword [0x1042ec88]
cmp dword [eax], 0
jne 0x1004824c
push 0x79
call esi
test ax, ax
js 0x1004824c
cmp dword [0x1043c4c4], 0
je 0x1004824c
push dword [0x1043c4cc]
call fcn.1002e411
pop ecx
test eax, eax
jne 0x1004824c
call fcn.1002e16d
test eax, eax
jne 0x1004824c
cmp dword [0x1043c4b0], eax
je 0x1004824c
cmp dword [0x1042ec70], eax
je 0x1004824c
cmp dword [0x1042ec74], eax
je 0x1004824c
push 9
call esi
test ax, ax
jns 0x10048170
cmp dword [0x104124ac], 0
jne 0x1004824c
mov eax, dword [0x1042ec88]
cmp dword [eax], 0
jne 0x1004824c
push 0x79
call esi
test ax, ax
js 0x1004824c
cmp dword [0x1043c4c4], 0
je 0x1004824c
push dword [0x1043c4cc]
call fcn.1002e411
pop ecx
test eax, eax
jne 0x1004824c
mov ecx, dword [0x10163938]
mov esi, dword [ecx + 0xcf43]
test esi, esi
je 0x1004824c
mov ecx, dword [ecx + 0xcf25]
mov eax, dword [0x1042ec74]
push ebx
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
cvttss2si ebx, dword [eax + 0x1b0]
jle 0x1004824b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x1043c268]
jbe 0x1004824b
mov eax, dword [0x10163938]
dec dword [eax + 0xcf43]
cmp esi, 1
jne 0x1004824b
mov eax, dword [0x10163938]
cmp ebx, dword [eax + 0xcf31]
jne 0x1004824b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x12c
mov dword [0x1043c268], eax
mov eax, dword [0x1042ec74]
push 9
mov eax, dword [eax + 0x1e]
movzx eax, byte [eax + 0x18d]
push eax
call fcn.10043faf
mov eax, dword [0x10163938]
push ecx
mov ecx, dword [0x1042ec54]
fstp dword [esp]
movzx eax, word [eax + 0xcf25]
push eax
call fcn.100439aa
pop ebx
pop esi
ret
Function at 0x10049046
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.100613f2
pop ecx
mov ecx, dword [0x10436910]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x1004906d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x1043690c]
mov edx, 0x100
push ebp
push 0x10436910
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x10436910], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x1004909d
push str.Failed_to_create_sprite_texture_
jmp 0x10049101
push str.western.raw
push 0x1043c2a8
push str._swestern_s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.1000bc2f
lea eax, [esp + 0x24]
push 0x1008ac40
push eax
call fcn.100697d9
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100490e5
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.10060e10
pop ecx
jmp 0x10049106
mov eax, dword [0x10436910]
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 0x1004912a
push str.Failed_to_lock_texture_
call fcn.10060e10
pop ecx
mov ecx, dword [0x10436910]
test ecx, ecx
je 0x1004911d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10436910], ebp
test esi, esi
je 0x10049194
push esi
call fcn.100691a1
pop ecx
jmp 0x10049194
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.10069b09
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 0x1004914e
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x10049133
mov eax, dword [0x10436910]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.100691a1
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x1004b367
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.100613f2
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002ddce
mov ecx, dword [0x10163938]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0xce73], esi
jne 0x1004b50c
test ebx, ebx
je 0x1004b50c
mov ecx, dword [0x1042ec70]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x1004b50c
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1004b3d0
cmp dword [0x104124ac], esi
jne 0x1004b50c
mov eax, dword [0x1042ec88]
cmp dword [eax], esi
jne 0x1004b50c
push edi
mov edi, 0x20d4
mov eax, dword [0x1042ec70]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x1004b4fb
mov eax, dword [edi + eax]
test eax, eax
je 0x1004b4fb
mov eax, dword [eax + 0x40]
test eax, eax
je 0x1004b4fb
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.10042381
lea eax, [ebp - 0x10]
push eax
call fcn.10042477
add esp, 0xc
test eax, eax
jne 0x1004b4fb
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10042391
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10429678]
pop ecx
pop ecx
ja 0x1004b4fb
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.10004311
movss xmm0, dword [0x1008b6e8]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x1004b4fb
mov eax, dword [0x1042ec70]
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.100479ca
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x1008b6f8]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x10436a24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.10047652
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x1004b3e3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004b690
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.100613f2
mov eax, dword [0x10163938]
xor ebp, ebp
pop ecx
cmp dword [eax + 0xce73], ebp
jne 0x1004b837
mov eax, dword [0x1042ec70]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004b837
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002ddce
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1004b6ec
cmp dword [0x104124ac], ebp
jne 0x1004b836
mov eax, dword [0x1042ec88]
cmp dword [eax], ebp
jne 0x1004b836
test ebx, ebx
je 0x1004b836
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x1042ec70]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x1004b824
cmp dword [eax + esi + 0xf008], ebp
je 0x1004b824
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.10042381
lea eax, [esp + 0x1c]
push eax
call fcn.10042477
add esp, 0xc
test eax, eax
jne 0x1004b824
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10042391
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10429670]
pop ecx
pop ecx
ja 0x1004b824
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.10004311
movss xmm0, dword [0x1008b6e8]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1004b824
mov eax, dword [0x1042ec70]
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.100479ca
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1008b6f8]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x10436a24]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.10047652
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x1004b707
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

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

Disassembly:
push str.getFPS__
call fcn.100613f2
inc dword [0x104368c4]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x10436a44]
jbe 0x1004d330
mov eax, dword [0x104368c4]
movss xmm2, dword [0x104368b8]
movss xmm3, dword [0x104368bc]
movss xmm0, dword [0x104368b4]
shl eax, 2
and dword [0x104368c4], 0
movss dword [0x104368bc], xmm2
addss xmm2, xmm3
movss dword [0x104368c0], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x104368b8], xmm0
movss dword [0x104368b4], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x10090e88]
movss dword [0x104368b0], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10436a44], eax
fld dword [0x104368b0]
ret
Function at 0x1004d3e7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.100613f2
cmp dword [0x10429688], 0
pop ecx
je 0x1004d40e
cmp byte [0xba68a5], 5
jne 0x1004d4b7
cmp dword [0xba6774], 0
je 0x1004d4b7
push dword [0x10429684]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x1004d4b7
cmp dword [0x1043c4c4], 0
je 0x1004d4b7
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x1004d4ad
push 0
call fcn.1002e131
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1043c4c4]
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 [0x10090ef0]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1003264b
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x1004d448
pop edi
pop esi
leave
ret
Function at 0x10059d59
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10163938]
sub eax, dword [ecx + 0x15aa]
cmp eax, 0x3e8
jbe 0x10059d90
inc dword [ecx + 0x15a6]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10163938]
mov dword [ecx + 0x15aa], eax
mov ecx, dword [0x10163938]
cmp dword [ecx + 0x15a6], 2
jle 0x10059dac
mov byte [ecx + 0x15a4], 0
mov eax, dword [0x10163938]
and dword [eax + 0x15a6], 0
ret