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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
test esi, esi
jg 0x10007884
jl 0x1000787b
test edi, edi
jne 0x10007884
xor eax, eax
xor edx, edx
jmp 0x1000794b
cmp dword [ebp + 0x38], 0
je 0x1000789a
push esi
push edi
push dword [esp + 0x18]
call fcn.10007955
jmp 0x1000794b
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100078de
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x100078de
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push ebx
call fcn.10052850
mov eax, dword [ebp + 0x2c]
add ebx, esi
mov dword [esp + 0x20], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x100078e6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
mov ecx, ebx
je 0x10007941
mov ecx, ebp
call fcn.100044c5
mov edx, dword [esp + 0x14]
mov ecx, ebx
jmp 0x10007921
push dword [ebp + 0x4c]
push eax
push 1
push edx
call fcn.100572c0
mov edx, dword [esp + 0x24]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10007951
mov eax, 0xfff
cmp ebx, eax
ja 0x100078fd
test ecx, ecx
je 0x10007941
push dword [ebp + 0x4c]
push ebx
push 1
push edx
call fcn.100572c0
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
sbb esi, 0
mov eax, edi
mov edx, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
sub edi, ebx
jmp 0x10007943

Function at 0x10007a29
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10007a4a
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.10007aff
jmp 0x10007af9
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10007a6d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10007a6f
xor eax, eax
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
test edi, edi
jl 0x10007aea
jg 0x10007a82
test esi, esi
je 0x10007aea
test eax, eax
jl 0x10007acc
jg 0x10007a8c
test ebp, ebp
je 0x10007acc
cmp edi, eax
jg 0x10007a9c
jl 0x10007a96
cmp esi, ebp
jae 0x10007a9c
mov ebp, esi
mov dword [esp + 0x20], edi
push ebp
push dword [esp + 0x20]
push ecx
call fcn.10052850
mov eax, dword [ebx + 0x30]
add esp, 0xc
sub esi, ebp
sbb edi, dword [esp + 0x20]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov eax, dword [esp + 0x1c]
add eax, ebp
test edi, edi
jl 0x10007aea
jg 0x10007ad0
test esi, esi
je 0x10007aea
jmp 0x10007ad0
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x4c], 0
je 0x10007aea
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.10057947
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0xc
Function at 0x10010472
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10077320
call fcn.10050650
sub esp, 0x38
push ebx
push esi
push edi
mov eax, 0x40e4e0
mov esi, ecx
call eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
movzx eax, ax
xor ebx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1000fb68
pop ecx
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [ebp - 4], ebx
mov edi, 0xb7d0b8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov ebx, dword [edi]
test ebx, ebx
je 0x10010572
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x1001051e
mov eax, edi
mov dword [ebp - 0x1c], 0x78
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x1c]
push eax
movzx eax, word [esi + 0x22]
push edx
push eax
push esi
lea eax, [ebp - 0x44]
push str.Entity_0x_08x__with_model__d__at_ARRAY_StreamSectors__d__d__is_invalid_n
push eax
call fcn.1000fd6e
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1001050d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.100045f1
jmp 0x1001055f
mov ecx, dword [0x100da960]
movzx eax, word [esi + 0x22]
push eax
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, word [ebp - 0x18]
jne 0x1001055f
test dword [esi + 0x1c], 0x2400
jne 0x1001055f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [esi + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000fb7f
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x100104ca
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add edi, 4
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp edi, 0xb992b8
jl 0x100104bd
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x100105e8
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x100da960]
mov dword [ebp - 0x1c], ebx
movzx eax, word [ebx + 0x22]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, di
jne 0x100105de
test dword [ebx + 0x1c], 0x2400
jne 0x100105de
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebx + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000fb7f
mov esi, dword [esi + 4]
test esi, esi
jne 0x10010599
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x10010590
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x1001062d
movzx eax, word [esi + 0xe]
push eax
mov eax, 0x4089a0
call eax
movzx eax, word [esi + 0xe]
imul eax, eax, 0x14
pop ecx
lea ecx, [ebp - 0x18]
mov byte [eax + 0x8e4cd0], 0
call fcn.1000e1b7
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x10010602
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.1000fc11
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1001840f
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10076fb8
call fcn.10050650
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10018545
push 0x1007e574
push dword [ebp + 8]
call fcn.1005f566
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10018545
push 0xc
call fcn.1005060c
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10018460
mov ecx, eax
call fcn.1000b61a
mov esi, eax
jmp 0x10018462
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.100572c0
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x10018529
cmp byte [ebp - 0x2b], 0x4f
jne 0x10018529
cmp byte [ebp - 0x2a], 0x4c
jne 0x10018529
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.10050603
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.100572c0
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x100184dc
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100a7178]
add esp, 0xc
jmp 0x10018517
cmp al, 0x32
jne 0x100184f9
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 [0x100a717c]
jmp 0x10018514
cmp al, 0x33
jne 0x10018517
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 [0x100a7180]
add esp, 0x10
push edi
call fcn.1005064a
push ebx
call fcn.10056a31
pop ecx
pop ecx
mov eax, esi
jmp 0x10018547
test esi, esi
je 0x1001853e
mov ecx, esi
call fcn.1000b64c
push 0xc
push esi
call fcn.1005063c
pop ecx
pop ecx
push ebx
call fcn.10056a31
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 0x10029d28
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x10191124]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101620c8]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10029e4e
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 0x10029e44
mov esi, dword [0x101620c4]
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 0x10029dd1
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 0x10029dd1
cmp dword [esp + 0x28], 0x1000
jne 0x10029dd1
test byte [esp + 0x2c], 0xee
je 0x10029dd1
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10029dd1
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029df8
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029df0
xor edi, edi
push esi
push edi
push ebp
call fcn.10052dd0
jmp 0x10029e04
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.10052850
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10029e30
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 0x10029e30
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1004ee5d
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x10029d70
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x101620c8
push esi
call fcn.10050897
cmp dword [0x101620c8], 0xffffffff
pop ecx
jne 0x10029d4f
call fcn.10029e7d
push esi
mov dword [0x101620c4], eax
call fcn.1005084d
pop ecx
jmp 0x10029d4f

Function at 0x10029e7d
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x10191124]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101620c0]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10029fb8
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 0x10029fae
mov esi, dword [0x101620bc]
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 0x10029f46
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 0x10029f46
cmp dword [esp + 0x28], 0x1000
jne 0x10029f46
test byte [esp + 0x2c], 0xcc
je 0x10029f46
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10029f46
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029f65
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029f5d
xor edi, edi
jmp 0x10029f77
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.10052850
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10029fa0
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 0x10029fa0
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1004ee5d
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x10029ee5
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x101620c0
push esi
call fcn.10050897
cmp dword [0x101620c0], 0xffffffff
pop ecx
jne 0x10029ec8
call fcn.10029e7d
push esi
mov dword [0x101620bc], eax
call fcn.1005084d
pop ecx
jmp 0x10029ec8
Function at 0x1003ddb3
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x1003ddef
cmp byte [edx + 1], 0
jne 0x1003dddf
cmp cl, 0x61
jl 0x1003ddd4
cmp cl, 0x7a
jg 0x1003ddd4
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x1003dddf
movsx eax, cl
ret
cmp cl, 0x26
jne 0x1003ddef
lea eax, [edx + 1]
push eax
call fcn.1003de4d
pop ecx
ret
mov eax, dword [0x100d70bc]
xor ecx, ecx
push ebx
push esi
jmp 0x1003de2d
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x1003de1c
test bl, bl
je 0x1003de18
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x1003de1c
add eax, 2
add esi, 2
test bl, bl
jne 0x1003ddfc
xor eax, eax
jmp 0x1003de21
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003de44
mov eax, dword [ecx*8 + 0x100d70c4]
inc ecx
test eax, eax
jne 0x1003ddfa
push edx
push str.Unknown_key:__s
call fcn.1004ee5d
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100d70b8]
jmp 0x1003de41

Function at 0x1003e6b3
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 [0x10080590]
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edx, 1
jne 0x1003e6c0
ret
Function at 0x1004301e
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1004f43f
pop ecx
mov ecx, dword [0x1018b340]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x10043045
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x1018b33c]
mov edx, 0x100
push ebp
push 0x1018b340
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x1018b340], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x10043075
push str.Failed_to_create_sprite_texture_
jmp 0x100430d9
push str.urp.raw
push 0x10190cb8
push str._surp_s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.10007bd6
lea eax, [esp + 0x24]
push 0x1007e574
push eax
call fcn.1005f566
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100430bd
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.1004ee5d
pop ecx
jmp 0x100430de
mov eax, dword [0x1018b340]
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 0x10043102
push str.Failed_to_lock_texture_
call fcn.1004ee5d
pop ecx
mov ecx, dword [0x1018b340]
test ecx, ecx
je 0x100430f5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1018b340], ebp
test esi, esi
je 0x1004316c
push esi
call fcn.10056a31
pop ecx
jmp 0x1004316c
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.100572c0
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 0x10043126
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x1004310b
mov eax, dword [0x1018b340]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10056a31
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x10044a61
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1004f43f
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002a17b
mov ecx, dword [0x10114918]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x4c56e], esi
jne 0x10044c06
test ebx, ebx
je 0x10044c06
mov ecx, dword [0x101836e0]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x10044c06
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10044aca
cmp dword [0x10166f24], esi
jne 0x10044c06
mov eax, dword [0x101836f8]
cmp dword [eax], esi
jne 0x10044c06
push edi
mov edi, 0x20d4
mov eax, dword [0x101836e0]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x10044bf5
mov eax, dword [edi + eax]
test eax, eax
je 0x10044bf5
mov eax, dword [eax + 0x40]
test eax, eax
je 0x10044bf5
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003e641
lea eax, [ebp - 0x10]
push eax
call fcn.1003e737
add esp, 0xc
test eax, eax
jne 0x10044bf5
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003e651
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x1017e0fd]
pop ecx
pop ecx
ja 0x10044bf5
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.100034fa
movss xmm0, dword [0x1007b540]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x10044bf5
mov eax, dword [0x101836e0]
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.10041d03
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x10080dd8]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x1018b494]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.100418a2
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x10044add
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10044d8a
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1004f43f
mov eax, dword [0x10114918]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x4c56e], ebp
jne 0x10044f31
mov eax, dword [0x101836e0]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x10044f31
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002a17b
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10044de6
cmp dword [0x10166f24], ebp
jne 0x10044f30
mov eax, dword [0x101836f8]
cmp dword [eax], ebp
jne 0x10044f30
test ebx, ebx
je 0x10044f30
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x101836e0]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x10044f1e
cmp dword [eax + esi + 0xf008], ebp
je 0x10044f1e
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003e641
lea eax, [esp + 0x1c]
push eax
call fcn.1003e737
add esp, 0xc
test eax, eax
jne 0x10044f1e
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003e651
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x1017e0f5]
pop ecx
pop ecx
ja 0x10044f1e
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.100034fa
movss xmm0, dword [0x1007b540]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x10044f1e
mov eax, dword [0x101836e0]
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.10041d03
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x10080dd8]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x1018b494]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.100418a2
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x10044e01
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

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

Disassembly:
push str.getFPS__
call fcn.1004f43f
inc dword [0x1018b334]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x10190af0]
jbe 0x10046b3e
mov eax, dword [0x1018b334]
movss xmm2, dword [0x1018b328]
movss xmm3, dword [0x1018b32c]
movss xmm0, dword [0x1018b324]
shl eax, 2
and dword [0x1018b334], 0
movss dword [0x1018b32c], xmm2
addss xmm2, xmm3
movss dword [0x1018b330], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x1018b328], xmm0
movss dword [0x1018b324], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x10080d50]
movss dword [0x1018b320], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10190af0], eax
fld dword [0x1018b320]
ret
Function at 0x10046b45
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1004f43f
cmp dword [0x1017e10d], 0
pop ecx
je 0x10046b6c
cmp byte [0xba68a5], 5
jne 0x10046c15
cmp dword [0xba6774], 0
je 0x10046c15
push dword [0x1017e109]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10046c15
cmp dword [0x10190ed4], 0
je 0x10046c15
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x10046c0b
push 0
call fcn.1002a4de
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x10190ed4]
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 [0x10080db8]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002ea19
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x10046ba6
pop edi
pop esi
leave
ret