joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001de2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xa8
mov word [rsp + 0x20], 0x65
mov word [rsp + 0x22], 0x5b
mov word [rsp + 0x24], 0x6e
mov word [rsp + 0x26], 0x70
mov word [rsp + 0x28], 0x72
mov word [rsp + 0x2a], 0x7c
mov word [rsp + 0x2c], 0x7d
mov word [rsp + 0x2e], 0x7b
mov word [rsp + 0x30], 0x82
mov word [rsp + 0x32], 0x65
mov word [rsp + 0x34], 0x56
mov word [rsp + 0x36], 0x6a
mov word [rsp + 0x38], 0x6c
mov word [rsp + 0x3a], 0x71
mov word [rsp + 0x3c], 0x72
mov word [rsp + 0x3e], 0x77
mov word [rsp + 0x40], 0x6e
mov word [rsp + 0x42], 0x65
mov word [rsp + 0x44], 0x5c
mov word [rsp + 0x46], 0x62
mov word [rsp + 0x48], 0x5c
mov word [rsp + 0x4a], 0x5d
mov word [rsp + 0x4c], 0x4e
mov word [rsp + 0x4e], 0x56
mov word [rsp + 0x50], 0x65
mov word [rsp + 0x52], 0x4c
mov word [rsp + 0x54], 0x7e
mov word [rsp + 0x56], 0x7b
mov word [rsp + 0x58], 0x7b
mov word [rsp + 0x5a], 0x6e
mov word [rsp + 0x5c], 0x77
mov word [rsp + 0x5e], 0x7d
mov word [rsp + 0x60], 0x4c
mov word [rsp + 0x62], 0x78
mov word [rsp + 0x64], 0x77
mov word [rsp + 0x66], 0x7d
mov word [rsp + 0x68], 0x7b
mov word [rsp + 0x6a], 0x78
mov word [rsp + 0x6c], 0x75
mov word [rsp + 0x6e], 0x5c
mov word [rsp + 0x70], 0x6e
mov word [rsp + 0x72], 0x7d
mov word [rsp + 0x74], 0x65
mov word [rsp + 0x76], 0x5c
mov word [rsp + 0x78], 0x6e
mov word [rsp + 0x7a], 0x7b
mov word [rsp + 0x7c], 0x7f
mov word [rsp + 0x7e], 0x72
mov word [rsp + 0x80], 0x6c
mov word [rsp + 0x82], 0x6e
mov word [rsp + 0x84], 0x7c
mov word [rsp + 0x86], 0x65
mov word [rsp + 0x88], pe_nt_image_headers64
mov word [rsp + 0x8a], 0x7e
mov word [rsp + 0x8c], 0x6a
mov word [rsp + 0x8e], 0x7e
mov word [rsp + 0x90], 0x7c
mov word [rsp + 0x92], 0x6e
mov word [rsp + 0x94], 0x7b
mov word [rsp + 0x96], 0x7f
mov word [rsp + 0x98], 9
cmp byte [0x14087b660], 0
jne 0x140001ffd
mov byte [0x14087b6fa], 1
mov eax, 0
lea rcx, [0x14087b680]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x3d
jne 0x140001fd7
mov byte [0x14087b660], 1
lea rcx, [0x14000168a]
call fcn.1400014f0
lea rax, [0x14087b680]
add rsp, 0xa8
ret

Function at 0x140002218
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x59
mov byte [rsp + 0x22], 0x4c
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x58
mov byte [rsp + 0x25], 0x56
mov byte [rsp + 0x26], 0x46
mov byte [rsp + 0x27], 0x4b
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x46
mov byte [rsp + 0x2a], 0x4e
mov byte [rsp + 0x2b], 0x50
mov byte [rsp + 0x2c], 0x44
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x48
mov byte [rsp + 0x2f], 0x11
mov byte [rsp + 0x30], 0x46
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0x50
mov byte [rsp + 0x33], 0xe3
cmp byte [0x14087b2e8], 0
jne 0x1400022c1
mov byte [0x14087b304], 1
mov eax, 0
lea rcx, [0x14087b2f0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x14
jne 0x14000229c
mov byte [0x14087b2e8], 1
lea rcx, [0x1400017bd]
call fcn.1400014f0
lea rax, [0x14087b2f0]
add rsp, 0x48
ret
Function at 0x1400022ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x59
mov byte [rsp + 0x22], 0x4c
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x58
mov byte [rsp + 0x25], 0x56
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x46
mov byte [rsp + 0x28], 0x44
mov byte [rsp + 0x29], 0x51
mov byte [rsp + 0x2a], 0x11
mov byte [rsp + 0x2b], 0x4d
mov byte [rsp + 0x2c], 0x52
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x57
mov byte [rsp + 0x2f], 0x4c
mov byte [rsp + 0x30], 0x11
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x4a
mov byte [rsp + 0x34], 0xe3
cmp byte [0x14087b288], 0
jne 0x14000237c
mov byte [0x14087b2a5], 1
mov eax, 0
lea rcx, [0x14087b290]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x15
jne 0x140002357
mov byte [0x14087b288], 1
lea rcx, [0x140001805]
call fcn.1400014f0
lea rax, [0x14087b290]
add rsp, 0x48
ret

Function at 0x140002388
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x53
mov byte [rsp + 0x22], 0x44
mov byte [rsp + 0x23], 0x51
mov byte [rsp + 0x24], 0x47
mov byte [rsp + 0x25], 0x44
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x48
mov byte [rsp + 0x28], 0x46
mov byte [rsp + 0x29], 0x58
mov byte [rsp + 0x2a], 0x55
mov byte [rsp + 0x2b], 0x4c
mov byte [rsp + 0x2c], 0x57
mov byte [rsp + 0x2d], 0x5c
mov byte [rsp + 0x2e], 0x11
mov byte [rsp + 0x2f], 0x46
mov byte [rsp + 0x30], 0x52
mov byte [rsp + 0x31], 0x50
mov byte [rsp + 0x32], 0xe3
cmp byte [0x14087b1d8], 0
jne 0x14000242c
mov byte [0x14087b1f3], 1
mov eax, 0
lea rcx, [0x14087b1e0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x13
jne 0x140002407
mov byte [0x14087b1d8], 1
lea rcx, [0x1400018ad]
call fcn.1400014f0
lea rax, [0x14087b1e0]
add rsp, 0x48
ret

Function at 0x140002438
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x16
mov byte [rsp + 0x22], 0x19
mov byte [rsp + 0x23], 0x13
mov byte [rsp + 0x24], 0x57
mov byte [rsp + 0x25], 0x52
mov byte [rsp + 0x26], 0x57
mov byte [rsp + 0x27], 0x44
mov byte [rsp + 0x28], 0x4f
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x48
mov byte [rsp + 0x2b], 0x46
mov byte [rsp + 0x2c], 0x58
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x4c
mov byte [rsp + 0x2f], 0x57
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x31], 0x11
mov byte [rsp + 0x32], 0x46
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x50
mov byte [rsp + 0x35], 0xe3
cmp byte [0x14087b180], 0
jne 0x1400024eb
mov byte [0x14087b1a6], 1
mov eax, 0
lea rcx, [0x14087b190]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x1400024c6
mov byte [0x14087b180], 1
lea rcx, [0x1400018f5]
call fcn.1400014f0
lea rax, [0x14087b190]
add rsp, 0x48
ret
Function at 0x1400024f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x44
mov byte [rsp + 0x22], 0x51
mov byte [rsp + 0x23], 0x57
mov byte [rsp + 0x24], 0x4c
mov byte [rsp + 0x25], 0x59
mov byte [rsp + 0x26], 0x4c
mov byte [rsp + 0x27], 0x55
mov byte [rsp + 0x28], 0x58
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x11
mov byte [rsp + 0x2b], 0x46
mov byte [rsp + 0x2c], 0x52
mov byte [rsp + 0x2d], 0x50
mov byte [rsp + 0x2e], 0x52
mov byte [rsp + 0x2f], 0x47
mov byte [rsp + 0x30], 0x52
mov byte [rsp + 0x31], 0x11
mov byte [rsp + 0x32], 0x46
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x50
mov byte [rsp + 0x35], 0xe3
cmp byte [0x14087b148], 0
jne 0x1400025ab
mov byte [0x14087b166], 1
mov eax, 0
lea rcx, [0x14087b150]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x140002586
mov byte [0x14087b148], 1
lea rcx, [0x140001925]
call fcn.1400014f0
lea rax, [0x14087b150]
add rsp, 0x48
ret

Function at 0x1400027a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
mov word [rsp + 0x20], 0xe4
mov word [rsp + 0x22], 0x12
mov word [rsp + 0x24], 0xdf
mov word [rsp + 0x26], 0xee
mov word [rsp + 0x28], 0x22
mov word [rsp + 0x2a], 0xdf
mov word [rsp + 0x2c], 0x22
mov word [rsp + 0x2e], 0x27
mov word [rsp + 0x30], 0x2e
mov word [rsp + 0x32], 0x28
mov word [rsp + 0x34], 0x22
mov word [rsp + 0x36], 0x24
mov word [rsp + 0x38], 0xdf
mov word [rsp + 0x3a], 0xee
mov word [rsp + 0x3c], 2
mov word [rsp + 0x3e], 0xdf
mov word [rsp + 0x40], 0x18
mov word [rsp + 0x42], 0xdf
mov word [rsp + 0x44], 0xee
mov word [rsp + 0x46], 0xd
mov word [rsp + 0x48], 0xdf
mov word [rsp + 0x4a], 0xee
mov word [rsp + 0x4c], 3
mov word [rsp + 0x4e], 0xdf
mov word [rsp + 0x50], 0x18
mov word [rsp + 0x52], 0xdf
mov word [rsp + 0x54], 0xee
mov word [rsp + 0x56], 0x13
mov word [rsp + 0x58], 0xdf
mov word [rsp + 0x5a], 0xf2
mov word [rsp + 0x5c], 0xdf
mov word [rsp + 0x5e], 0xe5
mov word [rsp + 0x60], 0xdf
mov word [rsp + 0x62], 3
mov word [rsp + 0x64], 0x24
mov word [rsp + 0x66], 0x2b
mov word [rsp + 0x68], 0xdf
mov word [rsp + 0x6a], 0xe1
mov word [rsp + 0x6c], 0xe4
mov word [rsp + 0x6e], 0x12
mov word [rsp + 0x70], 0xe1
mov word [rsp + 0x72], 0xbf
cmp byte [0x14087a9a0], 0
jne 0x140002915
mov byte [0x14087aa14], 1
mov eax, 0
lea rcx, [0x14087a9c0]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x2a
jne 0x1400028ef
mov byte [0x14087a9a0], 1
lea rcx, [0x140001a8a]
call fcn.1400014f0
lea rax, [0x14087a9c0]
add rsp, 0x88
ret
Function at 0x140002988
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140002afc
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x14087bbc1]
jmp 0x1400029ee
mov byte [0x14087bbc1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x14087bba0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140002afc
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x89
mov byte [rsp + 0x21], 0x88
mov byte [rsp + 0x22], 0x83
mov byte [rsp + 0x23], 0x8a
mov byte [rsp + 0x24], 0x88
mov byte [rsp + 0x25], 0x75
mov byte [rsp + 0x26], 0x83
mov byte [rsp + 0x27], 0x7c
mov byte [rsp + 0x28], 0x82
mov byte [rsp + 0x29], 0x89
mov byte [rsp + 0x2a], 0x8d
mov byte [rsp + 0x2b], 0x87
mov byte [rsp + 0x2c], 0x7e
mov byte [rsp + 0x2d], 0x78
mov byte [rsp + 0x2e], 0x82
mov byte [rsp + 0x2f], 0x75
mov byte [rsp + 0x30], 0x78
mov byte [rsp + 0x31], 0x7c
mov byte [rsp + 0x32], 0x79
mov byte [rsp + 0x33], 0x88
mov byte [rsp + 0x34], 0x81
mov byte [rsp + 0x35], 0x7a
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x85
mov byte [rsp + 0x38], pe_nt_image_headers64
mov byte [rsp + 0x39], pe_nt_image_headers64
mov byte [rsp + 0x3a], 0x86
mov byte [rsp + 0x3b], 0x79
mov byte [rsp + 0x3c], 0x88
mov byte [rsp + 0x3d], 0x88
mov byte [rsp + 0x3e], 0x78
mov byte [rsp + 0x3f], 0x8c
mov byte [rsp + 0x40], 0x13
cmp byte [0x14087bb80], 0
jne 0x140002ad7
mov byte [0x14087bbc1], 1
mov eax, 0
lea rcx, [0x14087bba0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140002ab6
mov byte [0x14087bb80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x14087bbc1], 0
je 0x1400029c0
lea rax, [0x14087bba0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140002aeb
jmp 0x1400029b9
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400085f0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140008620
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000861f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140008625
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000861f
mov eax, 0
jmp 0x14000861f

Function at 0x140008ca0
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.140008c50
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 0x1400122c0
Capabilities:
Execute shellcode via indirect call
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001ae00
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001ae00
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001b450
call fcn.14001b3a0
nop
nop dword [rax]
Function at 0x140012330
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14087bf74]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400124c0
mov rax, qword [0x14087bf78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001237c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140012405
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140012360
mov rcx, rdi
call fcn.140012e90
test rax, rax
mov r12, rax
je 0x140012512
mov rax, qword [0x14087bf78]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140012fd0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14087bf78]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
add dword [rax - 0x7b], ecx
ror byte [rdi], 0x84
or eax, dword [rcx]
add byte [rax], al
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400123fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140012470
add dword [0x14087bf74], 1
cmp ebx, 8
jae 0x140012431
test bl, 4
jne 0x1400124d0
test ebx, ebx
je 0x140012426
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400124e4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140012426
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001244a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x14087bf78]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400123fe
call qword [0x14087d2c4]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400122c0
xor esi, esi
jmp 0x140012387
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140012426
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140012426
mov rax, qword [0x14087bf78]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400122c0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400122c0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140012e90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14086e750]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140012eff
mov rcx, r9
call fcn.140012d60
test eax, eax
je 0x140012eff
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140012efd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140012ef4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140012eff
add rdx, 0x28
cmp rdx, r9
jne 0x140012ee0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140013bc0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx]
cmp rsi, 8
mov rbx, rcx
ja 0x140013c10
lea rcx, [rdi + 8]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
mov rdx, qword [rbx + 0x18]
mov qword [rax], rax
lea r9, [rax + 8]
mov r8, rdi
test rdx, rdx
je 0x140013c3a
mov rcx, r9
call sub.msvcrt.dll_memcpy
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + rdi + 7]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
lea r9, [rax + rsi + 7]
neg rsi
mov r8, rdi
and r9, rsi
mov qword [r9 - 8], rax
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x140013bf8
mov rcx, r9
xor edx, edx
call fcn.14001b408
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b3a0
nop
nop dword [rax + rax]
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14087c060], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14087c068], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140013cb0
lea rdx, [0x140013b70]
mov ecx, eax
mov dword [0x14087c058], eax
call fcn.14001b570
test eax, eax
jne 0x140013cb8
add rsp, 0x28
ret
call qword [0x14087d2c4]
jmp 0x140013ca7
call fcn.14001b3a0
nop
nop
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14086e620]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140013cf8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140013d60
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x140013d70
call fcn.140013bc0
mov qword [rbx + 0x10], rax
jmp 0x140013ce7
mov r10d, dword [rsi]
test r10d, r10d
je 0x140013e8a
mov r9d, dword [0x140864200]
test r9d, r9d
je 0x140013eb8
lock add dword [0x14087c060], 1
jne 0x140013eec
call 0x140013c60
mov dword [0x140864200], 1
mov edx, dword [rsi]
test edx, edx
jne 0x140013d8c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140013d01
lock add dword [0x140864204], 1
je 0x140013e71
mov r8d, dword [0x140864200]
lea rdi, [0x140864200]
mov rbp, qword [0x14087d334]
test r8d, r8d
jne 0x140013e80
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140013ee0
jmp 0x140013e80
mov rcx, qword [0x14087c068]
mov edx, 0xffffffff
Function at 0x140013c60
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx]
cmp rsi, 8
mov rbx, rcx
ja 0x140013c10
lea rcx, [rdi + 8]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
mov rdx, qword [rbx + 0x18]
mov qword [rax], rax
lea r9, [rax + 8]
mov r8, rdi
test rdx, rdx
je 0x140013c3a
mov rcx, r9
call sub.msvcrt.dll_memcpy
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + rdi + 7]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
lea r9, [rax + rsi + 7]
neg rsi
mov r8, rdi
and r9, rsi
mov qword [r9 - 8], rax
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x140013bf8
mov rcx, r9
xor edx, edx
call fcn.14001b408
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b3a0
nop
nop dword [rax + rax]
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14087c060], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14087c068], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140013cb0
lea rdx, [0x140013b70]
mov ecx, eax
mov dword [0x14087c058], eax
call fcn.14001b570
test eax, eax
jne 0x140013cb8
add rsp, 0x28
ret
call qword [0x14087d2c4]
jmp 0x140013ca7
call fcn.14001b3a0
nop
nop
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14086e620]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140013cf8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140013d60
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x140013d70
call fcn.140013bc0
mov qword [rbx + 0x10], rax
jmp 0x140013ce7
mov r10d, dword [rsi]
test r10d, r10d
je 0x140013e8a
mov r9d, dword [0x140864200]
test r9d, r9d
je 0x140013eb8
lock add dword [0x14087c060], 1
jne 0x140013eec
call 0x140013c60
mov dword [0x140864200], 1
mov edx, dword [rsi]
test edx, edx
jne 0x140013d8c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140013d01
lock add dword [0x140864204], 1
je 0x140013e71
mov r8d, dword [0x140864200]
lea rdi, [0x140864200]
mov rbp, qword [0x14087d334]
test r8d, r8d
jne 0x140013e80
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140013ee0
jmp 0x140013e80
mov rcx, qword [0x14087c068]
mov edx, 0xffffffff
Function at 0x140013cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
mov rdi, qword [rcx]
cmp rsi, 8
mov rbx, rcx
ja 0x140013c10
lea rcx, [rdi + 8]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
mov rdx, qword [rbx + 0x18]
mov qword [rax], rax
lea r9, [rax + 8]
mov r8, rdi
test rdx, rdx
je 0x140013c3a
mov rcx, r9
call sub.msvcrt.dll_memcpy
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + rdi + 7]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140013c52
lea r9, [rax + rsi + 7]
neg rsi
mov r8, rdi
and r9, rsi
mov qword [r9 - 8], rax
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x140013bf8
mov rcx, r9
xor edx, edx
call fcn.14001b408
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b3a0
nop
nop dword [rax + rax]
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14087c060], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14087c068], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140013cb0
lea rdx, [0x140013b70]
mov ecx, eax
mov dword [0x14087c058], eax
call fcn.14001b570
test eax, eax
jne 0x140013cb8
add rsp, 0x28
ret
call qword [0x14087d2c4]
jmp 0x140013ca7
call fcn.14001b3a0
nop
nop
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14086e620]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140013cf8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140013d60
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x140013d70
call fcn.140013bc0
mov qword [rbx + 0x10], rax
jmp 0x140013ce7
mov r10d, dword [rsi]
test r10d, r10d
je 0x140013e8a
mov r9d, dword [0x140864200]
test r9d, r9d
je 0x140013eb8
lock add dword [0x14087c060], 1
jne 0x140013eec
call 0x140013c60
mov dword [0x140864200], 1
mov edx, dword [rsi]
test edx, edx
jne 0x140013d8c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140013d01
lock add dword [0x140864204], 1
je 0x140013e71
mov r8d, dword [0x140864200]
lea rdi, [0x140864200]
mov rbp, qword [0x14087d334]
test r8d, r8d
jne 0x140013e80
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140013ee0
jmp 0x140013e80
mov rcx, qword [0x14087c068]
mov edx, 0xffffffff

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

Disassembly:
lea rcx, [0x140864360]
jmp 0x140013cc0

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

Disassembly:
lea rcx, [0x140864360]
jmp 0x140013cc0
Function at 0x140892601
Capabilities:
Execute shellcode via indirect call

Disassembly:
not dword [rsp + r10*2 + 0x49b6c468]
jle 0x14089f2a0
not r10b
neg r10b
mov r10, qword [rsp + r10 + 0x24db6273]
shr word [rsp + 0x30], 0xca
mov dword [rsp + 0x60], 0xfb976128
jbe 0x1408a35f8

Function at 0x14089260f
Capabilities:
Execute shellcode via indirect call

Disassembly:
ja 0x1409b43e8
mov r15, qword [rsp + 0x30]
jae 0x14098339b
jae 0x1408b05b3
or rbp, rbp
not byte [rsp + 0x38]
jbe 0x14088df73
call fcn.1409162d9
cmp qword [rsp + 0x48], 0xffffffffd832788a
je 0x1409b3381
or qword [rsp + 0x48], 0xffffffffd823bc87
call fcn.140999acd
xchg qword [rsp + 0x60], rcx
mov r9, qword [rsp + 0x40]
xor di, word [rsp + 0x15]
and word [rsp + 0x30], 0x4f2c
test r14, rdi
not dword [rsp + 0x30]
call fcn.14097b5bb

Function at 0x1408971c0
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov rcx, qword [rsp + r8 + 0x2000bcfb]
xor byte [rsp + r8*2 + 0x400179e6], r8b
not word [rsp + r8 + 0x2000bd23]
mov r8b, 8
or qword [rsp + 0x60], rbx
not r14d
neg ebx
xor r14d, 0x770c7e9f
shl dword [rsp + rbx - 0x43548bee], 0x6d
mov rbx, qword [rsp + r8 + 0x2000bd18]
mov byte [rsp + r8*2 + 0x40017a38], 0xa
movsx r14d, r8b
mov qword [rsp + r8*2 + 0x40017a38], 0x36a60085
ja fcn.14095e093
shr dword [rsp + r14*8 + 0x20], 0x88
mov r8, qword [rsp + r8 + 0x2000bd60]
call fcn.14093670e

Function at 0x14089da22
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov rdx, qword [rsp + rdx*8 - 0x680]
lea r8, [rdx + rdx*4 - 0x57696066]
and r8, 0xffffffffc6015d9f
test word [rsp + rbx - 0x92da], 0xf921
movzx dx, byte [rsp + 0xc]
mov r14, qword [rsp + 0x18]
jg 0x14089e46d
jae 0x14093c5a9
mov rbx, qword [rsp + 0x38]
mov rbx, qword [rbx]
and rdi, 0x338214b3
not edi
mov qword [rsp + r8*4 - 0xb78c], r15
sub r15d, dword [rsp + r15 - 0x7b0e164a]
mov r9, qword [rsp + 0x38]
lea rbx, [rbx + r8 - 0x7a629ab6]
cmp r15, qword [rsp + r9 - 0x7b0e164c]
push r15
call fcn.14095a5f4