joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474960
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
jmp 0x474990
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x4d3110]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4749b3
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 0xd], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 0xd]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x14]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x18]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x40
jl 0x474990
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
Function at 0x474a20
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
movzx edx, byte [esi]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d31a0]
shl al, 4
or byte [edi], al
movzx edx, byte [esi + 1]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d31e0]
or byte [edi], al
movzx edx, byte [esi + 2]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d3220]
shl al, 4
or byte [edi + 1], al
movzx edx, byte [esi + 3]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d3260]
or byte [edi + 1], al
movzx edx, byte [esi + 4]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d32a0]
shl al, 4
or byte [edi + 2], al
movzx edx, byte [esi + 5]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d32e0]
or byte [edi + 2], al
movzx edx, byte [esi + 6]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d3320]
shl al, 4
or byte [edi + 3], al
movzx edx, byte [esi + 7]
mov ecx, edx
mov eax, edx
shr ecx, 4
and eax, 1
and ecx, 2
shr edx, 1
or ecx, eax
and edx, 0xf
add ecx, ecx
movzx eax, byte [edx + ecx*8 + 0x4d3360]
or byte [edi + 3], al
xor ebx, ebx
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea ecx, [ecx]
movzx eax, byte [ebx + 0x4d3180]
mov esi, ebx
dec eax
shr esi, 3
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x474b8c
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ebp - 8], edx
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
mov cl, 7
sub cl, byte [ebp - 8]
mov byte [ebp + 0xb], dl
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp + 0xb]
sar eax, 3
and dl, byte [ebp + eax - 4]
mov al, bl
shr dl, cl
and al, 7
mov cl, 7
sub cl, al
mov eax, ebx
and eax, 7
shl dl, cl
mov ecx, 7
inc ebx
sub ecx, eax
mov al, 1
shl al, cl
not al
and al, byte [esi + edi]
or dl, al
mov byte [esi + edi], dl
cmp ebx, 0x20
jl 0x474b70
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ecx]
xor byte [edi], al
movzx eax, byte [ecx + 1]
xor byte [edi + 1], al
movzx eax, byte [ecx + 2]
xor byte [edi + 2], al
movzx eax, byte [ecx + 3]
xor byte [edi + 3], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476b3c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0x1505
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x8c]
add ebx, ecx
cmp esi, 0x102
jae 0x476c4c
test esi, esi
je 0x476c4c
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
je 0x476b8d
mov edi, edx
movzx ecx, byte [edi + ebx]
imul eax, eax, 0x21
add eax, ecx
inc edi
cmp edi, esi
jb 0x476b79
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and eax, 0xff
mov ebx, dword [edi + eax*4 + 0xb4]
mov dword [edi + eax*4 + 0xb4], ecx
mov dword [edi + 0x4c8], edx
test ebx, ebx
je 0x476c4c
sub ecx, ebx
cmp ecx, esi
jbe 0x476c4c
mov eax, dword [edi + 0x80]
sub eax, 0x106
cmp ecx, eax
jae 0x476c4c
cmp esi, dword [edi + 0x4cc]
ja 0x476c4c
test esi, esi
je 0x476c22
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [edi + 0x8c]
add eax, ecx
sub edx, ecx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, byte [esi + ecx]
mov esi, dword [ebp + 0x10]
jne 0x476c4c
lea eax, [ebx + edx]
push eax
push edi
call fcn.00476a58
pop ecx
pop ecx
cmp eax, 1
jne 0x476c4c
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
inc edx
inc eax
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
cmp edx, esi
jb 0x476bef
mov eax, dword [edi + 0x8c]
lea ecx, [ebx + esi]
cmp byte [ecx + eax - 1], 0x3b
je 0x476c42
lea eax, [ebx + esi]
push eax
push edi
call fcn.00476a58
pop ecx
pop ecx
test eax, eax
jne 0x476c4c
mov dword [edi + 0x4c8], ebx
mov eax, esi
jmp 0x476c4e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477899
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4778a6
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00477905
Function at 0x498074
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048531b
mov dword [ebp - 0x14], eax
cmp dword [0x4d77ac], esi
jne 0x498167
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4980f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x498247
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x498247
push 0x4b3618
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x498247
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4d77ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4d77b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4d77b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d77bc], eax
test eax, eax
je 0x498164
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d77b8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49818c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49817f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4981a1
push 4
pop eax
jmp 0x498249
cmp dword [ebp - 0x14], esi
je 0x4981a1
push dword [0x4d77ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x498186
mov eax, dword [0x4d77b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4981ff
cmp dword [0x4d77bc], edi
je 0x4981ff
push eax
call ebx
push dword [0x4d77bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4981ff
test eax, eax
je 0x4981ff
call ecx
test eax, eax
je 0x4981f4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4981f4
test byte [ebp - 8], 1
jne 0x4981ff
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49822f
mov eax, dword [0x4d77b0]
cmp eax, edi
je 0x49822c
push eax
call ebx
test eax, eax
je 0x49822c
call eax
mov esi, eax
test esi, esi
je 0x49822c
mov eax, dword [0x4d77b4]
cmp eax, edi
je 0x49822c
push eax
call ebx
test eax, eax
je 0x49822c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4d77ac]
call ebx
test eax, eax
je 0x498247
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x498249
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
Function at 0x401050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x128
mov eax, dword [0x41a004]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
mov esi, 0x7ffe0300
mov dword [esp + 0x14], 0x7efdd0c0
mov dword [0x41b7b4], 0xffffffff
call fcn.00414910
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 4], 0
je 0x4010cc
mov eax, dword fs:[0xc0]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
jmp 0x401128
mov eax, dword [esp + 0x10]
sub eax, 5
je 0x4010e8
sub eax, 1
jne 0x40112d
mov ecx, dword [0x7ffe0300]
mov dword [0x41b7b4], ecx
jmp 0x40112d
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x40110e
cmp word [esp + 0x120], 2
jae 0x401104
mov dword [0x41b7b4], esi
jmp 0x40113a
mov edx, dword [esi]
mov dword [0x41b7b4], edx
jmp 0x40112d
cmp eax, 2
jne 0x40112d
cmp word [esp + 0x120], 1
jae 0x401126
mov dword [0x41b7b4], esi
jmp 0x40113a
mov eax, dword [esi]
mov dword [0x41b7b4], eax
cmp dword [0x41b7b4], 0xffffffff
je 0x4011f5
push str.ntdll.dll
mov dword [0x41b7b0], 0x411340
mov dword [0x41b7bc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtReadFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4011f5
mov eax, dword [0x41b7b4]
mov ecx, dword [eax]
push 0x41b7b8
push 0x40
mov dword [0x41b7c0], ecx
mov edx, dword [eax + 4]
push 8
push eax
mov dword [0x41b7c4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esp + 4], 0
je 0x4011da
mov eax, dword [0x41b7b4]
mov dword [eax], 0xb8
mov ecx, dword [0x41b7b4]
mov dword [ecx + 1], 0x401000
mov eax, dword [0x41b7b4]
mov edx, 0xd0ff
mov word [eax + 5], dx
call esi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00411415
add esp, 0x128
ret
mov ecx, dword [0x41b7b4]
mov dword [ecx], 0x68
mov edx, dword [0x41b7b4]
mov dword [edx + 1], 0x401000
call esi
mov ecx, dword [esp + 0x128]
pop esi
xor ecx, esp
call fcn.00411415
add esp, 0x128
ret
Function at 0x411270
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push 0xca0d
push 8
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x411295
xor al, al
pop ebx
add esp, 8
ret
mov edx, 0x4015f0
mov ecx, 0x4015f0
test edx, edx
je 0x4112ae
inc ecx
cmp dword [ecx], 0xdeadbeaf
jne 0x4112a3
jmp 0x4112b4
mov ecx, 0x4015f0
inc ecx
add ecx, 4
cmp byte [ecx], 0x68
jne 0x411337
mov edx, dword [ecx + 1]
inc ecx
push esi
add ecx, 4
mov dword [eax], edx
cmp byte [ecx], 0x68
lea esi, [eax + 4]
mov dword [esp + 8], esi
jne 0x411336
mov edx, dword [ecx + 1]
inc ecx
cmp edx, 0xdeadbabe
je 0x4112f7
mov dword [esi], edx
add ecx, 4
add esi, 4
cmp byte [ecx], 0x68
je 0x4112d2
mov dword [esp + 8], esi
pop esi
mov al, bl
pop ebx
add esp, 8
ret
mov dword [esp + 8], esi
xor ecx, ecx
lea ecx, [ecx]
xor byte [ecx + eax], 0xd0
inc ecx
cmp ecx, 0xc9ed
jb 0x411300
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00401500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax], edx
mov bl, 1
pop esi
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x411370
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [0x41b7c8]
test esi, esi
je 0x4113be
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00411270
add esp, 8
test al, al
je 0x4113be
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4113bc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
call fcn.00401050
pop edi
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x411415
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a004]
jne 0x41141f
repz ret
jmp fcn.00411996
Function at 0x414d63
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00413be8
and dword [ebp - 4], 0
cmp dword [0x41b694], 0
mov ebx, eax
jne 0x414e14
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414ec5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x414ec5
push eax
call fcn.00413b76
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41b694], eax
call esi
push eax
call fcn.00413b76
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41b698], eax
call esi
push eax
call fcn.00413b76
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41b69c], eax
call esi
push eax
call fcn.00413b76
pop ecx
mov dword [0x41b6a4], eax
test eax, eax
je 0x414e14
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413b76
pop ecx
mov dword [0x41b6a0], eax
mov eax, dword [0x41b6a0]
cmp eax, ebx
je 0x414e6c
cmp dword [0x41b6a4], ebx
je 0x414e6c
push eax
call fcn.00413bf1
push dword [0x41b6a4]
mov esi, eax
call fcn.00413bf1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414e6c
test edi, edi
je 0x414e6c
call esi
test eax, eax
je 0x414e63
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414e63
test byte [ebp - 0xc], 1
jne 0x414e6c
or dword [ebp + 0x10], 0x200000
jmp 0x414ea5
mov eax, dword [0x41b698]
cmp eax, ebx
je 0x414ea5
push eax
call fcn.00413bf1
pop ecx
test eax, eax
je 0x414ea5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414ea5
mov eax, dword [0x41b69c]
cmp eax, ebx
je 0x414ea5
push eax
call fcn.00413bf1
pop ecx
test eax, eax
je 0x414ea5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b694]
call fcn.00413bf1
pop ecx
test eax, eax
je 0x414ec5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414ec7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012680
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 + 0x10170d60]
sub edi, 1
jne 0x100126a0
mov ecx, dword [0x1030d4e0]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x100126d2
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x100126e1
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1030cb40]
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 + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
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 + 0x10170d60]
sub edi, 1
jne 0x100127c4
mov eax, dword [0x1030d4e0]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x100127f5
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x10012804
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1010f522
mov esp, ebp
pop ebp
ret 4

Function at 0x10012fa0
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 0x10013003
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10012fe6
cmp edi, 2
jb 0x10012fe6
cmp byte [esi], cl
jne 0x10012fe6
cmp byte [esi + 1], cl
jne 0x10012fe6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10170d60]
jmp 0x10012fb7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10170d60]
test edi, edi
jne 0x10012fb7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10013038
nop word [eax + eax]
cmp cl, 0x23
jne 0x1001301f
cmp byte [esi], cl
jne 0x1001301f
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 + 0x10170d60]
test cl, cl
jne 0x10013010
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10013df0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x10171369
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x10013e22
cmp byte [esi], cl
jne 0x10013e22
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10170d60]
test cl, cl
jne 0x10013e13
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x1001d830
mov dword [ebp - 0xc], 0x1001d780
mov edi, dword [esi + 0x2d48]
mov ecx, dword [esi + 0x2d4c]
mov dword [ebp - 8], 0x1001d860
cmp edi, ecx
jne 0x10013f09
inc edi
test ecx, ecx
je 0x10013e7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10013e81
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10013f09
mov eax, dword [0x1030d4e0]
test eax, eax
je 0x10013e99
inc dword [eax + 0x374]
push ebx
push dword [0x1030d500]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x1019d1f8]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x10013efc
mov ecx, dword [esi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x10013eec
mov eax, dword [0x1030d4e0]
test eax, eax
je 0x10013eec
dec dword [eax + 0x374]
push dword [0x1030d500]
push ecx
call dword [0x1019d1fc]
add esp, 8
mov dword [esi + 0x2d50], ebx
mov dword [esi + 0x2d4c], edi
pop ebx
mov eax, dword [esi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2d48]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10014ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x1030d4e0]
cmp byte [esi + 0x2d60], 0
je 0x10014d7b
cmp dword [esi + 0x2d68], 0
push edi
lea edi, [esi + 0x2d6c]
je 0x10014d6c
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10014d26
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001e130
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1001dc90
mov edx, dword [edi]
mov ecx, 0x1030d4e4
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1001dc90
pop edi
pop esi
pop ebp
ret
Function at 0x10018fd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1030d4e0]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0xcc
mov dword [ebp + 8], eax
mov eax, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10170d60]
sub esi, 1
jne 0x10019000
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x10019047
inc esi
test ecx, ecx
je 0x10019035
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001903a
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1001e230
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001b310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x1030d4e0]
mov dword [eax + 0x2d38], 0
je 0x1001b405
push esi
mov esi, dword [0x1030d4e0]
push edi
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001b364
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001e130
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001b379
push 8
mov ecx, edi
call fcn.1001e130
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
jle 0x1001b3bc
xor ebx, ebx
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x1001b397
mov edi, dword [edi]
mov ebx, 0x1030d4e4
push 0x10171450
push dword [ebp + 8]
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne ebx, eax
call fcn.10012e40
mov esi, eax
add esp, 8
test esi, esi
je 0x1001b402
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret