joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52d570
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52d62e
test al, 0x10
jne 0x52d619
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x52d5d5
push 0x65febc
push 0
push 0x65febc
push 0x67
jmp 0x52d63f
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x52d601
test ebx, ebx
jne 0x52d619
mov edx, dword [ebp - 0x58]
xor eax, eax
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
xor edx, edx
pop ebx
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
push 0x65febc
push 0
push 0x65febc
push 0xc9
lea ecx, [ebp - 0x68]
call fcn.0043f5f0
mov ecx, edi
mov esi, eax
call fcn.00522e30
movups xmm0, xmmword [esi]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x54]
call fcn.0052cd50
push 0x69a358
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x52d860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x52d8b3
push 0x200
lea eax, [ebp - 0x404]
mov ecx, esi
push eax
call fcn.00523ab0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
cmp eax, 0x80004005
je 0x52d8d1
cmp eax, 0x80070057
jne 0x52d8a4
push 0x65febc
push 0
push 0x65febc
push 2
jmp 0x52d8e2
push 0x65febc
push 0
push 0x65febc
push 0x12d
lea ecx, [ebp - 0x464]
call fcn.0043f5f0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x454]
call fcn.0052b570
push 0x68b0e4
lea eax, [ebp - 0x454]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
Function at 0x52de70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52deae
mov ecx, dword [ebp - 4]
shr eax, 4
xor ecx, ebp
pop edi
and eax, 1
pop esi
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
push 0x65febc
push 0
push 0x65febc
push 0x12f
lea ecx, [ebp - 0x64]
call fcn.0043f5f0
mov ecx, edi
mov esi, eax
call fcn.00522e30
movups xmm0, xmmword [esi]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x54]
call fcn.0052cd50
push 0x69a358
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x52e040
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52e0a7
test al, 0x10
je 0x52e07f
push 0x65febc
push 0
push 0x65febc
push 0xcb
jmp 0x52e0b8
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x52e097
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
push 0x65febc
push 0
push 0x65febc
push 0xc9
lea ecx, [ebp - 0x64]
call fcn.0043f5f0
mov ecx, edi
mov esi, eax
call fcn.00522e30
movups xmm0, xmmword [esi]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x54]
call fcn.0052cd50
push 0x69a358
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x52e0f0
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52e157
test al, 0x10
je 0x52e144
mov ecx, edi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x52e134
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret
push 0x65febc
push 0
push 0x65febc
push 0x12f
jmp 0x52e168
push 0x65febc
push 0
push 0x65febc
push 0x12d
lea ecx, [ebp - 0x64]
call fcn.0043f5f0
mov ecx, edi
mov esi, eax
call fcn.00522e30
movups xmm0, xmmword [esi]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
lea ecx, [ebp - 0x54]
call fcn.0052cd50
push 0x69a358
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x54de70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b6f6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov dword [edi], vtable.Planeswalker::PWColorPickerCtrl::Impl.0
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 1
call fcn.0043d650
xorps xmm0, xmm0
mov dword [edi + 0x24], 1
movq qword [edi + 0x28], xmm0
push 6
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
call fcn.00460510
add esp, 4
lea ecx, [edi + 0x34]
push eax
call fcn.0051e500
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [edi + 0x50], xmm0
lea esi, [edi + 0x68]
mov dword [edi + 0x60], 1
push esi
mov dword [edi + 0x64], 1
call fcn.0056d060
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [edi + 0x70], xmm0
mov ecx, dword [esi]
test ecx, ecx
je 0x54df3b
push 1
push 1
push 1
call fcn.0056cc90
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 0x56a6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d23c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x34
call fcn.005a4b81
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x56a745
mov dword [edi], vtable.boost::any::holder_struct_Planeswalker::SPWJoyPadDeviceInformation_.0
lea esi, [edi + 4]
mov eax, dword [ebx + 4]
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 4], ecx
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
call fcn.005226b0
mov ecx, dword [ebx + 0x30]
mov eax, edi
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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
Function at 0x582d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e85e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea esi, [ecx + 0x30]
mov eax, dword [ecx + 0x60]
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
test eax, eax
je 0x582d6e
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x10], 1
call fcn.00581560
add esp, 4
mov ecx, esi
push eax
call fcn.00580f20
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x582dc2
or ebx, 0xffffffff
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x582dc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea edx, [esi + 8]
lock xadd dword [edx], ebx
cmp ebx, 1
jne 0x582dc2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
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 4
Function at 0x583190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e8d5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x30]
imul eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], ecx
push eax
push ecx
call fcn.005815d0
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x28]
imul eax, dword [ebx + 0x10]
add esp, 8
mov dword [ebp - 0x10], 1
push 1
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebp + 8]
call fcn.005a2370
mov eax, dword [ebx + 0x44]
xor esi, esi
mov edx, dword [ebx + 0x40]
sub eax, edx
sar eax, 3
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
test eax, eax
jle 0x5832dc
nop word [eax + eax]
push dword [ebp + 8]
lea ebx, [edx + esi*8]
mov dword [ebp - 0x20], 0
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f3e0
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x583247
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
jmp 0x58324a
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x58328e
mov eax, dword [ebx + 0x10]
test al, 4
je 0x58328a
test al, 2
je 0x58328a
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebx + 0xc]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
push ecx
lea ecx, [ebp - 0x28]
mov eax, esi
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, esi
push eax
call fcn.005a3380
mov esi, dword [ebp + 8]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
and dword [ebx + 0x10], 0xfffffffb
mov byte [ebp - 4], 0
test edi, edi
je 0x5832c2
or ecx, 0xffffffff
lea eax, [edi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5832c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edx, 0xffffffff
lea eax, [edi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5832c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
inc esi
mov dword [ebp + 8], esi
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
sub ecx, edx
sar ecx, 3
cmp esi, ecx
jl 0x583220
lea ecx, [ebp - 0x28]
call fcn.005a23f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x583430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e915
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x30]
imul eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], ecx
push eax
push ecx
call fcn.005815d0
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
imul eax, dword [ebx + 0x10]
add esp, 8
mov dword [ebp - 0x10], 1
push 0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebp + 8]
call fcn.005a2370
mov eax, dword [ebx + 0x44]
xor esi, esi
mov edx, dword [ebx + 0x40]
sub eax, edx
sar eax, 3
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
test eax, eax
jle 0x583584
nop word [eax + eax]
push dword [ebp + 8]
lea ebx, [edx + esi*8]
mov dword [ebp - 0x24], 0
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041f3e0
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x5834e7
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
jmp 0x5834ea
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x583536
mov eax, dword [ebx + 0x10]
mov cl, al
and cl, 1
je 0x583530
mov ecx, dword [ebp - 0x18]
movzx esi, byte [ebx + 0xc]
mov ecx, dword [ecx + 0xc]
imul esi, ecx
push ecx
lea ecx, [ebp - 0x2c]
mov eax, esi
cdq
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, esi
push eax
call fcn.005a3680
mov esi, dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
and dword [ebx + 0x10], 0xfffffffe
mov eax, dword [ebx + 0x10]
or eax, 4
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 0
test edi, edi
je 0x58356a
or ecx, 0xffffffff
lea eax, [edi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x58356a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edx, 0xffffffff
lea eax, [edi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x58356a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x14], esi
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
sub ecx, edx
sar ecx, 3
cmp esi, ecx
jl 0x5834c0
lea ecx, [ebp - 0x2c]
call fcn.005a23f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x59aa70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ee33
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0xb0]
mov dword [edi], vtable.Planeswalker::PWVOffscreenCursor.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [edi + 0x70]
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00585c50
lea ecx, [edi + 0x30]
call fcn.00585c50
mov eax, dword [ebp + 8]
test eax, eax
je 0x59ac3c
movups xmm0, xmmword [eax + 0x6c]
lea edx, [edi + 0x30]
movups xmmword [edi + 0x70], xmm0
movups xmm0, xmmword [eax + 0x7c]
movups xmmword [edi + 0x80], xmm0
movups xmm0, xmmword [eax + 0x8c]
movups xmmword [edi + 0x90], xmm0
movq xmm0, qword [eax + 0x9c]
movq qword [edi + 0xa0], xmm0
mov eax, dword [eax + 0xa4]
mov dword [edi + 0xa8], eax
movups xmm0, xmmword [edi + 0x70]
movups xmmword [edx], xmm0
movups xmm0, xmmword [edi + 0x80]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [edi + 0x90]
movups xmmword [edx + 0x20], xmm0
movq xmm0, qword [edi + 0xa0]
movq qword [edx + 0x30], xmm0
mov dword [edx + 0x38], eax
test eax, eax
je 0x59ac44
push dword [edi + 0x70]
mov dword [edi + 0x6c], 1
push edx
call fcn.00585b50
mov ecx, dword [esi + 4]
add esp, 8
mov edx, dword [esi]
sub ecx, edx
sar ecx, 3
cmp ecx, 4
jbe 0x59abd6
lea eax, [edx + 0x20]
jmp 0x59ac09
jae 0x59ac0c
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 3
cmp eax, 4
jae 0x59abf4
lea eax, [ebp + 8]
mov ecx, esi
push eax
push 4
call fcn.0059a920
jmp 0x59ac0c
push dword [ebp + 8]
mov eax, 4
sub eax, ecx
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.0059ce90
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
xor ecx, ecx
sub eax, dword [esi]
test eax, 0xfffffff8
jle 0x59ac44
xor edx, edx
nop dword [eax]
mov eax, dword [esi]
mov dword [eax + ecx*8], edx
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
cmp ecx, eax
jl 0x59ac20
jmp 0x59ac44
lea ecx, [edi + 0x30]
call fcn.00585c50
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 0x5abce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fe9c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6ae654]
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 byte [esi + 8], 1
mov dword [esi + 0xc], 0x3f3f3f3f
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov word [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2d], 0x101
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
push 8
mov dword [ebp - 4], 0
mov dword [esi], vtable.CIccPcsXform.0
call fcn.005a4b81
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x5abd8e
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.005a4b81
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
jmp 0x5abd90
xor edi, edi
xor eax, eax
mov dword [esi + 0x68], edi
mov word [esi + 0x5c], ax
mov word [esi + 0x64], ax
mov eax, esi
mov dword [esi + 0x58], 0x3f3f3f3f
mov dword [esi + 0x60], 0x3f3f3f3f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5abdc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fecd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
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 byte [esi + 8], 1
mov dword [esi + 0xc], 0x3f3f3f3f
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov word [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2d], 0x101
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CIccXform3DLut.0
test edi, edi
je 0x5abe49
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5abe4b
xor edi, edi
mov dword [esi + 0x58], edi
mov eax, esi
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
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 0x5abe80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fecd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
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 byte [esi + 8], 1
mov dword [esi + 0xc], 0x3f3f3f3f
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov word [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2d], 0x101
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CIccXform4DLut.0
test edi, edi
je 0x5abf09
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5abf0b
xor edi, edi
mov dword [esi + 0x58], edi
mov eax, esi
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
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 0x5ac030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fecd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
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 byte [esi + 8], 1
mov dword [esi + 0xc], 0x3f3f3f3f
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov word [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2d], 0x101
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CIccXformMpe.0
test edi, edi
je 0x5ac0ba
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
cmp eax, 0x6d706574
je 0x5ac0bc
xor edi, edi
mov dword [esi + 0x58], edi
mov eax, esi
mov byte [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov byte [esi + 0x64], 0
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 0x5ac0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fecd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ae654]
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 byte [esi + 8], 1
mov dword [esi + 0xc], 0x3f3f3f3f
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov word [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2d], 0x101
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CIccXformNDLut.0
test edi, edi
je 0x5ac179
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x5ac17b
xor edi, edi
mov dword [esi + 0x58], edi
mov eax, esi
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4