joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180061ce0
Capabilities:
Resume thread

Disassembly:
xor ecx, ecx
jmp 0x180061ce0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x18007c1a0], esi
je 0x180061d31
cmp rbx, 0x20
jae 0x180061d1a
xor ecx, ecx
jmp 0x180061d1c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18007c1a0], esi
jne 0x180061d10
cmp qword [0x18007c1a8], r14
mov qword [rsp + 0x58], r13
je 0x180061ecd
mov ecx, dword [0x18007c7cc]
mov ebx, r15d
test ecx, ecx
je 0x180061d6f
mov rdx, qword [0x18007c7c0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180061d7a
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180061d60
mov r14d, 4
jmp 0x180061ed3
cmp ebx, 0xffffffff
je 0x180061d6f
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180061e2b
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800617e0
xor edx, edx
mov ecx, ebx
call fcn.1800616b0
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180061e1b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x180061e07
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180061df8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180061dd0
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18007c1a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180061ed3
mov rdx, qword [0x18007c7c0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180060940
mov ecx, dword [0x18007c7cc]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x180061e7f
imul rcx, rax, 0x38
mov rax, qword [0x18007c7c0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x18007c7cc]
mov edx, dword [0x18007c7c8]
dec ecx
mov eax, edx
mov dword [0x18007c7cc], ecx
shr eax, 1
cmp eax, 0x20
jb 0x180061ed3
cmp eax, ecx
jb 0x180061ed3
mov r8, qword [0x18007c7c0]
mov eax, edx
mov rcx, qword [0x18007c1a8]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180061ed3
shr dword [0x18007c7c8], 1
mov qword [0x18007c7c0], rax
jmp 0x180061ed3
mov r14d, 2
xchg dword [0x18007c1a0], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1800620b0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18006211f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180062108
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800620fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800620d0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18007c1a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140046250
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140098720]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14004628b
xor al, al
jmp 0x1400463c9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x14007e010]
movdqu xmmword [rsp + 0x48], xmm1
xor r14d, r14d
mov word [rsp + 0x38], r14w
lea r9, [rsp + 0x38]
call fcn.140045de0
test al, al
je 0x1400462d4
cmp byte [rsp + 0xb0], r14b
je 0x1400462e4
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140004720
test al, al
jne 0x140046329
cmp byte [rsi], 0
je 0x14004632d
mov byte [rsi + 1], 1
mov bl, 1
jmp 0x140046374
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400462f1
mov rcx, qword [rbx]
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rbx + 0x10]
jne 0x1400462d4
test rdx, rdx
je 0x140046329
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400462d4
add rcx, 2
sub rdx, 1
jne 0x140046315
mov bl, 1
jmp 0x140046374
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14004633b
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140046345
mov rdi, qword [rdi]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140046372
mov bl, 1
jmp 0x140046374
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400463b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400463ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400463e1
call fcn.140046df0
movdqa xmm0, xmmword [0x14007e010]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
movzx eax, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140046d90
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14004b0f4
int3

Function at 0x14005208c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140051df0

Function at 0x180001210
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
sub edx, 1
je 0x18000121e
cmp edx, 1
jne 0x18000123d
xor eax, eax
lea r8, [0x180001070]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400010af
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401dcec0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401dc020
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401dcef9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401dcf03
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x140001203
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401d7a90
mov rax, rcx
neg rcx
test rax, 7
je 0x1401d7aad
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401d7b08
test al, 7
jne 0x1401d7aa0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401d7ac1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401d7b32
test dh, dh
je 0x1401d7b2c
shr rdx, 0x10
test dl, dl
je 0x1401d7b26
test dh, dh
je 0x1401d7b20
shr rdx, 0x10
test dl, dl
je 0x1401d7b1a
test dh, dh
je 0x1401d7b14
shr edx, 0x10
test dl, dl
je 0x1401d7b0e
test dh, dh
jne 0x1401d7ac1
lea rax, [rcx + rax - 1]
ret
lea rax, [rcx + rax - 2]
ret
lea rax, [rcx + rax - 3]
ret
lea rax, [rcx + rax - 4]
ret
lea rax, [rcx + rax - 5]
ret
lea rax, [rcx + rax - 6]
ret
lea rax, [rcx + rax - 7]
ret
lea rax, [rcx + rax - 8]
ret
Function at 0x140001541
Capabilities:
Terminate process

Disassembly:
jmp 0x1401645f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140001749
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401dcf20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401dc060
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401dcf63
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401dcf72
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140001b40
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401edab0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401edb9a
mov rsi, rax
cmp word [rax], r14w
je 0x1401edb03
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401edaeb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401edae7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1401edb9a
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.140001c30
mov rdi, rax
test rax, rax
je 0x1401edb88
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1401edb88
mov rsi, rdi
mov rdi, r14
jmp 0x1401edb8b
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.140002c2f
jmp 0x1401edb9d
mov rsi, r14
test rbx, rbx
je 0x1401edbab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400022a7
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401e0d30
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 0x140002531
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140170260
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14016fb70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14017029f
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 [0x1402f3010]
jmp 0x1401702ae
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140002905
Capabilities:
Parse pe header

Disassembly:
jmp 0x140162920
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140162940
xor al, al
jmp 0x1401629c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140162953
xor al, al
jmp 0x1401629c1
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 0x14016297d
xor al, al
jmp 0x1401629c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140162991
xor al, al
jmp 0x1401629c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401629a3
xor al, al
jmp 0x1401629c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401629bf
xor al, al
jmp 0x1401629c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002c02
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14020cd30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402e35b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x14020cd7b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x14020cda7
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x14020cd96
jmp 0x14020cd9b
call fcn.1400041ec
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x14020cd71
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x14020cdfc
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x14020cda7
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x14020ce4a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x14020ce3b
mov rax, qword [rsp + 0x28]
jmp 0x14020ce4c
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14020cdfc
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140003b43
add rsp, 0x78
ret

Function at 0x140002c0c
Capabilities:
Terminate process

Disassembly:
jmp 0x140181f30
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 sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140181f5d
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140002d74
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 0x140002db5
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140170200
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14016fb30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140170235
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402f3010]
jmp 0x14017023f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x140002e7d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401dce00
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401dbfa0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401dce3b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401dce41
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x140003017
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401dd160
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401dc220
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401dd1b7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401dd1d9
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140004115
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x38
ret
Function at 0x14000424b
Capabilities:
Clear file content

Disassembly:
jmp 0x140213b50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov r8d, 1
xor edx, edx
mov ecx, dword [rsp + 0x90]
call fcn.140001b2c
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140213b8d
call fcn.140003bd9
mov eax, dword [rax]
jmp 0x140213db8
mov r8d, 2
xor edx, edx
mov ecx, dword [rsp + 0x90]
call fcn.140001b2c
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140213bba
call fcn.140003bd9
mov eax, dword [rax]
jmp 0x140213db8
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x140213d1c
mov dword [rsp + 0x20], 0x35
lea r9, str.minkernelcrtsucrt_src_appcrtlowiochsize.cpp
mov r8d, 2
mov edx, 1
mov ecx, 0x1000
call fcn.140003bac
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000351c
lea rcx, [rsp + 0x40]
call fcn.1400030e4
movzx eax, al
test eax, eax
jne 0x140213c49
call fcn.140003bd9
mov dword [rax], 0xc
call fcn.140003bd9
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x40]
call fcn.140003927
mov eax, dword [rsp + 0x50]
jmp 0x140213db8
mov edx, 0x8000
mov ecx, dword [rsp + 0x90]
call fcn.140001730
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x30], 0x1000
jl 0x140213c73
mov dword [rsp + 0x3c], 0x1000
jmp 0x140213c7b
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x40]
call fcn.1400023d3
mov r8d, dword [rsp + 0x54]
mov rdx, rax
mov ecx, dword [rsp + 0x90]
call fcn.1400015c8
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x140213cdf
call fcn.14000100f
cmp dword [rax], 5
jne 0x140213cc1
call fcn.140003bd9
mov dword [rax], 0xd
call fcn.140003bd9
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x40]
call fcn.140003927
mov eax, dword [rsp + 0x4c]
jmp 0x140213db8
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jg 0x140213c5e
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x90]
call fcn.140001730
lea rcx, [rsp + 0x40]
call fcn.140003927
jmp 0x140213d93
cmp qword [rsp + 0x30], 0
jge 0x140213d93
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x90]
call fcn.140001b2c
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x140213d51
call fcn.140003bd9
mov eax, dword [rax]
jmp 0x140213db8
mov ecx, dword [rsp + 0x90]
call fcn.140003ba2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140213d93
call fcn.140003bd9
mov dword [rax], 0xd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
call fcn.14000100f
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
call fcn.140003bd9
mov eax, dword [rax]
jmp 0x140213db8
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x90]
call fcn.140001b2c
cmp rax, 0xffffffffffffffff
jne 0x140213db6
call fcn.140003bd9
mov eax, dword [rax]
jmp 0x140213db8
xor eax, eax
add rsp, 0x88
ret
Function at 0x14000431d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140170140
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14016fab0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140170177
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402f3010]
jmp 0x14017017d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x1401e0770
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call fcn.14000441c
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1401e07c4
cmp qword [rsp + 0x90], 0
je 0x1401e07b1
lea rcx, [rsp + 0x90]
call fcn.1400022a7
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1401e07c4
mov eax, 4
jmp 0x1401e0952
call fcn.14000129e
movzx eax, al
test eax, eax
jne 0x1401e07f5
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1401e07e4
mov dword [rsp + 0x34], 4
jmp 0x1401e07ec
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x34]
jmp 0x1401e0952
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1401e08e1
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [0x1401e0c90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400039b3
lea rcx, [rsp + 0x38]
call fcn.140003d41
movzx eax, al
test eax, eax
jne 0x1401e088f
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x38]
call fcn.14000281f
mov eax, dword [rsp + 0x4c]
jmp 0x1401e0952
lea rcx, [rsp + 0x38]
call fcn.14000390e
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x1401e08c9
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x38]
call fcn.14000281f
mov eax, dword [rsp + 0x44]
jmp 0x1401e0952
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.14000281f
mov eax, dword [rsp + 0x40]
jmp 0x1401e0952
call fcn.140003346
movzx eax, al
test eax, eax
jne 0x1401e0926
mov eax, dword [rsp + 0xa0]
bts eax, 0x15
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140001c08
jmp 0x1401e0952
call fcn.1400016db
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140001b59
add rsp, 0x88
ret

Function at 0x140002118
Capabilities:
Parse pe header

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