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

Disassembly:
mov eax, 0x1007fcd1
call fcn.1005d058
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.1000f858
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 0x10010262
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x1001020e
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.1000fa5e
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x100101fd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.100044b5
jmp 0x1001024f
mov ecx, dword [0x100e60bc]
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 0x1001024f
test dword [esi + 0x1c], 0x2400
jne 0x1001024f
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.1000f86f
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x100101ba
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 0x100101ad
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x100102d8
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x100e60bc]
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 0x100102ce
test dword [ebx + 0x1c], 0x2400
jne 0x100102ce
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.1000f86f
mov esi, dword [esi + 4]
test esi, esi
jne 0x10010289
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x10010280
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x1001031d
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.1000dea7
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x100102f2
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.1000f901
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100180ff
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1007f969
call fcn.1005d058
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10018235
push 0x10086db4
push dword [ebp + 8]
call fcn.10069c56
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10018235
push 0xc
call fcn.1005caef
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10018150
mov ecx, eax
call fcn.1000b30a
mov esi, eax
jmp 0x10018152
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.10063915
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x10018219
cmp byte [ebp - 0x2b], 0x4f
jne 0x10018219
cmp byte [ebp - 0x2a], 0x4c
jne 0x10018219
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.1005cae1
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10063915
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x100181cc
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100b2238]
add esp, 0xc
jmp 0x10018207
cmp al, 0x32
jne 0x100181e9
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 [0x100b223c]
jmp 0x10018204
cmp al, 0x33
jne 0x10018207
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 [0x100b2240]
add esp, 0x10
push edi
call fcn.1005cb2d
push ebx
call fcn.10062f31
pop ecx
pop ecx
mov eax, esi
jmp 0x10018237
test esi, esi
je 0x1001822e
mov ecx, esi
call fcn.1000b33c
push 0xc
push esi
call fcn.1005cb1f
pop ecx
pop ecx
push ebx
call fcn.10062f31
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 0x10029856
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1016ae74]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10133bc0]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1002997c
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 0x10029972
mov esi, dword [0x10133bbc]
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 0x100298ff
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 0x100298ff
cmp dword [esp + 0x28], 0x1000
jne 0x100298ff
test byte [esp + 0x2c], 0xee
je 0x100298ff
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x100298ff
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029926
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002991e
xor edi, edi
push esi
push edi
push ebp
call fcn.1005f2d0
jmp 0x10029932
mov dword [esp + 0x38], 1
push esi
push ebx
push ebp
call fcn.1005ed50
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002995e
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 0x1002995e
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1005b44f
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
add ebp, esi
add ebx, esi
sub ecx, esi
mov dword [esp + 0x40], ecx
jne 0x1002989e
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10133bc0
push esi
call fcn.1005cf7f
cmp dword [0x10133bc0], 0xffffffff
pop ecx
jne 0x1002987d
call fcn.100299ab
push esi
mov dword [0x10133bbc], eax
call fcn.1005cf35
pop ecx
jmp 0x1002987d

Function at 0x100299ab
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1016ae74]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10133bb8]
push ebp
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x10029ae6
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 0x10029adc
mov esi, dword [0x10133bb4]
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 0x10029a74
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 0x10029a74
cmp dword [esp + 0x28], 0x1000
jne 0x10029a74
test byte [esp + 0x2c], 0xcc
je 0x10029a74
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x10029a74
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x10029a93
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029a8b
xor edi, edi
jmp 0x10029aa5
mov dword [esp + 0x38], 1
push esi
push dword [esp + 0x40]
push ebx
call fcn.1005ed50
mov edi, dword [esp + 0x4c]
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10029ace
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 0x10029ace
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1005b44f
pop ecx
pop ecx
add dword [esp + 0x3c], esi
add ebx, esi
sub ebp, esi
jne 0x10029a13
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10133bb8
push esi
call fcn.1005cf7f
cmp dword [0x10133bb8], 0xffffffff
pop ecx
jne 0x100299f6
call fcn.100299ab
push esi
mov dword [0x10133bb4], eax
call fcn.1005cf35
pop ecx
jmp 0x100299f6
Function at 0x1003baf4
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x100816c8
call fcn.1005d058
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.1003bab8
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.10029784
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x38

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

Disassembly:
mov eax, 0x100816e1
call fcn.1005d058
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.1003ba8c
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 0x1003bc3e
push dword [ebp - 0x10]
call fcn.1005cb2d
pop ecx
and dword [ebp + 0xc], 0
jmp 0x1003bc64
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1003bc7c
mov ecx, dword [ebp - 0x14]
mov byte [esi + eax], 0
push dword [ebp + 0xc]
push esi
lea ecx, [ecx + 8]
call fcn.1003bb9f
mov bh, al
test bh, bh
je 0x1003bc7c
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 0x1003bc44
and bl, bh
test esi, esi
je 0x1003bc89
push esi
call fcn.1005cb2d
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 0x1003ef71
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x1003efad
cmp byte [edx + 1], 0
jne 0x1003ef9d
cmp cl, 0x61
jl 0x1003ef92
cmp cl, 0x7a
jg 0x1003ef92
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x1003ef9d
movsx eax, cl
ret
cmp cl, 0x26
jne 0x1003efad
lea eax, [edx + 1]
push eax
call fcn.1003f00b
pop ecx
ret
mov eax, dword [str.lbutton]
xor ecx, ecx
push ebx
push esi
jmp 0x1003efeb
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x1003efda
test bl, bl
je 0x1003efd6
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x1003efda
add eax, 2
add esi, 2
test bl, bl
jne 0x1003efba
xor eax, eax
jmp 0x1003efdf
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003f002
mov eax, dword [ecx*8 + 0x100e225c]
inc ecx
test eax, eax
jne 0x1003efb8
push edx
push str.Unknown_key:__s
call fcn.1005b44f
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100e2250]
jmp 0x1003efff

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

Disassembly:
sub esp, 0x1fc
push ebp
push esi
push str.LoadSpriteTexture__
call fcn.1005b868
pop ecx
mov ecx, dword [0x10164fc4]
xor ebp, ebp
mov esi, ebp
test ecx, ecx
je 0x10044625
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x10165104]
mov edx, 0x100
push ebp
push 0x10164fc4
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x10164fc4], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x10044683
push str.Failed_to_create_sprite_texture_
call fcn.1005b44f
pop ecx
mov ecx, dword [0x10164fc4]
test ecx, ecx
je 0x1004466f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10164fc4], ebp
test esi, esi
je 0x1004467a
push esi
call fcn.10062f31
pop ecx
pop esi
pop ebp
add esp, 0x1fc
ret
push str.karaambar.raw
push 0x1016a9a8
push str._skaraambar_s
lea eax, [esp + 0x10c]
push 0x104
push eax
call fcn.10007072
lea eax, [esp + 0x114]
push 0x10086db4
push eax
call fcn.10069c56
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10044659
mov ecx, dword [0x10164fc4]
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 0x100446e1
push str.Failed_to_lock_texture_
jmp 0x10044653
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.10063915
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 0x10044702
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x100446ea
mov eax, dword [0x10164fc4]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.10062f31
pop ecx
pop edi
pop ebx
jmp 0x1004467a
Function at 0x1004603a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1005b868
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.10029ca9
mov ecx, dword [0x10120040]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x1293a], esi
jne 0x100461df
test ebx, ebx
je 0x100461df
mov ecx, dword [0x10156188]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x100461df
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100460a3
cmp dword [0x101399df], esi
jne 0x100461df
mov eax, dword [0x101561a0]
cmp dword [eax], esi
jne 0x100461df
push edi
mov edi, 0x20d4
mov eax, dword [0x10156188]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x100461ce
mov eax, dword [edi + eax]
test eax, eax
je 0x100461ce
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100461ce
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003f837
lea eax, [ebp - 0x10]
push eax
call fcn.1003f92d
add esp, 0xc
test eax, eax
jne 0x100461ce
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003f847
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10150bb7]
pop ecx
pop ecx
ja 0x100461ce
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.10043368
movss xmm0, dword [0x100831fc]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x100461ce
mov eax, dword [0x10156188]
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.10043220
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x10089628]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x1016512c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.10042e87
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x100460b6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10046363
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1005b868
mov eax, dword [0x10120040]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x1293a], ebp
jne 0x1004650a
mov eax, dword [0x10156188]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004650a
push ebx
push ebp
push 0xffffffffffffffff
call fcn.10029ca9
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100463bf
cmp dword [0x101399df], ebp
jne 0x10046509
mov eax, dword [0x101561a0]
cmp dword [eax], ebp
jne 0x10046509
test ebx, ebx
je 0x10046509
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x10156188]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x100464f7
cmp dword [eax + esi + 0xf008], ebp
je 0x100464f7
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003f837
lea eax, [esp + 0x1c]
push eax
call fcn.1003f92d
add esp, 0xc
test eax, eax
jne 0x100464f7
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003f847
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10150baf]
pop ecx
pop ecx
ja 0x100464f7
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.10043368
movss xmm0, dword [0x100831fc]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x100464f7
mov eax, dword [0x10156188]
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.10043220
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x10089628]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x1016512c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.10042e87
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x100463da
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

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

Disassembly:
push str.getFPS__
call fcn.1005b868
inc dword [0x10164fbc]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x1016a788]
jbe 0x10047e58
mov eax, dword [0x10164fbc]
movss xmm2, dword [0x10164fb0]
movss xmm3, dword [0x10164fb4]
movss xmm0, dword [0x10164fac]
shl eax, 2
and dword [0x10164fbc], 0
movss dword [0x10164fb4], xmm2
addss xmm2, xmm3
movss dword [0x10164fb8], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x10164fb0], xmm0
movss dword [0x10164fac], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1008959c]
movss dword [0x10164fa8], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1016a788], eax
fld dword [0x10164fa8]
ret
Function at 0x10048156
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1005b868
cmp dword [0x10150bc7], 0
pop ecx
je 0x1004817d
cmp byte [0xba68a5], 5
jne 0x10048226
cmp dword [0xba6774], 0
je 0x10048226
push dword [0x10150bc3]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10048226
cmp dword [0x1016abc4], 0
je 0x10048226
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x1004821c
push 0
call fcn.1002a00c
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1016abc4]
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 [0x10089608]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002e547
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x100481b7
pop edi
pop esi
leave
ret
Function at 0x1005b5dc
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.1005b868
cmp dword [0x1016a988], 0
pop ecx
jne 0x1005b760
push 0xe4
mov edi, 0x1016a9a8
push edi
push dword [0x1016a9a0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1005b638
push 0x5c
push edi
call fcn.10061320
pop ecx
pop ecx
test eax, eax
je 0x1005b638
push 0x5c
push edi
call fcn.10061320
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1005b641
push 0x2e
pop eax
mov word [0x1016a9a8], ax
mov eax, dword [0xc9ac08]
mov dword [0x1016abd4], eax
mov ecx, dword [0xc9ac0c]
mov dword [0x1016abd8], ecx
mov edx, dword [0xc9ac10]
mov dword [0x1016abdc], edx
push esi
mov esi, dword [0xc9ac14]
mov dword [0x1016abe0], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1005b67f
push str.OS:_Windows_Version__d._d._d
jmp 0x1005b684
push str.OS:_Not_Windows___d._d._d_
call fcn.1005b44f
add esp, 0x10
call fcn.1003eaf7
pop esi
cmp dword [0x1013514c], ebx
jne 0x1005b6cc
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 0x1005b763
call fcn.1004087b
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x10098390
push eax
call fcn.1002bf1f
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1016a988], eax
test eax, eax
jne 0x1005b727
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.1005b44f
pop ecx
pop ecx
jmp 0x1005b6c5
push 0x100983b0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101650c8], eax
test eax, eax
jne 0x1005b760
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.1005b44f
pop ecx
pop ecx
push dword [0x1016a988]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005b6c5
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x1006f7b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006f62f