joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008fa80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x48
test rdx, rdx
je 0x18008fa6d
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add rsp, 0x48
jmp 0x18008fa80
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], rsi
mov rbp, rdx
mov rdi, rcx
mov esi, dword [0x18016a8d8]
mov rax, qword [rcx + 0x18]
test esi, esi
je 0x18008fb84
cmp rax, 8
jb 0x18008fabf
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x10180
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x18008fb02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x18008fb12
mov edx, esi
mov rcx, rbx
call fcn.18008fd90
mov ecx, eax
test eax, eax
je 0x18008fb76
cmp ecx, 0x35
ja 0x18008fb2a
movsxd rax, ecx
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x18008fb5f
lea eax, [rcx - 0x43]
cmp eax, 0x38
ja 0x18008fb44
cdqe
movabs rdx, 0x100000000100001
bt rdx, rax
jb 0x18008fb5f
cmp ecx, 0xa1
je 0x18008fb5f
lea r9, str.boost::filesystem::remove
mov r8, rbp
mov rdx, rdi
call fcn.180090c70
nop
cmp rbx, 0xffffffffffffffff
je 0x18008fb6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x18008fc01
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov al, 1
jmp 0x18008fc01
cmp rax, 8
jb 0x18008fb8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18008fbf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd r10, eax
cmp r10d, 0x35
ja 0x18008fbb7
movabs rdx, 0x2000000020800c
bt rdx, r10
jb 0x18008fbf0
lea eax, [r10 - 0x43]
cmp eax, 0x38
ja 0x18008fbd2
cdqe
movabs rdx, 0x100000000100001
bt rdx, rax
jb 0x18008fbf0
cmp r10d, 0xa1
je 0x18008fbf0
lea r9, str.boost::filesystem::remove
mov r8, rbp
mov rdx, rdi
mov ecx, r10d
call fcn.180090c70
xor al, al
jmp 0x18008fc01
mov r8, rbp
mov edx, eax
mov rcx, rdi
call fcn.18008fc20
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x18008fc20
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, edx
movzx ebp, dl
shr edi, 4
mov r14, r8
and dil, 1
mov esi, edx
mov rbx, rcx
and bpl, 1
je 0x18008fcca
and edx, 0xfffffffe
cmp qword [rcx + 0x18], 8
jb 0x18008fc61
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x18008fcca
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd r10, eax
cmp r10d, 0x35
ja 0x18008fc8a
movabs rax, 0x2000000020800c
bt rax, r10
jb 0x18008fcc3
lea eax, [r10 - 0x43]
cmp eax, 0x38
ja 0x18008fca5
cdqe
movabs rcx, 0x100000000100001
bt rcx, rax
jb 0x18008fcc3
cmp r10d, 0xa1
je 0x18008fcc3
lea r9, str.boost::filesystem::remove
mov r8, r14
mov rdx, rbx
mov ecx, r10d
call fcn.180090c70
xor al, al
jmp 0x18008fd6e
mov rax, qword [rbx + 0x18]
mov rcx, rbx
test dil, dil
jne 0x18008fce7
cmp rax, 8
jb 0x18008fcdf
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x18008fcf6
cmp rax, 8
jb 0x18008fcf0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x18008fd6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rdi, eax
cmp edi, 0x35
ja 0x18008fd18
movabs rax, 0x2000000020800c
bt rax, rdi
jb 0x18008fcc3
lea eax, [rdi - 0x43]
cmp eax, 0x38
ja 0x18008fd32
cdqe
movabs rcx, 0x100000000100001
bt rcx, rax
jb 0x18008fcc3
cmp edi, 0xa1
je 0x18008fcc3
test bpl, bpl
je 0x18008fd54
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x18008fd4c
mov rcx, qword [rbx]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r9, str.boost::filesystem::remove
mov r8, r14
mov rdx, rbx
mov ecx, edi
call fcn.180090c70
xor al, al
jmp 0x18008fd6e
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18008ffb0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
jb 0x18008ffd2
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x18008ffdc
mov rcx, qword [rcx]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x180090022
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180090022
lea rcx, str.boost::filesystem::rename
mov r9, rbx
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov ecx, eax
mov rdx, rdi
call fcn.180090bc0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
test rbx, rbx
je 0x18009004b
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1800903b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1801610c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1800903e9
mov rdx, qword [rdx]
movdqa xmm0, xmmword [0x18011d2a0]
movdqu xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov word [rsp + 0x50], bx
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x180090402
lea rcx, [rsp + 0x50]
call fcn.180038900
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call fcn.1800389f0
nop
cmp rbx, 0xffffffffffffffff
jne 0x1800904ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 5
jne 0x1800904b7
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180090482
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1800904af
bt eax, 0xa
jb 0x1800904b7
mov edx, eax
mov rcx, rdi
call fcn.18008f780
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
mov dword [rsi], ebx
mov dword [rsi + 4], eax
jmp 0x1800904e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov r9, r14
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call fcn.18008f930
nop
jmp 0x1800904e6
mov r9, r14
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1800900b0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800916f0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800926a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180092684
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
movabs r10, 0x180161c32
add dword [rax], eax
add byte [rax], al
xor r9d, r9d
mov dword [rax + 8], 0x62756373
mov r10, qword [r10]
mov byte [rax + 0xc], r9b
mov edx, 0x3d0904
mov eax, r9d
lea rcx, [rsp + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6e
jb 0x1800926c2
dec rdx
jne 0x1800926ba
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x180092772
lea rax, [r10 + rcx]
mov r11d, r9d
mov esi, dword [rax + 0x18]
test esi, esi
jle 0x180092772
mov ebx, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
mov r8d, dword [rax + 0x20]
movsx eax, byte [rsp + 0x20]
imul ecx, eax, 0x298
lea rax, [r10 + r8]
add rbx, r10
movsxd rdx, ecx
lea rdi, [rax + rdx*4]
movzx eax, word [rbx]
lea r8, [rsp + 0xb0]
lea rcx, [r14 + rax*4]
mov eax, dword [rdi]
mov ebp, dword [rcx + r10]
add rax, r10
jmp 0x18009273e
cmp cl, byte [r8]
jne 0x180092744
inc rax
inc r8
mov cl, byte [rax]
test cl, cl
jne 0x180092733
mov cl, byte [rax]
mov edx, r9d
mov eax, r9d
cmp cl, byte [r8]
seta dl
cmp byte [r8], cl
seta al
cmp edx, eax
je 0x18009276e
inc r11d
add rdi, 4
add rbx, 2
cmp r11d, esi
jl 0x180092719
jmp 0x180092772
lea r9, [r10 + rbp]
call r9
lea r11, [rsp + 0x90]
xor eax, eax
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
jmp 0x180092684
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
movabs r10, 0x180161c32
add dword [rax], eax
add byte [rax], al
xor r9d, r9d
mov dword [rax + 8], 0x62756373
mov r10, qword [r10]
mov byte [rax + 0xc], r9b
mov edx, 0x3d0904
mov eax, r9d
lea rcx, [rsp + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6e
jb 0x1800926c2
dec rdx
jne 0x1800926ba
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x180092772
lea rax, [r10 + rcx]
mov r11d, r9d
mov esi, dword [rax + 0x18]
test esi, esi
jle 0x180092772
mov ebx, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
mov r8d, dword [rax + 0x20]
movsx eax, byte [rsp + 0x20]
imul ecx, eax, 0x298
lea rax, [r10 + r8]
add rbx, r10
movsxd rdx, ecx
lea rdi, [rax + rdx*4]
movzx eax, word [rbx]
lea r8, [rsp + 0xb0]
lea rcx, [r14 + rax*4]
mov eax, dword [rdi]
mov ebp, dword [rcx + r10]
add rax, r10
jmp 0x18009273e
cmp cl, byte [r8]
jne 0x180092744
inc rax
inc r8
mov cl, byte [rax]
test cl, cl
jne 0x180092733
mov cl, byte [rax]
mov edx, r9d
mov eax, r9d
cmp cl, byte [r8]
seta dl
cmp byte [r8], cl
seta al
cmp edx, eax
je 0x18009276e
inc r11d
add rdi, 4
add rbx, 2
cmp r11d, esi
jl 0x180092719
jmp 0x180092772
lea r9, [r10 + rbp]
call r9
lea r11, [rsp + 0x90]
xor eax, eax
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180092790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor esi, esi
mov dword [rsp + 0x20], 0x5241644d
mov dword [rsp + 0x24], 0x58643142
xor dword [rax + r11*2 - 0x39], esp
and al, 0x28
imul r14d, dword [rcx + 0x23], 0x2c2444c7
insb byte [rdi], dx
push rbx
insb byte [rdi], dx
sub edi, eax
and al, 0x30
sub eax, dword [rbx + rsi*2 + 0x3c]
lea r9d, [rsi + 0x6e]
lea r12d, [rsi + 1]
mov dword [rsp + 0x34], 0x566d53
mov dword [rsp + 0x38], 0x65006b
mov dword [rbp - 0x7d], 0x6e0072
mov dword [rbp - 0x79], 0x6c0065
mov dword [rbp - 0x75], 0x320033
mov dword [rbp - 0x71], 0x64002e
mov dword [rbp - 0x6d], 0x6c006c
add byte [rax + rax + 0x66], ch
mov dword [rbp - 0x69], esi
mov edx, 0x3d0904
mov eax, esi
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, r12d
add rcx, r12
cmp eax, r9d
jb 0x180092826
sub rdx, r12
jne 0x180092820
cmp byte [rbp - 0xb], 0x4e

Function at 0x1800927c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor esi, esi
mov dword [rsp + 0x20], 0x5241644d
mov dword [rsp + 0x24], 0x58643142
xor dword [rax + r11*2 - 0x39], esp
and al, 0x28
imul r14d, dword [rcx + 0x23], 0x2c2444c7
insb byte [rdi], dx
push rbx
insb byte [rdi], dx
sub edi, eax
and al, 0x30
sub eax, dword [rbx + rsi*2 + 0x3c]
lea r9d, [rsi + 0x6e]
lea r12d, [rsi + 1]
mov dword [rsp + 0x34], 0x566d53
mov dword [rsp + 0x38], 0x65006b
mov dword [rbp - 0x7d], 0x6e0072
mov dword [rbp - 0x79], 0x6c0065
mov dword [rbp - 0x75], 0x320033
mov dword [rbp - 0x71], 0x64002e
mov dword [rbp - 0x6d], 0x6c006c
add byte [rax + rax + 0x66], ch
mov dword [rbp - 0x69], esi
mov edx, 0x3d0904
mov eax, esi
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, r12d
add rcx, r12
cmp eax, r9d
jb 0x180092826
sub rdx, r12
jne 0x180092820
cmp byte [rbp - 0xb], 0x4e

Function at 0x18009281c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor esi, esi
mov dword [rsp + 0x20], 0x5241644d
mov dword [rsp + 0x24], 0x58643142
xor dword [rax + r11*2 - 0x39], esp
and al, 0x28
imul r14d, dword [rcx + 0x23], 0x2c2444c7
insb byte [rdi], dx
push rbx
insb byte [rdi], dx
sub edi, eax
and al, 0x30
sub eax, dword [rbx + rsi*2 + 0x3c]
lea r9d, [rsi + 0x6e]
lea r12d, [rsi + 1]
mov dword [rsp + 0x34], 0x566d53
mov dword [rsp + 0x38], 0x65006b
mov dword [rbp - 0x7d], 0x6e0072
mov dword [rbp - 0x79], 0x6c0065
mov dword [rbp - 0x75], 0x320033
mov dword [rbp - 0x71], 0x64002e
mov dword [rbp - 0x6d], 0x6c006c
add byte [rax + rax + 0x66], ch
mov dword [rbp - 0x69], esi
mov edx, 0x3d0904
mov eax, esi
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, r12d
add rcx, r12
cmp eax, r9d
jb 0x180092826
sub rdx, r12
jne 0x180092820
cmp byte [rbp - 0xb], 0x4e
Function at 0x18009283c
Capabilities:
Access peb ldr_data

Disassembly:
jne 0x1800928ff
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov rdx, rbx
mov rcx, qword [rdx + 0x60]
mov r9d, esi
mov rax, rcx
cmp word [rcx], si
je 0x180092871
lea rax, [rax + 2]
add r9d, r12d
cmp word [rax], si
jne 0x180092865
lea rax, [rsp + 0x38]
mov r8d, esi
lea rax, [rax + 2]
add r8d, r12d
cmp word [rax], si
jne 0x180092879
cmp r9d, r8d
jne 0x1800928e8
lea r11, [rsp + 0x38]
mov r10d, esi
sub r11, rcx
movzx r8d, word [rcx]
mov rax, rcx
mov r9d, esi
test r8w, r8w
je 0x1800928f9
lea rax, [rax + 2]
add r9d, r12d
cmp word [rax], si
jne 0x1800928a5
cmp r10d, r9d
jae 0x1800928f9
movzx r9d, word [r11 + rcx]
lea eax, [r8 - 0x41]
cmp ax, 0x19
ja 0x1800928ca
add r8w, 0x20
lea eax, [r9 - 0x41]
cmp ax, 0x19
ja 0x1800928d9
add r9w, 0x20
cmp r8w, r9w
jne 0x1800928e8
add r10d, r12d
add rcx, 2
jmp 0x180092895
mov rdx, qword [rdx]
cmp rdx, rbx
jne 0x180092856
mov rbx, rsi
jmp 0x180092903
mov rbx, qword [rdx + 0x30]
jmp 0x180092903
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.180092c38
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.180092c38
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x61], rax
call fcn.180092c38
mov ebx, 0x3000
mov r14d, 0x11a00
mov r9d, 4
xor ecx, ecx
mov r8d, ebx
mov edx, r14d
mov qword [rbp + 0x7f], rax
call rdi
movabs r11, resource.0
mov r9d, esi
mov r15, rax
mov r10, rax
sub r11, rax
movsxd rcx, r9d
movabs rax, 0xaaaaaaaaaaaaaaab
add r9d, r12d
mul rcx
shr rdx, 4
lea rax, [rdx + rdx*2]
shl rax, 3
sub rcx, rax
mov al, byte [rsp + rcx + 0x20]
xor al, byte [r11 + r10]
Function at 0x180092990
Capabilities:
Encode data using xor

Disassembly:
mov byte [r10], al
add r10, r12
cmp r9d, r14d
jb 0x180092966
movsxd rax, dword [r15 + 0x3c]
mov r9d, 0x40
mov r8d, ebx
mov edx, dword [rax + r15 + 0x50]
xor ecx, ecx
call rdi
mov rdi, rax
test rax, rax
je 0x180092c20
movsxd r14, dword [r15 + 0x3c]
mov r8d, esi
add r14, r15
sub rax, qword [r14 + 0x30]
mov r9d, dword [r14 + 0x54]
movzx r10d, word [r14 + 0x14]
mov qword [rbp + 0x77], rax
mov qword [r14 + 0x30], rdi
test r9, r9
je 0x1800929fd
mov rdx, r15
mov rcx, rdi
sub rdx, rdi
mov al, byte [rdx + rcx]
add r8d, r12d
mov byte [rcx], al
movsxd rax, r8d
add rcx, r12
cmp rax, r9
jb 0x1800929ea
mov rax, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0x90]
mov r13, rsi
mov r12, rsi
mov ebx, esi
mov qword [rbp + 0x6f], rax
cmp si, word [r14 + 6]
jae 0x180092c20
lea r9, [r10 + 0x24]
add r9, r14
mov r10d, dword [r9]
cmp eax, r10d
jb 0x180092a41
mov r8d, dword [r9 - 4]
add r8d, r10d
cmp eax, r8d
jae 0x180092a41
lea r13, [r9 - 0xc]
cmp ecx, r10d
jb 0x180092a56
mov r8d, dword [r9 - 4]
add r8d, r10d
cmp ecx, r8d
jae 0x180092a56
lea r12, [r9 - 0xc]
mov r11d, dword [r9 + 8]
mov esi, dword [r9 + 4]
lea r8, [rdi + r10]
add r11, r15
xor r10d, r10d
test rsi, rsi
je 0x180092a85
sub r11, r8
mov dl, byte [r11 + r8]
inc r10d
mov byte [r8], dl
movsxd rdx, r10d
inc r8
cmp rdx, rsi
jb 0x180092a70
movzx edx, word [r14 + 6]
inc ebx
add r9, 0x28
cmp ebx, edx
jl 0x180092a29
test r12, r12
je 0x180092c20
mov esi, dword [rbp + 0x73]
xor edx, edx
test rsi, rsi
je 0x180092b5a
mov r12, qword [rbp + 0x77]
mov r9d, dword [r13 + 0x14]
add r9, rdx
add rdx, 8
mov r8d, dword [r9 + r15 + 4]
sub r8, 8
shr r8, 1
je 0x180092b51
mov eax, dword [r13 + 0x14]
add rax, rdx
add rdx, 2
movzx r10d, word [rax + r15]
mov eax, 0xf000
test ax, r10w
je 0x180092b48
mov ecx, dword [r9 + r15]
and qword [rbp + 0x6f], 0
and r10d, 0xfff
lea rax, [rdi + r10]
xor r11d, r11d
lea r10, [rbp + 0x6f]
add rcx, rax
lea rax, [rbp + 0x6f]
mov rbx, rcx
sub rbx, rax
mov al, byte [rbx + r10]
inc r11d
mov byte [r10], al
movsxd rax, r11d
inc r10
cmp rax, 8
jb 0x180092b0f
add qword [rbp + 0x6f], r12
lea r11, [rbp + 0x6f]
xor r10d, r10d
sub r11, rcx
mov al, byte [r11 + rcx]
inc r10d
mov byte [rcx], al
movsxd rax, r10d
inc rcx
cmp rax, 8
jb 0x180092b33
dec r8
invalid

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x180092ca9
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
jmp 0x180092c94
movzx eax, al
inc rcx
or eax, 0x60
add r8d, eax
add r8d, r8d
mov al, byte [rcx]
test al, al
jne 0x180092c85
cmp r8d, esi
je 0x180092cbb
inc edx
add r10, 4
cmp edx, edi
jb 0x180092c7a
invalid
xor eax, eax
movzx ecx, word [rbx + rdx*2]
mov eax, dword [r11 + rcx*4]
add rax, r9
add eax, ecx
Function at 0x180094018
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18009402b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.180094654
lea rdx, [0x18015cde8]
lea rcx, [rsp + 0x20]
call fcn.1800b2060
int3

Function at 0x18009a290
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [0x18016b070]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x18009a2b5
mov rcx, rax
call fcn.1800a08f8
cmp rax, rdi
je 0x18009a2fe
mov bl, 1
mov rcx, rdi
mov dl, bl
call fcn.18009a31c
mov al, byte [0x18016b18c]
mov dl, 4
mov r8d, dword [rdi + 0x258]
cmp al, dl
jb 0x18009a2e3
mov eax, dword [0x18016b188]
test bl, al
jne 0x18009a2e5
xor bl, bl
test bl, bl
je 0x18009a2f3
mov ecx, 7
call fcn.18009dfc8
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.18009452c
lea rdx, [0x18015cf68]
lea rcx, [rsp + 0x20]
call fcn.1800b2060
int3

Function at 0x1800a046c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x18016b070]
xor edx, edx
jmp fcn.180094018

Function at 0x1800a0e48
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x18016b070]
jmp fcn.180094018
Function at 0x1800a87b0
Capabilities:
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
and dword [rbp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsi + 0x90], eax
lea r14, [rsi + 0x10]
mov rcx, r14
call fcn.1800a0e48
mov rdi, qword [rsi + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.180092814
lea rdx, [rbp + 0x30]
mov rcx, rdi
call rbx
nop
mov dword [rbp + 0x20], 1
mov edx, 9
mov rcx, rax
call fcn.1800a2b4c
test eax, eax
jne 0x1800a8831
call fcn.180096d98
cmp eax, 6
jne 0x1800a8831
mov dil, 1
jmp 0x1800a8834
xor dil, dil
lea rcx, [rbp + 0x30]
call fcn.1800a2b18
test dil, dil
je 0x1800a884c
mov ecx, 1
call fcn.1800a5878
mov rcx, r14
call fcn.180032210
and dword [rsi + 0x120], 0
xor bl, bl
mov rcx, rsi
call fcn.1800a89d8
test al, al
je 0x1800a887b
mov rcx, rsi
call fcn.1800a8efc
mov bl, al
test al, al
jne 0x1800a8936
and dword [rbp - 0x38], 0
and qword [rbp - 0x28], 0
and byte [rsi + 0x127], 0xfd
mov rcx, qword [rsi + 0x108]
test rcx, rcx
je 0x1800a895c
cmp byte [rsi + 0x126], 0
jne 0x1800a88cd
mov rcx, qword [rsi + 0x108]
call fcn.1800a72f4
test al, al
je 0x1800a88cd
mov rcx, r14
call fcn.180032210
mov rcx, qword [rsi + 0x48]
call fcn.18009a7ac
mov rcx, r14
call fcn.180032210
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.1800a9b58
mov rcx, rsi
test al, al
je 0x1800a8909
cmp dword [rbp - 0x38], 1
jne 0x1800a88f4
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
call fcn.1800a96a4
jmp 0x1800a892c
lea rdx, [rbp - 0x38]
call fcn.1800a8980
mov rcx, rsi
call fcn.1800a8efc
mov bl, al
jmp 0x1800a892e
call fcn.1800a8efc
test al, al
jne 0x1800a892c
mov rcx, rsi
call fcn.1800a99f8
mov al, byte [rsi + 0x124]
test al, al
je 0x1800a892e
mov rcx, rsi
call fcn.1800a8788
mov bl, 1
test bl, bl
je 0x1800a887b
test dil, dil
je 0x1800a8940
call fcn.1800a58b0
mov rcx, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
jmp fcn.1800a046c
mov rcx, r14
call fcn.180032210
lea rcx, [rbp - 0x20]
call fcn.18009463c
lea rdx, [0x18015d2c8]
lea rcx, [rbp - 0x20]
call fcn.1800b2060
int3
Function at 0x1800b2898
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x18010a2a0]
xor ecx, ecx
lea r8, [0x18010a298]
lea rdx, str.FlsAlloc
call fcn.1800b26c0
mov rbx, rax
test rax, rax
je 0x1800b28d8
mov rcx, rax
call fcn.180092814
mov rcx, rdi
call rbx
jmp 0x1800b28de
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800b2940
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x18010a2b0]
mov ecx, 2
lea r8, [0x18010a2a8]
lea rdx, str.FlsGetValue
call fcn.1800b26c0
mov rdi, rax
test rax, rax
je 0x1800b2981
mov rcx, rax
call fcn.180092814
mov ecx, ebx
call rdi
jmp 0x1800b2989
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800b2994
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x18010a2b8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x18010a2b0]
call fcn.1800b26c0
mov rsi, rax
test rax, rax
je 0x1800b29e0
mov rcx, rax
call fcn.180092814
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1800b29eb
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret