joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xa0567fd
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5d934764
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10007d34
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 0x10007d54
jl 0x10007d4b
test edi, edi
jne 0x10007d54
xor eax, eax
xor edx, edx
jmp 0x10007e1b
cmp dword [ebp + 0x38], 0
je 0x10007d6a
push esi
push edi
push dword [esp + 0x18]
call fcn.10007e25
jmp 0x10007e1b
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10007dae
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x10007dae
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push ebx
call fcn.10050ae0
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 0x10007db6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
mov ecx, ebx
je 0x10007e11
mov ecx, ebp
call fcn.1000644f
mov edx, dword [esp + 0x14]
mov ecx, ebx
jmp 0x10007df1
push dword [ebp + 0x4c]
push eax
push 1
push edx
call fcn.10059318
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 0x10007e21
mov eax, 0xfff
cmp ebx, eax
ja 0x10007dcd
test ecx, ecx
je 0x10007e11
push dword [ebp + 0x4c]
push ebx
push 1
push edx
call fcn.10059318
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 0x10007e13
Function at 0x1001127e
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10074dc5
call fcn.1004e918
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.10010974
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 0x1001137e
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x1001132a
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.10010b7a
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10011319
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.100025cf
jmp 0x1001136b
mov ecx, dword [0x10116bb8]
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 0x1001136b
test dword [esi + 0x1c], 0x2400
jne 0x1001136b
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.1001098b
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x100112d6
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 0x100112c9
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x100113f4
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x10116bb8]
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 0x100113ea
test dword [ebx + 0x1c], 0x2400
jne 0x100113ea
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.1001098b
mov esi, dword [esi + 4]
test esi, esi
jne 0x100113a5
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x1001139c
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x10011439
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.1000effb
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x1001140e
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.10010a1d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1001921b
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10074a5d
call fcn.1004e918
sub esp, 0x20
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10019351
push 0x1007b3e4
push dword [ebp + 8]
call fcn.1005d296
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10019351
push 0xc
call fcn.1004e8da
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x1001926c
mov ecx, eax
call fcn.1000c4ac
mov esi, eax
jmp 0x1001926e
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.10059318
add esp, 0x10
cmp byte [ebp - 0x2c], 0x43
jne 0x10019335
cmp byte [ebp - 0x2b], 0x4f
jne 0x10019335
cmp byte [ebp - 0x2a], 0x4c
jne 0x10019335
mov eax, dword [ebp - 0x28]
add eax, 0xffffffe8
push eax
call fcn.1004e8d1
mov ecx, dword [ebp - 0x28]
mov edi, eax
push ebx
push 1
add ecx, 0xffffffe8
push ecx
push edi
call fcn.10059318
mov al, byte [ebp - 0x29]
add esp, 0x14
cmp al, 0x4c
jne 0x100192e8
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
push eax
push edi
call dword [0x100a4304]
add esp, 0xc
jmp 0x10019323
cmp al, 0x32
jne 0x10019305
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 [0x100a4308]
jmp 0x10019320
cmp al, 0x33
jne 0x10019323
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 [0x100a430c]
add esp, 0x10
push edi
call fcn.1004e95a
push ebx
call fcn.1005897f
pop ecx
pop ecx
mov eax, esi
jmp 0x10019353
test esi, esi
je 0x1001934a
mov ecx, esi
call fcn.1000c4de
push 0xc
push esi
call fcn.1004e90a
pop ecx
pop ecx
push ebx
call fcn.1005897f
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 0x1002a8eb
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x101ba454]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10167bb8]
push ebp
push esi
cmp eax, dword [ecx + 4]
jg 0x1002aa01
mov ebx, dword [esp + 0x38]
xor eax, eax
and dword [esp + 0xc], 0
inc eax
and dword [esp + 0x38], 0
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x1002a9fa
push edi
mov esi, dword [0x10167bb4]
xor edx, edx
mov eax, ebx
div esi
sub esi, edx
cmp ebp, esi
cmovle esi, ebp
test ebx, ebx
je 0x1002a98c
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 0x1002a98c
cmp dword [esp + 0x28], 0x1000
jne 0x1002a98c
test byte [esp + 0x2c], 0xee
je 0x1002a98c
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002a98c
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002a9ad
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002a9a5
and dword [esp + 0x14], eax
jmp 0x1002a9ad
mov dword [esp + 0x3c], 1
mov edi, dword [esp + 0x38]
push esi
push ebx
push edi
call fcn.10050ae0
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x1002a9e5
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002a9e5
push ebx
push str.__page_read___could_not_restore_original_permissions_for_ptr__p
call fcn.1004cd68
pop ecx
pop ecx
add edi, esi
add ebx, esi
mov dword [esp + 0x38], edi
sub ebp, esi
jne 0x1002a933
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10167bb8
push esi
call fcn.1004edd8
cmp dword [0x10167bb8], 0xffffffff
pop ecx
jne 0x1002a911
call fcn.1002aa30
push esi
mov dword [0x10167bb4], eax
call fcn.1004ed8e
pop ecx
jmp 0x1002a911

Function at 0x1002aa30
Capabilities:
Get system information on windows

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

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x101ba454]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10167bb0]
push ebp
push esi
cmp eax, dword [ecx + 4]
jg 0x1002ab6a
mov ebx, dword [esp + 0x34]
xor eax, eax
and dword [esp + 0xc], 0
inc eax
and dword [esp + 0x34], 0
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x1002ab63
push edi
mov esi, dword [0x10167bac]
xor edx, edx
mov eax, ebx
div esi
sub esi, edx
cmp ebp, esi
cmovle esi, ebp
test ebx, ebx
je 0x1002aaf5
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 0x1002aaf5
cmp dword [esp + 0x28], 0x1000
jne 0x1002aaf5
test byte [esp + 0x2c], 0xcc
je 0x1002aaf5
mov ecx, dword [esp + 0x24]
cmp esi, ecx
ja 0x1002aaf5
mov eax, ebx
sub ecx, esi
sub eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x1002ab16
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002ab0e
and dword [esp + 0x14], eax
jmp 0x1002ab16
mov dword [esp + 0x38], 1
mov edi, dword [esp + 0x3c]
push esi
push edi
push ebx
call fcn.10050ae0
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1002ab4e
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x14]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002ab4e
push ebx
push str.__page_write___could_not_restore_original_permissions_for_ptr__p
call fcn.1004cd68
pop ecx
pop ecx
add edi, esi
add ebx, esi
mov dword [esp + 0x3c], edi
sub ebp, esi
jne 0x1002aa9c
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 0x10167bb0
push esi
call fcn.1004edd8
cmp dword [0x10167bb0], 0xffffffff
pop ecx
jne 0x1002aa7a
call fcn.1002aa30
push esi
mov dword [0x10167bac], eax
call fcn.1004ed8e
pop ecx
jmp 0x1002aa7a
Function at 0x1003d5b5
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
test cl, cl
je 0x1003d5f1
cmp byte [edx + 1], 0
jne 0x1003d5e1
cmp cl, 0x61
jl 0x1003d5d6
cmp cl, 0x7a
jg 0x1003d5d6
movsx eax, cl
sub eax, 0x20
ret
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x1003d5e1
movsx eax, cl
ret
cmp cl, 0x26
jne 0x1003d5f1
lea eax, [edx + 1]
push eax
call fcn.1003d64f
pop ecx
ret
mov eax, dword [str.lbutton]
xor ecx, ecx
push ebx
push esi
jmp 0x1003d62f
mov esi, edx
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x1003d61e
test bl, bl
je 0x1003d61a
mov bl, byte [eax + 1]
cmp bl, byte [esi + 1]
jne 0x1003d61e
add eax, 2
add esi, 2
test bl, bl
jne 0x1003d5fe
xor eax, eax
jmp 0x1003d623
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003d646
mov eax, dword [ecx*8 + 0x100d418c]
inc ecx
test eax, eax
jne 0x1003d5fc
push edx
push str.Unknown_key:__s
call fcn.1004cd68
pop ecx
pop ecx
or eax, 0xffffffff
pop esi
pop ebx
ret
mov eax, dword [ecx*8 + 0x100d4180]
jmp 0x1003d643

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

Disassembly:
mov ecx, dword [0x101b4530]
sub esp, 0x1fc
push ebp
xor ebp, ebp
push esi
mov esi, ebp
test ecx, ecx
je 0x100424b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x101b452c]
mov edx, 0x100
push ebp
push 0x101b4530
push 1
push 0x15
push ebp
push 1
push edx
mov dword [0x101b4530], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jns 0x100424e2
push str.Failed_to_create_sprite_texture_
jmp 0x10042546
push str.mod_sa.raw
push 0x101b9e58
push str._sSAMPFUNCS_s
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.100080a0
lea eax, [esp + 0x24]
push 0x1007b3e4
push eax
call fcn.1005d296
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1004252a
lea eax, [esp + 0x10]
push eax
push str.Failed_to_open__s_
call fcn.1004cd68
pop ecx
jmp 0x1004254b
mov eax, dword [0x101b4530]
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 0x1004256f
push str.Failed_to_lock_texture_
call fcn.1004cd68
pop ecx
mov ecx, dword [0x101b4530]
test ecx, ecx
je 0x10042562
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x101b4530], ebp
test esi, esi
je 0x100425d9
push esi
call fcn.1005897f
pop ecx
jmp 0x100425d9
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.10059318
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 0x10042593
add edi, dword [esp + 0x10]
push 0
pop ebp
sub ebx, 1
jne 0x10042578
mov eax, dword [0x101b4530]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push esi
call fcn.1005897f
pop ecx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x1fc
ret
Function at 0x10043d8f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1004d30e
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002ad2d
mov ecx, dword [0x10150b3c]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0x10e], esi
jne 0x10043f34
test ebx, ebx
je 0x10043f34
mov ecx, dword [0x101ac874]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x10043f34
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10043df8
cmp dword [0x101900f4], esi
jne 0x10043f34
mov eax, dword [0x101ac88c]
cmp dword [eax], esi
jne 0x10043f34
push edi
mov edi, 0x20d4
mov eax, dword [0x101ac874]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x10043f23
mov eax, dword [edi + eax]
test eax, eax
je 0x10043f23
mov eax, dword [eax + 0x40]
test eax, eax
je 0x10043f23
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003de43
lea eax, [ebp - 0x10]
push eax
call fcn.1003df39
add esp, 0xc
test eax, eax
jne 0x10043f23
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003de53
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x101a72b8]
pop ecx
pop ecx
ja 0x10043f23
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.10041957
movss xmm0, dword [0x10078340]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x10043f23
mov eax, dword [0x101ac874]
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.10041532
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x1007dc58]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x101b4638]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.1004120b
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x10043e0b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100440b5
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1004d30e
mov eax, dword [0x10150b3c]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x10e], ebp
jne 0x1004425c
mov eax, dword [0x101ac874]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004425c
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002ad2d
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10044111
cmp dword [0x101900f4], ebp
jne 0x1004425b
mov eax, dword [0x101ac88c]
cmp dword [eax], ebp
jne 0x1004425b
test ebx, ebx
je 0x1004425b
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x101ac874]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x10044249
cmp dword [eax + esi + 0xf008], ebp
je 0x10044249
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003de43
lea eax, [esp + 0x1c]
push eax
call fcn.1003df39
add esp, 0xc
test eax, eax
jne 0x10044249
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003de53
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x101a72b0]
pop ecx
pop ecx
ja 0x10044249
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.10041957
movss xmm0, dword [0x10078340]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x10044249
mov eax, dword [0x101ac874]
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.10041532
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1007dc58]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x101b4638]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.1004120b
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x1004412c
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

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

Disassembly:
inc dword [0x101b4528]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x101b4654]
jbe 0x10045c98
mov eax, dword [0x101b4528]
movss xmm2, dword [0x101b451c]
movss xmm3, dword [0x101b4520]
movss xmm0, dword [0x101b4518]
shl eax, 2
and dword [0x101b4528], 0
movss dword [0x101b4520], xmm2
addss xmm2, xmm3
movss dword [0x101b4524], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x101b451c], xmm0
movss dword [0x101b4518], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1007dbd0]
movss dword [0x101b4514], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101b4654], eax
fld dword [0x101b4514]
ret
Function at 0x10045c9f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101a72c8], 0
je 0x10045cbb
cmp byte [0xba68a5], 5
jne 0x10045d64
cmp dword [0xba6774], 0
je 0x10045d64
push dword [0x101a72c4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10045d64
cmp dword [0x101ba074], 0
je 0x10045d64
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x10045d5a
push 0
call fcn.1002b090
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x101ba074]
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 [0x1007dc38]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002f585
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x10045cf5
pop edi
pop esi
leave
ret
Function at 0x1004d098
Capabilities:
Create process on windows

Disassembly:
push ebx
push edi
push str.init__
call fcn.1004d30e
pop ecx
push 0xe4
mov edi, 0x101b9e58
push edi
push dword [0x101b9e50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1004d0de
push 0x5c
push edi
call fcn.100530a0
pop ecx
pop ecx
test eax, eax
je 0x1004d0de
push 0x5c
push edi
call fcn.100530a0
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1004d0e7
push 0x2e
pop eax
mov word [0x101b9e58], ax
push esi
push str.mod_sa_for_DALTONLAR_
push str.Initializing__s
call fcn.1004cd68
push 0x789
push str.Apr__6_2024_02:07:02
push str.Compiled:__s_CL:_d
call fcn.1004cd68
mov esi, dword [0xc9ac08]
add esp, 0x14
mov dword [0x101ba084], esi
mov eax, dword [0xc9ac0c]
mov dword [0x101ba088], eax
mov ecx, dword [0xc9ac10]
mov dword [0x101ba08c], ecx
mov edx, dword [0xc9ac14]
mov dword [0x101ba090], edx
push eax
push ecx
push edx
cmp esi, 2
jne 0x1004d153
push str.OS:_Windows_Version__d._d._d
call fcn.1004cd68
add esp, 0x10
jmp 0x1004d161
push esi
push str.OS:_code__d___d._d._d_
call fcn.1004cd68
add esp, 0x14
call fcn.1003d06a
pop esi
cmp dword [0x1018b884], ebx
jne 0x1004d19a
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_file__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.SAMPFUNCSmod_sa.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.1003efce
xor eax, eax
pop edi
inc eax
pop ebx
ret