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

Disassembly:
movabs rcx, 0x9bf87256104f28b
lea rcx, [rcx*2 + 0xfaa302b]
pushfq
xor rcx, 0x5ca67d07
jno 0x1403db5cf
je 0x1403b962d
js 0x1403b9643
xor bh, bl
out dx, eax
stosd dword [rdi], eax
mov ch, 0x11
mov cl, 0x6e
fadd qword [rbp + r12*4 - 0x7b548c4]
clc
xchg byte [r11 - 0x4e95cc4b], r13b
xor ebp, dword [rdx - 0x4f]
jb 0x1403b9682
rcl qword [rdi + 0x4a], cl
int 0x28
xchg edx, eax
mov ah, 0xb5
loopne 0x1403b9633
sar dword [0x10df04bab], 0xc5
invalid
scasd eax, dword [rdi]
or dh, byte [rcx - 0x9e5c0cc]
loopne 0x1403b96cf
invalid
insd dword [rdi], dx
invalid
mov qword [rsp + 0x18], 0x37e348ef
mov rcx, qword [rsp + 0x10]
add qword [rsp + 8], 0xffffffffbffb94b6
call fcn.1403cc9da
hlt

Function at 0x1405202cb
Capabilities:
Encode data using base64

Disassembly:
mov qword [rcx + rdi - 0x72a57c9e], r10
sub byte [rsp + rsi - 0x13b], cl
sbb sil, al
lea r8, [r8 + rcx - 0x72a57ca2]
mov r10d, dword [rsi + r8 - 0x1fe]
movzx ebp, bx
sar rbp, cl
xor r10d, r9d
rol r10d, 2
lea r10d, [r10 + rbx + 0x1715c00d]
dec cx
lea rbx, [rax*8 - 0x3dfe09e4]
neg r10d
call fcn.140614056
Function at 0x140013ec0
Capabilities:
Parse pe header

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

Function at 0x140005400
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140005434
cmp word [rcx], 0x5a4d
jne 0x140005434
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140005434
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005434
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140005340
test eax, eax
jne 0x140005450
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400053b0
test rax, rax
je 0x140005445
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140005bfc
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140005b00
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005aa0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400066c0
Capabilities:
Parse pe header

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

Function at 0x140006791
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405399d0]
mov r8, rcx
mov rcx, r9
call fcn.1400066c0
test eax, eax
je 0x1400067bd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.1400066e4
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002440
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x140002468
mov rax, qword [rsp + 0x10]
cmp dword [rax + 0x118], 0xa
je 0x14000246f
xor eax, eax
jmp 0x1400025be
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x1400024a3
xor eax, eax
jmp 0x1400025be
mov rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400024c2
xor eax, eax
jmp 0x1400025be
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x1400024ee
xor eax, eax
jmp 0x1400025be
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x140002521
xor eax, eax
jmp 0x1400025be
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp]
mov qword [0x140004698], rax
mov rax, qword [rsp + 0x18]
mov qword [0x1400046a0], rax
mov rax, qword [rsp + 0x20]
mov qword [0x1400046a8], rax
mov rax, qword [rsp + 8]
mov qword [0x1400046b0], rax
mov rax, qword [rsp + 0x30]
mov qword [0x1400046b8], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1400046c0], rax
mov rax, qword [rsp + 0x40]
mov qword [0x1400046c8], rax
mov eax, 1
add rsp, 0x58
ret

Function at 0x140002c61
Capabilities:
Execute syscall

Disassembly:
mov rax, rcx
mov r10, rax
mov eax, dword [0x140004650]
syscall
ret
Function at 0x18010408c
Capabilities:
Get common file path

Disassembly:
jmp 0x1802da078
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1803bb0a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call fcn.180108871
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1802da0f5
movzx ecx, word [rsp + 0x30]
xor edi, edi
test cx, cx
je 0x1802da16b
cmp word [rsp + 0x32], 0x3a
jne 0x1802da16b
lea eax, [rcx - 0x61]
cmp ax, 0x19
movzx eax, cx
ja 0x1802da0f0
sub eax, 0x20
lea edi, [rax - 0x40]
jmp 0x1802da16b
lea esi, [rax + 1]
mov dword [rsp + 0x20], 0x25
mov edx, 2
mov ecx, esi
mov r8d, edx
lea r9, [0x18037e7c8]
call fcn.180105fa9
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1802da12f
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1802da13c
call fcn.180106143
mov dword [rax], 0xc
jmp 0x1802da15e
cmp word [rbx], di
je 0x1802da15e
cmp word [rbx + 2], 0x3a
jne 0x1802da15e
movzx eax, word [rbx]
sub ax, 0x61
cmp ax, 0x19
movzx eax, word [rbx]
ja 0x1802da15b
sub eax, 0x20
lea edi, [rax - 0x40]
mov edx, 2
mov rcx, rbx
call fcn.18010b779
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180105df6
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18010419a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1802c9c90
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1802c8ca0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1802c9cc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1803e8010]
jmp 0x1802c9ccf
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x1801044e7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18023cbf0
mov rax, rcx
neg rcx
test rax, 7
je 0x18023cc0d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x18023cc68
test al, 7
jne 0x18023cc00
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x18023cc21
mov rdx, qword [rax - 8]
test dl, dl
je 0x18023cc92
test dh, dh
je 0x18023cc8c
shr rdx, 0x10
test dl, dl
je 0x18023cc86
test dh, dh
je 0x18023cc80
shr rdx, 0x10
test dl, dl
je 0x18023cc7a
test dh, dh
je 0x18023cc74
shr edx, 0x10
test dl, dl
je 0x18023cc6e
test dh, dh
jne 0x18023cc21
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1801045d2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1801d4060
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1803c4668]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x28
ret
Function at 0x180104ad7
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1801aa5c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1801aa60a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18010d01f
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.180104744
lea rdx, [0x1803b9740]
lea rcx, [rsp + 0x20]
call fcn.180109019
add rsp, 0x48
ret
Function at 0x1801054b4
Capabilities:
Terminate process

Disassembly:
jmp 0x18019f110
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x180105d01
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1802c9cf0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1802c8ce0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1802c9d2f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1803e8010]
jmp 0x1802c9d3e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x180105d47
Capabilities:
Get system information on windows

Disassembly:
jmp 0x18014dea0
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x180106404
Capabilities:
Create process on windows

Disassembly:
jmp 0x1802fd460
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
lea rcx, [rsp + 0xe0]
call fcn.18010cb01
lea rcx, [rsp + 0xb0]
call fcn.18010cb01
lea rcx, [rsp + 0x80]
call fcn.18010cb01
call fcn.18010bfe4
mov r8d, eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x120]
call fcn.180104c9e
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1802fd502
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x80]
call fcn.18010c46c
lea rcx, [rsp + 0xb0]
call fcn.18010c46c
lea rcx, [rsp + 0xe0]
call fcn.18010c46c
mov eax, dword [rsp + 0x54]
jmp 0x1802fd69e
call fcn.18010bfe4
mov r8d, eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x128]
call fcn.180104c9e
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1802fd562
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x80]
call fcn.18010c46c
lea rcx, [rsp + 0xb0]
call fcn.18010c46c
lea rcx, [rsp + 0xe0]
call fcn.18010c46c
mov eax, dword [rsp + 0x5c]
jmp 0x1802fd69e
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x158], 0
je 0x1802fd5e8
call fcn.18010bfe4
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x158]
call fcn.180104c9e
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1802fd5d6
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x80]
call fcn.18010c46c
lea rcx, [rsp + 0xb0]
call fcn.18010c46c
lea rcx, [rsp + 0xe0]
call fcn.18010c46c
mov eax, dword [rsp + 0x64]
jmp 0x1802fd69e
lea rcx, [rsp + 0x80]
call fcn.18010cd59
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb0]
call fcn.18010cd59
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe0]
call fcn.18010cd59
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x148]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x80]
call fcn.18010c46c
lea rcx, [rsp + 0xb0]
call fcn.18010c46c
lea rcx, [rsp + 0xe0]
call fcn.18010c46c
mov eax, dword [rsp + 0x68]
add rsp, 0x118
ret
Function at 0x18010696d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18020a020
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1803c4668], eax
cmp dword [0x1803c4668], 0xffffffff
jne 0x18020a063
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18010d01f
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.180104744
lea rdx, [0x1803b9740]
lea rcx, [rsp + 0x20]
call fcn.180109019
add rsp, 0x48
ret
Function at 0x180106d87
Capabilities:
Print debug messages

Disassembly:
jmp 0x1802f95e0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1803bb0a8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1802f9606
jmp 0x1802f9683
mov rcx, qword [rbp + 0x30]
call fcn.1801044e7
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1802f961f
jmp 0x1802f9683
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1802f963c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18010cd72
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.18010960e
test eax, eax
jne 0x1802f9683
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.180105df6
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1801072eb
Capabilities:
Query environment variable

Disassembly:
jmp 0x1802edfe0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1802ee0c8
mov rsi, rax
cmp word [rax], r14w
je 0x1802ee033
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1802ee01b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1802ee017
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.18010b2d8
movsxd rbp, eax
test eax, eax
je 0x1802ee0c8
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.180107723
mov rdi, rax
test rax, rax
je 0x1802ee0b6
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18010b2d8
test eax, eax
je 0x1802ee0b6
mov rsi, rdi
mov rdi, r14
jmp 0x1802ee0b9
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.18010b779
jmp 0x1802ee0cb
mov rsi, r14
test rbx, rbx
je 0x1802ee0d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1801083c6
Capabilities:
Clear file content

Disassembly:
jmp 0x18030ded0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.18010b332
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x18030df09
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x18030df27
call fcn.180106143
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x40]
jmp 0x18030e143
cmp qword [rsp + 0x78], 0
jle 0x18030e088
mov dword [rsp + 0x20], 0x4a
lea r9, str.minkernelcrtsucrt_src_appcrtlowiochsize.cpp
mov r8d, 2
mov edx, 1
mov ecx, 0x1000
call fcn.180105fa9
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.18010ced5
lea rcx, [rsp + 0x38]
call fcn.18010c386
movzx eax, al
test eax, eax
jne 0x18030dfa8
call fcn.180106143
mov dword [rax], 0xc
call fcn.180106143
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x38]
call fcn.1801053a6
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x44]
jmp 0x18030e143
mov edx, 0x8000
mov ecx, dword [rsp + 0xa0]
call fcn.180105ca2
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x78], 0x1000
jl 0x18030dfd2
mov dword [rsp + 0x30], 0x1000
jmp 0x18030dfda
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x38]
call fcn.180109f64
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov ecx, dword [rsp + 0xa0]
call fcn.1801056bc
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x18030e048
call fcn.180104032
cmp dword [rax], 5
jne 0x18030e020
call fcn.180106143
mov dword [rax], 0xd
call fcn.180106143
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x38]
call fcn.1801053a6
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x4c]
jmp 0x18030e143
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jg 0x18030dfbd
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0xa0]
call fcn.180105ca2
lea rcx, [rsp + 0x38]
call fcn.1801053a6
jmp 0x18030e12d
cmp qword [rsp + 0x78], 0
jge 0x18030e12d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
call fcn.1801072af
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x18030e0d9
call fcn.180106143
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x54]
jmp 0x18030e143
mov ecx, dword [rsp + 0xa0]
call fcn.180105f95
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18030e12d
call fcn.180106143
mov dword [rax], 0xd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
call fcn.180104032
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
call fcn.180106143
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x5c]
jmp 0x18030e143
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x68]
call fcn.180107f75
mov eax, dword [rsp + 0x60]
add rsp, 0x98
ret
Function at 0x18010844d
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x1801f2310
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov r8d, 0x800
xor edx, edx
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1801f2364
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
cmp eax, 0x57
jne 0x1801f2364
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1801f244d
lea rdx, str.RegisterTraceGuidsW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
lea rdx, str.UnregisterTraceGuids
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
lea rdx, str.TraceEvent
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
lea rdx, str.GetTraceLoggerHandle
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x18], rax
lea rdx, str.GetTraceEnableLevel
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x20], rax
lea rdx, str.GetTraceEnableFlags
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, rax
call fcn.18010cc73
nop
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x180108664
Capabilities:
Move file

Disassembly:
jmp 0x1802d55b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 2
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1802d55ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801050db
mov eax, 0xffffffff
jmp 0x1802d55ee
xor eax, eax
add rsp, 0x28
ret
Function at 0x18010887b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18022a1c0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.180229b30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18022a201
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1803e8010]
jmp 0x18022a207
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x180108c68
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1801aa5a0
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x28
ret
Function at 0x180109537
Capabilities:
Create thread

Disassembly:
jmp 0x1801a9a00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x180109ac3
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x180166dc0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x180166de8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x180166e32
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x180166ddd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x180109ac8
Capabilities:
Print debug messages

Disassembly:
jmp 0x1802c12a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret