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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002149
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002151
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000218a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002160
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021c0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a4a0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x14000a551
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.140010390
cmp rax, 1
jne 0x14000a587
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a52d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a520
cmp rcx, 1
jb 0x14000a587
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a4f0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000c830
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140010054
int3
Function at 0x14000a610
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a655
xor al, al
jmp 0x14000a6a2
cmp word [rbx], 0
je 0x14000a66d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a660
cmp word [rsp + 0x30], 0
je 0x14000a69b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a6c3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a680
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c830
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.140010054
int3
Function at 0x14000b7a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b7db
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7ce
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b8ce
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298f8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140040610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b8af
test al, 0x10
je 0x14000b8af
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b855
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000d124
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d16e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d16e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d16e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d16e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d16e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d170
xor al, al
add rsp, 0x28
ret

Function at 0x14000fe44
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000feb3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000feb3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000feb3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000feb3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000feb3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000feb3
cmp dword [rcx + 0xf8], 0
je 0x14000feb3
mov ecx, ebx
call fcn.14000ff64
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fd40
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff01
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff0c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fe44

Function at 0x140010048
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000feb3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000feb3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000feb3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000feb3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000feb3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000feb3
cmp dword [rcx + 0xf8], 0
je 0x14000feb3
mov ecx, ebx
call fcn.14000ff64
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fd40
nop
cmp dword [rbp + 0x20], 0
je 0x14000ff01
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ff0c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fe44
Function at 0x140019458
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400194df
mov rsi, rbx
cmp word [rax], bp
je 0x14001949e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019488
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019484
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016c88
mov rdi, rax
test rax, rax
je 0x1400194cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020070
mov rbp, rdi
xor ecx, ecx
call fcn.140015d98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b64c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b662
mov al, 1
jmp 0x14001b6c2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b673
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b6c0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400197a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b6c0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b6c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b6c0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b6c2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f8e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f908
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f908
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18003d340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x18003d368
xorps xmm0, xmm0
jmp 0x18003d537
movss xmm0, dword [rsp + 0x80]
ucomiss xmm0, dword [0x18014117c]
jp 0x18003d37c
je 0x18003d391
cmp dword [rsp + 0x60], 8
je 0x18003d38a
cmp dword [rsp + 0x60], 9
jne 0x18003d391
mov byte [rsp + 0x20], 1
jmp 0x18003d396
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jge 0x18003d3c1
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.1800cd1a0
mov dword [rsp + 0x28], eax
jmp 0x18003d3d7
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.1800cd1a0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18003d513
cvtsi2ss xmm0, dword [rsp + 0x24]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18003d488
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call fcn.1800cda40
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x30]
idiv ecx
cvtsi2ss xmm0, eax
movss xmm1, dword [0x18014117c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [0x18014117c]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x34]
call fcn.1800e3bc0
movss xmm1, dword [0x18014117c]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x88]
jmp 0x18003d537
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.1800cd160
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.1800cd160
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x38]
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x3c]
idiv ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [0x18014117c]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x40]
call fcn.1800e3bc0
movss xmm1, dword [0x18014117c]
subss xmm1, dword [rsp + 0x88]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003d537
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
divss xmm0, xmm1
add rsp, 0x58
ret
Function at 0x18003d540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jne 0x18003d568
xorps xmm0, xmm0
jmp 0x18003d748
movss xmm0, dword [rsp + 0x80]
ucomiss xmm0, dword [0x18014117c]
jp 0x18003d57c
je 0x18003d591
cmp dword [rsp + 0x60], 8
je 0x18003d58a
cmp dword [rsp + 0x60], 9
jne 0x18003d591
mov byte [rsp + 0x20], 1
jmp 0x18003d596
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x70], eax
jae 0x18003d5c1
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
call fcn.1800cc940
mov dword [rsp + 0x28], eax
jmp 0x18003d5d7
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
call fcn.1800cc940
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18003d71e
mov eax, dword [rsp + 0x24]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18003d68f
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call fcn.1800ccfc0
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
xor edx, edx
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
mov ecx, dword [rsp + 0x30]
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
movss xmm1, dword [0x18014117c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [0x18014117c]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x34]
call fcn.1800e3bc0
movss xmm1, dword [0x18014117c]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x88]
jmp 0x18003d748
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.1800ccf40
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x70]
xor ecx, ecx
call fcn.1800ccf40
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
xor edx, edx
mov ecx, dword [rsp + 0x38]
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [0x18014117c]
divss xmm0, dword [rsp + 0x80]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x40]
call fcn.1800e3bc0
movss xmm1, dword [0x18014117c]
subss xmm1, dword [rsp + 0x88]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003d748
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
divss xmm0, xmm1
add rsp, 0x58
ret
Function at 0x18003e7d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x18003e809
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x18003e8f7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x18003e89f
cmp qword [rsp + 0x20], 0
jle 0x18003e89f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x18003e849
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.180009990
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x18003e8e7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x18003e8e7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x18003e900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x18003e925
xor eax, eax
jmp 0x18003eaeb
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x18003e94e
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call 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]
jmp 0x18003eaeb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x18003e9ed
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.180009b10
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.180009990
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x18003eadb
mov rcx, qword [rsp + 0x70]
call fcn.18003f970
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x18003ea8e
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x18003ea8c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x18003eaeb
jmp 0x18003ea13
cmp qword [rsp + 0x20], 0
jbe 0x18003eadb
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x18003fa30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1801533b8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x18003fa6d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003fa74
mov al, 1
jmp 0x18003fbce
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.180040150
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.180040150
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1800401b0
movzx eax, al
test eax, eax
je 0x18003facb
xor al, al
jmp 0x18003fbce
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18003fb3b
cmp dword [rsp + 0x30], 1
je 0x18003fb47
cmp dword [rsp + 0x30], 3
je 0x18003fbbc
jmp 0x18003fbcc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x18003fb93
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x18003fb93
xor al, al
jmp 0x18003fbce
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003fbad
mov dword [rsp + 0x34], 1
jmp 0x18003fbb5
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x18003fbce
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18003fbce
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180067050
add rsp, 0xa8
ret