joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003c45
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push edx
add esp, 4
call fcn.10003aa6
add byte [edi + esi + 0x33], cl
dec ebp
aas
dec ebx
add esp, 4
or ecx, 0x10836
pop ecx
push esi
call 0x10003abd
add byte [eax], bh
aaa
aaa
cmp byte [0x4c4833d], bh
sub esi, 0x12a91
pop esi
lea edx, [ebp - 0x18dc]
mov dword [ebp - 0xe28], edx
mov eax, dword [ebp - 0x57c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xe24], ecx
xor edx, edx
mov word [ebp - 0x1f4], dx
xor eax, eax
mov word [ebp - 0x2c], ax
push edx
push edi
add esp, 4
and edx, 0xd6f4
and edx, 0x1260
sub edx, 0x6c36
pop edx
push edx
sub edx, 0x25f8
and edx, 0x1329b
sub edx, 0xa1ce
sub edx, 0x68b1
pop edx
mov ecx, dword [ebp - 0xe24]
mov dx, word [ecx]
mov word [ebp - 0x1222], dx
mov eax, dword [ebp - 0xe24]
add eax, 2
mov dword [ebp - 0xe24], eax
mov cx, word [ebp - 0x1222]
mov word [ebp - 0x1f4], cx
mov edx, dword [ebp - 0xe28]
mov ax, word [edx]
mov word [ebp - 0x1224], ax
mov ecx, dword [ebp - 0xe28]
add ecx, 2
mov dword [ebp - 0xe28], ecx
mov dx, word [ebp - 0x1224]
mov word [ebp - 0x2c], dx
push eax
push esi
add esp, 4
xor eax, 0xcf5c
or eax, 0x1084b
or eax, 0x1713f
pop eax
push ebx
sub ebx, 0x4e11
pop ebx
push esi
push ebx
add esp, 4
and esi, 0x7955
xor esi, 0x5924
pop esi
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x10003bc9
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
sub ecx, edx
mov dword [ebp - 0x1840], ecx
jmp 0x10003c23
movzx eax, word [ebp - 0x1f4]
movzx ecx, word [ebp - 0x2c]
cmp eax, ecx
je 0x10003af1
movzx edx, word [ebp - 0x1f4]
xor edx, 0x20
movzx eax, word [ebp - 0x2c]
cmp edx, eax
je 0x10003af1
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
cmp ecx, edx
jge 0x10003c0d
mov dword [ebp - 0x183c], 0xffffffff
jmp 0x10003c17
mov dword [ebp - 0x183c], 1
mov eax, dword [ebp - 0x183c]
mov dword [ebp - 0x1840], eax
cmp dword [ebp - 0x1840], 0
jne 0x10003c6c
push edi
push ebx
add esp, 4
or edi, 0x7680
pop edi
push edi
call 0x10003c45
add byte [ecx + 0x50], cl
inc ebp
cmp cl, byte [ecx + 0x4d]
add esp, 4
jmp 0x10003c51
and edi, 0x571f
and edi, 0x8cd5
pop edi
mov ecx, dword [ebp - 0x57c]
mov dword [ebp - 0x300], ecx
jmp 0x10003cd4
push esi
call 0x10003c7c
add byte [ebx + 0x36], al
xor bh, byte [edx + edi]
cmp byte [ebx + 0x34], cl
inc ebp
add esp, 4
call 0x10003c8e
add byte [eax + 0x33], dl
inc ecx
xor bh, byte [esi]
xor al, byte [edx + edi + 0x4e]
add esp, 4
add esi, 0x6b98
xor esi, 0x5059
pop esi
mov edx, dword [ebp - 0x57c]
mov eax, dword [edx]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
cmp ecx, dword [ebp - 0xe2c]
je 0x10003cca
mov edx, dword [ebp - 0x57c]
cmp dword [edx + 0x30], 0
jne 0x10003a95
mov dword [ebp - 0x300], 0
Function at 0x10003c7c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push edx
add esp, 4
call fcn.10003aa6
add byte [edi + esi + 0x33], cl
dec ebp
aas
dec ebx
add esp, 4
or ecx, 0x10836
pop ecx
push esi
call 0x10003abd
add byte [eax], bh
aaa
aaa
cmp byte [0x4c4833d], bh
sub esi, 0x12a91
pop esi
lea edx, [ebp - 0x18dc]
mov dword [ebp - 0xe28], edx
mov eax, dword [ebp - 0x57c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xe24], ecx
xor edx, edx
mov word [ebp - 0x1f4], dx
xor eax, eax
mov word [ebp - 0x2c], ax
push edx
push edi
add esp, 4
and edx, 0xd6f4
and edx, 0x1260
sub edx, 0x6c36
pop edx
push edx
sub edx, 0x25f8
and edx, 0x1329b
sub edx, 0xa1ce
sub edx, 0x68b1
pop edx
mov ecx, dword [ebp - 0xe24]
mov dx, word [ecx]
mov word [ebp - 0x1222], dx
mov eax, dword [ebp - 0xe24]
add eax, 2
mov dword [ebp - 0xe24], eax
mov cx, word [ebp - 0x1222]
mov word [ebp - 0x1f4], cx
mov edx, dword [ebp - 0xe28]
mov ax, word [edx]
mov word [ebp - 0x1224], ax
mov ecx, dword [ebp - 0xe28]
add ecx, 2
mov dword [ebp - 0xe28], ecx
mov dx, word [ebp - 0x1224]
mov word [ebp - 0x2c], dx
push eax
push esi
add esp, 4
xor eax, 0xcf5c
or eax, 0x1084b
or eax, 0x1713f
pop eax
push ebx
sub ebx, 0x4e11
pop ebx
push esi
push ebx
add esp, 4
and esi, 0x7955
xor esi, 0x5924
pop esi
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x10003bc9
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
sub ecx, edx
mov dword [ebp - 0x1840], ecx
jmp 0x10003c23
movzx eax, word [ebp - 0x1f4]
movzx ecx, word [ebp - 0x2c]
cmp eax, ecx
je 0x10003af1
movzx edx, word [ebp - 0x1f4]
xor edx, 0x20
movzx eax, word [ebp - 0x2c]
cmp edx, eax
je 0x10003af1
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
cmp ecx, edx
jge 0x10003c0d
mov dword [ebp - 0x183c], 0xffffffff
jmp 0x10003c17
mov dword [ebp - 0x183c], 1
mov eax, dword [ebp - 0x183c]
mov dword [ebp - 0x1840], eax
cmp dword [ebp - 0x1840], 0
jne 0x10003c6c
push edi
push ebx
add esp, 4
or edi, 0x7680
pop edi
push edi
call 0x10003c45
add byte [ecx + 0x50], cl
inc ebp
cmp cl, byte [ecx + 0x4d]
add esp, 4
jmp 0x10003c51
and edi, 0x571f
and edi, 0x8cd5
pop edi
mov ecx, dword [ebp - 0x57c]
mov dword [ebp - 0x300], ecx
jmp 0x10003cd4
push esi
call 0x10003c7c
add byte [ebx + 0x36], al
xor bh, byte [edx + edi]
cmp byte [ebx + 0x34], cl
inc ebp
add esp, 4
call 0x10003c8e
add byte [eax + 0x33], dl
inc ecx
xor bh, byte [esi]
xor al, byte [edx + edi + 0x4e]
add esp, 4
add esi, 0x6b98
xor esi, 0x5059
pop esi
mov edx, dword [ebp - 0x57c]
mov eax, dword [edx]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
cmp ecx, dword [ebp - 0xe2c]
je 0x10003cca
mov edx, dword [ebp - 0x57c]
cmp dword [edx + 0x30], 0
jne 0x10003a95
mov dword [ebp - 0x300], 0
Function at 0x10003c8e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push edx
add esp, 4
call fcn.10003aa6
add byte [edi + esi + 0x33], cl
dec ebp
aas
dec ebx
add esp, 4
or ecx, 0x10836
pop ecx
push esi
call 0x10003abd
add byte [eax], bh
aaa
aaa
cmp byte [0x4c4833d], bh
sub esi, 0x12a91
pop esi
lea edx, [ebp - 0x18dc]
mov dword [ebp - 0xe28], edx
mov eax, dword [ebp - 0x57c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xe24], ecx
xor edx, edx
mov word [ebp - 0x1f4], dx
xor eax, eax
mov word [ebp - 0x2c], ax
push edx
push edi
add esp, 4
and edx, 0xd6f4
and edx, 0x1260
sub edx, 0x6c36
pop edx
push edx
sub edx, 0x25f8
and edx, 0x1329b
sub edx, 0xa1ce
sub edx, 0x68b1
pop edx
mov ecx, dword [ebp - 0xe24]
mov dx, word [ecx]
mov word [ebp - 0x1222], dx
mov eax, dword [ebp - 0xe24]
add eax, 2
mov dword [ebp - 0xe24], eax
mov cx, word [ebp - 0x1222]
mov word [ebp - 0x1f4], cx
mov edx, dword [ebp - 0xe28]
mov ax, word [edx]
mov word [ebp - 0x1224], ax
mov ecx, dword [ebp - 0xe28]
add ecx, 2
mov dword [ebp - 0xe28], ecx
mov dx, word [ebp - 0x1224]
mov word [ebp - 0x2c], dx
push eax
push esi
add esp, 4
xor eax, 0xcf5c
or eax, 0x1084b
or eax, 0x1713f
pop eax
push ebx
sub ebx, 0x4e11
pop ebx
push esi
push ebx
add esp, 4
and esi, 0x7955
xor esi, 0x5924
pop esi
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x10003bc9
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
sub ecx, edx
mov dword [ebp - 0x1840], ecx
jmp 0x10003c23
movzx eax, word [ebp - 0x1f4]
movzx ecx, word [ebp - 0x2c]
cmp eax, ecx
je 0x10003af1
movzx edx, word [ebp - 0x1f4]
xor edx, 0x20
movzx eax, word [ebp - 0x2c]
cmp edx, eax
je 0x10003af1
movzx ecx, word [ebp - 0x1f4]
movzx edx, word [ebp - 0x2c]
cmp ecx, edx
jge 0x10003c0d
mov dword [ebp - 0x183c], 0xffffffff
jmp 0x10003c17
mov dword [ebp - 0x183c], 1
mov eax, dword [ebp - 0x183c]
mov dword [ebp - 0x1840], eax
cmp dword [ebp - 0x1840], 0
jne 0x10003c6c
push edi
push ebx
add esp, 4
or edi, 0x7680
pop edi
push edi
call 0x10003c45
add byte [ecx + 0x50], cl
inc ebp
cmp cl, byte [ecx + 0x4d]
add esp, 4
jmp 0x10003c51
and edi, 0x571f
and edi, 0x8cd5
pop edi
mov ecx, dword [ebp - 0x57c]
mov dword [ebp - 0x300], ecx
jmp 0x10003cd4
push esi
call 0x10003c7c
add byte [ebx + 0x36], al
xor bh, byte [edx + edi]
cmp byte [ebx + 0x34], cl
inc ebp
add esp, 4
call 0x10003c8e
add byte [eax + 0x33], dl
inc ecx
xor bh, byte [esi]
xor al, byte [edx + edi + 0x4e]
add esp, 4
add esi, 0x6b98
xor esi, 0x5059
pop esi
mov edx, dword [ebp - 0x57c]
mov eax, dword [edx]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
cmp ecx, dword [ebp - 0xe2c]
je 0x10003cca
mov edx, dword [ebp - 0x57c]
cmp dword [edx + 0x30], 0
jne 0x10003a95
mov dword [ebp - 0x300], 0
Function at 0x1002dc70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push edi
xor edi, edi
mov ebx, dword [eax]
test ebx, ebx
jle 0x1002dcbd
mov edx, dword [eax + 8]
mov dword [ebp + 8], edx
push esi
nop dword [eax]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + edi*8]
cdq
mov esi, eax
mov eax, dword [ebp + 0xc]
xor esi, edx
sub esi, edx
mov edx, dword [ebp + 8]
sub eax, dword [edx + ecx*8]
cdq
xor eax, edx
sub eax, edx
mov edx, edi
cmp esi, eax
cmovge edx, ecx
inc edi
mov ecx, edx
mov edx, dword [ebp + 8]
cmp edi, ebx
jl 0x1002dc90
pop esi
pop edi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x10035a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101981e3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10290198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp dword [edi + 4], 0
jle 0x10035b75
cmp dword [edi + 0xc], 0
je 0x10035b75
cmp dword [edi], 0
mov dword [ebp - 0x10], 0
jle 0x10035b75
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [edi + 0xc]
sub esp, 0x3c
mov edi, dword [edi + 8]
mov esi, esp
mov dword [ebp - 0x18], eax
add edi, ecx
mov ecx, esi
mov eax, dword [eax]
push edi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x20], esi
call sym.tesseract41.dll_public:_void___thiscall_STRING::constructor_class_STRING_const__
movzx eax, byte [edi + 4]
lea ecx, [esi + 0x2c]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
movzx eax, byte [edi + 6]
mov byte [esi + 6], al
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
lea eax, [edi + 0x2c]
push eax
mov dword [ebp - 4], 0
call sym.tesseract41.dll_public:_void___thiscall_STRING::constructor_class_STRING_const__
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push eax
call sym.tesseract41.dll_public:_void___thiscall_STRING::constructor_class_STRING_const__
movzx eax, byte [edi + 0x34]
mov ecx, dword [ebp - 0x18]
mov byte [esi + 0x34], al
movzx eax, byte [edi + 0x35]
mov byte [esi + 0x35], al
movzx eax, byte [edi + 0x36]
mov byte [esi + 0x36], al
movzx eax, byte [edi + 0x37]
mov byte [esi + 0x37], al
movzx eax, byte [edi + 0x38]
mov byte [esi + 0x38], al
movzx eax, byte [edi + 0x39]
mov byte [esi + 0x39], al
mov dword [ebp - 4], 0xffffffff
call ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
inc eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, dword [edi]
jl 0x10035a96
mov eax, dword [edi + 8]
test eax, eax
je 0x10035bae
push sym.tesseract41.dll_public:_void___thiscall_tesseract::RowInfo::destructor_void_
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push 0x3c
push eax
call fcn.10193ada
mov ecx, dword [esi]
shl ecx, 4
sub ecx, dword [esi]
lea eax, [ecx*4 + 4]
push eax
push esi
call fcn.10193bef
add esp, 8
mov ecx, dword [edi + 0xc]
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
test ecx, ecx
je 0x10035bcf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test ecx, ecx
je 0x10035be3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
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 0x10036d30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019848d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10290198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
cmp dword [ebx + 4], eax
jge 0x10036ef5
test eax, eax
jle 0x10036ef5
mov edi, 4
mov edx, 0x3c
cmp eax, edi
cmovge edi, eax
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], edi
mul edx
mov dword [ebp + 8], edi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1019377e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10036dd0
push sym.tesseract41.dll_public:_void___thiscall_tesseract::RowInfo::destructor_void_
push sym.tesseract41.dll_public:_void___thiscall_tesseract::RowInfo::constructor_void_
push edi
lea esi, [eax + 4]
mov dword [eax], edi
push 0x3c
push esi
mov dword [ebp - 0x10], esi
call fcn.10193bfd
jmp 0x10036dd5
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebx], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], 0
jle 0x10036eb3
mov eax, 0xfffffffb
lea edi, [esi + 5]
sub eax, esi
mov dword [ebp - 0x14], eax
nop dword [eax]
lea esi, [eax + edi]
add esi, dword [ebx + 8]
lea ecx, [edi - 5]
push esi
call fcn.100858b0
movzx eax, byte [esi + 4]
lea ecx, [edi + 0x27]
mov byte [edi - 1], al
movzx eax, byte [esi + 5]
mov byte [edi], al
movzx eax, byte [esi + 6]
mov byte [edi + 1], al
mov eax, dword [esi + 8]
mov dword [edi + 3], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 7], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xb], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0xf], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x13], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x17], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x1b], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x1f], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x23], eax
lea eax, [esi + 0x2c]
push eax
call fcn.100858b0
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x2b]
call fcn.100858b0
movzx eax, byte [esi + 0x34]
lea edi, [edi + 0x3c]
mov byte [edi - 0xd], al
movzx eax, byte [esi + 0x35]
mov byte [edi - 0xc], al
movzx eax, byte [esi + 0x36]
mov byte [edi - 0xb], al
movzx eax, byte [esi + 0x37]
mov byte [edi - 0xa], al
movzx eax, byte [esi + 0x38]
mov byte [edi - 9], al
movzx eax, byte [esi + 0x39]
mov byte [edi - 8], al
mov eax, dword [ebp + 8]
inc eax
cmp eax, dword [ebx]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
jl 0x10036e00
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
test eax, eax
je 0x10036eec
push sym.tesseract41.dll_public:_void___thiscall_tesseract::RowInfo::destructor_void_
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push 0x3c
push eax
call fcn.10193ada
mov ecx, dword [esi]
shl ecx, 4
sub ecx, dword [esi]
lea eax, [ecx*4 + 4]
push eax
push esi
call fcn.10193bef
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 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 0x100528f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x10052a9d
cmp dword [ebx + 0x14], 0
je 0x10052a9d
cmp byte [ebp + 0xc], 0
push esi
push edi
mov edi, dword [0x1029002c]
cmovne edi, dword [0x10290030]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], edi
nop
cmp byte [ebx + 0xc], 0
jne 0x10052a7d
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
add eax, ecx
movsx ecx, word [ebx + 2]
cdq
sub eax, edx
sar eax, 1
movzx esi, ax
movsx eax, word [ebx + 6]
add eax, ecx
mov word [ebp + 8], si
cdq
sub eax, edx
movsx ecx, di
movsx edx, word [ebp - 6]
sar eax, 1
movzx eax, ax
mov word [ebp + 0xa], ax
cwde
imul eax, ecx
mov dword [ebp - 0x20], ecx
movsx ecx, si
imul ecx, edx
sub ecx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
push eax
push edi
mov ecx, ebx
call sym.tesseract41.dll_public:_void___thiscall_TESSLINE::MinMaxCrossProduct_struct_TPOINT__int___int__const
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x10052a7a
nop dword [eax]
cmp byte [ebx + 0xc], 0
jne 0x10052a6f
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
add eax, ecx
movsx ecx, word [ebx + 2]
cdq
sub eax, edx
sar eax, 1
movzx eax, ax
mov dword [ebp - 0x24], eax
movzx eax, ax
mov dword [ebp - 0x30], eax
movsx eax, word [ebx + 6]
add eax, ecx
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
movzx eax, ax
mov dword [ebp - 0x1c], eax
movzx eax, ax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call sym.tesseract41.dll_public:_void___thiscall_TESSLINE::MinMaxCrossProduct_struct_TPOINT__int___int__const
mov eax, dword [ebp - 0x1c]
movsx edx, word [ebp - 6]
movsx ecx, ax
imul ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cwde
imul eax, edx
mov esi, dword [ebp + 8]
sub eax, ecx
lea ecx, [ebp - 0x10]
sub eax, dword [ebp - 0x28]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmovge edx, ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
cmp ecx, dword [ebp - 0xc]
jle 0x10052a6f
movzx eax, si
add ax, word [ebp - 0x30]
cwde
cdq
sub eax, edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
sar eax, 1
mov dword [ecx], esi
mov word [ecx], ax
movzx eax, word [ecx + 2]
add ax, word [ebp - 0x34]
cwde
cdq
sub eax, edx
sar eax, 1
mov word [ecx + 2], ax
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x100529a0
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x10052930
mov ax, word [ebp - 6]
cwde
cmp dword [ebp - 0xc], eax
pop edi
pop esi
setg al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005ee80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10290198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x20], eax
call sym.tesseract41.dll_public:_char_const____thiscall_STRING::c_str_void_const
mov edx, eax
mov dword [ebp - 0xc], 0
mov ecx, edx
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005eeb6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call sym.tesseract41.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const__unsigned_int_
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp eax, 0x10
mov edi, dword [ebp - 0xc]
mov ebx, 0x811c9dc5
cmovae esi, edx
xor ecx, ecx
test edi, edi
je 0x1005eefa
movzx eax, byte [ecx + esi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x1005eee6
mov eax, dword [ebp - 8]
xor esi, esi
cmp eax, 0x10
jb 0x1005ef2e
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ef24
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ef24
call dword [0x101ae2e8]
push ecx
push edx
call fcn.10193770
add esp, 8
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + 4]
mov dword [ebp - 0x28], edi
test edi, edi
jle 0x1005efb5
mov dword [ebp - 0x24], edi
nop
push 0x5851f42d
push 0x4c957f2d
push esi
push ebx
call fcn.10193e10
mov esi, eax
mov ecx, edx
add esi, 0xf767814f
push 0x5851f42d
adc ecx, 0x14057b7e
mov eax, ecx
shr eax, 1
cdq
idiv edi
push 0x4c957f2d
push ecx
push esi
mov edi, edx
call fcn.10193e10
mov ebx, eax
mov ecx, edx
mov eax, dword [ebp - 0x20]
add ebx, 0xf767814f
adc ecx, 0x14057b7e
mov dword [ebp - 0x2c], ecx
mov esi, dword [eax + 0xc]
mov eax, ecx
shr eax, 1
cdq
idiv dword [ebp - 0x28]
sub dword [ebp - 0x24], 1
lea edx, [esi + edx*4]
mov ecx, dword [esi + edi*4]
mov eax, dword [edx]
mov dword [esi + edi*4], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov dword [edx], ecx
jne 0x1005ef40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10193ac9
mov esp, ebp
pop ebp
ret
Function at 0x10064880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.101934fa
cdq
add esp, 4
and edx, 7
lea edi, [edx + eax]
mov eax, dword [ebp + 0xc]
sar edi, 3
lea ecx, [edi - 1]
test eax, eax
jns 0x100648af
mov dword [ebp + 0xc], 0
jmp 0x100648b7
cmp eax, ecx
cmovg eax, ecx
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x20]
add esi, dword [ebp + 0x1c]
push 0x400
push 0
push ebx
call fcn.1019528b
push dword [ebp + 8]
call fcn.101935b4
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.101935c6
mov edx, eax
add esp, 0x14
mov eax, dword [ebp + 0x14]
cmp eax, esi
jge 0x10064945
mov ecx, dword [ebp - 4]
lea esi, [ecx*4]
imul ecx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x14], esi
lea esi, [edx + ecx*4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
test ecx, ecx
jle 0x1006493b
mov eax, edi
mov edx, ecx
imul eax, dword [ebp + 0x10]
add eax, esi
add eax, dword [ebp + 0xc]
nop dword [eax]
mov ecx, eax
add eax, edi
xor ecx, 3
movzx ecx, byte [ecx]
inc dword [ebx + ecx*4]
sub edx, 1
jne 0x10064920
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esi, edx
sub eax, 1
mov dword [ebp + 0x1c], eax
jne 0x10064908
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101970e1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10290198]
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], 0
push 0x20
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x10], 4
call fcn.1019377e
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10064e76
mov edx, 4
mov ecx, eax
nop
xor edi, edi
mov dword [ecx], 0xffffffff
mov word [ecx + 4], di
lea ecx, [ecx + 8]
sub edx, 1
jne 0x10064e60
jmp 0x10064e78
xor eax, eax
mov dword [esi + 0x10], eax
or eax, 0xffffffff
mov dword [esi + 0xc], 4
vmovss xmm0, dword [0x101b1e5c]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
vmovss dword [esi + 0x20], xmm0
vmovss xmm0, dword [0x101af3f0]
mov word [esi + 0x1c], ax
mov word [esi + 0x1e], ax
mov dword [esi + 0x28], eax
xor eax, eax
vmovss dword [esi + 0x24], xmm0
vxorps xmm0, xmm0, xmm0
mov dword [esi + 0x34], eax
mov eax, esi
mov dword [esi + 4], 0
vmovss dword [esi + 0x38], xmm0
vmovss dword [esi + 0x3c], xmm0
vmovss dword [esi + 0x40], xmm0
mov dword [esi + 0x44], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret