joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140ab26e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x140ab270d
xor al, al
jmp 0x140ab286f
mov rax, qword [0x140ad36c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140ad36c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140ad36d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140ad36d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140ad36e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140ad36e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140ad36f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140ad36f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140ad3700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140ab2861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140ab27b9
mov r11d, 2
jmp 0x140ab27dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140ab27d3
mov r11d, 1
jmp 0x140ab27dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140ab2885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140ab2822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x140ab283a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x140ab284a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140ab2858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140ab27a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x140ab286a
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 [0x140876660], 0
jne 0x140001ffd
mov byte [0x1408766fa], 1
mov eax, 0
lea rcx, [0x140876680]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x3d
jne 0x140001fd7
mov byte [0x140876660], 1
lea rcx, [0x14000168a]
call fcn.1400014f0
lea rax, [0x140876680]
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 [0x1408762e8], 0
jne 0x1400022c1
mov byte [0x140876304], 1
mov eax, 0
lea rcx, [0x1408762f0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x14
jne 0x14000229c
mov byte [0x1408762e8], 1
lea rcx, [0x1400017bd]
call fcn.1400014f0
lea rax, [0x1408762f0]
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 [0x140876288], 0
jne 0x14000237c
mov byte [0x1408762a5], 1
mov eax, 0
lea rcx, [0x140876290]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x15
jne 0x140002357
mov byte [0x140876288], 1
lea rcx, [0x140001805]
call fcn.1400014f0
lea rax, [0x140876290]
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 [0x1408761d8], 0
jne 0x14000242c
mov byte [0x1408761f3], 1
mov eax, 0
lea rcx, [0x1408761e0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x13
jne 0x140002407
mov byte [0x1408761d8], 1
lea rcx, [0x1400018ad]
call fcn.1400014f0
lea rax, [0x1408761e0]
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 [0x140876180], 0
jne 0x1400024eb
mov byte [0x1408761a6], 1
mov eax, 0
lea rcx, [0x140876190]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x1400024c6
mov byte [0x140876180], 1
lea rcx, [0x1400018f5]
call fcn.1400014f0
lea rax, [0x140876190]
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 [0x140876148], 0
jne 0x1400025ab
mov byte [0x140876166], 1
mov eax, 0
lea rcx, [0x140876150]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x140002586
mov byte [0x140876148], 1
lea rcx, [0x140001925]
call fcn.1400014f0
lea rax, [0x140876150]
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 [0x1408759a0], 0
jne 0x140002915
mov byte [0x140875a14], 1
mov eax, 0
lea rcx, [0x1408759c0]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x2a
jne 0x1400028ef
mov byte [0x1408759a0], 1
lea rcx, [0x140001a8a]
call fcn.1400014f0
lea rax, [0x1408759c0]
add rsp, 0x88
ret
Function at 0x140002a6d
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 0x140002be1
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x140876bc1]
jmp 0x140002ad3
mov byte [0x140876bc1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x140876ba0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140002be1
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x83
mov byte [rsp + 0x21], 0x7a
mov byte [rsp + 0x22], 0x8b
mov byte [rsp + 0x23], 0x81
mov byte [rsp + 0x24], 0x76
mov byte [rsp + 0x25], 0x79
mov byte [rsp + 0x26], 0x7b
mov byte [rsp + 0x27], 0x87
mov byte [rsp + 0x28], 0x81
mov byte [rsp + 0x29], 0x85
mov byte [rsp + 0x2a], 0x8d
mov byte [rsp + 0x2b], 0x7c
mov byte [rsp + 0x2c], 0x7a
mov byte [rsp + 0x2d], 0x7e
mov byte [rsp + 0x2e], 0x79
mov byte [rsp + 0x2f], 0x89
mov byte [rsp + 0x30], 0x86
mov byte [rsp + 0x31], 0x8c
mov byte [rsp + 0x32], 0x7c
mov byte [rsp + 0x33], 0x8c
mov byte [rsp + 0x34], 0x74
mov byte [rsp + 0x35], 0x83
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x7d
mov byte [rsp + 0x38], 0x8d
mov byte [rsp + 0x39], 0x7a
mov byte [rsp + 0x3a], 0x7f
mov byte [rsp + 0x3b], 0x78
mov byte [rsp + 0x3c], 0x7b
mov byte [rsp + 0x3d], 0x75
mov byte [rsp + 0x3e], 0x84
mov byte [rsp + 0x3f], 0x81
mov byte [rsp + 0x40], 0x13
cmp byte [0x140876b80], 0
jne 0x140002bbc
mov byte [0x140876bc1], 1
mov eax, 0
lea rcx, [0x140876ba0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140002b9b
mov byte [0x140876b80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x140876bc1], 0
je 0x140002aa5
lea rax, [0x140876ba0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140002bd0
jmp 0x140002a9e
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400086e0
Capabilities:
Parse pe header

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

Function at 0x140008d90
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.140008d40
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 0x140012420
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140876f74]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400125b0
mov rax, qword [0x140876f78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001246c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400124f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140012450
mov rcx, rdi
call fcn.140012f80
test rax, rax
mov r12, rax
je 0x140012602
mov rax, qword [0x140876f78]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400130c0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140876f78]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400125e5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400124ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140012560
add dword [0x140876f74], 1
cmp ebx, 8
jae 0x140012521
test bl, 4
jne 0x1400125c0
test ebx, ebx
je 0x140012516
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400125d4
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 0x140012516
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 0x14001253a
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 [0x140876f78]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400124ee
call qword [0x1408782c4]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400123b0
xor esi, esi
jmp 0x140012477
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140012516
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140012516
mov rax, qword [0x140876f78]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400123b0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400123b0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140012f80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140869750]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140012fef
mov rcx, r9
call fcn.140012e50
test eax, eax
je 0x140012fef
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 0x140012fed
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 0x140012fe4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140012fef
add rdx, 0x28
cmp rdx, r9
jne 0x140012fd0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140013cb0
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 0x140013d00
lea rcx, [rdi + 8]
call fcn.14001b4e8
test rax, rax
je 0x140013d42
mov rdx, qword [rbx + 0x18]
mov qword [rax], rax
lea r9, [rax + 8]
mov r8, rdi
test rdx, rdx
je 0x140013d2a
mov rcx, r9
call fcn.14001b4f0
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + rdi + 7]
call fcn.14001b4e8
test rax, rax
je 0x140013d42
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 0x140013ce8
mov rcx, r9
xor edx, edx
call fcn.14001b4f8
mov r9, rax
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b490
nop
nop dword [rax + rax]
Function at 0x14001d490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14085f160]
jmp 0x140013db0

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

Disassembly:
lea rcx, [0x14085f160]
jmp 0x140013db0

Function at 0x140888d42
Capabilities:
Set thread local storage value

Disassembly:
and eax, 0x13e714b
pop rsi
nop
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]
jae 0x14001b588
mov r9w, 0x8214
sets r9b
lea rax, [rax + 1]
movsx r9w, r9b
push r9
neg qword [rsp]
ja 0x140959c8a
call fcn.140982b36
ret
sub esi, dword [rbx]
jg 0x140959c1b
movabs byte [0x21eb1f1dd3c0a916], al
invalid
mov rdx, qword [rsp + 0x28]
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rbp
je 0x140883bf0
add eax, 0xb2a1ebb7
jo 0x140959c3c
movabs byte [0xe937a1d09186dcdc], al
movabs rsi, 0x11e8704874be8c1c
cmpsb byte [rsi], byte [rdi]
stc
add al, 0x11
sar dword [rbx - 0x19], 0xc1
mov ebx, 0xe7d2f997
stosb byte [rdi], al
sub ah, al
add al, 0xa
int3
Function at 0x140922fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r15, [r15 + r11*2 - 0x13fa2af6]
setbe r15b
mov byte [rsp + 0x40], 0x90
xchg qword [rsp + 0x98], rdx
mov r13, qword [rsp + 0x90]
call fcn.14094b110
cmp r8, 0xffffffff8fa52c3d
lea rax, [rax + 0x4982238a]
jns 0x140963eb7
mov r15b, r8b
bswap r8d
js 0x140927406
cmp dword [rsp + 0x30], 0x1e0b2892
jbe 0x1409b2574
mov qword [rsp + 0x18], r15
xchg qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x10]
shr qword [rsp + r8 - 0x48f847b], cl
call fcn.140905332
lea rcx, [rcx + rcx*8 + 0x3a09ad8e]
jbe 0x14097134b
lea rdx, [r12 + r12*2 + 0x679dcdb1]
movabs rax, 0x1d95ef34f42d8a09
or edx, 0x51eb985
neg al
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + r12*4 - 0x122f3c4]
ja 0x14089d38e
mov qword [rsp + rdx - 0x6d7ebd75], rdx
jb 0x140971dd1
not cl
setae cl
and ecx, 0x8cb94e16
call fcn.1409b0dbc
mov rcx, qword [rsp + 0x40]
shr qword [rsp + 0x30], 0xd3
not qword [rsp + 0x30]
call fcn.140885aff
push rbx
movabs r12, 0xcab3812a49bd8b97
call fcn.140977dcf

Function at 0x1409314c8
Capabilities:
Encode data using xor

Disassembly:
push r13
mov qword [rsp + 0x50], rdx
jne 0x1409a7c5c
xor qword [rsp + 0x28], 0x56b7cf11
add dword [rsp + 0x28], 0xa3904139
call fcn.1408975d0

Function at 0x140995e4a
Capabilities:
Encode data using xor

Disassembly:
push rdx
movabs rdx, 0xac9da58a0ba77eaf
pushfq
cmp dx, 0xfb2f
jae 0x1409bc471
bswap rdx
xchg qword [rsp + 0x10], rdi
lea rdx, [rdx + rdx*4 + 0x119a458a]
shr dx, 0xf8
push r15
movabs r15, 0x7ab7dd0ba3a4cf0d
not rdx
mov rdx, qword [rsp + 0x10]
mov qword [rsp + 0x10], rdi
xor r15, r15
push rdi
jbe 0x1409a9c55
jb 0x140952c5a
call fcn.1409032bf
mov rdi, r15
or rdi, 0x308e97a4
jg 0x1408f45cc
adc r10b, r11b
add dword [rax], edx
invalid

Function at 0x1409a2787
Capabilities:
Set thread local storage value

Disassembly:
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 8]
call fcn.140888d6c
push rdi
push r15
movabs rdi, 0xe431373279046d3c
mov rbx, qword [rsp + 0x28]
push r10
mov r15, rdi
call fcn.140921921
jg 0x140888c82

Function at 0x1409bdfed
Capabilities:
Encode data using xor

Disassembly:
add bx, 0xef36
mov bx, 0x2e1b
add qword [rsp], 0xfffffffffff4a146
call fcn.1409667d6
adc byte [rsi + 0x122a5c9e], r11b
cmp byte [rdi - 0x1e], bh
xlatb
outsd dx, dword gs:[rsi]
lahf
sahf
outsb dx, byte [rsi]
int1
sub dword [rdi - 4], 0xaf9d0d8b
sbb dword [rcx - 0x61], esp
test byte [rcx], ch
or al, 0x86
push 0x5c
mov ds, edx
sbb dl, byte [rbx - 0x6f]
or eax, 0x20f4e410
add edx, dword [rbp + 0x2a]
pop rdi
fbstp tbyte [rbp + 0x65]
xor dword [rdx], ebp
adc dword [rsi + 0x7be7d82c], edx
fidivr word [rcx - 0x73879a36]
add al, 0xbf
mov eax, 0xd2217fd4
and esi, ebp
pop rax
sbb al, 0xf2
pushfq
xchg esp, eax
cmc
invalid

Function at 0x1409bfba9
Capabilities:
Encode data using xor

Disassembly:
call fcn.14094fbd6
stosb byte [rdi], al
add ch, byte [rcx - 0x6c]
add ecx, 0xc3415f4b
out 0x69, eax
invalid
Function at 0x1413ee10d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
rcl r11w, cl
mov bx, r12w
mov qword [rsp + 0x10], rdi
sub edi, edi
movzx ebx, r8b
movsx r11w, r11b
mov r11, rcx
movsx r10d, dx
inc r8
cmovle r9, rbp
mov r8, rdi
bswap r10d
movzx r9w, r12b
not r10w
nop
movsx r10d, bp
inc r9b
movsxd r9, r10d
movzx r9d, byte [r11]
movzx r10w, r10b
inc r10b
movzx r10d, byte [rdx]
jmp 0x1413ee167
inc r11
jmp 0x1413ee16f
inc rdx
test bl, bl
jmp 0x1413ee179
je 0x1413ee1a5
mov ecx, r8d
mov eax, 0x14145736
cmc
rol eax, cl
clc
cmp r13w, 0x880f
add al, r8b
cmp r11, r9
xor r9b, al
jmp 0x1413ee19f
inc r8
cmp dh, 0x92
test r9b, r9b
jmp 0x1413ee1ad
je 0x1413ee1bc
cmp r9b, r10b
je 0x1413ee152
cmp r9b, r10b
jmp 0x1413ee1c4
jae 0x1413ee1e4
or eax, 0xffffffff
cmovl ebx, ebp
movsx bx, ah
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
jmp 0x1413ee1e3
ret
mov rbx, qword [rsp + 8]
cbw
bswap ax
seta dil
nop
jmp 0x1413ee1f9
mov eax, edi
movsxd rdi, r13d
jmp 0x1413ee207
mov rdi, qword [rsp + 0x10]
jmp 0x1413ee211
ret
Function at 0x140001210
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x20
xor eax, eax
lea rdi, [0x1400056c0]
mov ecx, 0x28
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rdx, [0x1400056c0]
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
je 0x1400012a4
mov qword [rsp + 0x30], rbx
lea rbx, [0x140003694]
nop dword [rax]
test byte [0x1400056ce], 4
je 0x140001285
mov edx, dword [0x1400056c8]
xor eax, eax
mov rdi, qword [0x1400056c0]
test rdx, rdx
je 0x140001285
nop dword [rax]
mov rcx, rax
and ecx, 1
movzx ecx, byte [rcx + rbx]
xor byte [rax + rdi], cl
inc rax
cmp rax, rdx
jb 0x140001270
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rdx, [0x1400056c0]
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
jne 0x140001250
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400023a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400023ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400023ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400023ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400023ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400023ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400023f0
xor al, al
add rsp, 0x28
ret