joyce8/EMBER2024-capa huggingface dataset:
Function at 0x619110
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
movzx eax, byte [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
cmp dword [0x99cb30], 0xffffffff
jne 0x61915b
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x2c]
mov dword [0x99cb30], eax
movzx eax, byte [ebp + 0x1c]
xor al, 1
movzx eax, al
lea edi, [eax + eax]
add edi, 2
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
add esp, 4
mov dword [esi + 0x20], eax
push 0
push 0
push 0
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x24], eax
test eax, eax
je 0x619200
mov ebx, eax
mov edi, dword [ebp + 0x10]
mov eax, dword [0x99cb30]
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
push dword [ebp + 0x14]
push edi
call fcn.006730b0
add esp, 0x10
mov ecx, eax
sar ecx, 0x1f
sub edi, eax
mov edx, dword [ebp + 0x14]
sbb edx, ecx
mov dword [esp + 8], edx
cmp byte [ebp + 0x1c], 0
mov edx, 4
mov ecx, 0xf001f
cmovne ecx, edx
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 0x18]
add eax, edx
mov dword [esp + 4], eax
push eax
push edi
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
je 0x619224
mov ebx, eax
mov edi, dword [esp + 4]
mov eax, dword [ebp + 8]
test eax, eax
je 0x61925c
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
jmp 0x61925e
mov esi, dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push str.CreateFileMapping__p___lx__failed_with_error__lu_n
push str.filemap
push 6
call fcn.00612760
add esp, 0x18
xor eax, eax
jmp 0x61927e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 8]
push dword [esp + 0x10]
push edi
push str.MapViewOfFile__lld___zu__failed_with_error__lu_n
push str.filemap
push 6
call fcn.00612760
add esp, 0x1c
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
xor eax, eax
jmp 0x61927e
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
add ebx, dword [esp + 0xc]
mov dword [esi + 0x18], ebx
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18

Function at 0x61a400
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xf
jmp dword [eax*4 + 0x8ce560]
Function at 0x653390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, edx
mov esi, ecx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
movzx eax, byte [edx]
test al, 1
je 0x6533b9
mov eax, dword [edi + 4]
jmp 0x6533bb
shr eax, 1
mov ecx, esi
push eax
call fcn.0051fe90
movzx edx, byte [edi]
test dl, 1
mov dword [esp], esi
je 0x6533da
mov edx, dword [edi + 4]
mov edi, dword [edi + 8]
test edx, edx
jne 0x6533e1
jmp 0x653438
inc edi
shr edx, 1
test edx, edx
je 0x653438
movzx eax, byte [esp + 0x18]
xor al, 1
xor ebp, ebp
jmp 0x6533f7
inc ebp
mov eax, ebx
cmp edx, ebp
je 0x653438
movzx ecx, byte [edi + ebp]
mov bl, 1
cmp cl, 0x5f
je 0x6533f0
mov esi, edx
mov edx, ecx
add dl, 0x9f
movzx ebx, cl
add cl, 0xe0
cmp dl, 0x1a
movzx ecx, cl
cmovae ecx, ebx
test al, 1
cmove ecx, ebx
movzx ebx, al
mov eax, 0
cmovne ebx, eax
movsx eax, cl
mov ecx, dword [esp]
push eax
call fcn.00520460
mov edx, esi
jmp 0x6533f0
cmp byte [esp + 0x18], 0
mov eax, dword [esp]
je 0x653480
movzx edx, byte [eax]
test dl, 1
je 0x653453
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x65345b
jmp 0x653480
mov ecx, edx
shr ecx, 1
test ecx, ecx
je 0x653480
test dl, 1
je 0x653465
mov esi, dword [eax + 8]
jmp 0x653468
mov esi, eax
inc esi
movzx ecx, byte [esi]
mov edx, ecx
add dl, 0xbf
mov dh, cl
add dh, 0x20
cmp dl, 0x1a
movzx edx, dh
cmovae edx, ecx
mov byte [esi], dl
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x656720
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, ecx
mov dword [esp + 0x10], edx
mov ecx, edx
call fcn.0065c140
mov esi, dword [ebp + 4]
xor ecx, ecx
test esi, esi
je 0x65682d
imul eax, eax, 0x100011b
imul edi, edx, 0x1000193
xor edi, eax
mov eax, esi
shr eax, 1
and eax, 0x55555555
mov edx, esi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
ja 0x656793
lea edx, [esi - 1]
and edx, edi
jmp 0x65679f
mov edx, edi
cmp edi, esi
jb 0x65679f
mov eax, edi
xor edx, edx
div esi
mov eax, dword [ebp]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x65682d
mov dword [esp + 4], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x65682d
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x6567e1
and eax, dword [esp + 8]
mov ecx, dword [esp]
cmp eax, ecx
jne 0x656827
mov ebx, dword [ebx]
test ebx, ebx
je 0x656827
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x656810
lea ecx, [ebx + 8]
call fcn.0065c140
mov esi, eax
mov ebp, edx
mov ecx, dword [esp + 0x10]
call fcn.0065c140
cmp esi, eax
jne 0x6567db
cmp ebp, edx
jne 0x6567db
jmp 0x65682b
cmp dword [esp + 0xc], 1
jbe 0x6567d0
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x6567d4
xor edx, edx
div ecx
mov eax, edx
jmp 0x6567d4
xor ecx, ecx
jmp 0x65682d
mov ecx, ebx
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x656840
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], edx
mov eax, dword [edx + 8]
mov esi, 0
test eax, eax
jle 0x65686d
mov edx, dword [esp]
mov edx, dword [edx + 4]
add eax, edx
xor esi, esi
lea edi, [esi + esi*4]
movsx esi, byte [edx]
add esi, edi
inc edx
cmp edx, eax
jb 0x656860
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x656985
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
imul eax, eax, 0x1000193
xor esi, eax
mov eax, ebp
shr eax, 1
and eax, 0x55555555
mov edx, ebp
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul ebx, eax, 0x1010101
shr ebx, 0x18
cmp ebx, 1
ja 0x6568c9
lea edx, [ebp - 1]
and edx, esi
jmp 0x6568d5
mov edx, esi
cmp esi, ebp
jb 0x6568d5
mov eax, esi
xor edx, edx
div ebp
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x656985
mov edi, dword [eax]
test edi, edi
mov eax, 0
je 0x656987
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov ecx, dword [eax + 4]
mov dword [esp + 8], ecx
mov eax, dword [eax + 8]
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
jmp 0x65692e
and eax, dword [esp + 0x10]
cmp eax, edx
jne 0x656985
mov edi, dword [edi]
test edi, edi
je 0x656985
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x656970
cmp dword [edi + 8], ecx
jne 0x656928
mov eax, dword [esp]
cmp dword [edi + 0x10], eax
jne 0x656928
cmp dword [esp], 0
je 0x65698f
mov eax, dword [edi + 0xc]
cmp eax, dword [esp + 8]
je 0x65698f
push dword [esp]
push dword [esp + 0xc]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x656928
jmp 0x65698f
cmp ebx, 1
jbe 0x656920
cmp eax, ebp
jb 0x656924
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 4]
jmp 0x656924
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi + 0x14]
jmp 0x656987
Function at 0x6569a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, ecx
mov dword [esp + 0x10], edx
mov ecx, edx
call fcn.0065c140
mov esi, dword [ebp + 4]
xor ecx, ecx
test esi, esi
je 0x656aad
imul eax, eax, 0x100011b
imul edi, edx, 0x1000193
xor edi, eax
mov eax, esi
shr eax, 1
and eax, 0x55555555
mov edx, esi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
ja 0x656a13
lea edx, [esi - 1]
and edx, edi
jmp 0x656a1f
mov edx, edi
cmp edi, esi
jb 0x656a1f
mov eax, edi
xor edx, edx
div esi
mov eax, dword [ebp]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x656aad
mov dword [esp + 4], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x656aad
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x656a61
and eax, dword [esp + 8]
mov ecx, dword [esp]
cmp eax, ecx
jne 0x656aa7
mov ebx, dword [ebx]
test ebx, ebx
je 0x656aa7
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x656a90
lea ecx, [ebx + 8]
call fcn.0065c140
mov esi, eax
mov ebp, edx
mov ecx, dword [esp + 0x10]
call fcn.0065c140
cmp esi, eax
jne 0x656a5b
cmp ebp, edx
jne 0x656a5b
jmp 0x656aab
cmp dword [esp + 0xc], 1
jbe 0x656a50
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x656a54
xor edx, edx
div ecx
mov eax, edx
jmp 0x656a54
xor ecx, ecx
jmp 0x656aad
mov ecx, ebx
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x65a820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
mov dword [esp + 8], eax
mov byte [esp + 0x20], 0xb
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0065a4e0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x65a88f
mov ecx, dword [esp + 0x10]
add eax, ecx
xor esi, esi
nop
lea edx, [esi + esi*4]
movsx esi, byte [ecx]
add esi, edx
inc ecx
cmp ecx, eax
jb 0x65a880
jmp 0x65a891
xor esi, esi
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
test eax, eax
je 0x65a9ba
imul eax, dword [esp + 0xc], 0x1000193
xor esi, eax
mov edi, dword [esp + 4]
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [esp + 0x1c], eax
cmp eax, 1
ja 0x65a8f4
lea edx, [edi - 1]
and edx, esi
jmp 0x65a900
mov edx, esi
cmp esi, edi
jb 0x65a900
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ebx]
mov dword [esp], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x65a9ba
mov edi, dword [eax]
test edi, edi
je 0x65a9ba
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 0x18], eax
jmp 0x65a941
and eax, dword [esp + 0x18]
mov ecx, dword [esp]
cmp eax, ecx
jne 0x65a9ba
mov edi, dword [edi]
test edi, edi
je 0x65a9ba
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x65a9a0
lea ebx, [edi + 8]
lea ecx, [esp + 0xc]
push ebx
call fcn.0065a4e0
lea ecx, [esp + 0x40]
lea eax, [esp + 8]
push eax
call fcn.0065a4e0
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x40]
jne 0x65a93b
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x48]
jne 0x65a93b
test eax, eax
je 0x65a9c9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
cmp ecx, edx
je 0x65a9c9
push eax
push edx
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x65a93b
jmp 0x65a9c9
cmp dword [esp + 0x1c], 1
jbe 0x65a930
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x65a934
xor edx, edx
div ecx
mov eax, edx
jmp 0x65a934
mov eax, 0x8d3280
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebx]
jmp 0x65a9bf
Function at 0x65fb60
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
movzx ebx, byte [ebp]
test bl, 1
mov dword [esp], ecx
je 0x65fb7f
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
jmp 0x65fb82
inc ebp
shr ebx, 1
mov eax, ebx
mov ecx, ebp
mov edx, ebx
cmp ebx, 4
jb 0x65fc12
lea edx, [ebx - 4]
test dl, 4
jne 0x65fbc1
imul eax, dword [ebp], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
xor eax, ecx
lea ecx, [ebp + 4]
mov esi, edx
cmp edx, 4
jae 0x65fbcc
jmp 0x65fc12
mov esi, ebx
mov ecx, ebp
mov eax, ebx
cmp edx, 4
jb 0x65fc12
mov edx, esi
nop
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
imul esi, dword [ecx + 4], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x65fbd0
cmp edx, 1
je 0x65fc38
cmp edx, 2
mov edi, dword [esp]
je 0x65fc2d
cmp edx, 3
jne 0x65fc46
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x65fc3b
mov edi, dword [esp]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x65fd9b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, ecx
shr eax, 1
and eax, 0x55555555
mov edx, ecx
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
mov dword [esp + 4], ecx
ja 0x65fcad
lea edx, [ecx - 1]
and edx, esi
jmp 0x65fcbb
mov edx, esi
cmp esi, ecx
jb 0x65fcbb
mov eax, esi
xor edx, edx
div dword [esp + 4]
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x65fd9b
mov edi, dword [eax]
test edi, edi
mov eax, 0
je 0x65fd9d
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x65fd06
and eax, dword [esp + 8]
cmp eax, edx
jne 0x65fd9b
mov edi, dword [edi]
test edi, edi
je 0x65fd9b
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x65fd60
movzx edx, byte [edi + 8]
mov eax, edx
shr eax, 1
mov ecx, eax
test dl, 1
je 0x65fd1f
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x65fcfc
lea ecx, [edi + 9]
test dl, 1
je 0x65fd2e
mov ecx, dword [edi + 0x10]
jne 0x65fd80
test ebx, ebx
je 0x65fd97
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [edi + ecx + 9]
cmp dl, byte [ebp + ecx]
jne 0x65fcfc
inc ecx
cmp eax, ecx
jne 0x65fd40
jmp 0x65fd97
cmp dword [esp + 0xc], 1
mov edx, dword [esp]
jbe 0x65fcf0
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x65fcf4
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp]
jmp 0x65fcf4
test ebx, ebx
je 0x65fd97
push ebx
push ebp
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x65fcfc
mov eax, edi
jmp 0x65fd9d
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x660400
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
movzx ebx, byte [ebp]
test bl, 1
mov dword [esp], ecx
je 0x66041f
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
jmp 0x660422
inc ebp
shr ebx, 1
mov eax, ebx
mov ecx, ebp
mov edx, ebx
cmp ebx, 4
jb 0x6604b2
lea edx, [ebx - 4]
test dl, 4
jne 0x660461
imul eax, dword [ebp], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
xor eax, ecx
lea ecx, [ebp + 4]
mov esi, edx
cmp edx, 4
jae 0x66046c
jmp 0x6604b2
mov esi, ebx
mov ecx, ebp
mov eax, ebx
cmp edx, 4
jb 0x6604b2
mov edx, esi
nop
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
imul esi, dword [ecx + 4], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x660470
cmp edx, 1
je 0x6604d8
cmp edx, 2
mov edi, dword [esp]
je 0x6604cd
cmp edx, 3
jne 0x6604e6
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x6604db
mov edi, dword [esp]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x66063b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, ecx
shr eax, 1
and eax, 0x55555555
mov edx, ecx
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
mov dword [esp + 4], ecx
ja 0x66054d
lea edx, [ecx - 1]
and edx, esi
jmp 0x66055b
mov edx, esi
cmp esi, ecx
jb 0x66055b
mov eax, esi
xor edx, edx
div dword [esp + 4]
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x66063b
mov edi, dword [eax]
test edi, edi
mov eax, 0
je 0x66063d
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x6605a6
and eax, dword [esp + 8]
cmp eax, edx
jne 0x66063b
mov edi, dword [edi]
test edi, edi
je 0x66063b
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x660600
movzx edx, byte [edi + 8]
mov eax, edx
shr eax, 1
mov ecx, eax
test dl, 1
je 0x6605bf
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x66059c
lea ecx, [edi + 9]
test dl, 1
je 0x6605ce
mov ecx, dword [edi + 0x10]
jne 0x660620
test ebx, ebx
je 0x660637
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [edi + ecx + 9]
cmp dl, byte [ebp + ecx]
jne 0x66059c
inc ecx
cmp eax, ecx
jne 0x6605e0
jmp 0x660637
cmp dword [esp + 0xc], 1
mov edx, dword [esp]
jbe 0x660590
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x660594
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp]
jmp 0x660594
test ebx, ebx
je 0x660637
push ebx
push ebp
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x66059c
mov eax, edi
jmp 0x66063d
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x6615c0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
movzx ebx, byte [ebp]
test bl, 1
mov dword [esp], ecx
je 0x6615df
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
jmp 0x6615e2
inc ebp
shr ebx, 1
mov eax, ebx
mov ecx, ebp
mov edx, ebx
cmp ebx, 4
jb 0x661672
lea edx, [ebx - 4]
test dl, 4
jne 0x661621
imul eax, dword [ebp], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
xor eax, ecx
lea ecx, [ebp + 4]
mov esi, edx
cmp edx, 4
jae 0x66162c
jmp 0x661672
mov esi, ebx
mov ecx, ebp
mov eax, ebx
cmp edx, 4
jb 0x661672
mov edx, esi
nop
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
imul esi, dword [ecx + 4], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x661630
cmp edx, 1
je 0x661698
cmp edx, 2
mov edi, dword [esp]
je 0x66168d
cmp edx, 3
jne 0x6616a6
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x66169b
mov edi, dword [esp]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x6617fb
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, ecx
shr eax, 1
and eax, 0x55555555
mov edx, ecx
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
mov dword [esp + 4], ecx
ja 0x66170d
lea edx, [ecx - 1]
and edx, esi
jmp 0x66171b
mov edx, esi
cmp esi, ecx
jb 0x66171b
mov eax, esi
xor edx, edx
div dword [esp + 4]
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x6617fb
mov edi, dword [eax]
test edi, edi
mov eax, 0
je 0x6617fd
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x661766
and eax, dword [esp + 8]
cmp eax, edx
jne 0x6617fb
mov edi, dword [edi]
test edi, edi
je 0x6617fb
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x6617c0
movzx edx, byte [edi + 8]
mov eax, edx
shr eax, 1
mov ecx, eax
test dl, 1
je 0x66177f
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x66175c
lea ecx, [edi + 9]
test dl, 1
je 0x66178e
mov ecx, dword [edi + 0x10]
jne 0x6617e0
test ebx, ebx
je 0x6617f7
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [edi + ecx + 9]
cmp dl, byte [ebp + ecx]
jne 0x66175c
inc ecx
cmp eax, ecx
jne 0x6617a0
jmp 0x6617f7
cmp dword [esp + 0xc], 1
mov edx, dword [esp]
jbe 0x661750
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x661754
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp]
jmp 0x661754
test ebx, ebx
je 0x6617f7
push ebx
push ebp
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x66175c
mov eax, edi
jmp 0x6617fd
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x661cb0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
movzx ebx, byte [ebp]
test bl, 1
mov dword [esp], ecx
je 0x661ccf
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
jmp 0x661cd2
inc ebp
shr ebx, 1
mov eax, ebx
mov ecx, ebp
mov edx, ebx
cmp ebx, 4
jb 0x661d62
lea edx, [ebx - 4]
test dl, 4
jne 0x661d11
imul eax, dword [ebp], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
xor eax, ecx
lea ecx, [ebp + 4]
mov esi, edx
cmp edx, 4
jae 0x661d1c
jmp 0x661d62
mov esi, ebx
mov ecx, ebp
mov eax, ebx
cmp edx, 4
jb 0x661d62
mov edx, esi
nop
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
imul esi, dword [ecx + 4], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x661d20
cmp edx, 1
je 0x661d88
cmp edx, 2
mov edi, dword [esp]
je 0x661d7d
cmp edx, 3
jne 0x661d96
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x661d8b
mov edi, dword [esp]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x661eeb
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, ecx
shr eax, 1
and eax, 0x55555555
mov edx, ecx
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0xc], eax
cmp eax, 1
mov dword [esp + 4], ecx
ja 0x661dfd
lea edx, [ecx - 1]
and edx, esi
jmp 0x661e0b
mov edx, esi
cmp esi, ecx
jb 0x661e0b
mov eax, esi
xor edx, edx
div dword [esp + 4]
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x661eeb
mov edi, dword [eax]
test edi, edi
mov eax, 0
je 0x661eed
mov dword [esp], edx
mov eax, dword [esp + 4]
dec eax
mov dword [esp + 8], eax
jmp 0x661e56
and eax, dword [esp + 8]
cmp eax, edx
jne 0x661eeb
mov edi, dword [edi]
test edi, edi
je 0x661eeb
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x661eb0
movzx edx, byte [edi + 8]
mov eax, edx
shr eax, 1
mov ecx, eax
test dl, 1
je 0x661e6f
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x661e4c
lea ecx, [edi + 9]
test dl, 1
je 0x661e7e
mov ecx, dword [edi + 0x10]
jne 0x661ed0
test ebx, ebx
je 0x661ee7
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [edi + ecx + 9]
cmp dl, byte [ebp + ecx]
jne 0x661e4c
inc ecx
cmp eax, ecx
jne 0x661e90
jmp 0x661ee7
cmp dword [esp + 0xc], 1
mov edx, dword [esp]
jbe 0x661e40
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x661e44
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp]
jmp 0x661e44
test ebx, ebx
je 0x661ee7
push ebx
push ebp
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x661e4c
mov eax, edi
jmp 0x661eed
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4