joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000cd70
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x68
call fcn.180041970
sub rsp, rax
lea rax, [rcx + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov qword [rsp + 0x48], rax
call fcn.18000c060
mov r14, qword [rbx + 0x10]
mov eax, dword [rbx]
lea rax, [r14 + rax*8]
mov r12d, edi
mov qword [rsp + 0x50], rax
cmp r14, rax
je 0x18000cdd9
cmp qword [r14], rdi
jne 0x18000cdd6
add r14, 8
cmp r14, rax
jne 0x18000cdc3
jmp 0x18000cfb0
mov r12, qword [r14]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0x20]
nop dword [rax + rax]
test r12, r12
je 0x18000cfa3
mov rbx, qword [r12 + 8]
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x18000cf70
nop dword [rax + rax]
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
call fcn.18000a120
test eax, eax
jne 0x18000cfa1
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x18000cf5e
mov ecx, dword [rsi + 0x58]
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x28], rbp
test ecx, ecx
jne 0x18000ce60
lea edx, [rax + 1]
lea rcx, [rsi + 0x58]
call fcn.18000d520
mov ecx, dword [rsi + 0x58]
test ecx, ecx
je 0x18000cf9a
mov r8, qword [rsi + 0x68]
test ecx, ecx
je 0x18000cf11
movzx eax, byte [rsp + 0x29]
movzx r15d, bpl
xor edx, edx
xor r15d, 0x811c9dc5
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2a]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2b]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2c]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2d]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2e]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2f]
imul r15d, r15d, 0x1000193
xor r15d, eax
imul r15d, r15d, 0x1000193
mov eax, r15d
div ecx
mov rax, qword [r8 + rdx*8]
lea rdi, [r8 + rdx*8]
test rax, rax
je 0x18000cf11
nop dword [rax + rax]
cmp qword [rax + 8], rbp
je 0x18000cf11
mov rdi, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000cf00
cmp qword [rdi], 0
jne 0x18000cf52
mov ecx, 0x20
call fcn.18000c150
test rax, rax
je 0x18000cf39
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], r15d
mov qword [rdi], rax
test rax, rax
je 0x18000cf9a
inc qword [rsi + 0x60]
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x58]
call fcn.18000d520
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
xor edi, edi
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x18000ce10
mov rax, qword [rsp + 0x50]
mov r12, qword [r12]
test r12, r12
jne 0x18000cdf9
nop dword [rax]
add r14, 8
cmp r14, rax
je 0x18000cdf0
mov r12, qword [r14]
test r12, r12
je 0x18000cf80
jmp 0x18000cdf0
mov edi, 2
jmp 0x18000cfa3
mov edi, eax
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.18000c110
mov eax, edi
add rsp, 0x68
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000e300
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.180041970
sub rsp, rax
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x18000e3c4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rdx, 0xffffffffffffffff
mov ebp, eax
nop dword [rax]
inc rdx
cmp word [rbx + rdx*2], si
jne 0x18000e340
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18000e3c7
mov edx, ebp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x18000e38b
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], di
jne 0x18000e390
test rax, rax
je 0x18000e3c4
mov rdx, rdi
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
or rax, 0xffffffffffffffff
mov edx, edi
inc rax
cmp word [rbx + rax*2], 0
jne 0x18000e3b5
cmp rdx, rax
jb 0x18000e3a1
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800101a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov eax, 0x30
call fcn.180041970
sub rsp, rax
mov rbx, rcx
xor ecx, ecx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1800103ca
xor edx, edx
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], dx
jne 0x1800101d0
test rax, rax
je 0x180010204
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1800103ca
cmp r8w, 0x2f
je 0x1800103ca
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1800101e0
mov rcx, rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
call fcn.1800103f0
mov rsi, rax
test rax, rax
je 0x1800102f5
mov qword [rsp + 0x50], r14
call fcn.180010ba0
mov r14, rax
test rax, rax
je 0x1800102e2
mov rcx, rsi
call fcn.18000e150
test eax, eax
je 0x1800102cb
lea rax, str.system32_
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x180010277
mov r8, rbx
mov rcx, rsi
call fcn.180050448
test eax, eax
je 0x18001029f
lea rax, [rsp + 0x30]
add rdi, 8
cmp rdi, rax
jb 0x180010270
jmp 0x1800102ae
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.18000fba0
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x1800102d9
mov rcx, rsi
call fcn.18000e0f0
test eax, eax
je 0x1800102d9
mov rbp, rsi
xor esi, esi
jmp 0x1800102d9
mov rdx, rsi
mov rcx, r14
call fcn.18000fba0
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x180010396
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x18001039f
mov rcx, rbx
call fcn.18000dfc0
mov rdi, rax
test rax, rax
je 0x18001039f
mov ecx, 0x37e4
call fcn.18000f710
test eax, eax
je 0x180010334
lea rcx, [0x18007bbd8]
call fcn.1800108d0
jmp 0x180010339
call fcn.180010ba0
mov rbx, rax
test rax, rax
je 0x18001038d
mov rdx, rdi
mov rcx, rax
call fcn.18000fba0
mov rbp, rax
test rax, rax
je 0x180010384
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180010366
test al, 0x50
je 0x180010384
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180010379
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x18001039f
xor ecx, ecx
jmp 0x1800103ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800103b2
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rax, rbp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x180010ba0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x20
call fcn.180041970
sub rsp, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, 0x40
mov edx, eax
mov edi, eax
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x180010c0b
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180010c00
cmp edi, eax
jb 0x180010c00
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180011b30
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180097078]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.180011bf0
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.1800118d0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180040ed0
add rsp, 0xb0
pop rbx
ret
Function at 0x18002ce60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
test ecx, ecx
jle 0x18002cf44
mov qword [rsp + 0x40], rbx
movsxd rbx, ecx
cmp ecx, 0x64
jle 0x18002ced4
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rcx, [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x18007059c]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x68]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x18002cef7
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x18004c888
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x18004c75f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004c75f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18004c75f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18004c75f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18004c75f
cmp dword [rcx + 0x84], 0xe
jbe 0x18004c75f
cmp dword [rcx + 0xf8], 0
je 0x18004c75f
mov ecx, ebx
call fcn.18004c800
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.18004c5f0
cmp dword [rbp + 0x20], 0
je 0x18004c7ac
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18004c7b4
int3
xor r8d, r8d
xor edx, edx
jmp 0x18004c6f8

Function at 0x140001960
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400119b0
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x1830
call fcn.1400110c3
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x484
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1858]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x1808], rax
lea rcx, [0x1400240af]
call fcn.1400113c5
lea rax, [rbp + 0x1070]
lea rcx, str._unknown_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x107a]
mov rdi, rax
xor eax, eax
mov ecx, 0xfa
rep stosb byte [rdi], al
lea r8, [rbp + 0x1024]
mov edx, 0x1000
lea rcx, [rbp + 0x10]
call fcn.140011177
test eax, eax
jne 0x140011a5a
lea rcx, str.Failed_to_enumerate_processes._n
call fcn.1400111b8
xor eax, eax
jmp 0x140011b76
mov eax, dword [rbp + 0x1024]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rbp + 0x1024], eax
mov dword [rbp + 0x1044], 0
jmp 0x140011a8a
mov eax, dword [rbp + 0x1044]
inc eax
mov dword [rbp + 0x1044], eax
mov eax, dword [rbp + 0x1024]
cmp dword [rbp + 0x1044], eax
jae 0x140011b74
mov eax, dword [rbp + 0x1044]
cmp dword [rbp + rax*4 + 0x10], 0
je 0x140011b6f
mov eax, dword [rbp + 0x1044]
mov r8d, dword [rbp + rax*4 + 0x10]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x1198], rax
cmp qword [rbp + 0x1198], 0
je 0x140011b6f
lea r9, [rbp + 0x11d4]
mov r8d, 8
lea rdx, [rbp + 0x11b8]
mov rcx, qword [rbp + 0x1198]
call fcn.140011073
test eax, eax
je 0x140011b62
mov r9d, 0x104
lea r8, [rbp + 0x1070]
mov rdx, qword [rbp + 0x11b8]
mov rcx, qword [rbp + 0x1198]
call fcn.140011028
test eax, eax
jbe 0x140011b62
lea rdx, [rbp + 0x1070]
mov rcx, qword [rbp + 0x1830]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140011b62
mov rcx, qword [rbp + 0x1198]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rbp + 0x11f4], eax
mov rcx, qword [rbp + 0x1198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x11f4]
jmp 0x140011b76
mov rcx, qword [rbp + 0x1198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011a7c
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad38]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x1808]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x1810]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013920
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 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c90
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014ca3
xor al, al
jmp 0x140014d11
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 0x140014ccd
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ce1
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cf3
xor al, al
jmp 0x140014d11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d0f
xor al, al
jmp 0x140014d11
mov al, 1
add rsp, 0x38
ret

Function at 0x1400112e4
Capabilities:
Create process memory minidump

Disassembly:
jmp 0x140012496
jmp qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
Function at 0x140011361
Capabilities:
Create process memory minidump

Disassembly:
jmp 0x140011860
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x1400240af]
call fcn.1400113c5
mov r8d, dword [rbp + 0x140]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400118bb
mov edx, dword [rbp + 0x140]
lea rcx, str.Failed_to_open_process_for_PID__lu._n
call fcn.1400111b8
xor eax, eax
jmp 0x14001195f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140011911
lea rcx, str.Failed_to_create_output_file._n
call fcn.1400111b8
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001195f
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8, qword [rbp + 0x28]
mov edx, dword [rbp + 0x140]
mov rcx, qword [rbp + 8]
call fcn.1400112e4
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x44]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400113c0
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140011c30
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240af]
call fcn.1400113c5
mov r8d, dword [rbp + 0x160]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011cb6
mov edx, dword [rbp + 0x160]
lea rcx, str.Failed_to_open_process_for_PID__lu._n
call fcn.1400111b8
xor eax, eax
jmp 0x140011d0b
mov dword [rbp + 0x64], 0
lea r9, [rbp + 0x44]
mov r8d, 8
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140011073
test eax, eax
je 0x140011cfe
mov r9d, dword [rbp + 0x170]
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140011028
test eax, eax
jbe 0x140011cfe
mov dword [rbp + 0x64], 1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x64]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001af90]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x2fc4cb550
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cbf52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cbfea
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cbfce
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 0x2fc4cbfc2
cmp qword [rbp - 0x10], 0
je 0x2fc4cbfc2
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 0x2fc4cbf88
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cbfeb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cc0f0
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 0x2fc4cc118
mov eax, 0
jmp 0x2fc4cc166
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 0x2fc4cc141
mov eax, 0
jmp 0x2fc4cc166
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 0x2fc4cc161
mov eax, 0
jmp 0x2fc4cc166
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cc16c
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 0x2fc4cc1ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cc1e1
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 0x2fc4cc1e1
mov rax, qword [rbp - 8]
jmp 0x2fc4cc1ff
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 0x2fc4cc1b4
mov eax, 0
add rsp, 0x20
pop rbp
ret