joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
mov dword [esp + 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x100961a1
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push ebx
push ebp
lea ebx, [edx - 4]
or ebp, 0xffffffff
add ebx, ecx
mov dword [esp + 0x14], ebx
nop
lea edx, [edi + ecx]
cmp edx, ebx
jae 0x100961c4
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x100961c4
inc edx
cmp edx, ebx
jb 0x100961b7
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, ebp
cmp edx, ebx
jae 0x100962d0
cmp ecx, 3
jbe 0x10096201
xor esi, esi
mov al, byte [edx + 4]
mov ebp, edi
mov dword [esp + 0x18], ebp
test al, al
je 0x1009623c
cmp al, 0xff
je 0x1009623c
mov ecx, dword [esp + 0x10]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x100961b0
dec ecx
shl esi, cl
and esi, 7
je 0x100961db
cmp byte [esi + 0x10207e78], 0
je 0x10096228
movzx eax, byte [esi + 0x10207e70]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x10096228
cmp al, 0xff
jne 0x100961db
mov ecx, dword [esp + 0x10]
and esi, 3
add esi, esi
mov ebp, edi
or esi, 1
inc edi
jmp 0x100961b0
movzx ecx, byte [edx + 3]
movzx eax, al
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
nop word [eax + eax]
sub eax, edi
lea ebx, [eax - 5]
test esi, esi
je 0x10096299
movzx ebp, byte [esi + 0x10207e70]
mov ecx, 0x18
shl ebp, 3
mov eax, ebx
sub ecx, ebp
shr eax, cl
test al, al
je 0x10096286
cmp al, 0xff
jne 0x10096299
mov ecx, 0x20
mov eax, 1
sub ecx, ebp
shl eax, cl
dec eax
xor eax, ebx
jmp 0x10096260
mov ebp, dword [esp + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [esp + 0x14]
shr eax, 8
mov byte [edx + 2], al
mov eax, 5
add edi, eax
jmp 0x100961b0
pop ebp
pop ebx
cmp ecx, 3
jbe 0x100962e7
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
dec ecx
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1009f710
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebx
mov ebx, edx
mov edx, ecx
push esi
mov ecx, ebx
xor esi, esi
push edi
shr ecx, 2
xor edi, edi
test ecx, ecx
je 0x1009f747
imul eax, dword [edx + esi*4], 0xcc9e2d51
inc esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edi, eax
rol edi, 0xd
add edi, 0xfaddaf14
lea edi, [edi + edi*4]
cmp esi, ecx
jb 0x1009f724
mov eax, ebx
lea edx, [edx + ecx*4]
and eax, 3
xor ecx, ecx
sub eax, 1
je 0x1009f770
sub eax, 1
je 0x1009f767
sub eax, 1
jne 0x1009f786
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edi, eax
xor edi, ebx
mov eax, edi
shr eax, 0x10
xor eax, edi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x100a98a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea92e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.SkRefCntBase.0
mov dword [esi + 4], 1
mov dword [ebp - 4], 0
mov dword [esi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [esi + 8]
mov dword [esi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [esi + 0x1c], 0x64
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
push ecx
lea ecx, [esi + 0x4b8]
call fcn.100d2c40
push 0
push 0
mov ecx, esi
call fcn.100a9540
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100a9c30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eaa8d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SkRefCntBase.0
mov dword [edi + 4], 1
mov dword [ebp - 4], 0
mov dword [edi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [edi + 8]
mov dword [edi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x30]
mov dword [edi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [edi + 0x1c], 0x64
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x4b8]
push ecx
mov ecx, esi
call fcn.100d2c40
push 0x50
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov ecx, eax
push esi
push dword [ebp + 8]
call fcn.100a9a10
mov byte [ebp - 4], 4
mov ecx, edi
push 1
push eax
call fcn.100a9540
mov esi, eax
or edx, 0xffffffff
lea ecx, [esi + 4]
lock xadd dword [ecx], edx
cmp edx, 1
jne 0x100a9d3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a9d60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eaade
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.SkRefCntBase.0
mov dword [esi + 4], 1
mov dword [ebp - 4], 0
mov dword [esi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [esi + 8]
mov dword [esi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [esi + 0x1c], 0x64
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push 0
push ecx
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x4b8], eax
mov eax, dword [ecx + 0x18]
mov ecx, esi
mov dword [esi + 0x4bc], eax
call fcn.100a9540
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100a9e60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eab55
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SkRefCntBase.0
mov dword [edi + 4], 1
mov dword [ebp - 4], 0
mov dword [edi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [edi + 8]
mov dword [edi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x30]
mov dword [edi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [edi + 0x1c], 0x64
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x4b8]
mov ecx, dword [ebp + 0xc]
push 0x50
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov ecx, eax
push esi
push dword [ebp + 8]
call fcn.100dc9a0
mov esi, eax
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 7
mov ecx, edi
push 0
push esi
call fcn.100a9540
mov byte [ebp - 4], 4
test esi, esi
je 0x100a9f81
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100a9f81
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a9fb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eabc5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SkRefCntBase.0
mov dword [edi + 4], 1
mov dword [ebp - 4], 0
mov dword [edi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [edi + 8]
mov dword [edi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x30]
mov dword [edi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [edi + 0x1c], 0x64
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x4b8]
push ecx
mov ecx, esi
call fcn.100d2c40
push 0x50
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov ecx, eax
push esi
push dword [ebp + 8]
call fcn.100dc9a0
mov esi, eax
mov byte [ebp - 4], 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 7
mov ecx, edi
push 0
push esi
call fcn.100a9540
mov byte [ebp - 4], 4
test esi, esi
je 0x100aa0cc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100aa0cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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 0x100b4d90
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ebd18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
push ebx
push esi
mov dword [ebp - 0x10], edi
call fcn.100b4890
mov dword [ebp - 4], 0
mov dword [edi], vtable.SkColorShader::ColorShaderContext.0
mov eax, dword [ebx]
mov ecx, dword [esi + 0x30]
movzx ebx, cl
movzx edx, byte [eax + 0x37]
mov eax, ecx
shr eax, 0x18
inc edx
imul edx, eax
mov eax, ecx
shr eax, 0x10
shr edx, 8
mov dword [ebp + 0xc], edx
movzx edx, al
mov eax, ecx
shr eax, 8
mov ecx, edx
and ecx, 0xfff8
movzx esi, al
shl ecx, 5
mov eax, ebx
or ecx, esi
shr eax, 3
and ecx, 0xfffc
shl ecx, 3
or ecx, eax
mov word [edi + 0x64], cx
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xff
je 0x100b4e67
imul edx, ecx
imul esi, ecx
imul ebx, ecx
lea eax, [edx + 0x80]
mov edx, eax
shr edx, 8
add edx, eax
lea eax, [esi + 0x80]
mov esi, eax
shr edx, 8
shr esi, 8
add esi, eax
lea eax, [ebx + 0x80]
mov ebx, eax
shr esi, 8
shr ebx, 8
add ebx, eax
shr ebx, 8
mov eax, ecx
mov dword [edi + 0x60], 8
shl eax, 8
or eax, edx
shl eax, 8
or eax, esi
shl eax, 8
or eax, ebx
mov dword [edi + 0x5c], eax
cmp ecx, 0xff
jne 0x100b4ea8
mov ecx, dword [ebp + 8]
mov dword [edi + 0x60], 9
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x40]
shr ecx, 2
test cl, 1
jne 0x100b4ea8
mov dword [edi + 0x60], 0xb
mov dword [ebp - 4], 0xffffffff
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 8
Function at 0x100d1bd0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [ecx + 4]
test edi, edi
je 0x100d1c2c
mov eax, dword [esp + 8]
push esi
push edi
test eax, eax
jne 0x100d1c16
call fcn.101c3455
add esp, 4
cmp eax, 0xffffffff
jne 0x100d1bf8
xor esi, esi
mov eax, esi
pop esi
pop edi
ret 8
mov esi, dword [esp + 0x10]
push 1
push esi
push edi
call fcn.101c1063
add esp, 0xc
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
ret 8
push dword [esp + 0x14]
push 1
push eax
call fcn.101bfcdd
add esp, 0x10
mov esi, eax
pop esi
pop edi
ret 8
xor eax, eax
pop edi
ret 8
Function at 0x100d93f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eef41
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [edx + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.SkBlitter.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
lea eax, [ecx + 0x34]
mov dword [ecx], vtable.SkAAClipBlitter.0
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 0x400
mov byte [ebp - 4], 3
mov dword [ecx + 0x434], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100d94a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eef91
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.SkBlitter.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
lea eax, [ecx + 0x34]
mov dword [ecx], vtable.SkAAClipBlitter.0
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 0x400
mov byte [ebp - 4], 3
mov dword [ecx + 0x434], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp + 8]
cmp byte [esi + 0x29], 0
je 0x100d9552
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x44c], esi
mov dword [edi + 0x450], eax
jmp 0x100d9586
push dword [esi + 0x20]
add esi, 0x14
mov ecx, edi
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call fcn.100b8650
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x14]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], esi
movups xmm0, xmmword [esi]
movups xmmword [ecx + 0x14], xmm0
mov dword [edi + 0x44c], edi
mov dword [edi + 0x450], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100e95f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f0313
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
mov dword [edx], eax
movss xmm0, dword [esi + 0x2c]
movss dword [edx + 4], xmm0
mov edi, dword [esi]
test edi, edi
je 0x100e963e
lea ecx, [edi + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea eax, [edx + 8]
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [ebp - 4], 1
movss xmm0, dword [esi + 0x30]
movss dword [edx + 0xc], xmm0
mov eax, dword [esi + 0x40]
shr eax, 0x1a
xor eax, dword [edx + 0x10]
and eax, 3
xor dword [edx + 0x10], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [edx + 0x10]
and eax, 0x3ff9
shl eax, 2
and ecx, 0xfffc0003
or eax, ecx
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edx
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 0x100f1650
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f0dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
push ecx
call fcn.101c2e6e
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x100f169e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100f168a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100f1720
add esp, 8
test al, al
je 0x100f168a
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100f16fc
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x100f16fc
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
jmp 0x100f16fe
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
Function at 0x100f30f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f0ed6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x21], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov bl, byte [ebp + 0xc]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0xbf800000
mov byte [esi + 0x31], bl
mov dword [esi + 0x2c], 0xffffffff
mov eax, dword [edx]
mov eax, dword [eax + 0x1c]
mov dword [esi], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x24]
mov dword [esi + 8], ecx
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
add eax, 0xfffffffc
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], 0
mov byte [esi + 0x23], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10102b50
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0x44
push 0xffffffffffffffff
push 0x101f1d70
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp + 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp], edi
mov ecx, dword [edi + 0x30]
mov ebx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x50]
mov dword [ebp + 4], ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esi + 0x64]
add eax, ecx
lea ecx, [edi + 8]
push ecx
push dword [ebx + 4]
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x14], eax
call fcn.100b5a60
push dword [ebx]
lea ecx, [ebp - 0x50]
call fcn.1009fa00
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
movq xmm0, qword [ebx]
mov ebx, dword [edi + 0x30]
mov ecx, ebx
or dword [ebp - 0x1c], 0xff000000
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x18]
movq qword [ebp + 8], xmm0
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x50]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0
push eax
call fcn.100b47f0
test al, al
jne 0x10102bf8
xor ebx, ebx
jmp 0x10102c09
mov eax, dword [ebx]
lea ecx, [esi + 0x64]
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov ebx, eax
mov edi, dword [edi + 0x34]
lea eax, [ebp + 8]
push 0
push eax
mov ecx, edi
call fcn.100b47f0
test al, al
jne 0x10102c21
xor edi, edi
jmp 0x10102c31
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov edi, eax
test ebx, ebx
je 0x10102c65
test edi, edi
je 0x10102c5f
push dword [ebp + 4]
mov ecx, esi
mov dword [ebp + 0x14], esi
push dword [ebp]
call fcn.100b4890
mov byte [ebp - 4], 1
mov dword [esi], vtable.SkComposeShader::ComposeShaderContext.0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edi
mov byte [ebp - 4], 0
jmp 0x10102c73
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x10102c6d
test edi, edi
je 0x10102c71
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.1009fb00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40]
xor ecx, ebp
call fcn.101b3122
lea esp, [ebp + 0x44]
pop ebp
ret 8