joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [0x1400044a5]
mov qword [rsp + 0x35], rax
mov eax, dword [0x1400044ad]
mov dword [rsp + 0x3d], eax
mov ax, word [0x1400044b1]
mov word [rsp + 0x41], ax
mov al, byte [0x1400044b3]
mov byte [rsp + 0x43], al
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x35]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1400022a4
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov rcx, qword [rsp + 0x48]
movzx ecx, word [rcx + 0x14]
add rax, rcx
movsxd rcx, dword [rsp + 0x44]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
lea rdx, str..text
call sym.strcmp
cmp eax, 0
jne 0x14000228f
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 0xc]
add rcx, rdx
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 8]
mov r8d, 0x40
lea r9, [rsp + 0x5c]
call rax
cmp dword [rsp + 0x5c], 0
jne 0x140002211
mov dword [rsp + 0x74], 0xffffffff
jmp 0x1400022ac
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
add rcx, rax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
mov r8d, eax
call sym.memcpy
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 0xc]
add rcx, rdx
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 8]
mov r8d, dword [rsp + 0x5c]
lea r9, [rsp + 0x5c]
call rax
cmp dword [rsp + 0x5c], 0
jne 0x140002282
mov dword [rsp + 0x74], 0xffffffff
jmp 0x1400022ac
mov dword [rsp + 0x74], 0
jmp 0x1400022ac
jmp 0x140002294
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
jmp 0x14000217a
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rsp + 0x74]
add rsp, 0x78
ret

Function at 0x140002a60
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call sym.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
mov ecx, 2
call sym.__acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call dbg.vfprintf
call sym.abort
int3
Function at 0x140003320
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
xor edi, edi
cmp rax, 8
ja 0x14000339f
mov rax, qword [0x140004008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000339f
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000339d
add rax, rcx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x14000339d
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x14000339d
movzx ecx, word [rax + 0x14]
lea rdi, [rcx + rax]
add rdi, 0x18
nop dword [rax]
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.strncmp
test eax, eax
je 0x14000339f
add rdi, 0x28
dec ebx
jne 0x140003380
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400033b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140004008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000341c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000341c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000341c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000341c
sub rcx, qword [0x140004008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140003408
add rax, 0x28
dec edx
je 0x14000341c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140003400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140003400
jmp 0x14000341e
xor eax, eax
ret

Function at 0x140003420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140004008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140003455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140003455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140003455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400034d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400034fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400034fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400034fe
xor eax, eax
ret

Function at 0x140003590
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x140004008]
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x14000362d
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x14000362d
add rax, rdx
movzx r8d, word [rax + 0x18]
cmp r8d, 0x20b
jne 0x14000362d
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x14000362d
movzx r9d, word [rax + 6]
test r9, r9
je 0x14000362d
movzx r10d, word [rax + 0x14]
shl r9, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x140003609
add r11, 0x28
cmp r9d, r11d
je 0x14000362f
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x140003600
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x140003600
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x140003651
jmp 0x14000364c
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x140003651
cmp dword [rdx], 0
je 0x14000362f
test ecx, ecx
jg 0x140003640
mov eax, dword [rdx]
add rax, qword [0x140004008]
jmp 0x14000362f
Function at 0x2fc4d1870
Capabilities:
Write file on windows

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

Function at 0x2fc4d2272
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d230a
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d22ee
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 0x2fc4d22e2
cmp qword [rbp - 0x10], 0
je 0x2fc4d22e2
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 0x2fc4d22a8
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d230b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2410
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 0x2fc4d2438
mov eax, 0
jmp 0x2fc4d2486
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 0x2fc4d2461
mov eax, 0
jmp 0x2fc4d2486
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 0x2fc4d2481
mov eax, 0
jmp 0x2fc4d2486
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d248c
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 0x2fc4d250a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2501
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 0x2fc4d2501
mov rax, qword [rbp - 8]
jmp 0x2fc4d251f
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 0x2fc4d24d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5d50
Capabilities:
Write file on windows

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

Function at 0x2fc4d6752
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f9108]
test eax, eax
je 0x2fc4d67ea
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f9110]
mov qword [rbp - 8], rax
jmp 0x2fc4d67ce
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 0x2fc4d67c2
cmp qword [rbp - 0x10], 0
je 0x2fc4d67c2
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 0x2fc4d6788
lea rax, [0x2fc4f90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d67eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d68f0
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 0x2fc4d6918
mov eax, 0
jmp 0x2fc4d6966
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 0x2fc4d6941
mov eax, 0
jmp 0x2fc4d6966
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 0x2fc4d6961
mov eax, 0
jmp 0x2fc4d6966
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d696c
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 0x2fc4d69ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d69e1
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 0x2fc4d69e1
mov rax, qword [rbp - 8]
jmp 0x2fc4d69ff
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 0x2fc4d69b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x141cbf058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141cbf1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141cbf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141cbf06f
add dl, dl
jne 0x141cbf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141cbf0f6
xor eax, eax
add dl, dl
jne 0x141cbf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141cbf1ad
add dl, dl
jne 0x141cbf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141cbf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141cbf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141cbf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141cbf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141cbf07e
mov eax, 1
add dl, dl
jne 0x141cbf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141cbf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141cbf0fb
sub eax, ebx
mov ebx, 1
jne 0x141cbf14c
mov ecx, 1
add dl, dl
jne 0x141cbf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141cbf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141cbf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141cbf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141cbf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141cbf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141cbf15d
cmp eax, 0x7d00
jae 0x141cbf19b
cmp eax, 0x500
jb 0x141cbf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141cbf07e
cmp eax, 0x7f
ja 0x141cbf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141cbf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141cbf1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141cbf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d8600
Capabilities:
Write file on windows

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

Function at 0x2fc4d9002
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fb108]
test eax, eax
je 0x2fc4d909a
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fb110]
mov qword [rbp - 8], rax
jmp 0x2fc4d907e
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 0x2fc4d9072
cmp qword [rbp - 0x10], 0
je 0x2fc4d9072
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 0x2fc4d9038
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d909b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d91a0
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 0x2fc4d91c8
mov eax, 0
jmp 0x2fc4d9216
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 0x2fc4d91f1
mov eax, 0
jmp 0x2fc4d9216
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 0x2fc4d9211
mov eax, 0
jmp 0x2fc4d9216
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d921c
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 0x2fc4d929a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d9291
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 0x2fc4d9291
mov rax, qword [rbp - 8]
jmp 0x2fc4d92af
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 0x2fc4d9264
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140042490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400424a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140022270
jmp 0x14000123c
mov rax, qword [0x1400424a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400424a0]
mov dword [rax], 1
mov rax, qword [0x1400424e0]
mov rdx, rax
mov rax, qword [0x1400424d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140046024], 1
mov rax, qword [0x1400424a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400424c0]
mov rdx, rax
mov rax, qword [0x1400424b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400424a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140042490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400423e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400423e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400214f8
mov rax, qword [0x140042520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140042480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140020cf0
mov eax, dword [0x140046004]
lea rdx, [0x140046008]
mov ecx, eax
call fcn.14000147c
call fcn.140020a87
mov rax, qword [0x140042410]
mov rax, qword [rax]
mov rdx, qword [0x140046010]
mov qword [rax], rdx
mov rcx, qword [0x140046010]
mov rdx, qword [0x140046008]
mov eax, dword [0x140046004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14004601c], eax
mov eax, dword [0x140046020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14004601c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140046024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14004601c]
add rsp, 0x70
pop rbp
ret