joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d19d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x24
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100d1b5c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100d1af8
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, 1
nop dword [eax]
cmp dword [esp + 0x14], 0x10
jb 0x100d1ab9
call ebp
cmp dword [esp + 0x20], eax
jne 0x100d1ab9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x1c], eax
je 0x100d1ab9
mov edx, dword [esi]
test edx, edx
jne 0x100d1a84
push 0x200
push edx
push dword [0x10453a44]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100d1ae0
jmp 0x100d1aac
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100d1aac
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10453a44]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100d1ae0
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100d1a40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100d1af8
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x100d1af8
push eax
push ebx
push dword [0x10453a44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
test ebx, ebx
je 0x100d1b5c
cmp dword [esi], 0
je 0x100d1b45
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100d1b45
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100d1b3f
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.100d1860
push ebx
call ebp
inc edi
cmp edi, dword [esi + 8]
jb 0x100d1b11
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.101a0143
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x30]
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a0143
add esp, 0x24
ret 4
Function at 0x100d1b80
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x100d1bd0
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100d1bbf
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100d1bb7
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100d1b98
pop edi
pop ebp
push dword [ebx]
push 0
push dword [0x10453a44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret

Function at 0x100d1be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1051f480]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100d1c26
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
pop ecx
ret
test ebx, ebx
je 0x100d1c47
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100d1c68
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100d1c68
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100d1c62
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100d1c68
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100d2b80
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [esp + 0x10]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100d3250
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100d2be5
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [0x1051edfc], 0xccccccc
je 0x100d2d47
push 0x14
call fcn.101a044f
mov ecx, dword [edi]
mov esi, eax
mov dword [esi + 8], ecx
lea ebp, [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [0x1051edfc]
mov edi, dword [0x1051ee10]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10202a70]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10202a70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1051edf4]
comiss xmm1, xmm0
jbe 0x100d2cd9
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101c5b60
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101c72d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x100d2cbd
cmp edi, 0x200
jae 0x100d2cbb
shl edi, 3
cmp edi, ecx
jae 0x100d2cbd
mov edi, ecx
push edi
call fcn.100d2d60
push ebx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.100d3250
mov ecx, dword [0x1051edfc]
mov edx, dword [eax]
jmp 0x100d2cdd
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1051edfc], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1051ee0c]
mov ecx, dword [0x1051ee00]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1051edf8]
jne 0x100d2d0e
mov dword [ecx + eax*8], esi
jmp 0x100d2d2f
cmp ebx, edx
jne 0x100d2d29
mov dword [ecx + eax*8], esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ecx + eax*8 + 4], edi
jne 0x100d2d33
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [esp + 0x20]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
add esp, 0xc
ret 8
push str.unordered_map_set_too_long
call fcn.1019ecc1
int3
Function at 0x100d2d60
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x100d2eaf
lea eax, [ecx - 1]
mov esi, dword [0x1051edf8]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1051ee00
lea eax, [edi + edi]
push eax
call fcn.10023e20
mov ecx, dword [0x1051edf8]
lea ebx, [edi - 1]
mov dword [0x1051ee0c], ebx
mov dword [0x1051ee10], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100d2ea8
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x1051ee00]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x100d2e15
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100d2e7b
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100d2e48
mov eax, dword [eax]
cmp eax, ecx
je 0x100d2e3f
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x100d2e7b
cmp ebx, eax
je 0x100d2e5c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100d2e8c
cmp ebx, eax
jne 0x100d2e50
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x100d2ea8
mov ebx, dword [0x1051ee0c]
jmp 0x100d2dc4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100d2e7b
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.invalid_hash_bucket_count
call fcn.1019ecc1
int3
Function at 0x10115a50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, ecx
push edi
mov edx, esi
cmp dword [esi + 0x14], 0x10
mov ebx, dword [esi + 0x10]
jb 0x10115a6a
mov edx, dword [esi]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x10115a86
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x10115a75
push edi
push esi
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.1002cb30
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10115ab0
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ebp + 8], 0x234f72c
je 0x10115c31
push 0x74
call fcn.101a044f
mov ebx, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebx + 8], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
movups xmm0, xmmword [esi]
push 0x54
push 0
movups xmmword [ebx + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea esi, [ebx + 0x20]
push esi
call fcn.101a2030
add esp, 0xc
mov ecx, esi
call fcn.10033f20
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
inc eax
movss xmm3, dword [ebp]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10202a70]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10202a70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10115bcf
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101c5b60
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101c72d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x10115bb2
cmp esi, 0x200
jae 0x10115bb0
shl esi, 3
cmp esi, ecx
jae 0x10115bb2
mov esi, ecx
push esi
mov ecx, ebp
call fcn.1002a770
push edi
lea eax, [ebx + 8]
mov ecx, ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1002cb30
mov edx, dword [eax]
jmp 0x10115bd3
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 4]
inc dword [ebp + 8]
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [esi], ebx
mov dword [edx + 4], ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebp + 4]
jne 0x10115bf8
mov dword [ecx + eax*8], ebx
jmp 0x10115c19
cmp edi, edx
jne 0x10115c13
mov dword [ecx + eax*8], ebx
mov eax, dword [esp + 0x20]
mov dword [eax], ebx
mov byte [eax + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ecx + eax*8 + 4], esi
jne 0x10115c1d
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov byte [eax + 4], 1
pop ebx
add esp, 0xc
ret 8
push str.unordered_map_set_too_long
call fcn.1019ecc1
int3
Function at 0x10115e10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x1022bebc]
cmp dword [eax], 0
je 0x10115fbe
mov ecx, dword [0x10229c74]
mov eax, dword [0x101fa690]
movq xmm0, qword [str.qpgryhpLxTJ_]
push esi
mov esi, dword [ecx + 0x40]
mov dword [esp + 0xc], eax
mov ax, word [0x101fa694]
movq qword [esp + 4], xmm0
mov word [esp + 0x10], ax
test ah, ah
je 0x10115f9d
push ebx
xor ebx, ebx
cmp dword [0x1022b6e0], 2
jl 0x10115f74
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm3, xmmword [0x10202aa0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [str.qpgryhpLxTJ_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 8], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [esp + 0xc]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movd dword [esp + 0xc], xmm1
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, bl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x32
xor byte [esp + ebx + 8], dl
inc ebx
cmp ebx, 0xe
jl 0x10115f74
pop ebx
mov ecx, dword [ecx + 0x3c]
lea eax, [esp + 4]
push eax
call esi
pop esi
test eax, eax
je 0x10115fbe
mov al, byte [eax + 0xd]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.101a0143
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor al, al
xor ecx, esp
call fcn.101a0143
add esp, 0x14
ret
Function at 0x10115fd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, edx
test edi, edi
je 0x101160c1
test ecx, ecx
jle 0x101160c1
cmp ecx, 0x6b
jae 0x101160c1
mov al, byte [edi]
mov esi, dword [ecx*4 + 0x101f9fc8]
test al, al
je 0x101160c1
movsx eax, al
lea ecx, [edi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.1007e710
cmp eax, 0x6002d5a3
ja 0x1011614e
je 0x1011610e
cmp eax, 0x433d134e
je 0x101160d2
cmp eax, 0x57014847
jne 0x101160c1
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10116068
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027e90
mov ecx, 0x1022a9a8
lea eax, [esp + 0x10]
push eax
call fcn.10020950
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x101160c1
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101160b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101161cd
push ecx
push edx
call fcn.101a043c
add esp, 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101160f0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027e90
mov ecx, 0x1022a990
jmp 0x10116081
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10116130
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027e90
mov ecx, 0x1022a978
jmp 0x10116081
cmp eax, 0xd3636959
jne 0x101160c1
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10116176
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027e90
lea eax, [esp + 0x10]
mov ecx, 0x1022a960
push eax
call fcn.10020950
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x101160c1
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101160b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101160b7
call fcn.101a56c6
int3
Function at 0x101399c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3c
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1022b6ec]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1051f008]
cmp eax, dword [ecx + 4]
jle 0x10139bc8
push 0x1051f008
call fcn.101a0794
add esp, 4
cmp dword [0x1051f008], 0xffffffff
jne 0x10139bc8
mov eax, dword [0x10229c80]
xor ecx, ecx
cmp dword [0x1022b6e0], 2
movups xmm0, xmmword [str.EVUEYYg__YIZaL03_]
mov esi, dword [eax + 8]
mov al, byte [0x101f9d84]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x101f9d7c]
movq qword [esp + 0x30], xmm0
jl 0x10139b80
movaps xmm0, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x102025e0]
movaps xmm3, xmmword [0x10202aa0]
movaps xmm6, xmmword [0x10202660]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x20]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x20], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x24]
pxor xmm1, xmm0
movd dword [esp + ecx + 0x24], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10139a80
cmp ecx, 0x19
jge 0x10139ba8
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x32
xor byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 0x19
jl 0x10139b80
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051f008
mov dword [0x1051f200], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10229c78]
cmp byte [eax + 0x35da], 0
je 0x10139bf2
mov eax, dword [0x1022bebc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10139bf2
call fcn.1007eca0
cmp byte [eax], 0
jne 0x10139bf2
mov edx, 3
jmp 0x10139bf4
xor edx, edx
mov ecx, dword [0x1051f200]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
Function at 0x10139c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3c
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1022b6ec]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1051f01c]
cmp eax, dword [ecx + 4]
jle 0x10139e28
push 0x1051f01c
call fcn.101a0794
add esp, 4
cmp dword [0x1051f01c], 0xffffffff
jne 0x10139e28
cmp byte [0x101fa6cb], 0
mov eax, dword [0x10229c80]
movups xmm0, xmmword [str.Q_kVDXKJRZUOaM____Evvglxt8]
mov esi, dword [eax + 8]
mov eax, dword [0x101fa6c8]
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], eax
je 0x10139e08
xor ecx, ecx
cmp dword [0x1022b6e0], 2
jl 0x10139de0
movaps xmm0, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x102025e0]
movaps xmm3, xmmword [0x10202aa0]
movaps xmm6, xmmword [0x10202660]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm7, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x28]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x28], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x2c]
pxor xmm1, xmm0
movd dword [esp + ecx + 0x2c], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x10139ce0
cmp ecx, 0x14
jge 0x10139e08
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x32
xor byte [esp + ecx + 0x28], dl
inc ecx
cmp ecx, 0x14
jl 0x10139de0
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051f01c
mov dword [0x1051f214], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10229c78]
xor edx, edx
mov ecx, dword [0x1051f214]
cmp byte [eax + 0x35db], dl
mov esi, dword [ecx]
setne dl
push edx
mov eax, dword [esi + 0x40]
call eax
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret