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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cd4d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, eax
mov ebx, dword [ebp + 8]
shr edi, 1
test al, 0x10
jne 0x10016608
cmp byte [esi + 0x2c], 0
mov dword [ebp - 0x2c], 0
je 0x1001660f
mov dword [ebp - 0x2c], 1
not edi
mov dword [esi + 0x1c], eax
and edi, 1
shl edi, 0x1f
push ebx
add edi, 0x40000000
call fcn.1001b0c0
movzx eax, ax
add esp, 4
cmp eax, 0x2e
je 0x10016636
cmp eax, 0x20
jne 0x10016645
test byte [ebp + 0xc], 0x20
jne 0x10016645
mov dword [esi + 4], 0xffffffff
jmp 0x1001666e
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1001664f
mov eax, dword [ebx]
push 0
push 0
push 2
push 0
push dword [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10016710
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1001b280
add esp, 8
test al, al
je 0x100166bf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x100166a9
mov eax, dword [ebp - 0x28]
push 0
push 0
push 2
push 0
push dword [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x100166fc
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100166f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001674d
push ecx
push edx
call fcn.100308ca
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push ebx
lea ecx, [esi + 0x30]
mov byte [esi + 0x18], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x11], 0
call fcn.1000ecf0
cmp dword [esi + 4], 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret 8
call fcn.1003442e
int3
Function at 0x100167a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc], 1
jne 0x100167b8
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
mov ebp, dword [esp + 0x18]
push 0
push eax
push ebx
push ebp
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10016864
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10016810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x100167f3
cmp eax, 3
jne 0x10016810
cmp ebx, 0x4e20
jbe 0x10016810
push 0x4e20
push ebp
mov ecx, esi
call fcn.100167a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp dword [esi + 0xc], 1
jne 0x1001682b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1001682b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
cmp dword [esi + 0xc], 0
jne 0x10016859
cmp ebx, 0x8000
jbe 0x10016859
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x10016859
push 0x8000
push ebp
mov ecx, esi
call fcn.100167a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x100171a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cdcd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
test ebx, ebx
jne 0x100171e4
mov al, 1
jmp 0x10017333
cmp dword [edi + 0xc], 1
lea edx, [edi + 4]
mov dword [ebp - 0x30], edx
jne 0x10017202
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [ebp - 0x34]
lea edx, [edi + 4]
mov dword [edx], eax
jmp 0x10017210
mov dword [ebp - 0x30], edx
jmp 0x10017210
cmp dword [edi + 0xc], 0
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x38], 0
je 0x10017267
xor esi, esi
test ebx, ebx
je 0x10017287
mov eax, ebx
sub eax, esi
cmp eax, 0x4000
jb 0x10017237
mov eax, 0x4000
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
mov eax, dword [ebp - 0x34]
add eax, esi
push eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne cl
mov byte [ebp - 0x29], cl
test eax, eax
je 0x1001727f
mov edx, dword [ebp - 0x30]
add esi, 0x4000
cmp esi, ebx
jb 0x10017227
jmp 0x1001727f
push 0
lea eax, [ebp - 0x38]
push eax
push ebx
push ecx
push dword [edx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne cl
mov byte [ebp - 0x29], cl
test cl, cl
jne 0x1001732c
cmp byte [edi + 0x1a], 0
je 0x1001732c
cmp dword [edi + 0xc], 0
jne 0x1001732c
push 0
lea esi, [edi + 0x30]
mov ecx, 0x1004c10c
push esi
call fcn.1000e200
test al, al
je 0x10017301
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
cmp eax, ebx
jae 0x10017210
test eax, eax
je 0x10017210
mov edi, dword [edi]
push 0
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [0x1003e220]
mov ecx, dword [ebp - 0x3c]
call esi
sub eax, dword [ebp - 0x38]
mov esi, dword [edi + 0x10]
mov ecx, esi
sbb edx, 0
push edx
push eax
call dword [0x1003e220]
mov edi, dword [ebp - 0x3c]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x10017210
push 0x1003e4f0
lea ecx, [ebp - 0x28]
call fcn.10009a40
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1004c10c
call fcn.1000ea20
lea ecx, [ebp - 0x28]
call fcn.10001aa0
mov al, byte [ebp - 0x29]
mov byte [edi + 8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret 8
Function at 0x10017530
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10017567
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x100175ea
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x100175b4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x100175a8
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100175ea
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100175e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017607
push ecx
push edx
call fcn.100308ca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3

Function at 0x10017610
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10017647
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
jne 0x100176ca
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x10017694
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x10017688
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100176ca
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100176c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100176e7
push ecx
push edx
call fcn.100308ca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3
Function at 0x10017710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10017747
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100177cf
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x10017799
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x10017790
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100177cf
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100177c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177ec
push ecx
push edx
call fcn.100308ca
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3
Function at 0x10017cf0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.1001b0c0
movzx eax, ax
add esp, 4
cmp eax, 0x2e
je 0x10017d52
cmp eax, 0x20
je 0x10017d52
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10017d3d
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x10017e01
jmp 0x10017d54
xor edi, edi
push esi
call fcn.10017710
add esp, 4
cmp eax, 0xffffffff
jne 0x10017e17
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x10017dac
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x10017da1
mov eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x10017de9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10017ddf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017e4f
push ecx
push edx
call fcn.100308ca
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x10017e17
cmp byte [ebp + 0xc], 0
je 0x10017e13
push dword [ebp + 0x10]
push esi
call fcn.10018940
add esp, 8
xor eax, eax
jmp 0x10017e34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 2
je 0x10017e2f
xor eax, eax
cmp ecx, 3
sete al
inc eax
jmp 0x10017e34
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3
Function at 0x100185a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cf05
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x100185db
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100185e5
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test eax, eax
jne 0x100186ea
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push edi
call fcn.1001b280
add esp, 8
test al, al
je 0x1001866a
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x1001866a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x10018651
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
jb 0x1001865d
mov ecx, dword [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100186a0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10018696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018708
push ecx
push edx
call fcn.100308ca
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x100186ea
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100186e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018708
push ecx
push edx
call fcn.100308ca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3
Function at 0x10018940
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10018977
mov eax, dword [esi]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test eax, eax
jne 0x10018a00
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.1001b280
add esp, 8
test al, al
je 0x100189ca
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x100189bb
mov eax, dword [ebp - 0x28]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10018a00
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100189f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018a1d
push ecx
push edx
call fcn.100308ca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100308d8
mov esp, ebp
pop ebp
ret
call fcn.1003442e
int3
Function at 0x100199b0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, 2
push ebp
push edi
mov ebp, ecx
mov ecx, dword [esp + 0xc]
lea edi, [eax - 1]
cmp ecx, edi
jbe 0x10019a42
push ebx
push esi
test cl, 1
je 0x10019a00
xor ebx, ebx
mov esi, eax
test edi, edi
je 0x100199fe
test esi, esi
je 0x100199fa
mov ecx, esi
mov edx, edi
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
sar edx, 0x1f
and ecx, edi
shr esi, 1
and edx, 0x4c11db7
add edi, edi
xor ebx, ecx
xor edi, edx
jne 0x100199d3
mov ecx, dword [esp + 0x14]
mov edi, ebx
xor ebx, ebx
mov esi, eax
test eax, eax
je 0x10019a33
test eax, eax
je 0x10019a2f
mov ecx, eax
mov edx, esi
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
sar edx, 0x1f
and ecx, esi
shr eax, 1
and edx, 0x4c11db7
add esi, esi
xor ebx, ecx
xor esi, edx
jne 0x10019a08
mov ecx, dword [esp + 0x14]
shr ecx, 1
mov eax, ebx
mov dword [esp + 0x14], ecx
cmp ecx, 1
ja 0x100199c6
pop esi
pop ebx
push eax
push edi
mov ecx, ebp
call fcn.10019a50
pop edi
pop ebp
ret 4

Function at 0x10019a50
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [esp + 4]
push edi
xor edi, edi
test ecx, ecx
je 0x10019a8d
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10019a86
mov eax, esi
mov edx, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
sar edx, 0x1f
and eax, ecx
shr esi, 1
and edx, 0x4c11db7
add ecx, ecx
xor edi, eax
xor ecx, edx
jne 0x10019a60
pop esi
mov eax, edi
pop edi
ret 8
mov eax, edi
pop edi
ret 8

Function at 0x10019db0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10047810]
xor eax, esp
mov dword [esp + 0x114], eax
cmp byte [0x1004c124], 0
jne 0x10019e40
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x10019e1f
jne 0x10019dfc
cmp dword [esp + 0xc], 0x55f0
jb 0x10019dfc
call fcn.10019e60
test al, al
je 0x10019e1f
xor al, al
mov byte [0x1004c124], 1
mov byte [0x1004c125], al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100308d8
add esp, 0x118
ret
mov al, 1
mov byte [0x1004c125], al
mov byte [0x1004c124], al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100308d8
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
mov al, byte [0x1004c125]
xor ecx, esp
call fcn.100308d8
add esp, 0x118
ret
Function at 0x1001e410
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
push esi
mov esi, dword [esp + 0xc]
xor cl, cl
cmp esi, eax
jbe 0x1001e42c
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x1001e424
cmp cl, byte [edx]
jne 0x1001e46f
push esi
push edx
push 0xffffffffffffffff
call fcn.1000aba0
add esp, 0xc
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x10047144], eax
jne 0x1001e452
cmp dword [ecx + 0x10047140], esi
je 0x1001e45f
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x1001e442
pop esi
ret 0xc
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x10047148]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
pop esi
ret 0xc

Function at 0x1001e930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d413
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10047810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x94]
call fcn.100190e0
lea ecx, [esi + 0xa8]
mov dword [ebp - 4], 0
call fcn.100190e0
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.100190e0
push 0x930
mov byte [ebp - 4], 2
call fcn.1003089a
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1001e9ac
mov ecx, eax
call fcn.1000af80
jmp 0x1001e9ae
xor eax, eax
push 0x930
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
call fcn.1003089a
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1001e9d6
mov ecx, eax
call fcn.1000af80
jmp 0x1001e9d8
xor eax, eax
mov dword [esi + 0x4c], eax
mov eax, esi
mov byte [esi], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x3c], 0
mov word [esi + 0xd0], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001f1c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x1004c130], cl
inc ecx
cmp ecx, 0x100
jl 0x1001f1c2
push ebx
xor edx, edx
push esi
lea esp, [esp]
mov al, byte [edx + str.cw]
mov bl, 2
mov byte [edx*4 + 0x1004ce31], al
mov cl, al
mov byte [edx*4 + 0x1004ce30], al
xor ah, ah
mov byte [edx*4 + 0x1004ca33], al
mov byte [edx*4 + 0x1004ca30], al
mov byte [edx*4 + 0x1004c633], al
mov byte [edx*4 + 0x1004c632], al
mov byte [edx*4 + 0x1004c232], al
mov byte [edx*4 + 0x1004c231], al
mov ch, cl
test bl, 1
je 0x1001f22d
xor ah, cl
add cl, cl
test ch, ch
jns 0x1001f236
xor cl, 0x1b
shr bl, 1
jne 0x1001f224
mov byte [edx*4 + 0x1004ce33], ah
mov cl, 3
mov byte [edx*4 + 0x1004ca32], ah
xor bl, bl
mov byte [edx*4 + 0x1004c631], ah
mov byte [edx*4 + 0x1004c230], ah
lea ebx, [ebx]
mov ah, al
test cl, 1
je 0x1001f269
xor bl, al
add al, al
test ah, ah
jns 0x1001f271
xor al, 0x1b
shr cl, 1
jne 0x1001f260
mov cl, byte [edx + 0x1004c130]
xor ah, ah
mov byte [edx*4 + 0x1004ce32], bl
mov al, cl
mov byte [edx*4 + 0x1004ca31], bl
mov byte [edx*4 + 0x1004c630], bl
mov byte [edx*4 + 0x1004c233], bl
mov bl, 0xb
lea ecx, [ecx]
mov ch, al
test bl, 1
je 0x1001f2a9
xor ah, al
add al, al
test ch, ch
jns 0x1001f2b1
xor al, 0x1b
shr bl, 1
jne 0x1001f2a0
movzx esi, cl
mov al, cl
mov byte [edx*4 + 0x1004de32], ah
xor bl, bl
mov byte [edx*4 + 0x1004da31], ah
mov byte [edx*4 + 0x1004d630], ah
mov byte [edx*4 + 0x1004d233], ah
mov byte [esi*4 + 0x1004ee32], ah
mov byte [esi*4 + 0x1004ea31], ah
mov byte [esi*4 + 0x1004e630], ah
mov byte [esi*4 + 0x1004e233], ah
mov ah, 9
mov ch, al
test ah, 1
je 0x1001f2ff
xor bl, al
add al, al
test ch, ch
jns 0x1001f307
xor al, 0x1b
shr ah, 1
jne 0x1001f2f6
mov byte [edx*4 + 0x1004de30], bl
mov ah, 0xd
mov byte [edx*4 + 0x1004da33], bl
mov al, cl
mov byte [edx*4 + 0x1004d632], bl
mov byte [edx*4 + 0x1004d231], bl
mov byte [esi*4 + 0x1004ee30], bl
mov byte [esi*4 + 0x1004ea33], bl
mov byte [esi*4 + 0x1004e632], bl
mov byte [esi*4 + 0x1004e231], bl
xor bl, bl
lea esp, [esp]
mov ch, al
test ah, 1
je 0x1001f359
xor bl, al
add al, al
test ch, ch
jns 0x1001f361
xor al, 0x1b
shr ah, 1
jne 0x1001f350
mov byte [edx*4 + 0x1004de31], bl
xor al, al
mov byte [edx*4 + 0x1004da30], bl
mov byte [edx*4 + 0x1004d633], bl
mov byte [edx*4 + 0x1004d232], bl
mov byte [esi*4 + 0x1004ee31], bl
mov byte [esi*4 + 0x1004ea30], bl
mov byte [esi*4 + 0x1004e633], bl
mov byte [esi*4 + 0x1004e232], bl
mov bl, 0xe
mov ah, cl
test bl, 1
je 0x1001f3aa
xor al, cl
add cl, cl
test ah, ah
jns 0x1001f3b3
xor cl, 0x1b
shr bl, 1
jne 0x1001f3a1
mov byte [edx*4 + 0x1004de33], al
mov byte [edx*4 + 0x1004da32], al
mov byte [edx*4 + 0x1004d631], al
mov byte [edx*4 + 0x1004d230], al
inc edx
mov byte [esi*4 + 0x1004ee33], al
mov byte [esi*4 + 0x1004ea32], al
mov byte [esi*4 + 0x1004e631], al
mov byte [esi*4 + 0x1004e230], al
cmp edx, 0x100
jl 0x1001f1e0
pop esi
pop ebx
ret