joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ef5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0xc], ecx
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 0x10], eax
sar ebx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
cmp edx, ebx
jge 0x1002efc1
lea edx, [esi + esi]
lea ecx, [edi + 0x10]
lea ecx, [ecx + edx*8]
lea eax, [ecx - 8]
push eax
push ecx
call fcn.1002ef3d
movzx esi, al
xor esi, 1
inc esi
add esi, edx
lea eax, [edi + esi*8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [edi + eax*8]
call fcn.10013764
mov dword [ebp - 4], esi
cmp esi, ebx
jl 0x1002ef8c
mov eax, dword [ebp - 0x10]
mov edx, esi
cmp esi, ebx
jne 0x1002efdb
test al, 1
jne 0x1002efdb
dec eax
lea ecx, [edi + esi*8]
lea eax, [edi + eax*8]
push eax
call fcn.10013764
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 8], edx
jge 0x1002f005
push dword [ebp - 0xc]
lea esi, [edx - 1]
sar esi, 1
lea ebx, [edi + esi*8]
push ebx
call fcn.1002ef3d
test al, al
je 0x1002f005
push ebx
lea ecx, [edi + edx*8]
call fcn.10013764
mov edx, esi
cmp dword [ebp - 8], esi
jl 0x1002efe0
push dword [ebp - 0xc]
lea ecx, [edi + edx*8]
call fcn.10013764
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10035f6a
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003b8c3
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x10035fc9
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3
Function at 0x100393c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x18], eax
push edi
mov edi, edx
test ebx, ebx
je 0x10039404
mov ecx, dword [ebp + 0xc]
mov edx, ebx
add ecx, 0xfffffffe
test ecx, ecx
je 0x100393ee
add esi, ecx
mov eax, esi
sub edx, 1
jne 0x100393e8
test esi, esi
je 0x10039404
cmp eax, 0x2aaaaaaa
jg 0x100394f2
mov eax, dword [edi + 8]
imul eax, dword [edi + 4]
imul ecx, esi, 3
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x10039437
mov eax, dword [edi]
test eax, eax
je 0x10039427
push dword [eax - 4]
call fcn.102067ed
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x10039434
call fcn.1001d733
mov dword [edi], eax
jmp 0x10039437
and dword [edi], 0
and dword [ebp - 4], 0
mov dword [edi + 4], esi
mov dword [edi + 8], 3
test ebx, ebx
je 0x100394eb
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add edx, 0xfffffffe
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], eax
xor esi, esi
and dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
test edx, edx
je 0x100394da
add eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [eax]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 4]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi]
movzx ecx, byte [ecx + esi + 1]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor ecx, 1
mov edx, dword [edi + 4]
add eax, ebx
mov esi, dword [edi]
add eax, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [eax + ecx + 1]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x1c]
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
inc eax
inc dword [ebp - 0xc]
cmp eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
jb 0x10039473
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add eax, ecx
sub ebx, 1
mov dword [ebp - 8], eax
mov dword [ebp + 8], ebx
jne 0x1003945e
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
call fcn.10002565
int3
Function at 0x100396a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
push edi
mov edi, edx
test ebx, ebx
je 0x100396e6
mov ecx, dword [ebp + 0xc]
mov edx, ebx
add ecx, 0xfffffffe
test ecx, ecx
je 0x100396d0
add esi, ecx
mov eax, esi
sub edx, 1
jne 0x100396ca
test esi, esi
je 0x100396e6
cmp eax, 0x2aaaaaaa
jg 0x100397ec
mov eax, dword [edi + 4]
imul eax, dword [edi + 8]
imul ecx, esi, 3
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x10039719
mov eax, dword [edi]
test eax, eax
je 0x10039709
push dword [eax - 4]
call fcn.102067ed
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x10039716
call fcn.1001d733
mov dword [edi], eax
jmp 0x10039719
and dword [edi], 0
and dword [ebp - 4], 0
mov dword [edi + 4], esi
mov dword [edi + 8], 3
test ebx, ebx
je 0x100397e5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax]
lea esi, [eax - 2]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], edx
and dword [ebp - 0xc], 0
and dword [ebp - 0x14], 0
test esi, esi
je 0x100397ce
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], edx
movzx eax, word [edx]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi]
movzx ecx, word [ecx + eax*2 + 2]
mov eax, edx
add eax, dword [edi + 4]
mov dword [esi + eax*4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor eax, 1
mov edx, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0xc], eax
add eax, ebx
add eax, dword [ebp - 0x14]
movzx ecx, word [ecx + eax*2 + 2]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
add edx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
inc eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
cmp eax, esi
jb 0x1003975e
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
add ecx, eax
sub ebx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp + 8], ebx
jne 0x10039749
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
call fcn.10002565
int3
Function at 0x10039984
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
push edi
mov edi, edx
test ebx, ebx
je 0x100399c2
mov ecx, dword [ebp + 0xc]
mov edx, ebx
add ecx, 0xfffffffe
test ecx, ecx
je 0x100399ac
add esi, ecx
mov eax, esi
sub edx, 1
jne 0x100399a6
test esi, esi
je 0x100399c2
cmp eax, 0x2aaaaaaa
jg 0x10039ac8
mov eax, dword [edi + 8]
imul eax, dword [edi + 4]
imul ecx, esi, 3
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x100399f5
mov eax, dword [edi]
test eax, eax
je 0x100399e5
push dword [eax - 4]
call fcn.102067ed
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x100399f2
call fcn.1001d733
mov dword [edi], eax
jmp 0x100399f5
and dword [edi], 0
mov dword [edi + 4], esi
xor esi, esi
mov dword [edi + 8], 3
mov dword [ebp - 4], esi
test ebx, ebx
je 0x10039ac1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, eax
mov dword [ebp - 0x20], ecx
shl edx, 2
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x10]
lea esi, [eax - 2]
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], edx
and dword [ebp - 0xc], 0
and dword [ebp - 0x14], 0
test esi, esi
je 0x10039aaa
mov eax, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [edi]
add dword [ebp - 0x1c], 4
mov dword [ecx + edx*4], eax
add edx, dword [edi + 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x18]
mov esi, dword [edi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4 + 4]
mov dword [esi + edx*4], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
xor eax, 1
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [ebp - 0xc], eax
add eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
lea ecx, [esi + ecx*2]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + eax*4 + 4]
mov esi, dword [ebp - 0x24]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
inc edx
inc eax
mov dword [ebp - 4], edx
inc dword [ebp - 0x18]
cmp eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
jb 0x10039a3f
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
add ecx, eax
sub ebx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp + 8], ebx
jne 0x10039a28
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
call fcn.10002565
int3
Function at 0x1003a573
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003e48b
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1003a5d2
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3

Function at 0x1003b125
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003edb0
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1003b184
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3

Function at 0x1003b18f
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003ee1c
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1003b1ee
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3
Function at 0x1003b569
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102d94c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ebx, [eax - 1]
mov dword [ebp - 0xc], edx
mov edi, ecx
mov dword [ebp - 8], ebx
mov ecx, dword [ebp + 0xc]
sar ebx, 1
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
cmp edx, ebx
jge 0x1003b5d0
lea esi, [ecx + ecx]
lea ecx, [edi + 8]
lea ecx, [ecx + esi*4]
lea eax, [ecx - 4]
push eax
push ecx
lea ecx, [ebp + 0x10]
call fcn.1003a96a
mov edx, dword [ebp - 0xc]
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + ecx*4]
mov dword [edi + edx*4], eax
cmp ecx, ebx
jl 0x1003b59e
mov eax, dword [ebp - 0x18]
mov esi, ecx
cmp ecx, ebx
jne 0x1003b5e4
test al, 1
jne 0x1003b5e4
mov eax, dword [edi + eax*4 - 4]
mov esi, dword [ebp - 8]
mov dword [edi + ecx*4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], esi
jge 0x1003b614
push dword [ebp - 0x14]
lea ebx, [esi - 1]
sar ebx, 1
lea ecx, [ebp - 8]
lea eax, [edi + ebx*4]
push eax
call fcn.1003a96a
test al, al
je 0x1003b614
mov eax, dword [edi + ebx*4]
mov dword [edi + esi*4], eax
mov esi, ebx
cmp dword [ebp - 0x10], ebx
jl 0x1003b5ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, dword [eax]
mov dword [edi + esi*4], eax
pop edi
pop esi
pop ebx
call fcn.101f469d
leave
ret

Function at 0x1003b92f
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003fdc4
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1003b98e
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3

Function at 0x1003c9c3
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10230ef6
call fcn.101f5ada
mov edi, edx
push 0x10
call fcn.101f4765
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x1003fe1d
push eax
push eax
mov dword [ebp - 4], eax
call fcn.101feb70
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1003ca22
call fcn.101f5a89
ret
and dword [ebx], 0
push 6
call fcn.101f3603
int3
Function at 0x1004b250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x30
push edi
mov edi, dword [esp + 0x10]
push 0x100
push 0x1b3
push esi
push ecx
call fcn.101f4fe0
mov ecx, eax
lea edi, [edi + 1]
movzx eax, byte [edi - 1]
mov esi, edx
cdq
xor ecx, eax
xor esi, edx
sub ebx, 1
jne 0x1004b264
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x1005d960
Capabilities:
Hash data using djb2

Disassembly:
mov edx, dword [esp + 4]
mov eax, 0x1505
test edx, edx
je 0x1005d988
push ebx
nop
mov bl, byte [edx]
test bl, bl
je 0x1005d987
mov ecx, eax
shl eax, 5
add eax, ecx
movsx ecx, bl
add eax, ecx
add edx, 1
jne 0x1005d970
pop ebx
ret
Function at 0x10080040
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x102f00c4]
test eax, eax
jne 0x10080078
push 0x102eff40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x102f00c4], 0
jne 0x10080068
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x102f00c4], eax
push 0x102eff40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x102f00c4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x100800da
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
jne 0x100800a4
push str._get_global_font_dc
call fcn.1009eb30
add esp, 4
xor eax, eax
pop esi
ret
push 2
push esi
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
test eax, eax
jne 0x100800c9
push str._get_global_font_dc
call fcn.1009eb30
add esp, 4
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
pop esi
ret
push esi
push dword [0x102f00c4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100800be
mov eax, esi
pop esi
ret

Function at 0x100800e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1008012d
push str._have_cleartype_quality
call fcn.1009eb30
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101f469d
add esp, 0x98
ret
cmp dword [esp + 4], 5
ja 0x1008013d
jne 0x10080116
cmp dword [esp + 8], 1
jb 0x10080116
mov ecx, dword [esp + 0x94]
mov eax, 1
xor ecx, esp
call fcn.101f469d
add esp, 0x98
ret
Function at 0x10094710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x1cc]
push esi
mov esi, dword [esp + 0x1cc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push edi
push eax
movups xmm0, xmmword [esi + 0x38]
movups xmmword [esp + 0x1c], xmm0
movups xmm0, xmmword [esi + 0x48]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [esi + 0x58]
movups xmmword [esp + 0x3c], xmm0
call sym.project.dll_cairo_matrix_invert
add esi, 0x70
push esi
call sym.project.dll_FcAtomicNewFile
mov edi, eax
push 0
push esi
mov dword [esp + 0x20], edi
call fcn.10054a20
add esp, 0x10
test edi, edi
je 0x100948a7
push ebx
push ebp
mov ebp, eax
lea ecx, [esp + 0xd0]
sub ebp, ecx
add eax, 0x110
mov dword [esp + 0x14], eax
nop word [eax + eax]
lea edi, [esp + 0xd0]
mov dword [esp + 0x10], 4
nop
mov ebx, 4
movups xmm0, xmmword [edi + ebp]
lea esi, [edi + 8]
push esi
lea eax, [esp + 0x24]
push edi
push eax
movups xmmword [edi], xmm0
call sym.project.dll_cairo_matrix_transform_point
movsd xmm0, qword [esp + 0x1f8]
add esp, 0xc
addsd xmm0, qword [edi]
movsd qword [edi], xmm0
add edi, 0x10
movsd xmm0, qword [esp + 0x1f4]
addsd xmm0, qword [esi]
movsd qword [esi], xmm0
sub ebx, 1
jne 0x100947b5
sub dword [esp + 0x10], 1
jne 0x100947b0
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xd4]
push eax
movups xmm0, xmmword [ebx - 0x10]
push dword [esp + 0x1f0]
movups xmmword [esp + 0x5c], xmm0
movups xmm0, xmmword [ebx]
push dword [esp + 0x1f0]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [ebx + 0x68]
push dword [esp + 0x1f0]
movups xmmword [esp + 0x84], xmm0
movups xmm0, xmmword [ebx + 0x78]
push dword [esp + 0x30]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [ebx + 0x18]
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [ebx + 0x28]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [ebx + 0x40]
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [ebx + 0x50]
movups xmmword [esp + 0xd8], xmm0
call fcn.100952d0
add ebx, 0x1a0
add esp, 0x18
add ebp, 0x1a0
mov dword [esp + 0x14], ebx
sub dword [esp + 0x18], 1
jne 0x100947a0
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
xor ecx, esp
call fcn.101f469d
add esp, 0x1c4
ret
Function at 0x1009f150
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x98], eax
cmp dword [0x102efe4c], 0
jne 0x1009f172
call fcn.10056880
mov eax, dword [0x102f00d0]
test eax, eax
je 0x1009f199
push eax
call sym.project.dll_cairo_device_reference
add esp, 4
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101f469d
add esp, 0x9c
ret
push esi
push edi
push 0x48
call fcn.1020782d
mov esi, eax
push 0x10237b40
push esi
call fcn.10055920
add esp, 0xc
call fcn.100a9210
mov dword [esi + 0x40], eax
xor edi, edi
lea eax, [esp + 0xc]
mov dword [esi + 0x3c], 0
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 1
jne 0x1009f1eb
cmp dword [esp + 0x10], 4
jne 0x1009f1eb
cmp dword [esp + 0x14], 0xa
je 0x1009f20b
push str.msimg32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x3c], eax
test eax, eax
je 0x1009f20b
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esi + 0x44], edi
mov edx, 0x102f00d0
xor ecx, ecx
lea eax, [esp + 8]
lock or dword [eax], ecx
cmp dword [0x102f00d0], ecx
jne 0x1009f250
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1009f213
push esi
call sym.project.dll_cairo_device_reference
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101f469d
add esp, 0x9c
ret
push esi
call fcn.102067ed
push dword [0x102f00d0]
call sym.project.dll_cairo_device_reference
mov ecx, dword [esp + 0xa8]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.101f469d
add esp, 0x9c
ret
Function at 0x100af170
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022eaf0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x102d94c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.Clipper2Lib::ClipperBase.0
call fcn.100b0520
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x30]
cmp edi, ebx
je 0x100af1ce
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x100af1c1
push 0xc
push eax
call fcn.101f4bf8
add esp, 8
add edi, 4
cmp edi, ebx
jne 0x100af1b0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov ebx, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
cmp edi, ebx
je 0x100af1e9
push dword [edi]
call fcn.101f46ab
add edi, 4
add esp, 4
cmp edi, ebx
jne 0x100af1d8
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
je 0x100af1f4
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x38], eax
mov byte [esi + 0x20], 0
mov byte [esi + 0x80], 0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x100af260
mov ecx, dword [esi + 0x8c]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100af238
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af36a
mov eax, edx
push ecx
push eax
call fcn.101f4bf8
mov dword [esi + 0x84], 0
add esp, 8
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov eax, dword [esi + 0x70]
test eax, eax
je 0x100af2ac
mov ecx, dword [esi + 0x78]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100af28d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af36a
mov eax, edx
push ecx
push eax
call fcn.101f4bf8
mov dword [esi + 0x70], 0
add esp, 8
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x64]
call fcn.100153b6
lea ecx, [esi + 0x58]
call fcn.100153bb
mov eax, dword [esi + 0x48]
test eax, eax
je 0x100af308
mov ecx, dword [esi + 0x50]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100af2e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af36a
mov eax, edx
push ecx
push eax
call fcn.101f4bf8
mov dword [esi + 0x48], 0
add esp, 8
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100af350
mov ecx, dword [esi + 0x44]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100af331
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af36a
mov eax, edx
push ecx
push eax
call fcn.101f4bf8
mov dword [esi + 0x3c], 0
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
lea ecx, [esi + 0x2c]
call fcn.100153c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10207549
int3