joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180095cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 0x90]
cmp dword [rax + 0x78], 0x28
jne 0x180095d24
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x39b]
test eax, eax
je 0x180095d24
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x39c]
test eax, eax
je 0x180095d24
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x39d]
test eax, eax
je 0x180095d24
jmp 0x180095e45
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x1d4]
cmp dword [rax + 0x1c], ecx
jge 0x180095d71
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x33d]
test eax, eax
je 0x180095d6c
lea r8, [0x1801971c0]
mov edx, 0x1507
mov ecx, 0x81
call fcn.18012c620
or eax, 0x81
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x18], eax
jmp 0x180095e45
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x1d4], 0
jle 0x180095e45
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x30]
dec eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x28]
movzx eax, word [rcx + rax*4]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx + 0x104]
cmp eax, ecx
jb 0x180095dfc
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x33d]
test eax, eax
je 0x180095dfa
lea r8, [0x180197240]
mov edx, 0x1515
mov ecx, 0x86
call fcn.18012c620
or eax, 0x86
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x18], eax
jmp 0x180095e64
jmp 0x180095e28
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x120]
movzx eax, byte [rcx + rax]
xor eax, 1
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 0x120]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1d4]
dec eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x1d4], eax
jmp 0x180095d71
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x1d4], 1
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x30]
mov dword [rax + 0x34], ecx
add rsp, 0x30
pop rdi
ret
Function at 0x1800c2700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov dword [rsp + 8], eax
mov dword [rsp], 1
mov dword [rsp + 4], 0
mov dword [rsp + 0xc], 1
jmp 0x1800c276c
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0
jbe 0x1800c28aa
cmp dword [rsp + 0xc], 0
je 0x1800c27b5
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jb 0x1800c278c
jmp 0x1800c27b5
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp]
xor eax, 1
mov dword [rsp], eax
cmp dword [rsp + 4], 0
je 0x1800c277e
cmp dword [rsp], 0
je 0x1800c27cb
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
shr eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x10]
dec eax
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 0
ja 0x1800c2840
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x80
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x10], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x18], rax
jmp 0x1800c287a
cmp dword [rsp + 0x20], 0
jne 0x1800c287a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x80
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 4]
dec eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0
jg 0x1800c2895
mov dword [rsp + 0x28], 1
jmp 0x1800c289d
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0xc], eax
jmp 0x1800c2762
cmp dword [rsp + 0x20], 0x80
je 0x1800c28ca
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x18]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
add rsp, 0x30
pop rdi
ret
Function at 0x1800d9ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp], rax
jb 0x1800d9b13
xor eax, eax
jmp 0x1800d9bde
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov eax, eax
cmp qword [rsp + 0x48], rax
jbe 0x1800d9b41
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 8], 0
jmp 0x1800d9b55
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp rax, qword [rsp + 0x48]
jae 0x1800d9bb6
mov eax, dword [rsp + 8]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
shr eax, 8
mov ecx, dword [rsp + 0x10]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
imul eax, eax, 0xce6d
add eax, 0x58bf
and eax, 0xffff
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x14]
mov byte [rcx + rax], dl
jmp 0x1800d9b4b
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
movzx ecx, word [rsp + 0xc]
mov word [rax], cx
mov eax, dword [rsp + 8]
add rsp, 0x20
pop rdi
ret
Function at 0x180105ce0
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [rsp + 8], ecx
push rdi
mov eax, dword [rsp + 0x10]
shr eax, 0x10
mov ecx, dword [rsp + 0x10]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
imul eax, dword [rsp + 0x10], 0x85ebca6b
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
shr eax, 0xd
mov ecx, dword [rsp + 0x10]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
imul eax, dword [rsp + 0x10], 0xc2b2ae35
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
shr eax, 0x10
mov ecx, dword [rsp + 0x10]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
pop rdi
ret
Function at 0x18012c4b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1800028b8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x18012c538
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x50]
mov edx, 0x400
lea rcx, [0x18023af70]
call fcn.1800028fc
lea rcx, [0x18023af70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rsp + 0x28], 0
mov rcx, rsp
lea rdx, [0x180168e30]
call fcn.180138610
add rsp, 0x40
pop rdi
ret

Function at 0x18012c560
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1800028b8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x18012c5e8
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x50]
mov edx, 0x400
lea rcx, [0x18023b370]
call fcn.1800028fc
lea rcx, [0x18023b370]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rsp + 0x28], 0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, rsp
lea rdx, [0x180168e48]
call fcn.180138610
add rsp, 0x40
pop rdi
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400c62a0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400c62b0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400175c0
jmp 0x14000123c
mov rax, qword [0x1400c62b0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400c62b0]
mov dword [rax], 1
mov rax, qword [0x1400c6310]
mov rdx, rax
mov rax, qword [0x1400c6300]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400f1024], 1
mov rax, qword [0x1400c62b0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400c62f0]
mov rdx, rax
mov rax, qword [0x1400c62e0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400c62b0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400c62a0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400c61e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400c61e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.14000c198
mov rax, qword [0x1400c6350]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400c6290]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14000b990
mov eax, dword [0x1400f1004]
lea rdx, [0x1400f1008]
mov ecx, eax
call fcn.14000147c
call fcn.14000b727
mov rax, qword [0x1400c6220]
mov rax, qword [rax]
mov rdx, qword [0x1400f1010]
mov qword [rax], rdx
mov rcx, qword [0x1400f1010]
mov rdx, qword [0x1400f1008]
mov eax, dword [0x1400f1004]
mov r8, rcx
mov ecx, eax
call fcn.1400bb6e0
mov dword [0x1400f101c], eax
mov eax, dword [0x1400f1020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400f101c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400f1024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400f101c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c6250]
mov dword [rax], 1
mov rax, qword [0x1400c6260]
mov dword [rax], 1
mov rax, qword [0x1400c6270]
mov dword [rax], 1
mov rax, qword [0x1400c6210]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000192f
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x1400f10a0]
xor r9d, r9d
xor edx, edx
lea r8, [0x1400016e8]
xor ecx, ecx
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000199a
lea rdx, [0x140001769]
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret

Function at 0x14000b9a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140017350
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
Function at 0x14000c672
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400f11c8]
test eax, eax
je 0x14000c70a
lea rax, [0x1400f11a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400f11d0]
mov qword [rbp - 8], rax
jmp 0x14000c6ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000c6e2
cmp qword [rbp - 0x10], 0
je 0x14000c6e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000c6a8
lea rax, [0x1400f11a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000c70b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000c810
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000c838
mov eax, 0
jmp 0x14000c886
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000c861
mov eax, 0
jmp 0x14000c886
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000c881
mov eax, 0
jmp 0x14000c886
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000c88c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000c90a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000c901
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000c901
mov rax, qword [rbp - 8]
jmp 0x14000c91f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000c8d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001a849
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x14001a994
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140019e6d
cmp eax, 1
jne 0x14001a987
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x15], 0
mov qword [rbp - 0xd], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x14001a93d
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x14001a953
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x14001a939
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x14001a972
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x14001a995
nop
add rsp, 0x90
pop rbp
ret
Function at 0x14001bba7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x14001b9ca]
mov rdx, rax
lea rax, [0x1400f1c50]
mov rcx, rax
call fcn.14001afc2
mov eax, dword [0x1400be1e0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001bbfa
mov rax, qword [rbp - 0x10]
jmp 0x14001bd5a
call fcn.14001a725
mov qword [rbp - 0x10], rax
mov rax, qword [0x1400f4048]
test rax, rax
je 0x14001bc16
cmp qword [rbp - 0x10], 0
jne 0x14001bc20
mov eax, 0
jmp 0x14001bd5a
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.14001a849
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x14001bcfb
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x1400be1e0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x14001bd56
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14001be57
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.14001bba7
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.14001b9f8
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14001bec4
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_longjmp]
call rax
mov eax, dword [0x1400be1e0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001c008
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14001bf61
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bf1c
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a5fe
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400be1e0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14001c008
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001bf9b
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001c008
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14001a5fe
mov qword [rbp - 0x10], 0
mov eax, dword [0x1400be1e0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
call rax
nop