joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d310
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r14, rcx
mov r12, rdx
mov rsi, r8
mov rdi, r9
call sym.pop_pthread_mem
test rax, rax
mov rbx, rax
je 0x41d4c1
test r14, r14
je 0x41d34a
mov rax, qword [rax + 0x1c8]
mov qword [r14], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbx + 8], rdi
mov rdi, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
mov esi, 1
mov dword [rbx + 0xb4], 0
mov dword [rbx + 0x44], 1
mov qword [rbx + 0x28], 0xffffffffffffffff
mov rbp, r13
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call rdi
test rax, rax
mov qword [rbx + 0x30], rax
jne 0x41d570
cmp esi, 1
jne 0x41d3b0
xor ecx, ecx
call r13
add esi, 1
jmp 0x41d381
mov ecx, 0x14
call rbp
cmp esi, 5
jne 0x41d3a7
mov rax, qword [rbx + 0x30]
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx], 0xbab1f00d
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xb0], 0
test rax, rax
je 0x41d4a7
test r12, r12
je 0x41d5b0
mov eax, dword [r12]
mov rsi, qword [r12 + 0x10]
test al, 8
mov dword [rbx + 0x44], eax
jne 0x41d540
mov eax, dword [r12 + 0x18]
mov edx, esi
mov dword [rbx + 0xb8], eax
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [sym.pthread_create_wrapper]
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rsi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x41d477
mov edx, dword [rbx + 0xb8]
cmp edx, 0xfffffff2
jl 0x41d4d5
cmp edx, 0xffffffff
jl 0x41d560
cmp edx, 0xe
jg 0x41d5a0
cmp edx, 2
mov eax, 2
cmovge edx, eax
jmp 0x41d4da
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x41d486
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
mov qword [rbx + 0x60], 0xffffffffffffffff
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x28], 0
test r14, r14
je 0x41d4b3
mov qword [r14], 0
cmp qword [rbx + 0x1c0], 0
je 0x41d5b7
mov eax, 0xb
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edx, 0xfffffff1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
je 0x41d530
mov rcx, rsi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [rbx + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41d50d
call sym.__pthread_self_lite
mov eax, dword [rax + 0xb8]
mov edx, esi
mov dword [rbx + 0xb8], eax
jmp 0x41d41d
mov edx, 0xfffffffe
jmp 0x41d4da
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx], 0xbab1f00d
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xb0], 0
jmp 0x41d3f3
mov edx, 0xf
jmp 0x41d4da
xor edx, edx
jmp 0x41d41d
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x41d4c1
Function at 0x41daf0
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.dummy_concurrency_level_shmem
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x41ded0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mutex_global_shmem]
lea rcx, str.mutex_global_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x41def0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mutex_global_static_shmem]
lea rcx, str.mutex_global_static_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x41dff0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mxattr_recursive_shmem]
lea rcx, str.mxattr_recursive_shmem
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x41e010
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mxattr_errorcheck_shmem]
lea rcx, str.mxattr_errorcheck_shmem
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x41ec40
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_cond]
lea rcx, str.cond_locked_shmem_cond
mov edx, 8
jmp sym.__shmem_winpthreads_grab
Function at 0x41fc30
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040f610
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41fd19
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x41fdb2
mov rcx, r12
add r14d, 0x10
call sym.malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x41fd54
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x41fd40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x41fdaf
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call sym.get_ptr_from_atom_1
cmp rax, rbx
mov rsi, rax
je 0x41fdc9
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov rsi, rax
jmp 0x41fd89
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x41fd89
mov rcx, rbx
call r13
jmp 0x41fd89

Function at 0x41ff20
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.global_lock_spinlock
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x420710
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
lea rcx, str.rwl_global_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x4207e0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
lea rcx, str.cond_locked_shmem_rwlock
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x4212d0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
lea rcx, str.init
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x4212f0
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.eh_globals
xor r8d, r8d
mov edx, 0x10
jmp dbg.__shmem_grab
Function at 0x4219a0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x4219c0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x422c80
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
test rax, rax
jle 0x422cb1
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
mov dword [rbx + 0x48], 0xffffffff
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x423600
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x00487090], 0
jne 0x4236c7
mov byte [0x00487090], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x42375a
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov rdi, rax
call rsi
lea rcx, str.terminate_called_after_throwing_an_instance_of_
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x4236b7
call rsi
lea rdx, [rax + 0x60]
mov rcx, rbx
call sym.fputs
call rsi
lea rcx, [0x00489471]
lea r9, [rax + 0x60]
mov r8d, 2
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x4236ed
call sym.__cxa_rethrow
call rsi
lea rdx, [rax + 0x60]
mov rcx, rdi
call sym.fputs
jmp 0x42368e
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_recursively_n
lea r9, [rax + 0x60]
mov r8d, 0x1d
mov edx, 1
call sym.fwrite
call sym.abort
mov rcx, rdi
call sym.free
jmp 0x4236b2
call sym.abort
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_without_an_active_exception_n
lea r9, [rax + 0x60]
mov r8d, 0x2d
mov edx, 1
call sym.fwrite
jmp 0x423755

Function at 0x451a80
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x451ad0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x451a9a
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x180003d79
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
mov ebx, ecx
add r11, 0x10
nop dword [rax + rax]
mov r11, qword [r11]
mov rcx, qword [r11 + 0x60]
test rcx, rcx
je 0x180003d99
test ebx, ebx
je 0x180003db2
call fcn.180003d09
cmp eax, ebx
jne 0x180003d99
mov rax, qword [r11 + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1800041b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x18009ddc8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rdi, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x180004258
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.18003d5c0
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x1800042e1
movzx eax, word [rsp + 0x30]
cmp eax, 2
je 0x180004293
cmp eax, 0x17
jne 0x18000429f
lea rdx, [rsp + 0x38]
mov ecx, eax
mov r8, rdi
mov r9d, reloc.WLDAP32.dll_Ordinal_46
call fcn.180023c70
test rax, rax
je 0x18000429f
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
jmp 0x1800042ec
lea rdx, [rsp + 0x34]
mov ecx, 2
jmp 0x18000426e
mov byte [rdi], 0
mov dword [rbx], 0
call fcn.180063140
mov dword [rax], 0x273f
call fcn.180063140
mov ebx, dword [rax]
call fcn.180063140
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.18003d5c0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.180033740
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180058650
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800077bb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x228
mov r9, r8
movsxd rax, dword [rcx + 0x3c]
mov r8d, edx
mov rdi, rcx
mov esi, r8d
mov rbp, r9
mov r10d, dword [rax + rcx + 0x88]
mov edx, dword [r10 + rcx + 0x20]
mov eax, dword [r10 + rcx + 0x1c]
add rdx, rcx
mov r11d, dword [r10 + rcx + 0x24]
add rax, rcx
add r11, rcx
xor r10d, r10d
mov r13, rax
mov r12, rdx
mov rbx, r10
mov r14, r11
inc rbx
lea rcx, [rsp + 0x20]
mov edx, 0x208
mov r15d, dword [r12 + rbx*4 - 4]
add r15, rdi
call fcn.1800079db
mov rcx, r15
call fcn.18000773b
mov r8d, eax
test eax, eax
je 0x180007933
cmp eax, 6
jbe 0x1800078ca
mov r10d, eax
lea r9, [rsp + r10*2 + 0x20]
lea rdx, [r15 + r10]
sub r9, rdx
lea rcx, [r10 + r10]
cmp r9, rcx
jg 0x180007866
neg r9
cmp r9, r10
jle 0x1800078ca
mov r10d, eax
xor r9d, r9d
mov ecx, 1
xor r8d, r8d
shr r10d, 1
je 0x1800078a8
inc r9d
lea edx, [rax + r8]
movsx ecx, byte [rdx + r15]
lea r11d, [rax + r8 - 1]
mov word [rsp + rdx*2 + 0x20], cx
add r8d, 0xfffffffe
movsx edx, byte [r11 + r15]
mov word [rsp + r11*2 + 0x20], dx
cmp r9d, r10d
jb 0x180007879
lea ecx, [r9 + r9 + 1]
lea edx, [rcx - 1]
cmp edx, eax
jae 0x1800078bf
neg ecx
add ecx, eax
inc ecx
movsx edx, byte [rcx + r15]
mov word [rsp + rcx*2 + 0x20], dx
lea edx, [rax + 1]
sub eax, edx
lea r8d, [rax + 1]
jmp 0x180007933
mov r11d, eax
xor r10d, r10d
mov ecx, 1
xor r9d, r9d
shr r11d, 1
je 0x180007916
inc r10d
lea edx, [rax + r9]
movsx ecx, byte [rdx + r15]
lea r8d, [rax + r9 - 1]
mov word [rsp + rdx*2 + 0x20], cx
add r9d, 0xfffffffe
movsx edx, byte [r8 + r15]
mov word [rsp + r8*2 + 0x20], dx
cmp r10d, r11d
jb 0x1800078dd
lea r8d, [r10 + r10]
neg r8d
lea ecx, [r10 + r10 + 1]
add r8d, eax
lea edx, [rcx - 1]
cmp edx, eax
jae 0x180007933
sub eax, ecx
lea r8d, [rax + 1]
mov edx, r8d
mov r8d, eax
movsx eax, byte [rdx + r15]
mov word [rsp + rdx*2 + 0x20], ax
lea rcx, [rsp + 0x20]
movsx r15d, byte [r8 + r15]
mov word [rsp + r8*2 + 0x20], r15w
call fcn.18000777b
xor r11d, r11d
test eax, eax
jbe 0x1800079ad
mov r8d, eax
mov edx, 1
mov r10d, dword [rbp + 0xe0]
xor r9d, r9d
shr r8d, 1
je 0x180007994
imul r11d, r10d
lea r15d, [r9 + r9]
movsxd r15, r15d
inc r9d
movzx edx, word [rsp + r15*2 + 0x20]
add r11d, edx
imul r11d, r10d
movzx r15d, word [rsp + r15*2 + 0x22]
add r11d, r15d
cmp r9d, r8d
jb 0x180007966
lea edx, [r9 + r9 + 1]
lea r15d, [rdx - 1]
cmp r15d, eax
jae 0x1800079ad
imul r10d, r11d
movsxd rdx, edx
movzx r11d, word [rsp + rdx*2 + 0x1e]
add r11d, r10d
movzx r15d, word [r14 + rbx*2 - 2]
mov eax, dword [r13 + r15*4]
add rax, rdi
cmp esi, r11d
invalid
invalid
Function at 0x1800085e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc r12
lea rcx, [rsp + 0x668]
mov edx, 0x208
mov r15d, dword [rbp + r12*4 - 4]
add r15, r14
call fcn.1800079db
mov rcx, r15
call fcn.18000773b
mov r9d, eax
test eax, eax
je 0x1800086e6
cmp eax, 6
jbe 0x180008675
mov ecx, eax
lea rdx, [rsp + rcx*2 + 0x668]
lea r10, [r15 + rcx]
sub rdx, r10
lea r11, [rcx + rcx]
cmp rdx, r11
jg 0x180008600
neg rdx
cmp rdx, rcx
jle 0x180008675
xor edx, edx
mov r9d, eax
mov r11d, 1
xor r10d, r10d
shr r9d, 1
je 0x180008648
inc edx
lea r11d, [rax + r10]
movsx ecx, byte [r11 + r15]
mov word [rsp + r11*2 + 0x668], cx
lea r11d, [rax + r10 - 1]
movsx r8d, byte [r11 + r15]
add r10d, 0xfffffffe
mov word [rsp + r11*2 + 0x668], r8w
cmp edx, r9d
jb 0x180008613
lea r11d, [rdx + rdx + 1]
lea r9d, [r11 - 1]
cmp r9d, eax
jae 0x180008668
neg r11d
add r11d, eax
inc r11d
movsx r9d, byte [r11 + r15]
mov word [rsp + r11*2 + 0x668], r9w
lea r9d, [rax + 1]
sub eax, r9d
lea r9d, [rax + 1]
jmp 0x1800086e6
xor r10d, r10d
mov r11d, eax
mov edx, 1
xor ecx, ecx
shr r11d, 1
je 0x1800086c6
inc r10d
lea r9d, [rax + rcx]
movsx edx, byte [r9 + r15]
mov word [rsp + r9*2 + 0x668], dx
lea r9d, [rax + rcx - 1]
movsx r8d, byte [r9 + r15]
add ecx, 0xfffffffe
mov word [rsp + r9*2 + 0x668], r8w
cmp r10d, r11d
jb 0x180008687
lea r9d, [r10 + r10]
neg r9d
lea edx, [r10 + r10 + 1]
add r9d, eax
lea r10d, [rdx - 1]
cmp r10d, eax
jae 0x1800086e6
sub eax, edx
mov r9d, eax
lea r10d, [rax + 1]
movsx r11d, byte [r10 + r15]
mov word [rsp + r10*2 + 0x668], r11w
lea rcx, [rsp + 0x668]
movsx r15d, byte [r9 + r15]
mov word [rsp + r9*2 + 0x668], r15w
call fcn.18000777b
mov r10d, eax
xor r11d, r11d
test r10d, r10d
jbe 0x18000876e
mov eax, r10d
xor edx, edx
mov r9d, dword [rdi + 0xe0]
mov ecx, 1
shr eax, 1
je 0x180008752
imul r11d, r9d
lea r15d, [rdx + rdx]
movsxd r15, r15d
inc edx
movzx ecx, word [rsp + r15*2 + 0x668]
mov bh, 0x8c
jl 0x18000879c
invalid
add byte [rax], al
add r11d, ecx
imul r11d, r9d
movzx r15d, word [rsp + r15*2 + 0x66a]
add r11d, r15d
cmp edx, eax
jb 0x180008721
lea ecx, [rdx + rdx + 1]
lea r15d, [rcx - 1]
cmp r15d, r10d
jae 0x18000876e
imul r9d, r11d
movsxd rcx, ecx
movzx r11d, word [rsp + rcx*2 + 0x666]
add r11d, r9d
movzx r9d, word [r13 + r12*2 - 2]
mov r9d, dword [rsi + r9*4]
add r9, r14
cmp ebx, r11d
jne 0x1800085a5
mov rbp, qword [rsp + 0xc80]
xor r12d, r12d
mov qword [rbp + 0x48], r9
movsxd rax, dword [r14 + 0x3c]
mov r9d, dword [rax + r14 + 0x88]
mov ecx, dword [rdi + 0xa4]
mov ebx, ecx
mov edx, dword [r9 + r14 + 0x20]
mov eax, dword [r9 + r14 + 0x1c]
add rdx, r14
add rax, r14
mov rbp, rdx
mov r13d, dword [r9 + r14 + 0x24]
mov rsi, rax
add r13, r14
inc r12
lea rcx, [rsp + 0x870]

Function at 0x180008730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov bh, 0x8c
jl 0x18000879c
invalid
add byte [rax], al
add byte [rbx + 0xa48f], cl
add byte [rcx + 0x548b43cb], cl
xor dword [rax], esp
Function at 0x180002b44
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movdqa xmm0, xmmword [0x180031060]
movdqa xmm1, xmmword [0x180031050]
mov rbx, qword [0x180039a70]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm0, xmmword [0x180031030]
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmm0, xmmword [0x180031070]
movdqa xmmword [rbp + 0x37], xmm0
movdqa xmm0, xmmword [0x180031090]
movdqa xmmword [rbp + 7], xmm1
movdqa xmm1, xmmword [0x180031040]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm0, xmmword [0x1800310a0]
movdqa xmmword [rbp + 0x27], xmm1
movdqa xmm1, xmmword [0x180031010]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmm0, xmmword [0x180031020]
movdqa xmmword [rbp - 0x59], xmm1
movdqa xmm1, xmmword [0x180031080]
movdqa xmmword [rbp - 0x29], xmm0
mov dword [rbp + 0x47], 0x11
mov dword [rbp + 0x4b], 0xe3
movdqa xmmword [rbp - 0x39], xmm1
mov dword [rbp - 0x19], 0xd4
mov dword [rbp - 0x15], 0xd7
call fcn.180005664
mov edx, 0xc9
mov r8d, 2
mov rcx, rbx
call rax
mov edi, dword [rax + 4]
mov esi, dword [rax]
mov ecx, edi
add rsi, rbx
mov ebx, edi
call fcn.180009454
xor ecx, ecx
mov r9, rax
test edi, edi
je 0x180002c3e
mov byte [rax], cl
inc rax
sub rbx, 1
jne 0x180002c33
lea r8, [rsi + 0x67]
test r8, r8
je 0x180002c5f
mov rdx, r9
test edi, edi
je 0x180002c5f
sub r8, r9
mov al, byte [r8 + rdx]
mov byte [rdx], al
inc rdx
sub edi, 1
jne 0x180002c51
mov r11d, ecx
mov r8, rcx
mov r10, r9
movabs rbx, 0x2e8ba2e8ba2e8ba3
mov edi, 0x49200
mov rax, rbx
inc r11d
mul r8
shr rdx, 2
imul rax, rdx, 0x16
sub r8, rax
mov al, byte [rbp + r8*4 - 0x69]
xor byte [r10], al
inc r10
movsxd r8, r11d
cmp r8, rdi
jb 0x180002c77
mov r8, rcx
mov r10, r9
mov rax, rbx
inc ecx
mul r8
shr rdx, 2
imul rax, rdx, 0x16
sub r8, rax
mov al, byte [rbp + r8*4 - 9]
xor byte [r10], al
inc r10
movsxd r8, ecx
cmp r8, rdi
jb 0x180002ca4
lea r11, [rsp + 0xe0]
mov rax, r9
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000395c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
movaps xmmword [rax - 0x18], xmm6
mov edi, 0x70
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
cmp ecx, 0x4b
jl 0x180003ac7
movsd xmm9, qword [0x180030e40]
lea rax, [rdi + rdi]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm9, xmm1
cvttsd2si ecx, xmm9
xorps xmm9, xmm9
movsx rax, cl
cqo
movsx ecx, cl
idiv rdi
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov rdi, rax
cvtsi2sd xmm9, rax
addsd xmm0, xmm1
subsd xmm0, xmm9
cvttsd2si ecx, xmm0
cmp ecx, 0x6e
jne 0x180003a42
call qword [sym.imp.USER32.dll_EmptyClipboard]
movsd xmm8, qword [0x180030da0]
movsd xmm7, qword [0x180030e38]
call qword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
movaps xmm0, xmm7
subsd xmm0, xmm8
cvttsd2si ecx, xmm7
movaps xmm8, xmm0
call fcn.18000395c
cvttss2si eax, xmm0
movsx ecx, al
movd xmm6, ecx
cvtdq2pd xmm6, xmm6
movaps xmm0, xmm6
call fcn.180003498
movaps xmm0, xmm8
movsx ecx, al
divsd xmm0, xmm6
movd xmm7, ecx
cvtdq2pd xmm7, xmm7
subsd xmm0, xmm7
cvttsd2si eax, xmm0
cmp eax, 0x12
jge 0x1800039f0
mov ebx, 0x38
mov cl, bl
call fcn.180003bc4
mov ecx, 0x33
mov ebx, eax
lea edx, [rcx - 0x17]
mov r8d, edx
sub ecx, r8d
movsxd rax, ecx
imul rdx, rax
mov eax, edx
mov r8d, edx
imul eax, ecx
cmp eax, 0x5d
jl 0x180003a5b
movsd xmm1, qword [0x180030e30]
jmp 0x180003a8a
movaps xmm0, xmm1
mulsd xmm0, xmm1
movaps xmm1, xmm0
cvttsd2si eax, xmm0
cmp eax, 0x80
jg 0x180003a7c
mov ecx, 0x4d
call fcn.18000395c
cvttss2si rax, xmm0
cmp eax, 0x6f
jg 0x180003a47
mov ebx, 0x5e
cmp eax, 0x56
jle 0x180003abc
call qword [sym.imp.USER32.dll_GetForegroundWindow]
inc ebx
cmp ebx, 0x56
jge 0x180003aaf
call qword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
jmp 0x180003991
movsd xmm9, qword [0x180030dd0]
mov bl, 0x5c
movsd xmm7, qword [0x180030de8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
movaps xmm0, xmm9
call fcn.180003d38
movsx ecx, al
xorps xmm9, xmm9
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm7, xmm0
cvttsd2si rax, xmm7
sub bl, al
cvtsi2sd xmm9, rax
movsx eax, bl
movd xmm7, eax
cvtdq2pd xmm7, xmm7
subsd xmm0, xmm9
subsd xmm0, xmm7
cvttsd2si eax, xmm0
cmp eax, 0x22
jl 0x180003b3f
cmp eax, 0x25
jne 0x180003b3a
call qword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
xor eax, eax
xor ecx, ecx
cdq
idiv ecx
movsx eax, al
cmp eax, 0x23
je 0x180003b91
movsd xmm8, qword [0x180030d40]
movss xmm6, dword [0x180030f34]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
divsd xmm0, xmm8
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
movaps xmm1, xmm2
mulss xmm6, xmm2
subss xmm1, xmm2
cvtss2sd xmm0, xmm6
cvtps2pd xmm8, xmm1
cvtps2pd xmm1, xmm2
mulsd xmm1, xmm8
addsd xmm1, xmm0
cvttsd2si eax, xmm1
cmp eax, 0x23
jne 0x180003b50
cmp eax, 0x75
jne 0x180003ada
movss xmm0, dword [0x180030fc4]
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x180004154
Capabilities:
Resolve function by parsing pe exports

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
movsxd rax, dword [rcx + 0x3c]
xor r12d, r12d
mov r14, rdx
mov r8d, dword [rax + rcx + 0x88]
test r8d, r8d
jne 0x18000418b
xor eax, eax
jmp 0x180004229
lea rax, [rcx + r8]
mov rsi, r12
mov ebx, dword [rax + 0x20]
mov edx, dword [rax + 0x1c]
add rbx, rcx
mov r8d, dword [rax + 0x24]
add rdx, rcx
mov r15d, dword [rax + 0x18]
add r8, rcx
test r15, r15
je 0x180004216
mov edi, dword [rbx]
mov r9, r12
add rdi, rcx
cmp byte [r14], r12b
je 0x1800041c4
inc r9
cmp byte [r9 + r14], r12b
jne 0x1800041bb
test rdi, rdi
je 0x180004206
mov r10d, r12d
test r9, r9
je 0x180004201
mov rbp, r14
mov r11, rdi
sub rbp, rdi
mov al, byte [r11 + rbp]
cmp byte [r11], al
jb 0x1800041fd
ja 0x1800041f5
inc r11
mov rax, r11
sub rax, rdi
cmp rax, r9
jb 0x1800041da
jmp 0x180004201
mov r10d, 1
jmp 0x180004201
or r10d, 0xffffffff
test r10d, r10d
je 0x180004216
inc rsi
add rbx, 4
add r8, 2
cmp rsi, r15
jb 0x1800041ae
cmp r12w, word [r8]
jae 0x180004224
movzx eax, word [r8]
lea rdx, [rdx + rax*4]
mov eax, dword [rdx]
add rax, rcx
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret