joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e8582740
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1e86b3120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1e86b3100]
test rbx, rbx
je 0x1e858279c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1e8582793
test rsi, rsi
je 0x1e8582793
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1e8582778
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1e8582ad0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1e86abb50]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1e8582af0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1e8582af8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1e8582af0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1e8582b4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1e8582b44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1e8582af0
add rax, 0x28
cmp rax, r9
jne 0x1e8582b30
xor eax, eax
ret

Function at 0x1e8582b50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1e86abb50]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1e8582b6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1e8582b78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1e8582b6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1e8582c10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1e86abb50]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1e8582c2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1e8582c38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1e8589460
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1e858956a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x1e8589542
add rax, 1
cmp rax, 0x6b
je 0x1e858955f
cmp byte [rcx + rax], 0
jne 0x1e8589538
cmp eax, 0x6a
movsxd rdx, eax
je 0x1e858955f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x1e8589553

Function at 0x1e85898e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1e86b3c00], 1
je 0x1e8589958
lea rdi, [0x1e86b3c00]
mov rcx, rdi
call fcn.1e85891e0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1e8588b60
mov esi, dword [0x1e86b3c00]
test esi, esi
jne 0x1e8589968
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1e86a7b08], eax
je 0x1e859bc66
mov dword [0x1e86b3c00], 1
mov rcx, rbp
call fcn.1e8588e50
test rbx, rbx
je 0x1e8589958
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1e8589580
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x1e8589938
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.1e8588a10
jmp 0x1e8589938
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
Function at 0x1e8589990
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.1e8589690
cmp qword [0x1e86b7040], 0
mov rbx, rax
je 0x1e8589aa8
test rax, rax
je 0x1e8589aa8
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1e858cc50
cmp eax, 1
je 0x1e8589ab6
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
lea r9, [rbx + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.1e859bc6c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1e86a7b08]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1e8589abc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.1e8589460
nop
jmp fcn.1e859bc6c

Function at 0x1e8589ad0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e8589af0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1e8589990
Function at 0x1e858a260
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
je 0x1e858a388
cmp eax, 1
je 0x1e858a2bb
call fcn.1e85891e0
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.1e8588b60
mov r12d, dword [rbx]
test r12d, r12d
je 0x1e858a2d0
cmp r12d, 1
jne 0x1e858a360
mov rcx, rbp
call fcn.1e8588e50
test rdi, rdi
je 0x1e858a2bb
mov rcx, rdi
call fcn.1e8589580
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x1e8589660]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x1e858a3c8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call r12
test rax, rax
je 0x1e858a3b0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call r12
test rax, rax
je 0x1e858a3a0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x1e858a2a6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.1e8588a10
jmp 0x1e858a2a6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1e8589990
test rax, rax
jne 0x1e858a349
jmp 0x1e859bc85
call fcn.1e8589990
test rax, rax
jne 0x1e858a325
jmp 0x1e859bc9e
call fcn.1e8589990
test rax, rax
jne 0x1e858a2ff
jmp 0x1e859bc94
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x1e858a650
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858a6c8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1e858cc60
cmp esi, dword [rbx + 0x48]
jae 0x1e858a6a3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1e858a6a3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.1e858cca0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858a67d
Function at 0x1e858a6e0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858a7f0
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.1e858cc60
cmp esi, dword [rbx + 0x48]
jae 0x1e858a770
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.1e858cca0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
mov rdi, rax
je 0x1e858a7fd
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x1e858a7fd
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x1e858a734
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858a71f
mov rcx, r14
call fcn.1e858cca0
mov eax, 0xc
jmp 0x1e858a752

Function at 0x1e858a880
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858a8a8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.1e8589990
test rax, rax
jne 0x1e858a89a
add rsp, 0x28
ret

Function at 0x1e858a910
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858a938
add rax, 0x18
add rsp, 0x28
ret
call fcn.1e8589990
test rax, rax
jne 0x1e858a92a
jmp 0x1e858a92e

Function at 0x1e858aa50
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1e86b3c08]
test eax, eax
jne 0x1e858aa68
xor eax, eax
add rsp, 0x28
ret
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858aa98
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x1e858aa5e
test byte [rax + 0x40], 3
je 0x1e858aa5e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x1e858aa60
call fcn.1e8589990
test rax, rax
jne 0x1e858aa7e
jmp 0x1e858aa5e
Function at 0x1e858aab0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858aaf0
test ebx, ebx
jle 0x1e858aae0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.1e8589990
test rax, rax
jne 0x1e858aacd
add rsp, 0x20
pop rbx
ret

Function at 0x1e858abe0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858ac58
test byte [rbx + 0x40], 0xc
jne 0x1e858ac0f
mov eax, dword [0x1e86b3c08]
test eax, eax
jne 0x1e858ac20
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1e8588b60
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1e858ac43
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1e858ac43
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1e858ac6c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1e8588e50
call fcn.1e8589990
test rax, rax
mov rbx, rax
jne 0x1e858abff
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1e858ac8a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1e8588e50
call fcn.1e858ab00
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1e858ad10
call fcn.1e858bdf0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1e858ad48
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858ada0
test esi, esi
je 0x1e858ad26
call fcn.1e858abe0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1e858ad80
mov edx, edi
call fcn.1e858bea0
call fcn.1e858abe0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858ad90
call fcn.1e858abe0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1e858abe0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x1e858ace5
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858ace5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1e858acfe
call fcn.1e8589990
jmp 0x1e858ad26
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858ace1
Function at 0x1e858aca0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858ac58
test byte [rbx + 0x40], 0xc
jne 0x1e858ac0f
mov eax, dword [0x1e86b3c08]
test eax, eax
jne 0x1e858ac20
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1e8588b60
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1e858ac43
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1e858ac43
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1e858ac6c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1e8588e50
call fcn.1e8589990
test rax, rax
mov rbx, rax
jne 0x1e858abff
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1e858ac8a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1e8588e50
call fcn.1e858ab00
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1e858ad10
call fcn.1e858bdf0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1e858ad48
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858ada0
test esi, esi
je 0x1e858ad26
call fcn.1e858abe0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1e858ad80
mov edx, edi
call fcn.1e858bea0
call fcn.1e858abe0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1e858ad90
call fcn.1e858abe0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1e858abe0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x1e858ace5
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858ace5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1e858acfe
call fcn.1e8589990
jmp 0x1e858ad26
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858ace1

Function at 0x1e858adb0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.1e85898e0
mov ecx, dword [0x1e86a7b08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1e858ae20
test esi, esi
je 0x1e858ae00
call fcn.1e858abe0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1e858ae30
mov edx, esi
call fcn.1e858bea0
call fcn.1e858abe0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1e858abe0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1e858abe0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1e8589990
mov rbx, rax
jmp 0x1e858add1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1e858adea
Function at 0x1400034d0
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
cmp byte [rcx + 0x17], 0
js 0x1400034e9
mov rcx, rdi
jne 0x1400034f3
jmp 0x14000351a
cmp qword [rdi + 8], 0
je 0x14000351a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rdi + 0x17], 0
js 0x14000350a
mov word [rdi], 0
mov byte [rdi + 0x17], 0
jmp 0x14000351a
mov rax, qword [rdi]
mov word [rax], 0
mov qword [rdi + 8], 0
cmp rdi, rsi
je 0x14000354e
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rsi + 0x17]
js 0x140003569
test r8b, r8b
jns 0x140003540
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, rdi
call fcn.14000cf10
jmp 0x14000354e
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
cmp byte [rsi + 0x17], 0
js 0x14000355b
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000e8c0
test r8b, r8b
jns 0x140003577
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
jmp 0x14000357e
and r8d, 0x7f
mov rdx, rsi
mov rcx, rdi
call fcn.14000ce20
jmp 0x14000354e

Function at 0x14001de78
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001dfcc
Function at 0x140030214
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 0x14003029b
mov rsi, rbx
cmp word [rax], bp
je 0x14003025a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140030244
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140030240
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002bdb8
mov rdi, rax
test rax, rax
je 0x140030288
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140011510
mov rbp, rdi
xor ecx, ecx
call fcn.140028884
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 0x401f6f
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea r12, [0x0048ab80]
xor ebx, ebx
mov rdi, rcx
mov rbp, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [fcn.00442620]
cmp rbx, rbp
jl 0x401fe5
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x0044621c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00442560
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13, qword [rdi + rbx*8]
mov ecx, 1
inc rbx
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r13
call fcn.00401ecd
jmp 0x401f9a

Function at 0x4021ff
Capabilities:
Read file on windows

Disassembly:
push r13
push rbx
sub rsp, 0x38
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sub.msvcrt.dll_fread
cmp rbx, rax
je 0x402233
mov rcx, r13
mov qword [rsp + 0x28], rax
call fcn.00402136
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop r13
ret

Function at 0x402585
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x30
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
mov qword [rsp + 0x28], rax
call fcn.00402136
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop r12
ret

Function at 0x402c07
Capabilities:
Write file on windows

Disassembly:
push r12
push rdi
sub rsp, 0x28
xor r8d, r8d
mov r12, rcx
mov r10, rdx
test rdx, rdx
je 0x402c2e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r10
mov r9, r12
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r12
add rsp, 0x28
pop rdi
pop r12
jmp fcn.00442560

Function at 0x402cfd
Capabilities:
Get thread local storage value

Disassembly:
push r13
sub rsp, 0x30
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x40]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop r13
ret
Function at 0x40cee0
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
mov r8d, 4
xor esi, esi
mov rax, rdx
mov rbx, rdx
cqo
idiv r8
lea r11, [rax*4]
xor eax, eax
cmp r11, rax
jg 0x40cf27
cmp r11, 0xfffffffffffffffd
mov eax, 0
mov r8d, 4
cmovl r11, rax
mov rax, rbx
cqo
idiv r8
add r11, rcx
xor r8d, r8d
jmp 0x40cf64
mov r10d, dword [rcx + rax]
add rax, 4
imul r10d, r10d, 0xcc9e2d51
rol r10d, 0xf
imul r9d, r10d, 0x1b873593
xor r9d, esi
rol r9d, 0xd
lea r9d, [r9 + r9*4]
lea esi, [r9 - 0x19ab949c]
jmp 0x40ceff
dec rdx
shl r8d, 8
movzx eax, byte [r11 + rdx]
or r8d, eax
test rdx, rdx
jg 0x40cf55
imul eax, r8d, 0xcc9e2d51
xor esi, ebx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
mov edx, eax
shr edx, 0x10
xor eax, edx
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
pop rbx
pop rsi
ret
xor edx, edx
test rcx, rcx
je 0x40cfaf
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x40cee0

Function at 0x40cfa1
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
mov r8d, 4
xor esi, esi
mov rax, rdx
mov rbx, rdx
cqo
idiv r8
lea r11, [rax*4]
xor eax, eax
cmp r11, rax
jg 0x40cf27
cmp r11, 0xfffffffffffffffd
mov eax, 0
mov r8d, 4
cmovl r11, rax
mov rax, rbx
cqo
idiv r8
add r11, rcx
xor r8d, r8d
jmp 0x40cf64
mov r10d, dword [rcx + rax]
add rax, 4
imul r10d, r10d, 0xcc9e2d51
rol r10d, 0xf
imul r9d, r10d, 0x1b873593
xor r9d, esi
rol r9d, 0xd
lea r9d, [r9 + r9*4]
lea esi, [r9 - 0x19ab949c]
jmp 0x40ceff
dec rdx
shl r8d, 8
movzx eax, byte [r11 + rdx]
or r8d, eax
test rdx, rdx
jg 0x40cf55
imul eax, r8d, 0xcc9e2d51
xor esi, ebx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
mov edx, eax
shr edx, 0x10
xor eax, edx
imul edx, eax, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
pop rbx
pop rsi
ret
xor edx, edx
test rcx, rcx
je 0x40cfaf
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x40cee0