joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14020e820
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14020e9c8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14020e885
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14020e885
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14020e885
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14020e8bc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14020e912
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14020e912
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14020e912
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14020e912
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14020e912
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14020e2d0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14020e974
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1401ee1d0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14020e6a0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14020e9c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1401ee1d0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140210130
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1402f1010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x9f8]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1402101c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140210226
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1401ee1d0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140086810
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1402102e1
sub ecx, 1
je 0x140210354
sub ecx, 1
je 0x140210290
cmp ecx, 1
je 0x140210273
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140256b20]
call fcn.1401ee1d0
jmp 0x140210354
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14020fe60
test eax, eax
je 0x140210354
jmp 0x1402101fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140210354
sub rax, rsi
cmp rax, rbp
jae 0x140210354
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1401ee350
jmp 0x140210354
cmp r8d, 4
jle 0x140210354
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140210354
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1401ee0f0
mov esi, eax
test eax, eax
je 0x140210333
mov edx, 5
mov rcx, rbx
call fcn.140210e20
mov eax, esi
jmp 0x1402101fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1401f8530
mov rcx, r14
call fcn.1401f8810
test eax, eax
je 0x1402101f8
mov edx, 5
mov rcx, rbx
call fcn.140210e20
mov eax, Ordinal_45
jmp 0x1402101fa
Function at 0x140221c10
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402f1010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov dword [rbp - 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
mov rsi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140221d47
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi]
movzx eax, dl
movzx r8d, byte [rdi + 5]
shr al, 1
mov byte [rbp - 0x1c], cl
shl cl, 7
or al, cl
shl dl, 6
movzx ecx, byte [rdi + 2]
mov byte [rbp - 0x1b], al
movzx eax, cl
shr al, 2
or al, dl
shl cl, 5
movzx edx, byte [rdi + 3]
mov byte [rbp - 0x1a], al
movzx eax, dl
shr al, 3
or al, cl
shl dl, 4
movzx ecx, byte [rdi + 4]
mov byte [rbp - 0x19], al
movzx eax, cl
shr al, 4
or al, dl
shl cl, 3
mov byte [rbp - 0x18], al
movzx eax, r8b
shr al, 5
or al, cl
shl r8b, 2
movzx ecx, byte [rdi + 6]
mov byte [rbp - 0x17], al
movzx eax, cl
add cl, cl
shr al, 6
or al, r8b
mov byte [rbp - 0x15], cl
mov qword [rsp + 0xa0], r14
lea rcx, [rbp - 0x1c]
xor r14d, r14d
mov byte [rbp - 0x16], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x6601
mov dword [rbp - 0x20], 8
lea edx, [r14 + 8]
call fcn.140223c90
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r8d, [r14 + 0x14]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov r14, qword [rsp + 0xa0]
test eax, eax
jne 0x140221d4b
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x140221d90
mov rax, qword [rsi]
xor r9d, r9d
mov rcx, qword [rbp - 0x30]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140086810
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140223d00
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402f1010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov dword [rsp + 0x20], 0xf0000000
mov rsi, r8
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rbp
mov rbx, rcx
xor r8d, r8d
lea r9d, [rbp + 1]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140223d70
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, rsi
call fcn.1401f0a90
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x140223dce
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140223dde
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140223df0
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140086810
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140223e80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140223ec2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140223f09
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140223f62
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140223f20
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140223fa3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1402cc2da]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1402cc2db]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140223f70
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140005300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140005323
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x140005343
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1400051e0
jmp 0x140005499
mov edx, ebp
mov rcx, rsi
call fcn.140003fb0
mov r14d, eax
xor r15d, r15d
bt ebp, 0xa
jae 0x14000546f
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000536a
mov rdx, qword [rsi]
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [0x14007a000]
movdqu xmmword [rsp + 0x58], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140005384
lea rcx, [rsp + 0x48]
call fcn.140004320
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14000541a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005415
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005415
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400624c4
movdqa xmm0, xmmword [0x14007a000]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
cmp rbx, 0xffffffffffffffff
jne 0x140005445
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1400051e0
nop
jmp 0x140005499
mov rcx, rsi
call fcn.1400050e0
test al, al
jne 0x140005466
mov dword [rdi], 9
mov dword [rdi + 4], r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005499
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and ebp, 0x10
je 0x14000547a
mov eax, dword [rsp + 0x40]
jmp 0x140005482
mov eax, r14d
mov r14d, dword [rsp + 0x40]
test ebp, ebp
setne r15b
add r15d, 2
mov dword [rdi], r15d
test ebp, ebp
cmove r14d, eax
mov dword [rdi + 4], r14d
mov rax, rdi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov ebp, edx
mov rbx, rcx
test rcx, rcx
je 0x14000b889
cmp edx, 4
jb 0x14000b889
xor r15d, r15d
mov r10d, r15d
mov ecx, dword [r9]
test ecx, ecx
jne 0x14000b6c2
mov eax, r10d
mov eax, dword [r8 + rax*4]
cdq
xor eax, edx
sub eax, edx
mov ecx, dword [r9]
inc ecx
mov dword [r9], ecx
inc r10d
add r10d, eax
cmp r10d, ebp
jb 0x14000b6a3
mov edi, ecx
mov qword [rsp + 0x70], rdi
mov eax, 0x18
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062748
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x14000b715
lea rcx, [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov qword [rcx - 0x10], r15
mov qword [rcx - 8], r15
mov qword [rcx], r15
lea rcx, [rcx + 0x18]
sub rdi, 1
jne 0x14000b700
mov r12, qword [rsp + 0x90]
mov qword [r12], rax
mov r13d, r15d
mov esi, r15d
nop word [rax + rax]
mov eax, esi
mov eax, dword [r14 + rax*4]
cdq
mov edi, eax
xor edi, edx
sub edi, edx
xorps xmm2, xmm2
xorps xmm3, xmm3
xorps xmm1, xmm1
xor r10d, r10d
movsxd rdx, edi
cmp rdx, 4
jl 0x14000b7f4
movsxd r8, esi
add r8, 2
lea r8, [r14 + r8*4]
lea r9, [rdx - 4]
shr r9, 2
inc r9
lea r10, [r9*4]
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [r8 - 4]
lea rcx, [rax + rax*2]
addsd xmm2, qword [rbx + rcx*8]
addsd xmm3, qword [rbx + rcx*8 + 8]
addsd xmm1, qword [rbx + rcx*8 + 0x10]
movsxd rax, dword [r8]
lea rcx, [rax + rax*2]
addsd xmm2, qword [rbx + rcx*8]
addsd xmm3, qword [rbx + rcx*8 + 8]
addsd xmm1, qword [rbx + rcx*8 + 0x10]
movsxd rax, dword [r8 + 4]
lea rcx, [rax + rax*2]
addsd xmm2, qword [rbx + rcx*8]
addsd xmm3, qword [rbx + rcx*8 + 8]
addsd xmm1, qword [rbx + rcx*8 + 0x10]
movsxd rax, dword [r8 + 8]
lea rcx, [rax + rax*2]
addsd xmm2, qword [rbx + rcx*8]
addsd xmm3, qword [rbx + rcx*8 + 8]
addsd xmm1, qword [rbx + rcx*8 + 0x10]
add r8, 0x10
sub r9, 1
jne 0x14000b780
cmp r10, rdx
jl 0x14000b7f8
jmp 0x14000b82b
test edi, edi
jle 0x14000b82b
movsxd rax, esi
lea r8, [r10 + 1]
add r8, rax
lea r8, [r14 + r8*4]
sub rdx, r10
movsxd rax, dword [r8]
lea rcx, [rax + rax*2]
addsd xmm2, qword [rbx + rcx*8]
addsd xmm3, qword [rbx + rcx*8 + 8]
addsd xmm1, qword [rbx + rcx*8 + 0x10]
add r8, 4
sub rdx, 1
jne 0x14000b809
movd xmm0, edi
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
divsd xmm3, xmm0
divsd xmm1, xmm0
mov rax, qword [r12]
movaps xmm0, xmm2
unpcklpd xmm0, xmm3
movups xmmword [rax + r15], xmm0
movsd qword [rax + r15 + 0x10], xmm1
movsxd rax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
lea rcx, [rax + rcx*8]
mov rdx, qword [sym.imp.AcGe24.dll_class_AcGeTol_AcGeContext::gTol]
call qword [sym.imp.AcGe24.dll_public:_class_AcGeVector3d____ptr64___cdecl_AcGeVector3d::normalize_class_AcGeTol_const____ptr64____ptr64]
inc r13d
add r15, 0x18
inc esi
add esi, edi
cmp esi, ebp
jb 0x14000b730
mov al, 1
jmp 0x14000b88b
xor al, al
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400282e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x38
mov rax, qword [0x140097030]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14002d410
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140097030]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14002d441
xor eax, eax
jmp 0x14002d584
mov rdx, qword [rcx + 0x40]
mov rcx, qword [rdx]
test rcx, rcx
je 0x14002d471
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rdx, [rcx + r8*2]
cmp rcx, rdx
jae 0x14002d471
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Pninc_void____ptr64]
mov word [rax], si
movzx eax, si
jmp 0x14002d584
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14002d579
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002d4b8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002d4e2
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x14002d579
movzx edi, si
jmp 0x14002d579
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002d538
sub eax, 1
je 0x14002d538
cmp eax, 2
jne 0x14002d579
movzx ecx, word [rsp + 0x50]
jmp 0x14002d4c4
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14002d566
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14002d579
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
movzx eax, si
jne 0x14002d57c
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400621d0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002d750
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140097030]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002d825
cmp byte [rcx + 0x72], 0
je 0x14002d825
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14002d821
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002d7e6
sub eax, 1
je 0x14002d7ea
cmp eax, 2
jne 0x14002d821
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400621d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002d818
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14002d821
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14002d7ce
xor al, al
jmp 0x14002d7ce
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400621d0
add rsp, 0x60
pop rbx
ret
Function at 0x1400484f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx + 0x68]
lea rdx, [r8 + r8*2]
mov rbx, rcx
shl rdx, 3
mov rcx, rsi
mov rdi, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x140048549
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
lea rdx, str.sparsehash:_FATAL_ERROR:_failed_to_reallocate__lu_elements_for_ptr__p
mov rcx, rax
mov r8d, edi
call fcn.140028f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rsi, qword [rsp + 0x38]
mov qword [rbx + 0x68], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140049b40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rsi
mov r12, r8
mov rsi, rdx
mov r13, rcx
mov r15, qword [r8 + 0x10]
mov r9, qword [r8 + 0x18]
cmp r9, 0x10
jb 0x140049b7f
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test r15, r15
je 0x140049bb4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r15
jb 0x140049ba0
mov rcx, qword [r13 + 0x30]
and rcx, rdx
lea r14, [r13 + 8]
shl rcx, 4
mov qword [rsp + 0x70], rcx
mov rax, qword [r13 + 0x18]
mov rdi, qword [rax + rcx]
cmp rdi, qword [r14]
jne 0x140049bda
mov rbx, qword [r14]
jmp 0x140049be2
mov rbx, qword [rax + rcx + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x140049c54
nop word [rax + rax]
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
lea r14, [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140049c06
mov rdx, qword [rdx]
cmp r9, 0x10
jb 0x140049c12
mov rcx, qword [r12]
jmp 0x140049c15
mov rcx, r12
mov r14, qword [r14]
mov r8, r14
cmp r15, r14
cmovb r8, r15
test r8, r8
je 0x140049c30
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140049c46
cmp r15, r14
jb 0x140049c46
ja 0x140049c46
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140049d41
cmp rbx, rdi
mov r9, qword [r12 + 0x18]
jne 0x140049bf0
lea r14, [r13 + 8]
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r12
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.1400497f0
mov rdx, rax
movabs rcx, 0x555555555555554
sub rcx, qword [r14 + 8]
cmp rcx, 1
jae 0x140049c91
lea rcx, [0x140071df0]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc qword [r14 + 8]
mov qword [rdi + 8], rdx
mov rax, qword [rax + 8]
mov qword [rax], rdx
mov rdi, qword [r14]
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140049ce0
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r13 + 0x18]
mov r8, qword [rsp + 0x70]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r14]
jne 0x140049d02
mov qword [rdx], rdi
mov rax, qword [r13 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x140049d2e
cmp rax, rbx
jne 0x140049d0c
mov qword [rdx], rdi
jmp 0x140049d2e
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140049d2e
mov rdx, qword [r13 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r13
call fcn.14004a7e0
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret