joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1e40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1023b4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x10007ff8
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x10008009
push 0x40
push esi
call fcn.100ef794
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10008600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1e00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1023b4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x10008664
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x10008675
push 0x48
push esi
call fcn.100ef794
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b540
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x1000b562
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x15]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x1000b550
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x1001bfc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1001bffd
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0x1001cd20
push 0
push 0
mov dword [0x1023e394], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x1001b570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, 1
pop ebp
ret 0xc
Function at 0x1001c010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x100ffc1d], 0
movq xmm0, qword [0x100ffc14]
mov ax, word [0x100ffc1c]
push esi
mov esi, ecx
movq qword [ebp - 0xc], xmm0
mov word [ebp - 4], ax
je 0x1001c062
push ebx
xor ebx, ebx
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [ebp + ebx - 0xc], cl
inc ebx
cmp ebx, 0xa
jl 0x1001c040
pop ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x1001c08f
xor al, al
nop
movsx ecx, al
cmp byte [ecx + edx], 0xb8
je 0x1001c0a2
inc al
cmp al, 0xf
jl 0x1001c080
xor eax, eax
mov ecx, esi
push eax
call fcn.1001c0c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + edx + 1]
mov ecx, esi
push eax
call fcn.1001c0c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c0c0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1001c2ec
movups xmm0, xmmword [0x100ffc04]
mov dword [ebp - 0x30], 0xb8909090
mov byte [ebp - 0x28], 0xba
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x23], 0xd2ff
psrldq xmm0, 0xf
movd eax, xmm0
mov byte [ebp - 0x21], 0xc3
test al, al
je 0x1001c26e
xor edx, edx
cmp dword [0x10240950], 2
mov dword [ebp - 4], edx
jl 0x1001c240
movaps xmm0, xmmword [0x100ffc80]
xor ecx, ecx
movaps xmm4, xmmword [0x100ffc50]
movaps xmm3, xmmword [0x100ffc90]
movaps xmm5, xmmword [str.1111]
movups xmm6, xmmword [0x100ffc70]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
nop word [eax + 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x40], xmm2
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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x3c]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x3c], xmm2
add ecx, 8
cmp ecx, 0x10
jl 0x1001c160
jmp 0x1001c26e
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x40], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0x10
jl 0x1001c240
cmp byte [0x100ffc01], 0
movq xmm0, qword [str.XCUV]
mov ax, word [0x100ffc00]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
je 0x1001c2b1
xor ecx, ecx
mov eax, 0x5397829d
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x31
sub dl, al
add dl, 0x36
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 0xa
jl 0x1001c290
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0x10
mov eax, dword [eax]
push 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi], eax
test eax, eax
je 0x1001c2ec
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x1001ce80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x15], 0
je 0x1001cf62
movd xmm0, dword [esi]
mov eax, 0x10
movups xmm2, xmmword [0x100ffc70]
movaps xmm1, xmmword [str.qrstuvwxyz]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movaps xmm1, xmmword [0x102170a0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movaps xmm1, xmmword [0x102170b0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmmword [0x102170c0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 0xc], xmm1
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x71]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x1001cf50
mov byte [esi + 0x15], 0
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.100087b0
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10022810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f310c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1023b4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x100228c4
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.1001ae10
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x1002290c
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x1002290c
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x10022916
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
push 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.1002d1b0
mov edx, dword [edi + 0x10]
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x20], edx
test ecx, ecx
jns 0x1002294d
neg eax
cmp esi, eax
jae 0x1002294d
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x10022957
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1001ef80
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x10022986
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x10024090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1e00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1023b4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x100240e7
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x100240f8
push 0x3c
push esi
call fcn.100ef794
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002c670
Capabilities:
Create thread

Disassembly:
call fcn.100ec970
push 0x1023e694
push 0x10030710
push dword [0x1023e390]
call fcn.100ecab0
push 0x1023e53c
push 0x10037a10
push dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.100ecab0
push 0
call fcn.100eced0
push 0
push 0
push 0
push 0x1002cc50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x1002d620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x22], 0
je 0x1002d7b4
movaps xmm5, xmmword [0x100ffc50]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [str.qrstuvwxyz]
mov edx, 0x78
movups xmm4, xmmword [0x100ffc70]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x76
mov dword [ebp - 4], 0x71
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x75
sub edi, ebx
mov esi, 0x77
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x6d
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x1002d694
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x21
jae 0x1002d7b0
lea edx, [ebx + eax]
lea ecx, [eax + 0x71]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x1002d7a2
mov byte [ebx + 0x22], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x4a], 0
je 0x1002d954
movaps xmm5, xmmword [0x100ffc50]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [str.qrstuvwxyz]
mov edx, 0x78
movups xmm4, xmmword [0x100ffc70]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x76
mov dword [ebp - 4], 0x71
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x75
sub edi, ebx
mov esi, 0x77
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x6d
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x1002d834
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x49
jae 0x1002d950
lea edx, [ebx + eax]
lea ecx, [eax + 0x71]
inc eax
xor byte [edx], cl
cmp eax, 0x49
jb 0x1002d942
mov byte [ebx + 0x4a], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10041740
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [0x1023ebe8]
mov esi, dword [edi + 0x1bac]
mov dword [ebp - 8], esi
test al, 0x10
jne 0x100418b0
mov ebx, dword [esi + 0x124]
test ebx, ebx
je 0x100417ac
cmp dword [edi + 0x1be0], ebx
jne 0x100418a7
mov edx, dword [edi + 0x1c18]
xor eax, eax
cmp edx, 0xffffffff
cmove edx, eax
mov dword [ebp - 0x10], edx
cmp byte [edx + edi + 0xec], al
je 0x100418a7
xor al, al
jmp 0x10041837
cmp byte [edi + 0xec], 0
je 0x100418a7
test al, 8
je 0x100418a7
test byte [esi + 0x128], 1
jne 0x100417e3
cmp dword [edi + 0x1be0], 0
je 0x100418a7
cmp dword [edi + 0x1c10], esi
jne 0x100418a7
mov ecx, dword [ebp - 8]
add esi, 0x12c
push esi
call fcn.10045520
mov ebx, eax
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [eax + 0x124], ebx
call fcn.100479c0
mov esi, dword [ebp - 8]
add esp, 8
mov byte [ebp - 1], al
test al, al
je 0x1004182d
cmp byte [edi + 0x3d8], 0
je 0x1004182d
push esi
push ebx
call fcn.1004f790
push esi
call fcn.10044d10
mov al, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1be0], ebx
jne 0x100418a7
xor edx, edx
mov byte [edi + 0x1bf1], al
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1023ebe8]
cmp byte [eax + edx + 0xec], 0
jne 0x10041863
xor al, al
jmp 0x1004187b
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + edx*4 + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1bf8], 0xffffffff
mov dword [edi + 0x1bfc], 0xffffffff
mov dword [edi + 0x1c00], 0xffffffff
mov dword [edi + 0x1c04], 0xffffffff
test al, al
jne 0x100418ee
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov edx, 0x10217bd5
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x100418d0
cmp byte [edx], al
jne 0x100418d0
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x102174f0]
test al, al
jne 0x100418c2
mov esi, dword [ebp - 8]
not ebx
cmp byte [edi + 0x1e54], 0
jne 0x10041933
call fcn.10042e30
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1e70], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1e58], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1e6c], ebx
mov byte [edi + 0x1e54], 1
mov dword [edi + 0x1e60], eax
cmp ebx, dword [edi + 0x1be0]
jne 0x10041933
mov byte [edi + 0x1bf2], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1b48]
mov dword [edi + 0x1e5c], eax
mov byte [edi + 0x1e55], 1
test bl, 1
jne 0x10041983
push 0
push 0
call fcn.10041ca0
add esp, 8
cmp dword [edi + 0x1ebc], 0
je 0x10041983
test dword [edi + 0x1eb0], 0x1000
je 0x10041983
mov eax, dword [edi + 0x1bac]
mov byte [eax + 0x9b], 1
mov byte [eax + 0xb4], 1
test bl, 0x12
jne 0x1004198f
and dword [esi + 0x128], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10045450
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102174f0]
sub edi, 1
jne 0x10045470
mov ecx, dword [0x1023ebe8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1be0], eax
jne 0x100454a2
mov dword [ecx + 0x1be8], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x100454b1
mov byte [ecx + 0x1c20], 1
pop ebp
ret 4

Function at 0x10045520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1023b4c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0x18]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x102174f0]
sub edi, 1
jne 0x10045594
mov eax, dword [0x1023ebe8]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x100455c5
mov dword [eax + 0x1be8], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100455d4
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100efabc
mov esp, ebp
pop ebp
ret 4
Function at 0x10045ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10045ef2
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10046020
mov esi, eax
add esp, 8
test esi, esi
jne 0x10045f0a
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10046001
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10046001
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10046001
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10046001
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x10045f70
inc dword [eax + 0x370]
push dword [0x1023ece8]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x10239458]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10046001
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10045fd1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1023ebe8]
add esp, 4
test eax, eax
je 0x10045fb7
dec dword [eax + 0x370]
push dword [0x1023ece8]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1023945c]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10045fe9
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10045ff9
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x100461e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10046243
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10046226
cmp edi, 2
jb 0x10046226
cmp byte [esi], cl
jne 0x10046226
cmp byte [esi + 1], cl
jne 0x10046226
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102174f0]
jmp 0x100461f7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102174f0]
test edi, edi
jne 0x100461f7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10046278
nop word [eax + eax]
cmp cl, 0x23
jne 0x1004625f
cmp byte [esi], cl
jne 0x1004625f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x102174f0]
test cl, cl
jne 0x10046250
pop edi
pop esi
not eax
pop ebx
pop ebp
ret