joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x100117eb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x100117eb
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x10011806
cmp eax, 0x42
jne 0x100117eb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x100118b6
cmp byte [r8 + r11], 0x5f
jne 0x100118b6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1001191e
mov rcx, rsi
xor edx, edx
call fcn.1000cce0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1000cce0
test al, al
jne 0x100119b1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x10011842
lea rdx, [0x104aaed3]
mov r8d, 1
call fcn.10007630
test al, al
jne 0x100119b1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x100117fa
xor r14d, r14d
lea rbx, [0x104ab241]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x10011874
cmp byte [rax + rcx], 0x45
je 0x100119da
sub r14, 1
jb 0x10011899
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x10011899
mov r8d, 2
mov rdx, rbx
call fcn.10007630
test al, al
jne 0x100119b1
mov rcx, rsi
call fcn.1000e580
test al, al
jne 0x100119b1
mov rax, qword [rsi]
test rax, rax
jne 0x10011860
jmp 0x100117fa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x10011978
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x10011912
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x100118fc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x100118eb
add dl, 0xa9
jmp 0x100118fa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x10011978
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x10011978
movzx edx, bl
add rax, rdx
jae 0x100118c0
jmp 0x10011978
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x10011978
cmp rax, rcx
jae 0x10011975
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x100119b9
cmp qword [rsi + 0x20], 0
je 0x100119d3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.10011790
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x100117fc
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x100119c8
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x104ab220]
test r9b, r9b
cmovne rdx, rax
call fcn.10007630
test al, al
je 0x100119c8
mov dil, 2
jmp 0x100117fa
mov dil, 1
xor r9d, r9d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x10011983
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x100117fa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x100117fa
Function at 0x10014da0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x10014e25
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x10014e66
cmp dword [rsp + 0x2c], 0
je 0x10014e4a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x10014e80
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x104b80d8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x104b80d8], rsi
jne 0x10014e00
mov byte [0x104b80d0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x10014e5c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x10014ecc
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x10014e4f
mov edi, dword [rsp + 0x28]
jmp 0x10014e5c
mov edi, dword [rsi + 0x18]
jmp 0x10014e5a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.10015330
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x104adc48]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.10006bf0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x104adc48]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.10015380
ud2
Function at 0x10014f10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov ecx, dword [0x10046090]
test ecx, ecx
je 0x10014f40
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x10014f59
mov rsi, rax
cmp qword [rax + 8], 0
je 0x10014f59
add rsi, 0x10
jmp 0x1001501d
lea rcx, [0x10046078]
call fcn.10014da0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x10014f2d
mov ecx, dword [0x10046090]
test ecx, ecx
je 0x10015040
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1001505d
mov rdi, rax
test rax, rax
jne 0x10014fee
movzx eax, byte [0x104b8120]
mov rcx, qword [0x104b80c8]
test rcx, rcx
jne 0x10014fab
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1001507c
mov rcx, rax
mov qword [0x104b80c8], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1001507c
mov rdi, rax
lea rax, [0x10046078]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x10046090]
test ecx, ecx
je 0x10015069
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
lea rsi, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 8], 0
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], 0
je 0x1001501d
test rcx, rcx
je 0x1001501d
lock dec qword [rcx]
jne 0x1001501d
call fcn.10014d40
mov rdi, qword [rsi]
test rdi, rdi
jne 0x10015036
call fcn.100143b0
mov rdi, rax
cmp qword [rsi], 0
jne 0x1001508d
mov qword [rsi], rdi
lock inc qword [rdi]
jg 0x1001505f
ud2
lea rcx, [0x10046078]
call fcn.10014da0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x10014f78
xor edi, edi
mov rax, rdi
add rsp, 0x58
pop rdi
pop rsi
ret
lea rcx, [0x10046078]
call fcn.10014da0
mov ecx, eax
jmp 0x10014fe6
mov ecx, 8
mov edx, 0x18
call fcn.100064a0
ud2
lea rax, str.reentrant_init
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, [0x104adc48]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srccellonce.rs
lea rcx, [rsp + 0x28]
call fcn.10006bf0
ud2
Function at 0x10016eb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x10046070]
test ecx, ecx
je 0x10016edd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x10016ef6
cmp qword [rax + 8], 0
je 0x10016ef6
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x10046058]
call fcn.10014da0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x10016ecc
mov ecx, dword [0x10046070]
test ecx, ecx
je 0x10016fa1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x10016fbe
mov rsi, rax
test rax, rax
jne 0x10016f83
movzx eax, byte [0x104b8120]
mov rcx, qword [0x104b80c8]
test rcx, rcx
jne 0x10016f48
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x10016fd6
mov rcx, rax
mov qword [0x104b80c8], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x10016fd6
mov rsi, rax
lea rax, [0x10046058]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x10046070]
test ecx, ecx
je 0x10016fc6
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x10046058]
call fcn.10014da0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x10016f15
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x10046058]
call fcn.10014da0
mov ecx, eax
jmp 0x10016f7b
mov ecx, 8
mov edx, 0x20
call fcn.100064a0
ud2
Function at 0x2fc4d1d80
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.2fc4d2e60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2782
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d281a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d27fe
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 0x2fc4d27f2
cmp qword [rbp - 0x10], 0
je 0x2fc4d27f2
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 0x2fc4d27b8
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d281b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2920
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 0x2fc4d2948
mov eax, 0
jmp 0x2fc4d2996
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 0x2fc4d2971
mov eax, 0
jmp 0x2fc4d2996
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 0x2fc4d2991
mov eax, 0
jmp 0x2fc4d2996
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d299c
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 0x2fc4d2a1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2a11
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 0x2fc4d2a11
mov rax, qword [rbp - 8]
jmp 0x2fc4d2a2f
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 0x2fc4d29e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140269ef0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140269efd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140269f0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140269ef5
lea eax, [rcx + 1]
jmp 0x140269f1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140269f2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140269f14
sub eax, 3
jb 0x140269f4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140269f9d
sar eax, 1
movsxd rbp, eax
jb 0x140269f84
jmp 0x140269f5c
add ebx, ebx
jne 0x140269f5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140269f84
inc ecx
add ebx, ebx
jne 0x140269f6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140269f84
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140269f7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140269f6c
add ecx, 2
jmp 0x140269f89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140269eb2
jmp 0x140269efd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a800
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140269fe9
cmp rsi, rcx
jae 0x140269ff1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140269fd0
cmp al, 0x8f
ja 0x140269fd0
cmp byte [rsi - 2], 0xf
je 0x140269fd6
sub al, 0xe8
cmp al, 1
ja 0x140269fba
cmp rsi, rcx
jae 0x140269ff1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140269fc0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140269ff1
lodsb al, byte [rsi]
jmp 0x140269fd0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x266000]
mov eax, dword [rdi]
or eax, eax
je 0x14026a05a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x26ab84]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140269ffe
jns 0x14026a033
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14026a03d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14026a054
mov qword [rbx], rax
add rbx, 8
jmp 0x14026a01e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14026a094
cmp al, 0xef
ja 0x14026a086
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14026a066
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14026a075
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14026a0e8
sub rsp, 0xffffffffffffff80
jmp 0x1400055a4
Function at 0x2fc524540
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.2fc525620
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc524f42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc547108]
test eax, eax
je 0x2fc524fda
lea rax, [0x2fc5470e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc547110]
mov qword [rbp - 8], rax
jmp 0x2fc524fbe
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 0x2fc524fb2
cmp qword [rbp - 0x10], 0
je 0x2fc524fb2
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 0x2fc524f78
lea rax, [0x2fc5470e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc524fdb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5250e0
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 0x2fc525108
mov eax, 0
jmp 0x2fc525156
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 0x2fc525131
mov eax, 0
jmp 0x2fc525156
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 0x2fc525151
mov eax, 0
jmp 0x2fc525156
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc52515c
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 0x2fc5251da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5251d1
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 0x2fc5251d1
mov rax, qword [rbp - 8]
jmp 0x2fc5251ef
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 0x2fc5251a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000b860
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x40], 0
jle 0x14000b936
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*8]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*8]
mov r9d, 0x25c0
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000b913
cmp dword [rsp + 0x20], 0
jle 0x14000b909
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14000b8c4
mov ecx, 1
call fcn.14001f9a4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jl 0x14000b888
mov edx, dword [rsp + 0x20]
lea rcx, str._nnumber_of_pipes_created__x_n
call fcn.14000e0e0
add rsp, 0x38
ret

Function at 0x14000bc80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 8], 0xedb88320
mov dword [rsp + 4], 0
jmp 0x14000bca5
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jae 0x14000bd0d
mov eax, dword [rsp + 4]
mov dword [rsp], eax
mov qword [rsp + 0x10], 0
jmp 0x14000bcce
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 8
jae 0x14000bcfc
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14000bcf2
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x14000bcfa
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
jmp 0x14000bcc1
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp]
mov dword [rcx + rax*4], edx
jmp 0x14000bc9b
add rsp, 0x28
ret
Function at 0x1400107c0
Capabilities:
Read file on windows

Disassembly:
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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400107ee
xor eax, eax
jmp 0x1400108d4
cmp qword [rcx + 0x68], 0
je 0x1400107ff
call fcn.1400108f0
jmp 0x1400108d4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140010816
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010818
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001084a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14003ad00
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400108ce
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140010881
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400108aa
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400226ac
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400108ce
cmp rsi, rbx
ja 0x140010888
test rsi, rsi
je 0x1400108ce
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400226ac
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400133ec
Capabilities:
Parse pe header

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