joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c06bf
Capabilities:
Print debug messages

Disassembly:
jmp 0x140223770
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402a1ff8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140223796
jmp 0x140223813
mov rcx, qword [rbp + 0x30]
call fcn.1400bf96d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1402237af
jmp 0x140223813
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1402237cc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400be086
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400be78e
test eax, eax
jne 0x140223813
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400bfc6a
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400c0a07
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400cf9a0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402a1ff8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
lea rcx, [0x1402c0059]
call fcn.1400c2c3a
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1400c1443
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call fcn.1400bfbca
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call fcn.1400c0755
test eax, eax
je 0x1400cfa32
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call fcn.1400c29fb
test eax, eax
je 0x1400cfa55
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400c1e34
test eax, eax
jne 0x1400cfa10
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400bfc6a
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x1400cfa34
Function at 0x1400c0ef3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e6230
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400e6250
xor al, al
jmp 0x1400e62d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400e6263
xor al, al
jmp 0x1400e62d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400e628d
xor al, al
jmp 0x1400e62d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400e62a1
xor al, al
jmp 0x1400e62d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400e62b3
xor al, al
jmp 0x1400e62d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400e62cf
xor al, al
jmp 0x1400e62d1
mov al, 1
add rsp, 0x38
ret

Function at 0x1400c10a1
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
jmp 0x1400dd660
sub rsp, 0x58
mov rax, qword [0x1402a1ff8]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [0x1402c0059]
call fcn.1400c2c3a
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400dd701
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r9, [0x14024f448]
mov qword [rsp + 0x20], rax
lea rcx, [0x14024f430]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400dd6fb
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp word [rsp + 0x38], 0
je 0x1400dd6f0
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 4]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bfc6a
add rsp, 0x58
ret
Function at 0x1400c16e6
Capabilities:
Stop service

Disassembly:
jmp 0x1400dc620
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1402a1ff8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [0x1402c0059]
call fcn.1400c2c3a
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x1400dc6fa
mov qword [rsp + 0x60], rbx
lea rbx, str.WdFilter
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
lea r14, [0x14024eb80]
mov rdx, qword [rbx]
mov r8d, 0x2c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1400dc6d7
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400dc6c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1400dc6c9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400dc6d7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 1
add rbx, 8
cmp rbx, r14
jl 0x1400dc680
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r14, qword [rsp + 0x70]
mov eax, esi
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bfc6a
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret

Function at 0x1400c1754
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400dc160
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1402a1ff8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
lea rcx, [0x1402c0059]
call fcn.1400c2c3a
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
xor ebx, ebx
call fcn.1400c1443
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rbx + 2]
call fcn.1400bfbca
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call fcn.1400c0755
test eax, eax
je 0x1400dc1f4
nop dword [rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call fcn.1400c29fb
test eax, eax
jne 0x1400dc1e3
inc ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400c1e34
test eax, eax
jne 0x1400dc1d0
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400bfc6a
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400c17d6
Capabilities:
Terminate process

Disassembly:
jmp 0x14015f450
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14015f47e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400c2537
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400c1911
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401f2f30
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401f1f40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401f2f65
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402c1020]
jmp 0x1401f2f6f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x1400c1a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x1400db0c0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1402a1ff8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, r8
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
lea rcx, [0x1402c0059]
call fcn.1400c2c3a
mov rcx, rdi
call fcn.1400bd83e
mov r8, rax
movzx edx, bx
mov rcx, qword [0x1402a49f8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
mov rcx, qword [0x1402a49f8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov rdx, rbx
mov rcx, qword [0x1402a49f8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edx, 0x108
lea rcx, [rsp + 0x40]
call fcn.1400bf4b8
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400c2e38
nop
lea rcx, [rsp + 0x40]
call fcn.1400c0e9e
test al, al
je 0x1400db1a3
mov r8d, ebp
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400c002f
lea rcx, [rsp + 0x40]
call fcn.1400bff30
nop
lea rcx, [rsp + 0x40]
call fcn.1400be6d0
nop
mov rcx, rdi
call fcn.1400be0e0
nop
mov rcx, rsi
call fcn.1400be0e0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bfc6a
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c20a5
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401f2f90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401f1f80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401f2fcf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402c1020]
jmp 0x1401f2fde
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400c25d2
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401f07b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400c2753
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14015dae0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14015d430
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015db29
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402c1020]
jmp 0x14015db38
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400c289d
Capabilities:
Set environment variable

Disassembly:
jmp 0x14022bfd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.1400bf1e3
lea rcx, [rsp + 0x40]
call fcn.1400bf1e3
call fcn.1400c0133
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.1400bee87
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14022c03f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.1400bf7d8
lea rcx, [rsp + 0x70]
call fcn.1400bf7d8
mov eax, dword [rsp + 0x24]
jmp 0x14022c0cc
call fcn.1400c0133
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.1400bee87
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14022c086
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.1400bf7d8
lea rcx, [rsp + 0x70]
call fcn.1400bf7d8
mov eax, dword [rsp + 0x2c]
jmp 0x14022c0cc
lea rcx, [rsp + 0x40]
call fcn.1400bf102
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.1400bf102
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400bf7d8
lea rcx, [rsp + 0x70]
call fcn.1400bf7d8
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret

Function at 0x1400c2933
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140238b60
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, word [rsp + 0x58]
movd xmm0, eax
movdqa xmmword [rsp + 0x20], xmm0
pshuflw xmm0, xmmword [rsp + 0x20], 0
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x20]
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x50]
and rax, 0xfff
cmp rax, 0xff0
ja 0x140238c71
mov rax, qword [rsp + 0x50]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pxor xmm0, xmmword [rsp + 0x10]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
pcmpeqw xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
por xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pmovmskb eax, xmm0
mov dword [rsp], eax
cmp dword [rsp], 0
je 0x140238c61
mov eax, dword [rsp]
bsf eax, eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x140238c51
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
jmp 0x140238c5a
mov qword [rsp + 8], 0
mov rax, qword [rsp + 8]
jmp 0x140238cac
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x140238ca7
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x140238c89
mov rax, qword [rsp + 0x50]
jmp 0x140238cac
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
test eax, eax
jne 0x140238c99
xor eax, eax
jmp 0x140238cac
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x140238b9b
add rsp, 0x48
ret
Function at 0x1400c2bf9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14020f2ec
jmp fcn.1400c2933
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004dfc0]
mov dword [rax], 1
mov rax, qword [0x14004dfd0]
mov dword [rax], 1
mov rax, qword [0x14004dfe0]
mov dword [rax], 1
mov rax, qword [0x14004df70]
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 0x140018f10
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140031720
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140029a80
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140018f69
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x140030400
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 fcn.140041b80
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140041b80
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400310d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140056328]
test eax, eax
je 0x14003116a
lea rax, [0x140056300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140056330]
mov qword [rbp - 8], rax
jmp 0x14003114e
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 0x140031142
cmp qword [rbp - 0x10], 0
je 0x140031142
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 0x140031108
lea rax, [0x140056300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003116b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140031270
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 0x140031298
mov eax, 0
jmp 0x1400312e6
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 0x1400312c1
mov eax, 0
jmp 0x1400312e6
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 0x1400312e1
mov eax, 0
jmp 0x1400312e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400312ec
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 0x14003136a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140031361
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 0x140031361
mov rax, qword [rbp - 8]
jmp 0x14003137f
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 0x140031334
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002750
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x14018de48]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400b3d90
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x14018de48]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400028e0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1400028fc
cmp rcx, r8
jl 0x1400028ef
mov qword [rdx + 0x80], rcx
test dword [0x1401855c8], 1
je 0x14000292b
cmp byte [rsp + 0xd0], 0
je 0x14000292b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140002450
mov rsp, r8
jmp rax