joyce8/EMBER2024-capa huggingface dataset:
Function at 0x85c03c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x85c046
pushal
call 0x85c04c
pop ebp
sub ebp, 0x10
sub ebp, 0x45c03c
jmp 0x85c062
mov eax, 0x45c03c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f6
mov edx, 0x18b325fd
xor byte [eax], dl
inc eax
dec ecx
jne 0x85c079
jmp 0x85c08c
jbe 0x85c0be
jbe 0x85c104
sar ebp, 0xfd
std
jl 0x85c0d2
add eax, 0xfefdfdfd
xor byte [ebp - 7], al
std
std
std
inc edi
aad 0xfd
std
std
or bl, byte [edi]
invalid
std
xchg ebp, eax
cwde
out dx, eax
retf 0xfcfd
aad 0xfd
std
std
test al, 0xa9
mov al, byte [0xfdf57876]
std
std
jbe 0x85c149
int1
std
std
std
jbe 0x85c157
in eax, dx
std
std
std
cmp al, 0x14
dec esp
invalid
stc
std
std
std
xchg ebp, eax
sub dword [eax - 0xd], edx
std
xchg ebp, eax
cwde
out dx, eax
retf 0xfcfd
std
std
std
jbe 0x85c173
cmc
std
std
std
jl 0x85c145
push es
lodsb al, byte [esi]
ja 0x85c144
jl 0x85c14b
push es
lodsb al, byte [esi]
ja 0x85c14a
into
xor al, 0xce
into
das
jle 0x85c15e
adc eax, 0x79f2b5f8
mov bl, 0xfd
clc
mov ch, 0xf2
jns 0x85c101
bnd jns 0x85c101
std
std
std
bnd jne 0x85c109
std
std
std
wait
jbe 0x85c13b
les edi, [ebp + 6]
adc eax, 0xfde779f2
bnd jns 0x85c148
std
std
std
jge 0x85c16c
adc al, 0xf2
jns 0x85c156
std
std
std
wait
jl 0x85c176
add bl, al
bnd jns 0x85c15d
jns 0x85c15d
std
std
std
mov esp, 0x2023114
add dl, ah
mov cl, 0xc4
cld
jle 0x85c1c0
clc
jle 0x85c19c
stc
adc al, 0x40
add al, byte [edx]
add dl, ah
test eax, 0x3c7effc4
sti
jle 0x85c1ad
stc
jle 0x85c1ae
clc
adc al, 0x56
add al, byte [edx]
add ah, byte [eax - 0x57020ec1]
jbe 0x85c1b7
stosd dword es:[edi], eax
stosb byte es:[edi], al
test al, 0x76
mov cl, dh
jbe 0x85c12e
xor ch, 1
dec edi
jge 0x85c22a
cmc
add dword [edi + 0x7d], ecx
ja 0x85c1af
sti
jl 0x85c1f1
cmp edi, esp
cld
std
std
std
jne 0x85c1b6
jl 0x85c1f8
cld
std
std
std
inc esi
invalid
mov ebx, 0x7ef22fef
xchg edi, eax
std
std
std
into
cmp eax, 0x78f22fff
clc
bnd js 0x85c1ec
std
std
std
ja 0x85c1e4
jmp 0x85c1b5
mov ebx, 0x7ef22fef
xlatb
cld
std
std
jmp [edi]
mov ebx, 0x3dee2fef
jmp [edi]

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431fd9
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x87d9f5
Capabilities:
Parse pe header

Disassembly:
mov word [esp], si
mov dword [esp], edx
pushal
pop dword [esp + 5]
mov dword [esp + 0x18], ebx
jmp 0x87d987
Function at 0x1000b72f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
not edx
push edi
mov edi, dword [esp + 0xc]
test esi, esi
je 0x1000b75b
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100b12d0]
inc edi
sub esi, 1
jne 0x1000b743
not edx
pop edi
mov eax, edx
pop esi
ret

Function at 0x1000b762
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ebx
test edi, edi
je 0x1000b7c8
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1000b790
cmp edi, 2
jb 0x1000b790
cmp byte [esi], al
jne 0x1000b790
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100b12d0]
test edi, edi
jne 0x1000b779
jmp 0x1000b7cf
cmp al, 0x23
jne 0x1000b7b6
cmp byte [esi], al
jne 0x1000b7b6
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100b12d0]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b7a8
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x1000c116
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10091432
add esp, 0x10
xor edx, edx
ret
Function at 0x10016a14
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af498
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100e6440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 0
je 0x10016a48
push dword [esi + 0x30]
call fcn.10015449
pop ecx
cmp dword [esi + 0x34], 0
je 0x10016a57
push dword [esi + 0x34]
call fcn.10015449
pop ecx
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x10016240
push 2
push 0xc
push eax
call fcn.1008a74f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x1003e5fa
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, dword [esp + 0x24]
test byte [edi], 4
jne 0x1003e7b8
imul eax, dword [edi + 0x46c], 0x1c
lea ecx, [edi + 0x60]
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
add eax, dword [edi + 0x50]
xor ebx, ebx
mov dword [esp + 0x18], eax
movzx ebp, word [eax]
movzx ecx, word [eax + 6]
mov esi, ebp
movzx eax, word [eax + 4]
add ecx, ebx
imul ecx, dword [edi + 0x24]
sub esi, ebx
mov edx, dword [edi + 0x1c]
shr esi, 1
sub ebp, esi
sub ebp, ebx
add ecx, eax
test edx, edx
je 0x1003e693
lea eax, [edx + ecx]
mov dword [esp + 0x10], eax
test esi, esi
je 0x1003e664
push esi
push 0
push eax
call fcn.1008d8b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test ebx, ebx
je 0x1003e679
push ebx
add eax, esi
push 0xff
push eax
call fcn.1008d8b0
add esp, 0xc
test ebp, ebp
je 0x1003e6de
mov eax, dword [esp + 0x10]
push ebp
add eax, esi
add eax, ebx
push 0
push eax
call fcn.1008d8b0
add esp, 0xc
jmp 0x1003e6de
mov eax, dword [edi + 0x20]
mov edx, esi
shl edx, 2
lea edi, [eax + ecx*4]
mov dword [esp + 0x10], edi
test esi, esi
je 0x1003e6b6
mov ecx, edx
mov eax, 0xffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x1003e6c3
add edi, edx
mov ecx, ebx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
test ebp, ebp
je 0x1003e6da
mov ecx, dword [esp + 0x10]
lea eax, [esi + ebx]
lea edi, [ecx + eax*4]
mov ecx, ebp
mov eax, 0xffffff
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
movzx edx, word [ecx + 4]
movzx ecx, word [ecx + 6]
add ecx, ebx
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b4dd0]
lea eax, [edx - 1]
add eax, esi
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100b4dd0]
cvtpd2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, dword [edi + 0x30]
addsd xmm0, qword [eax*8 + 0x100b4dd0]
lea eax, [edx + 1]
add eax, esi
mulss xmm1, dword [0x100b4c68]
add eax, ebx
lea esi, [esp + 0x1c]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
inc ebx
addsd xmm0, qword [eax*8 + 0x100b4dd0]
mov eax, dword [esp + 0x14]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x2c]
mov edi, eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
movss dword [esp + 0x24], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
cmp ebx, 0x40
jb 0x1003e625
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
ret
Function at 0x1004d9c6
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
dec ebx
cmp ebp, ebx
jg 0x1004da32
push 0x1f
pop edx
mov ecx, ebx
and ecx, edx
push esi
mov dword [esp + 0x18], ecx
push edi
mov eax, ebp
mov edi, ebp
or eax, edx
sar edi, 5
cmp ebx, eax
push 0x1f
cmovg ecx, edx
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, ebp
cmovae eax, esi
and ecx, edx
xor esi, eax
xor edx, edx
bts edx, ecx
xor eax, eax
dec esi
cmp ecx, 0x20
mov ecx, dword [esp + 0x20]
cmovae eax, edx
add ebp, 0x20
xor edx, eax
and ebp, 0xffffffe0
mov eax, dword [esp + 0x18]
neg edx
and esi, edx
pop edx
or dword [eax + edi*4], esi
cmp ebp, ebx
jle 0x1004d9e2
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1006d4eb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
push 0
push dword [ebp - 4]
mov byte [edi], al
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
leave
ret

Function at 0x1006dc01
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x24]
push 9
pop ecx
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov dword [esi], ebx
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp + 8]
div ecx
push 0x40
sub ecx, edx
add ecx, dword [ebp + 8]
test edx, edx
push 0x3000
cmove ecx, dword [ebp + 8]
push ecx
push ebx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1006e51c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100e6440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.1009e821
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
lea ecx, [edx + esi]
cmp edx, ecx
jae 0x1006e595
mov ecx, 0x8689
inc edx
mov eax, 0x6c7
cmp word [edx], ax
jne 0x1006e58e
cmp word [edx + 6], cx
jne 0x1006e58e
cmp word [edx + 0xc], cx
je 0x1006e5a8
lea eax, [esi + edx]
cmp edx, eax
jb 0x1006e577
inc edx
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.1008a872
leave
ret 4
add edx, 2
jmp 0x1006e596

Function at 0x1006f234
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
call fcn.1008d8b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret
Function at 0x10070f27
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
mov eax, 0x58bf
push ebp
push esi
mov esi, dword [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0xce6dd971
mov word [esp + 0x1c], ax
push edi
test esi, esi
je 0x10070f5a
test ebx, ebx
jne 0x10070f6e
push 0x44
push str.C:UsersAdministratorDesktopgta_saSAMP_SDKSAMP_API_REMASTEREDSAMPRakNetDataBlockEncryptor.cpp
push str.input__inputLength
call fcn.1009efb2
add esp, 0xc
call fcn.10081138
lea ecx, [ebx + 5]
mov byte [esp + 0x2c], al
and cl, 0xf
mov bl, 0xf
sub bl, cl
call fcn.10081138
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
shl al, 4
or al, bl
mov dword [esp + 0x14], eax
movzx eax, bl
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
push ebx
push esi
lea ecx, [ebx + 6]
add ecx, eax
add eax, 6
add eax, edi
mov dword [edx], ecx
push eax
cmp esi, edi
jne 0x10070fbc
call fcn.1008d330
jmp 0x10070fc1
call fcn.1008d330
mov eax, dword [esp + 0x20]
add esp, 0xc
mov cl, byte [esp + 0x2c]
mov esi, ebp
mov byte [edi + 5], al
mov eax, dword [esp + 0x10]
mov byte [edi + 4], cl
test eax, eax
je 0x10070ff4
mov ebx, eax
call fcn.10081138
mov byte [edi + esi + 6], al
inc esi
cmp esi, ebx
jb 0x10070fde
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add ebx, 2
lea ecx, [esp + 0x1c]
add eax, ebx
push eax
lea eax, [edi + 4]
push eax
call fcn.10070166
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edi
push 0x10
push edi
mov dword [edi], eax
lea eax, [ebx + 0x240]
push ebx
push eax
call fcn.1008644a
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov esi, dword [eax]
sub esi, 0x10
cmp esi, 0x10
jb 0x10071068
add edi, esi
push 0x10
mov ecx, edi
sub ebp, esi
pop edx
mov al, byte [ecx + ebp]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x1007103c
push edi
push 0x10
push edi
lea eax, [ebx + 0x240]
push ebx
push eax
call fcn.1008644a
mov ebp, esi
add esp, 0x14
sub esi, 0x10
sub edi, 0x10
cmp esi, 0x10
jae 0x10071035
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x1007bb23
Capabilities:
Encode data using xor

Disassembly:
push 0x1f8
mov eax, 0x100b06b0
call fcn.1008a8d6
mov dword [ebp - 0x1d8], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1d0]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1e4], edi
call fcn.10080f6a
and dword [ebp - 4], 0
cmp dword [esi + 0x83c], 4
jne 0x1007bc9b
mov eax, dword [edi + 0x15]
lea esi, [edi + 0x19]
push 8
pop ecx
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x1e0], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
cmp byte [edi + 0x9a5], 1
jne 0x1007bbc7
cmp byte [edi + 0x9a4], 0
jne 0x1007bbc7
lea eax, [ebp - 0x1dc]
mov eax, dword [eax]
cmp eax, dword [edi + 0x980]
jne 0x1007bca3
lea edx, [ebp - 0x7c]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [edi + ecx*4 + 0x984]
jne 0x1007bca3
inc ecx
cmp ecx, 8
jne 0x1007bbb1
xor esi, esi
call fcn.10081138
mov dword [ebp + esi - 0x24], eax
add esi, 4
cmp esi, 0x14
jl 0x1007bbc9
and dword [ebp - 0x1e8], 0
lea eax, [ebp - 0x7c]
push 5
pop ecx
xorps xmm0, xmm0
lea esi, [ebp - 0x24]
movlpd qword [ebp - 0x1f0], xmm0
lea edi, [ebp - 0x204]
push eax
push dword [ebp - 0x1e0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1d0]
call fcn.10080fa5
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10080ec2
mov esi, dword [ebp - 0x1e4]
xor edx, edx
mov ecx, dword [ebp - 0x1d4]
inc esi
mov al, byte [esi + edx]
xor al, byte [ebp + edx - 0x24]
mov byte [ecx + edx + 0x81c], al
inc edx
cmp edx, 0x10
jl 0x1007bc37
mov byte [ecx + 0x82c], 1
lea edi, [ebp - 0x5b]
push 5
pop ecx
mov byte [ebp - 0x5c], 0x10
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x9c]
lea edi, [ebp - 0x47]
rep movsd dword es:[edi], dword [esi]
call fcn.100744bf
xor ecx, ecx
push ecx
push eax
mov eax, dword [ebp - 0x1d4]
push ecx
push ecx
push dword [eax + 8]
push dword [eax + 4]
lea eax, [ebp - 0x5c]
push ecx
push 6
push ecx
mov ecx, dword [ebp - 0x1d8]
push 0x1a8
push eax
call fcn.1007d2b7
call fcn.1008a894
ret 8
push 1
call fcn.1007d66d
mov esi, eax
mov eax, dword [ebp - 0x1d4]
pop ecx
push 1
mov ecx, dword [esi + 0x14]
mov byte [ecx], 0x1c
mov dword [esi + 0x10], 8
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ax, word [eax + 8]
mov word [esi + 8], ax
push dword [esi + 8]
push ecx
mov ecx, edi
call fcn.1007b084
push esi
mov ecx, edi
mov word [esi], ax
call fcn.1008081d
mov ecx, dword [ebp - 0x1d4]
mov dword [ecx + 0x83c], 2
jmp 0x1007bc9b
Function at 0x10081138
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x100e29a4], 0xffffffff
push ebx
push esi
mov ebx, 0x100ede70
mov esi, 0x100ede78
push edi
mov edi, ebx
jge 0x1008104c
push 0x1105
call fcn.10080ffb
pop ecx
mov eax, dword [0x100ede70]
mov edx, dword [0x100ede74]
push ebp
mov dword [0x100e29a4], 0x26f
mov ebp, 0xe3
mov dword [0x100ee834], 0x100ede74
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebp, 1
jne 0x10081071
mov ebp, 0x18c
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
lea ebx, [ebx + 4]
mov dword [edi], ecx
lea edi, [edi + 4]
mov edx, dword [esi]
lea esi, [esi + 4]
sub ebp, 1
jne 0x100810ad
mov edx, dword [0x100ede70]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
mov eax, edx
shr eax, 0x12
pop esi
xor eax, edx
pop ebx
ret
sub dword [0x100e29a4], 1
js 0x10081029
mov eax, dword [0x100ee834]
mov ecx, dword [eax]
add eax, 4
mov dword [0x100ee834], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x10086262
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [0x100ee838]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
cmp ebp, eax
push esi
mov esi, dword [esp + 0x10]
cmovg ebp, eax
shl eax, 4
add eax, dword [esp + 0x14]
push 4
push eax
push esi
call fcn.10086c64
push 4
push 0x100e2ca8
push esi
call fcn.10086d01
push 4
push 1
push esi
call fcn.10086c8f
mov ebx, dword [0x100ee838]
add esp, 0x24
dec ebx
cmp ebx, ebp
jle 0x100862ec
push edi
mov edi, ebx
shl edi, 4
add edi, dword [esp + 0x18]
sub ebx, ebp
push 4
push edi
push esi
call fcn.10086c64
push 4
push esi
call fcn.10086e4a
push 4
push 0x100e2ca8
push esi
call fcn.10086d01
push 4
push 1
push esi
call fcn.10086c8f
add esp, 0x2c
sub edi, 0x10
sub ebx, 1
jne 0x100862b8
pop edi
test ebp, ebp
jne 0x100862ff
push 4
push dword [esp + 0x18]
push esi
call fcn.10086c64
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10086c64
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [esp + 0xc]
test edx, edx
je 0x10086c8e
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
sub esi, ecx
push 4
pop edi
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x10086c7c
sub edx, 1
jne 0x10086c79
pop edi
pop esi
ret

Function at 0x10086e4a
Capabilities:
Encode data using xor

Disassembly:
push edi
movzx edi, byte [esp + 0xc]
test edi, edi
je 0x10086e93
push esi
mov esi, dword [esp + 0xc]
add esi, 2
movzx eax, byte [esi + 1]
movzx ecx, byte [esi - 1]
mov edx, dword [eax*4 + 0x100e5aa8]
movzx eax, byte [esi]
lea esi, [esi + 4]
xor edx, dword [ecx*4 + 0x100e52a8]
xor edx, dword [eax*4 + 0x100e56a8]
movzx eax, byte [esi - 6]
xor edx, dword [eax*4 + 0x100e4ea8]
mov dword [esi - 6], edx
sub edi, 1
jne 0x10086e5c
pop esi
pop edi
ret

Function at 0x1008704d
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x100cd3f0
jmp fcn.10087058

Function at 0x10087058
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
ret
Function at 0x10088b8e
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x100e6440]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
push 0
push 2
pop eax
push eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x10088ca7
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0xc]
push ebp
push 4
push eax
push 4
xor ebp, ebp
push 0xffff
inc ebp
push esi
mov dword [esp + 0x24], ebp
call ebx
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x40000
push eax
push 0x1002
push 0xffff
push esi
call ebx
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x4000
push eax
push 0x1001
push 0xffff
push esi
call ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ebp
test eax, eax
je 0x10088c4c
push 0xe6
push str.C:UsersAdministratorDesktopgta_saSAMP_SDKSAMP_API_REMASTEREDSAMPRakNetSocketLayer.cpp
push 0x100ca574
call fcn.1009efb2
add esp, 0xc
or ecx, 0xffffffff
mov eax, ecx
jmp 0x10088ca7
push 4
lea eax, [esp + 0x10]
push eax
push 0x20
push 0xffff
push esi
call ebx
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], ax
push 2
pop eax
mov word [esp + 0x14], ax
test edi, edi
je 0x10088c8a
cmp byte [edi], 0
je 0x10088c8a
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x18], eax
jmp 0x10088c8f
and dword [esp + 0x18], 0
push 0x10
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
or ecx, 0xffffffff
cmp eax, ecx
cmove esi, ecx
mov eax, esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a872
add esp, 0x1c
ret 0xc

Function at 0x10088cbb
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10088cdc
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x10088cdc
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x10088cde
xor eax, eax
ret 4

Function at 0x10088cfd
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x100e6440]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 2
pop eax
mov dword [ebp - 0x258], 0x10
mov word [ebp - 0x254], ax
je 0x10088d96
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x254]
push eax
push 0
push 0x240
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 1
jge 0x10088d70
cmp edi, 0xffffffff
je 0x10088d69
xor eax, eax
inc eax
jmp 0x10088d9c
and dword [esi], 0
xor eax, eax
jmp 0x10088d9c
push dword [ebp - 0x252]
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
push edi
lea ecx, [ebp - 0x244]
movzx eax, ax
push ecx
push eax
push dword [ebp - 0x250]
call fcn.1007a278
jmp 0x10088d64
or dword [esi], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a872
leave
ret 0xc