joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066fd5
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x140062db4]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140067092
je 0x1400670a9
insb byte [rdi], dx
cld
add byte [rax], al
je 0x1400670b3
jne 0x14006707d
lea rax, [0x1400665a6]
add rax, 0xb32
call rax
je 0x14006704e
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x1400670bc
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret

Function at 0x1400803e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140080408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140080408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140098cb0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140098ce7
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x140098cc1
ret

Function at 0x140098d60
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140098d98
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x140098d71
ret

Function at 0x1400c0ae0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400ed028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1400c0b57
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1400c0b57
add rdi, rax
test ecx, ecx
jne 0x1400c0b1d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140066bc0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400044d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400044f8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000451e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004520
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004579
test ecx, ecx
jle 0x140004559
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004579
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004579
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400045a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400045c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400045d8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400045f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400045f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004632
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400046ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000466d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400046ae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400046ce
cmp rbx, rax
ja 0x140004680
test rbx, rbx
je 0x1400046ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004b30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004b5d
xor eax, eax
jmp 0x140004cc9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004b97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004b97
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004cc9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004cbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004bda
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004c05
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004cc1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
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_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004c74
sub eax, 1
je 0x140004c74
cmp eax, 2
jne 0x140004cbc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004cc1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004ca2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140004cbc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004cc1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006d30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005100
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400051d3
cmp byte [rcx + 0x71], 0
je 0x1400051d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400051cf
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_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005194
sub eax, 1
je 0x140005198
cmp eax, 2
jne 0x1400051cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006d30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400051c6
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 0x1400051cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000517c
xor al, al
jmp 0x14000517c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006d30
add rsp, 0x60
pop rbx
ret
Function at 0x140005ff0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140006051
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140006010
mov ecx, dword [r9]
jmp 0x14000613b
cmp ecx, 0x4e0
jb 0x14000613b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140006070
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400060c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140006470
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, send
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1400066c5
movups xmm0, xmmword [0x140009a30]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140009a40]
movups xmmword [rsp + 0x40], xmm1
mov eax, dword [0x140009a50]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140009a54]
mov word [rsp + 0x54], ax
movzx eax, byte [0x140009a56]
mov byte [rsp + 0x56], al
xor ecx, ecx
cmp dword [0x14000d090], 2
jl 0x140006604
movdqa xmm4, xmmword [0x140009ab0]
movdqa xmm3, xmmword [0x140009af0]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x140009b00]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x140009ad0]
mov r8d, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140006520
cmp ecx, 0x27
jge 0x14000663b
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x27
jl 0x140006610
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140004ed0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140006655
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140006661
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.140006940
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400066c5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006d94
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1400066e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x140006927
movups xmm0, xmmword [str.AA__QMSO_a]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400099f0]
movups xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x140009a00]
movsd qword [rsp + 0x50], xmm0
xor ecx, ecx
cmp dword [0x14000d090], 2
jl 0x140006861
movdqa xmm4, xmmword [0x140009ab0]
movdqa xmm3, xmmword [0x140009af0]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x140009b00]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x140009ad0]
mov r8d, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x140006780
jmp 0x14000689d
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x29e4129f
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x28
jl 0x140006870
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140004ed0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400068b7
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400068c3
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.140006940
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140006927
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006922
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006922
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006d94
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x14000795c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400079a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400079a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400079a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400079a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400079a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400079a8
xor al, al
add rsp, 0x28
ret
Function at 0x140011450
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
sub rsp, 0x60
xor r13d, r13d
mov byte [rcx], 0
mov qword [rcx + 2], r13
mov rbp, rdx
mov qword [rcx + 0xa], r13
mov rdi, rcx
test rdx, rdx
je 0x14001159f
cmp word [rdx], r13w
je 0x14001159f
lea rdx, [rax + 8]
mov qword [rax - 0x38], r14
mov rcx, rbp
mov dword [rax + 8], r13d
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x14001159a
mov r8d, dword [0x1400849c0]
lea rax, str.C:_buildslaveunity_buildPlatformDependent_Win_FileInformation.cpp
mov qword [rsp + 0x58], rbx
lea edx, [r13 + 0x10]
mov qword [rsp + 0x50], rsi
xor r9d, r9d
mov qword [rsp + 0x48], r12
mov ecx, r14d
mov dword [rsp + 0x28], 0x25
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x20], rax
call fcn.140002050
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400443c0
xor edx, edx
lea rcx, [rdi + 0x12]
mov r8d, 0x410
call fcn.1400443c0
xor edx, edx
lea rcx, [rdi + 0x422]
mov r8d, 0x410
call fcn.1400443c0
xor edx, edx
lea rcx, [rdi + 0x832]
mov r8d, 0x410
call fcn.1400443c0
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r14d
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rsi
test eax, eax
je 0x140011621
lea r9, [rsp + 0x88]
mov qword [rsp + 0x98], r13
lea r8, [rsp + 0x98]
mov dword [rsp + 0x88], r13d
lea rdx, [0x140084a44]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400115ab
mov edx, dword [0x1400849c0]
mov rcx, rsi
call sym.UnityCrashHandler64.exe_PAL_Memory_AlignedFree
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x60
pop r13
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x98]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x90]
lea rdx, [0x140084a48]
movzx eax, word [rcx + 0xa]
mov word [rdi + 2], ax
movzx eax, word [rcx + 8]
mov word [rdi + 4], ax
movzx eax, word [rcx + 0xe]
mov word [rdi + 6], ax
movzx eax, word [rcx + 0xc]
mov word [rdi + 8], ax
movzx eax, word [rcx + 0x12]
mov word [rdi + 0xa], ax
movzx eax, word [rcx + 0x10]
mov word [rdi + 0xc], ax
movzx eax, word [rcx + 0x16]
mov word [rdi + 0xe], ax
movzx eax, word [rcx + 0x14]
mov rcx, rsi
mov word [rdi + 0x10], ax
mov qword [rsp + 0x90], r13
call sub.VERSION.dll_VerQueryValueW
mov rcx, rsi
test eax, eax
jne 0x14001162c
mov edx, dword [0x1400849c0]
jmp 0x140011581
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x12]
lea r8, str.ProductName
call fcn.140012690
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x422]
lea r8, str.CompanyName
mov rcx, rsi
call fcn.140012690
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x832]
lea r8, str.FileDescription
mov rcx, rsi
call fcn.140012690
mov edx, dword [0x1400849c0]
mov rcx, rsi
call sym.UnityCrashHandler64.exe_PAL_Memory_AlignedFree
mov byte [rdi], 1
jmp 0x140011586
Function at 0x140011930
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x40], 0xffffffffffffffff
mov rbx, rcx
je 0x1400119cf
movzx edx, byte [rcx + 0x4c]
mov qword [rsp + 0x30], rdi
test dl, dl
je 0x140011993
cmp byte [rcx + 0x4d], 0
je 0x140011993
mov rdi, qword [rcx]
mov rax, qword [rcx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x140011990
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
sete dl
add rdi, 8
or dl, byte [rbx + 0x4c]
mov byte [rbx + 0x4c], dl
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x140011967
mov byte [rbx + 0x4d], dl
mov rdi, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x1400119c0
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
add rdi, 8
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x1400119a3
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x20]
lea rax, [0x140084784]
cmp rcx, rax
je 0x1400119e7
mov edx, dword [rbx + 0x38]
call sym.UnityCrashHandler64.exe_PAL_Memory_AlignedFree
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400078e0