joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ac010
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcc49
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov ecx, dword [ebp + 8]
movups xmm0, xmmword [ecx]
movups xmmword [edx], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edx + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 4
lea eax, [edx + 0x18]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
movups xmm0, xmmword [ecx + 0x18]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 7
mov word [ecx + 0x18], ax
mov byte [ebp - 4], 9
lea eax, [edx + 0x30]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0xd
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x40]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 7
mov word [ecx + 0x30], ax
mov byte [ebp - 4], 0xe
lea eax, [edx + 0x48]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x12
movups xmm0, xmmword [ecx + 0x48]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x58]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 7
mov word [ecx + 0x48], ax
mov byte [ebp - 4], 0x13
mov al, byte [ecx + 0x60]
mov byte [edx + 0x60], al
lea eax, [edx + 0x64]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x14
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x17
movups xmm0, xmmword [ecx + 0x64]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x74]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 7
mov word [ecx + 0x64], ax
mov byte [ebp - 4], 0x18
lea eax, [edx + 0x7c]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x19
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x1c
movups xmm0, xmmword [ecx + 0x7c]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x8c]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x90], 7
mov word [ecx + 0x7c], ax
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 4
Function at 0x100b0380
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fd339
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x1014614a
call fcn.100e3445
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 4
lea eax, [esi + 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
lea eax, [esi + 0x60]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x14
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x17
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
lea eax, [esi + 0x78]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x19
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x1c
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1d
lea eax, [esi + 0x98]
push 0x35c
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov dword [esi + 0x90], eax
mov word [esi + 0x94], ax
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 0x100b0ab0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fd689
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x1014614a
call fcn.100e3445
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 4
lea eax, [esi + 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
lea eax, [esi + 0x64]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x14
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x17
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
lea eax, [esi + 0x7c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x19
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x1c
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1d
mov byte [esi + 0x60], cl
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 0x100b19b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x10142008]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, 0x1014614a
call fcn.100e3445
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp dword [ebp + 0x10], 0xffffffff
je 0x100b1a32
mov ecx, 0x100000
nop dword [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x100b1a32
test ecx, ecx
je 0x100b1a2e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x100b19f0
xor eax, eax
jmp 0x100b1a37
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100b1a41
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e0d24
add esp, 0xc
ret 0xc
Function at 0x100b59b0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x100fe405
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10142008]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x1014614a
mov dword [ebp - 0x10], esi
call fcn.100e3445
mov dword [ebp - 4], 0
push 1
call fcn.100e0d35
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b5a3d
cmp dword [ebp + 4], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.100e0d24
lea esp, [ebp + 0x120]
pop ebp
ret
Function at 0x100b9b10
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100feadf
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10142008]
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, edx
mov edi, ecx
mov ecx, 0x1014614a
call fcn.100e3445
cmp esi, 0xffffffff
jne 0x100b9b52
xor al, al
jmp 0x100b9bc9
and esi, 0xffffb1af
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100b9b62
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push eax
call ebx
test eax, eax
je 0x100b9b74
mov al, 1
jmp 0x100b9bc9
lea ecx, [ebp - 0x28]
call fcn.10005c90
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.100ba310
test al, al
je 0x100b9ba8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x100b9ba8
mov bl, 1
jmp 0x100b9baa
xor bl, bl
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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.100e0d24
mov esp, ebp
pop ebp
ret

Function at 0x100b9bf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10142008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x1014614a
call fcn.100e3445
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100b9c30
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100b9cb4
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.100ba310
test al, al
je 0x100b9c97
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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.100e0d24
mov esp, ebp
pop ebp
ret
Function at 0x100b9de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100febec
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10142008]
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 ecx, 0x1014614a
call fcn.100e3445
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100b9e21
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x100b9e35
mov al, 1
jmp 0x100b9f6f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100b9e3f
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100b9bf0
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0xffffffff
jne 0x100b9e88
xor al, al
jmp 0x100b9f6f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100b9e92
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003030
mov dword [ebp - 4], 5
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.100b9b10
mov bl, al
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x100b9e81
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100b9edc
mov eax, dword [esi]
push eax
call edi
test eax, eax
jne 0x100b9e2e
lea ecx, [ebp - 0x28]
call fcn.10005c90
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100ba310
test al, al
je 0x100b9f1a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x100b9f1a
mov bl, 1
jmp 0x100b9f50
cmp dword [esi + 0x14], 8
jb 0x100b9f22
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x48]
call fcn.10003030
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x30]
call fcn.100b9b10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x48]
call fcn.10003460
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xa
xor bl, bl
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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.100e0d24
mov esp, ebp
pop ebp
ret
Function at 0x100b9f90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x10142008]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, ecx
mov ecx, 0x1014614a
push edi
mov edi, edx
call fcn.100e3445
push 0x20c
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100b9fd8
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x100b9fe0
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x100ba03a
xor eax, eax
lea edx, [esp + 0xc]
mov word [esp + 0x216], ax
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100ba004
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.10003530
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100e0d24
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e0d24
add esp, 0x210
ret
Function at 0x100bc8a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff685
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 4
lea eax, [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor edx, edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 9
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 0xe
lea eax, [ecx + 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100be3f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcf3f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ecx, 0x10145c7d
call fcn.100e3445
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
mov dword [ebp - 0x10], edi
call fcn.1001af80
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.1001af80
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.1001af80
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.1001af80
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.1001af80
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.1001af80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c0920
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ffbb5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10142008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov ecx, dword [ebp + 8]
movups xmm0, xmmword [ecx]
movups xmmword [edx], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edx + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 4
lea eax, [edx + 0x18]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
movups xmm0, xmmword [ecx + 0x18]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 7
mov word [ecx + 0x18], ax
mov byte [ebp - 4], 9
lea eax, [edx + 0x30]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0xd
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x40]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 7
mov word [ecx + 0x30], ax
mov byte [ebp - 4], 0xe
lea eax, [edx + 0x48]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x12
movups xmm0, xmmword [ecx + 0x48]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x58]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 7
mov word [ecx + 0x48], ax
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 4

Function at 0x100c1f40
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x10142008]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
mov ecx, 0x1014614a
push edi
mov edi, dword [esp + 0x14]
call fcn.100e3445
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100c1fb1
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100c1f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100c1fb1
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.100e0d24
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100e0d24
add esp, 8
ret 4
Function at 0x100c2750
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fff28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10142008]
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 ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, 0x1014614a
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], ebx
call fcn.100e3445
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c27a6
mov dword [eax], 0
mov dword [ebx], 0
cmp dword [edi], 0xffffffff
je 0x100c28fb
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
nop dword [eax]
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x100c28c6
test eax, eax
je 0x100c28c6
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x100c28c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x28], eax
cmp ecx, 0xffffffff
je 0x100c284b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100c283f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100c284b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x100c2859
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x28]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.1001af80
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x100c28c6
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x100c2804
jmp 0x100c28c9
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add dword [ecx], edx
test eax, eax
jne 0x100c28f2
test edx, edx
je 0x100c28ee
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x100c27c0
mov al, 1
jmp 0x100c28fd
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100c28fb
mov dword [ecx], eax
xor al, 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.100e0d24
mov esp, ebp
pop ebp
ret 0x10