joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400555b0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d2014]
call fcn.1400574b0
cmp dword [0x1400a3d3c], 0
je 0x1400555e3
mov eax, dword [0x1400a3d3c]
jmp 0x1400556ae
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rbp + 0x160], rax
jne 0x1400555f9
xor eax, eax
jmp 0x1400556ae
mov ecx, 0x10
call fcn.140056c98
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140055667
mov dword [rbp + 4], 8
cmp qword [rbp + 0x28], 0
je 0x14005564e
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x128], rax
mov edx, 0x10
mov rcx, qword [rbp + 0x128]
call fcn.140056c90
mov qword [rbp + 0x28], 0
mov eax, dword [rbp + 4]
mov dword [0x1400a3d3c], eax
mov qword [0x1400a3d40], 0
mov eax, dword [rbp + 4]
jmp 0x1400556ae
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140055684
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x140055623
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x160]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [0x1400a3d48]
mov qword [rax], rcx
mov rax, qword [rbp + 0x28]
mov qword [0x1400a3d48], rax
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14005eb1c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400a4900]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14005eb73
cmp word [rdx], r13w
jne 0x14005eb73
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005eb78
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005ec9d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005ecbe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005ebb1
mov rdx, r9
mov word [rbx], cx
jmp 0x14005ebd8
cmp r9, r8
jae 0x14005ebe8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005eb92
jmp 0x14005ec9d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005ec92
cmp dword [rsp + 0x80], esi
je 0x14005ec92
lea r8, [0x1400a4900]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005ec6a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005ec3a
mov word [rbx], r13w
jmp 0x14005ec9a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005ec47
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005ec9a
cmp word [rsp + 0x70], r13w
jne 0x14005ec77
cmp rbx, r14
je 0x14005ec34
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005e798
cmp word [rsp + 0x70], r13w
je 0x14005ec9d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400a4900]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005ec97
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005ec9d
Function at 0x1400619d8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400619d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140063480
or eax, 0xffffffff
jmp 0x1400619d2
xor eax, eax
add rsp, 0x28
ret
jmp 0x1400619b0

Function at 0x140061fc4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140061dc0

Function at 0x140066ee4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005e798
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005e798
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140067034
cmp rax, 0xffffffffffffffff
je 0x140067034
xor edi, edi
test rbp, rbp
jle 0x140066fdf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400679f0
mov rbx, rax
test rax, rax
jne 0x140066f6c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140066fd5
mov edx, 0x8000
mov ecx, r14d
call fcn.140062d1c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14006021c
cmp eax, 0xffffffff
je 0x140066fb5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140066f7c
mov edx, r15d
mov ecx, r14d
call fcn.140062d1c
jmp 0x140066fd5
cmp byte [rsi + 0x38], dil
je 0x140066fcc
cmp dword [rsi + 0x34], 5
jne 0x140066fcc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140066fd5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140063708
jmp 0x140067048
jns 0x140067048
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005e798
cmp rax, 0xffffffffffffffff
jne 0x140067000
cmp byte [rsi + 0x30], dil
je 0x140067048
mov edi, dword [rsi + 0x2c]
jmp 0x140067048
mov ecx, r14d
call fcn.140065cfc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140067048
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140067048
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140067041
mov eax, dword [rsi + 0x2c]
jmp 0x140067046
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005e798
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400677dc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400677f2
mov al, 1
jmp 0x140067852
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140067803
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140067850
mov ecx, dword [rcx + 0x18]
nop
call fcn.140065cfc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140067850
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140067850
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140067850
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140067852
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140068d00
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 0x140068d87
mov rsi, rbx
cmp word [rax], bp
je 0x140068d46
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140068d30
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140068d2c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140063744
mov rdi, rax
test rax, rax
je 0x140068d74
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140058970
mov rbp, rdi
xor ecx, ecx
call fcn.140063708
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 0x4014e0
Capabilities:
Encode data using xor

Disassembly:
int3
adc byte [r8 - 0x77], r9b
push rbp
sbb al, ch
mov word [rbp - 0x62fad498], cs
mov edx, 0x845e963
sbb dword [rbx + 0x56430c40], ecx
mov dword [rbp + 0x18], edx
call 0x2ba8a277
add eax, 0xe963ba9d
or byte [r9], r11b
mov eax, dword [rax + 0xc]
push r14
popfq
movabs eax, dword [0x40ec3500ec45ae49]
xor bl, byte [rax + 3]
jge 0x4014e3
add byte [rbx], dh
fmul qword [rcx + 0x687260c0]
mov word [rax + 0x4044e0b2], es
jnp 0x40155f
mov edx, dword [rbp]
ror dword [rbp + 0x480c6400], 0x8b
loopne 0x401569
mov ecx, eax
mov r8, rdx
mov rdx, rax
call 0x62948367
jge 0x4014b7
or ecx, dword [0xffffffffac4267a1]
mov edx, 0xea9ff284
imul esi, dword [r10], 0x45c7f740
cld
invalid
ret 0xb140
jl 0x4015ac
out 0xf6, al
mov edx, dword [rsi]
add al, byte [rbp - 4]
add ebx, ebp
vdivss xmm12, xmm7, dword [rcx - 0x16]
adc dword [rcx + 0x4a], 0x5c0d9d60
invalid
invalid
Function at 0x10000129c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1000036f8]
lea rdx, [0x100003700]
call qword [sym.imp.API_MS_WIN_Service_Core_L1_1_0.dll_SetServiceStatus]
test eax, eax
jne 0x1000012e6
mov dword [0x100003704], 1
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp qword [0x1000036f8], 0
mov dword [0x10000370c], eax
je 0x1000012dd
call fcn.10000129c
xor ecx, ecx
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_ExitProcess]
inc dword [0x100003714]
add rsp, 0x28
ret

Function at 0x1000014b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100003740], rdi
je 0x1000014fe
cmp rax, rdi
jne 0x1000014f1
mov edi, 1
mov r12d, edi
jmp 0x100001503
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1000014d5
mov edi, 1
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x100001519
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x100001576
mov eax, dword [0x100003738]
test eax, eax
jne 0x100001570
mov dword [0x100003738], edi
lea r13, [0x1000011a0]
lea rsi, [0x100001188]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100001562
test eax, eax
jne 0x100001562
mov rcx, qword [rsi]
test rcx, rcx
je 0x100001557
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100001540
test eax, eax
je 0x100001576
mov eax, 0xff
jmp 0x100001648
mov dword [0x100003164], edi
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x10000159d
lea rdx, [0x100001180]
lea rcx, [0x100001170]
call sub.msvcrt.dll__initterm
mov dword [0x100003738], 2
test r12d, r12d
jne 0x1000015ab
xor eax, eax
xchg qword [0x100003740], rax
cmp qword [0x100003748], 0
je 0x1000015d4
lea rcx, [0x100003748]
call fcn.10000189c
test eax, eax
je 0x1000015d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100003748]
mov r8, qword [0x100003148]
mov rdx, qword [0x100003150]
mov ecx, dword [0x100003140]
call fcn.100001440
mov dword [0x100003160], eax
cmp dword [0x100003144], 0
jne 0x100001604
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100003164], 0
jne 0x100001619
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100003160]
jmp 0x100001648
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100208000
add rsp, 0x28
jmp 0x1000014b0

Function at 0x100001908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001955
cmp rcx, 0xffffffffffffffff
je 0x100001955
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000194d
cmp dword [rcx + 0x3c], edx
jl 0x10000194d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000194d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100001955
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180062430
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov ebx, dword [rsp + 0xc8]
lea r14d, [rdx + 4]
movaps xmmword [rax - 0x38], xmm6
mov r12, r9
movaps xmmword [rax - 0x48], xmm7
mov rbp, r8
movaps xmmword [rax - 0x58], xmm8
mov edi, edx
mov rsi, rcx
cmp edx, r14d
jae 0x1800625f9
movsd xmm6, qword [0x1803764c0]
xor r13d, r13d
movsd xmm7, qword [0x180374298]
movsd xmm8, qword [0x180375580]
mov r15d, dword [rsp + 0xc8]
nop
mov eax, edi
sub eax, 0x5e
je 0x1800625ab
sub eax, 1
je 0x1800625f9
sub eax, 3
je 0x180062504
cmp eax, 1
jne 0x1800625ee
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rsi
mov r9d, 0x44
mov qword [rsp + 0x20], rax
lea r8, str.eraTf2d
mov dword [rsp + 0x40], r13d
lea rdx, [0x18036da70]
mov dword [rsp + 0xc8], r15d
lea rcx, [rsp + 0x40]
call fcn.1800bce50
jmp 0x1800625ee
lea rax, [rsp + 0x40]
movsd qword [rsp + 0x50], xmm6
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
lea rax, [rsp + 0xc8]
mov dword [rsp + 0x40], 0x37
mov r9d, 0x69
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], 0x17
lea rcx, [rsp + 0x48]
mov byte [rsp + 0xc8], 0x20
call fcn.1800be690
movsd xmm0, qword [rsp + 0x58]
lea r9, str.eraTf2d
mov r15d, eax
movsd qword [rsp + 0x48], xmm7
lea rax, [rsp + 0x50]
movsd qword [rsp + 0x40], xmm8
mov qword [rsp + 0x30], rax
lea rcx, [0x18036e524]
lea rax, [rsp + 0x48]
movsd qword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], rax
mov r8d, 0x103
lea rax, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.1800e22b0
jmp 0x1800625ee
cmp dword [r12], r13d
jne 0x1800625d4
mov r8d, 1
mov byte [rsp + 0xc8], r13b
lea rdx, [rsp + 0xc8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x18006262b
mov rdx, r13
mov rcx, rsi
cmp byte [rbp], dl
cmovne rdx, rbp
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x180062630
mov ebx, r13d
inc edi
cmp edi, r14d
jb 0x1800624a0
mov eax, ebx
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, r13d
jmp 0x1800625fb
mov eax, 0xffffffff
jmp 0x1800625fb
Function at 0x180093580
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x1803964c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov ebx, dword [rsp + 0x200]
mov r12, rcx
mov rcx, qword [rsp + 0x1f0]
mov rbp, r9
mov rsi, qword [rsp + 0x1f8]
mov r13, rdx
mov r14, qword [rsp + 0x208]
lea r15d, [rbx + 0x1d8]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rsi
cmp ebx, r15d
jae 0x180093770
movzx edi, byte [rsp + 0x30]
xor edx, edx
mov eax, ebx
sub eax, 0x6b
je 0x1800936e4
sub eax, 0x92
je 0x1800936ce
sub eax, 0x76
je 0x180093680
cmp eax, 0x76
jne 0x180093764
test dil, dil
je 0x18009381f
mov esi, dword [rsp + 0x38]
mov ebp, 0x2a
nop word [rax + rax]
cmp ebp, 0x2a
je 0x1800937ef
cmp ebp, 0xc78
je 0x1800937df
cmp ebp, 0x18c6
jne 0x180093808
test dil, dil
je 0x180093808
mov ebx, 0xd4
nop
mov eax, ebx
sub eax, 0xd3
je 0x180093799
cmp eax, 1
jne 0x1800937cf
mov qword [rsp + 0x40], rdx
jmp 0x1800937cf
mov qword [rsp + 0x28], rdx
lea r8, [0x180066df0]
mov dword [rsp + 0x20], edx
mov r9, rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
call qword [sym.imp.WINMM.dll_mixerGetNumDevs]
test rsi, rsi
je 0x180093826
xchg qword [0x180396590], rsi
mov rsi, qword [rsp + 0x48]
test eax, eax
movzx edi, dil
mov edx, 0
cmove edi, edx
jmp 0x18009375a
mov qword [0x180396588], rbp
mov dil, 1
mov qword [rbp + 0x80], r14
jmp 0x180093764
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x50]
movsd xmm1, qword [r8]
lea rcx, [rsp + 0x58]
mov r8d, 0xbf
movsd qword [rsp + 0x58], xmm0
mov r9, r13
movsd qword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1800d81a0
movsd xmm0, qword [r14]
lea rax, [rsp + 0x60]
movsd xmm1, qword [rbp]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x68]
mov r9d, 0x27
movsd qword [rsp + 0x68], xmm0
mov rcx, r12
movsd qword [rsp + 0x60], xmm1
mov qword [rsp + 0x20], rax
call fcn.180093830
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
add ebx, 0x76
cmp ebx, r15d
jb 0x1800935f4
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18012c9a0
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x40]
mov edx, dword [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WINMM.dll_mixerOpen]
mov esi, eax
test eax, eax
je 0x1800937bd
xor dil, dil
jmp 0x1800937cd
test dil, dil
je 0x1800937cd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINMM.dll_mixerClose]
xor edx, edx
dec ebx
cmp ebx, 0xd2
ja 0x180093660
jmp 0x180093808
movzx eax, dil
test esi, esi
mov ecx, edx
cmove ecx, eax
movzx edi, cl
jmp 0x180093808
mov dword [rsp + 0x38], edx
mov r8d, 0x80000000
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.WINMM.dll_mixerGetID]
mov esi, eax
add ebp, 0xc4e
mov edx, 0
cmp ebp, 0x24ea
jbe 0x180093630
mov al, 1
jmp 0x180093775
xor al, al
jmp 0x180093775
Function at 0x1800b11d0
Capabilities:
Create thread

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, 0x80
lea esi, [rcx - 6]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rbp, r9
mov r15, r8
mov r14, rdx
cmp ecx, esi
jbe 0x1800b1301
mov r12, qword [rsp + 0xd0]
lea ebx, [rcx - 0x77]
movsd xmm7, qword [0x180375928]
lea r13, [0x180000000]
movsd xmm6, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
cmp ebx, 8
ja case.0x1800b1246.3
mov ecx, dword [r13 + rbx*4 + 0xb13d4]
add rcx, r13
jmp rcx
movsd xmm6, qword [r14]
mulsd xmm6, xmm6
jmp case.0x1800b1246.3
mov qword [rdi], r15
jmp case.0x1800b1246.3
movaps xmm0, xmm7
maxsd xmm0, xmm6
movaps xmm6, xmm0
jmp case.0x1800b1246.3
movsd xmm0, qword [0x180374558]
lea rax, [rsp + 0x40]
movaps xmm1, xmm6
mov qword [rsp + 0x38], r15
maxsd xmm1, xmm7
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
lea rdx, [rsp + 0x48]
mov r9d, 0x23
movsd qword [rsp + 0x40], xmm7
mov r8, rbp
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x50]
divsd xmm0, xmm1
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [r14]
movsd qword [rsp + 0x50], xmm0
call fcn.1800b0ec0
jmp case.0x1800b1246.3
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], 0x10
mov edx, 0x9d
xor ecx, ecx
call fcn.180027610
mov rdi, rax
test rax, rax
je 0x1800b1333
mov rcx, qword [r12]
mov qword [rax + 8], rcx
dec ebx
lea ecx, [rbx + 0x77]
cmp ecx, esi
ja 0x1800b1232
mov eax, dword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebx, ebx
lea rcx, [rsp + 0xb0]
mov edx, 0x88
mov dword [rsp + 0xb0], ebx
call fcn.180022470
mov eax, 0xffffffff
jmp 0x1800b1308
mov rax, qword [r14]
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
mov r9, rdi
test rax, rax
je 0x1800b138b
lea rcx, [rsp + 0xb0]
xor edx, edx
mov qword [rsp + 0x28], rcx
lea r8, [0x18001f530]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call rax
mov eax, eax
jmp 0x1800b13ad
lea rax, [rsp + 0xb0]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, [0x18001f560]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
test rax, rax
jne 0x1800b13cc
lea rcx, str.INBUF_IDX_ENTROPYCOEFF_CB_62381_V195c
call fcn.180028c70
mov eax, 0xffffffff
jmp 0x1800b1308
mov eax, ebx
jmp 0x1800b1308
Function at 0x140036400
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ed368]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140036499
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword gs:[0x58]
mov edi, eax
mov eax, 8
mov dword [rsp + 0x24], 0
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400f5a84], ecx
jle 0x140036480
lea rcx, [0x1400f5a84]
call fcn.140084f68
cmp dword [0x1400f5a84], 0xffffffff
jne 0x140036480
lea rcx, [0x1400c36f0]
call fcn.140085254
lea rcx, [0x1400f5a84]
call fcn.140084efc
lea rax, str.0K_r_
mov dword [rsp + 0x20], edi
test edi, edi
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x50]
jne 0x1400364ae
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140084ea0
add rsp, 0x40
pop rbx
ret
lea rdx, [0x1400d1800]
lea rcx, [rsp + 0x20]
call fcn.1400362d0
int3

Function at 0x140036580
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ed368]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1400f5a88], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x1400365f9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140084ea0
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140036630]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140084ea0
add rsp, 0x40
pop rbx
ret

Function at 0x140037d60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1400f5dc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140037d99
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.14003d850
xor edx, edx
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.14003d850

Function at 0x140037db0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1400f5dc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r8d, r8d
test rax, rax
je 0x140037de0
mov r9, qword [rax + 8]
jmp 0x140037de3
mov r9, r8
cmp rdi, 0x3fc
ja 0x140037e07
test r9, r9
je 0x140037e07
mov rax, r8
cmp qword [r9 + rax*8], 0
je 0x140037e15
inc r8d
inc rax
cmp rax, 2
jl 0x140037df4
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp case.0x14007e53b.0
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, r8d
mov qword [r9 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret