joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010671
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10081031
call fcn.1005e3b0
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.1000fd67
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 0x10010771
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x1001071d
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.1000ff6d
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1001070c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.10004637
jmp 0x1001075e
mov ecx, dword [0x100e70bc]
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 0x1001075e
test dword [esi + 0x1c], 0x2400
jne 0x1001075e
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.1000fd7e
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x100106c9
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 0x100106bc
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x100107e7
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x100e70bc]
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 0x100107dd
test dword [ebx + 0x1c], 0x2400
jne 0x100107dd
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.1000fd7e
mov esi, dword [esi + 4]
test esi, esi
jne 0x10010798
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x1001078f
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x1001082c
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.1000e3b6
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x10010801
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.1000fe10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1001860e
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10080cc9
call fcn.1005e3b0
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10018744
push 0x10088184
push dword [ebp + 8]
call fcn.1006afb6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10018744
push 0xc
call fcn.1005de4a
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1001865f
mov ecx, eax
call fcn.1000b819
mov esi, eax
jmp 0x10018661
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.10064c75
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x10018728
cmp byte [ebp - 0x2b], 0x4f
jne 0x10018728
cmp byte [ebp - 0x2a], 0x4c
jne 0x10018728
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.1005de3c
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10064c75
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x100186db
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100b3238]
add esp, 0xc
jmp 0x10018716
cmp al, 0x32
jne 0x100186f8
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 [0x100b323c]
jmp 0x10018713
cmp al, 0x33
jne 0x10018716
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 [0x100b3240]
add esp, 0x10
push edi
call fcn.1005de88
push ebx
call fcn.10064291
pop ecx
pop ecx
mov eax, esi
jmp 0x10018746
test esi, esi
je 0x1001873d
mov ecx, esi
call fcn.1000b84b
push 0xc
push esi
call fcn.1005de7a
pop ecx
pop ecx
push ebx
call fcn.10064291
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 0x10029d65
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1016be8c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10134bd8]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10029e8b
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 0x10029e81
mov esi, dword [0x10134bd4]
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 0x10029e0e
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 0x10029e0e
cmp dword [esp + 0x28], 0x1000
jne 0x10029e0e
test byte [esp + 0x2c], 0xee
je 0x10029e0e
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10029e0e
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029e35
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029e2d
xor edi, edi
push esi
push edi
push ebp
call fcn.10060630
jmp 0x10029e41
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.100600b0
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10029e6d
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 0x10029e6d
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1005c7aa
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x10029dad
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10134bd8
push esi
call fcn.1005e2da
cmp dword [0x10134bd8], 0xffffffff
pop ecx
jne 0x10029d8c
call fcn.10029eba
push esi
mov dword [0x10134bd4], eax
call fcn.1005e290
pop ecx
jmp 0x10029d8c

Function at 0x10029eba
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1016be8c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10134bd0]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10029ff5
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 0x10029feb
mov esi, dword [0x10134bcc]
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 0x10029f83
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 0x10029f83
cmp dword [esp + 0x28], 0x1000
jne 0x10029f83
test byte [esp + 0x2c], 0xcc
je 0x10029f83
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10029f83
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029fa2
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029f9a
xor edi, edi
jmp 0x10029fb4
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.100600b0
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10029fdd
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 0x10029fdd
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1005c7aa
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x10029f22
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10134bd0
push esi
call fcn.1005e2da
cmp dword [0x10134bd0], 0xffffffff
pop ecx
jne 0x10029f05
call fcn.10029eba
push esi
mov dword [0x10134bcc], eax
call fcn.1005e290
pop ecx
jmp 0x10029f05
Function at 0x1003ce19
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x10082a82
call fcn.1005e3b0
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [edi + 8]
mov dword [ebp - 4], ebx
call fcn.1003cddd
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x30]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [ebp + 0x3c]
push 4
push ecx
push 2
push eax
mov dword [edi], eax
call esi
push 4
lea eax, [ebp + 0x3c]
push eax
push 5
push dword [edi]
call esi
push 4
lea eax, [ebp + 0x3c]
push eax
push 6
push dword [edi]
call esi
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [edi]
call dword [sym.imp.WININET.dll_InternetConnectA]
lea ecx, [ebp + 8]
mov dword [edi + 4], eax
call fcn.10029c93
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x38

Function at 0x1003cf21
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, 0x10082a9b
call fcn.1005e3b0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov bh, 1
mov dword [ebp - 0x14], ecx
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003cdb1
pop ecx
pop ecx
mov esi, dword [eax]
and dword [eax], 0
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x1003cf63
push dword [ebp - 0x10]
call fcn.1005de88
pop ecx
and dword [ebp + 0xc], 0
jmp 0x1003cf89
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1003cfa1
mov ecx, dword [ebp - 0x14]
mov byte [esi + eax], 0
push dword [ebp + 0xc]
push esi
lea ecx, [ecx + 8]
call fcn.1003cec4
mov bh, al
test bh, bh
je 0x1003cfa1
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne bl
test eax, eax
jne 0x1003cf69
and bl, bh
test esi, esi
je 0x1003cfae
push esi
call fcn.1005de88
pop ecx
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10040296
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x100402d2
cmp byte [edx + 1], 0
jne 0x100402c2
cmp cl, 0x61
jl 0x100402b7
cmp cl, 0x7a
jg 0x100402b7
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x100402c2
movsx eax, cl
ret
cmp cl, 0x26
jne 0x100402d2
lea eax, [edx + 1]
push eax
call fcn.10040330
pop ecx
ret
mov eax, dword [str.lbutton]
xor ecx, ecx
push ebx
push esi
jmp 0x10040310
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x100402ff
test bl, bl
je 0x100402fb
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x100402ff
add eax, 2
add esi, 2
test bl, bl
jne 0x100402df
xor eax, eax
jmp 0x10040304
sbb eax, eax
or eax, 1
test eax, eax
je 0x10040327
mov eax, dword [ecx*8 + 0x100e325c]
inc ecx
test eax, eax
jne 0x100402dd
push edx
push str.Unknown_key:__s
call fcn.1005c7aa
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100e3250]
jmp 0x10040324

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

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1005cbc3
pop ecx
mov ecx, dword [0x10165fdc]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x10045926
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x1016611c]
mov edx, 0x100
push ebp
push 0x10165fdc
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x10165fdc], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x10045984
push str.Failed_to_create_sprite_texture_
call fcn.1005c7aa
pop ecx
mov ecx, dword [0x10165fdc]
test ecx, ecx
je 0x10045970
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10165fdc], ebp
test esi, esi
je 0x1004597b
push esi
call fcn.10064291
pop ecx
pop esi
pop ebp
add esp, 0x1fc
ret
push str.karaambar.raw
push 0x1016b9c0
push str._skaraambar_s
lea eax, [esp + 0x10c]
push 0x104
push eax
call fcn.100073eb
lea eax, [esp + 0x114]
push 0x10088184
push eax
call fcn.1006afb6
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x1004595a
mov ecx, dword [0x10165fdc]
lea eax, [esp + 8]
push ebp
push ebp
push eax
mov edx, dword [ecx]
push ebp
push ecx
call dword [edx + 0x4c]
test eax, eax
jns 0x100459e2
push str.Failed_to_lock_texture_
jmp 0x10045954
push ebx
push edi
mov edi, dword [esp + 0x14]
push 0x78
pop ebx
push esi
push 1
lea eax, [esp + 0x20]
push 0xf0
push eax
call fcn.10064c75
add esp, 0x10
lea edx, [edi + 2]
mov cl, byte [esp + ebp + 0x18]
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 0x10045a03
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x100459eb
mov eax, dword [0x10165fdc]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10064291
pop ecx
pop edi
pop ebx
jmp 0x1004597b
Function at 0x1004733b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1005cbc3
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002a1b8
mov ecx, dword [0x10121040]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x1294c], esi
jne 0x100474e0
test ebx, ebx
je 0x100474e0
mov ecx, dword [0x101571a0]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x100474e0
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100473a4
cmp dword [0x1013a9f7], esi
jne 0x100474e0
mov eax, dword [0x101571b8]
cmp dword [eax], esi
jne 0x100474e0
push edi
mov edi, 0x20d4
mov eax, dword [0x101571a0]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x100474cf
mov eax, dword [edi + eax]
test eax, eax
je 0x100474cf
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100474cf
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.10040b5c
lea eax, [ebp - 0x10]
push eax
call fcn.10040c52
add esp, 0xc
test eax, eax
jne 0x100474cf
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10040b6c
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10151bcf]
pop ecx
pop ecx
ja 0x100474cf
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.100033c7
movss xmm0, dword [0x100842cc]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x100474cf
mov eax, dword [0x101571a0]
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.1004464b
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x1008a9f8]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x10166144]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.100442b2
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x100473b7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10047664
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1005cbc3
mov eax, dword [0x10121040]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x1294c], ebp
jne 0x1004780b
mov eax, dword [0x101571a0]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004780b
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002a1b8
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100476c0
cmp dword [0x1013a9f7], ebp
jne 0x1004780a
mov eax, dword [0x101571b8]
cmp dword [eax], ebp
jne 0x1004780a
test ebx, ebx
je 0x1004780a
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x101571a0]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x100477f8
cmp dword [eax + esi + 0xf008], ebp
je 0x100477f8
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.10040b5c
lea eax, [esp + 0x1c]
push eax
call fcn.10040c52
add esp, 0xc
test eax, eax
jne 0x100477f8
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10040b6c
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10151bc7]
pop ecx
pop ecx
ja 0x100477f8
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.100033c7
movss xmm0, dword [0x100842cc]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x100477f8
mov eax, dword [0x101571a0]
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.1004464b
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1008a9f8]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x10166144]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.100442b2
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x100476db
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

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

Disassembly:
push str.getFPS__
call fcn.1005cbc3
inc dword [0x10165fd4]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x1016b7a0]
jbe 0x10049159
mov eax, dword [0x10165fd4]
movss xmm2, dword [0x10165fc8]
movss xmm3, dword [0x10165fcc]
movss xmm0, dword [0x10165fc4]
shl eax, 2
and dword [0x10165fd4], 0
movss dword [0x10165fcc], xmm2
addss xmm2, xmm3
movss dword [0x10165fd0], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x10165fc8], xmm0
movss dword [0x10165fc4], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1008a96c]
movss dword [0x10165fc0], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1016b7a0], eax
fld dword [0x10165fc0]
ret
Function at 0x10049457
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1005cbc3
cmp dword [0x10151bdf], 0
pop ecx
je 0x1004947e
cmp byte [0xba68a5], 5
jne 0x10049527
cmp dword [0xba6774], 0
je 0x10049527
push dword [0x10151bdb]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10049527
cmp dword [0x1016bbdc], 0
je 0x10049527
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x1004951d
push 0
call fcn.1002a51b
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1016bbdc]
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 [0x1008a9d8]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002ea56
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x100494b8
pop edi
pop esi
leave
ret
Function at 0x1005c937
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
push str.init__
call fcn.1005cbc3
cmp dword [0x1016b9a0], 0
pop ecx
jne 0x1005cabb
push 0xe4
mov edi, 0x1016b9c0
push edi
push dword [0x1016b9b8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1005c993
push 0x5c
push edi
call fcn.10062680
pop ecx
pop ecx
test eax, eax
je 0x1005c993
push 0x5c
push edi
call fcn.10062680
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1005c99c
push 0x2e
pop eax
mov word [0x1016b9c0], ax
mov eax, dword [0xc9ac08]
mov dword [0x1016bbec], eax
mov ecx, dword [0xc9ac0c]
mov dword [0x1016bbf0], ecx
mov edx, dword [0xc9ac10]
mov dword [0x1016bbf4], edx
push esi
mov esi, dword [0xc9ac14]
mov dword [0x1016bbf8], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1005c9da
push str.OS:_Windows_Version__d._d._d
jmp 0x1005c9df
push str.OS:_Not_Windows___d._d._d_
call fcn.1005c7aa
add esp, 0x10
call fcn.1003fe1c
pop esi
cmp dword [0x10136164], ebx
jne 0x1005ca27
push ebx
push str.Youre_a_retard.
push str.Looks_like_youve_not_edited_the_.ini_file_like_you_were_told_to__n_nBefore_you_can_use_mod_sa__you_have_to_set__i_have_edited_the_ini_fqle__to_true._nWe_did_this_so_you_would_read_the_INI_file_to_see_the_configurability_of_mod_sa._n
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push edi
push str.karaambarkaraambar.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x1005cabe
call fcn.10041ca6
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x100999a8
push eax
call fcn.1002c42e
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1016b9a0], eax
test eax, eax
jne 0x1005ca82
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.1005c7aa
pop ecx
pop ecx
jmp 0x1005ca20
push 0x100999c8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101660e0], eax
test eax, eax
jne 0x1005cabb
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.1005c7aa
pop ecx
pop ecx
push dword [0x1016b9a0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005ca20
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x10070b19
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007098f