joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7091a190
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x70a42a50], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x7091a28d
mov rax, qword [0x70a28490]
lea rcx, [rbp - 0x110]
mov rdx, qword [rax]
mov qword [rax], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rdx
mov rdx, rbp
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x7091a2b0
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x7091a25f
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x7091a229
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
mov r8, qword [0x70a284a0]
mov rcx, qword [0x70a28500]
call fcn.70916800
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x70a42a50]
mov rax, qword [0x70a28490]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
jne 0x7091a329
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x7091a340
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x70a28490]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rbp - 0x108], 0
mov qword [rax], rdx
mov rdx, qword [0x70a28480]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x7091a2eb
add qword [rbx - 0x10], 8
mov rax, qword [rdx]
test rax, rax
je 0x7091a311
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x7091a311
mov rcx, qword [0x70a284a0]
add rcx, 0x18
call fcn.70915880
mov rax, qword [0x70a28480]
cmp qword [rbp - 0x108], 0
mov qword [rax], rbx
je 0x7091a28d
call fcn.7091a0e0
jmp 0x7091a28d
mov ecx, 2
call qword [fcn.7091c1e0]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x7091a29c
Function at 0x7091b020
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x70a2fba4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x7091b1a8
mov rax, qword [0x70a2fba8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x7091b06c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x7091b0f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x7091b050
mov rcx, rbx
call fcn.7091bcc0
test rax, rax
mov r12, rax
je 0x7091b1dd
mov rax, qword [0x70a2fba8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.7091bdf0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x70a2fba8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x7091b1c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x7091b0ee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x7091b150
add dword [0x70a2fba4], 1
cmp edi, 8
jae 0x7091b123
test dil, 4
jne 0x7091b194
test edi, edi
je 0x7091b118
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x7091b1af
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x7091b118
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x7091b13c
jmp 0x7091b118
add rsi, qword [0x70a2fba8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7091b0ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.7091c340
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x7091b118
xor esi, esi
jmp 0x7091b077
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x7091b118
mov rax, qword [0x70a2fba8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.7091c340
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.7091c340
nop
nop dword [rax]

Function at 0x7091b930
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x70a2fe80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x70a2fe60]
test rbx, rbx
je 0x7091b984
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x7091b97b
test rsi, rsi
je 0x7091b97b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x7091b960
lea rcx, [0x70a2fe80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x7091bcc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x70a28400]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x7091bd2d
mov rcx, r8
call fcn.7091bba0
test eax, eax
je 0x7091bd2d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x7091bd2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x7091bd24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x7091bd2f
add rax, 0x28
cmp rax, r9
jne 0x7091bd10
xor eax, eax
add rsp, 0x28
ret

Function at 0x7091c340
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x709013a0]
jmp 0x70901380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.7091c1e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.7091c1e0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x70901390
Function at 0x14000d910
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d977
cmp rax, rbx
jne 0x14000d96a
mov ebx, 1
mov esi, ebx
jmp 0x14000d97c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d94f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d994
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000da00
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d9f5
mov dword [0x140016c68], ebx
lea r15, [0x140010bb8]
lea rdi, [0x140010ba0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d9e7
test eax, eax
jne 0x14000d9eb
cmp qword [rdi], r14
je 0x14000d9dc
mov rax, qword [rdi]
mov rcx, qword [0x140010b58]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d9be
test eax, eax
je 0x14000d9fb
mov eax, 0xff
jmp 0x14000db56
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000da27
lea rdx, [0x140010b98]
lea rcx, [0x140010b60]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000da35
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000da68
lea rcx, [0x140016c80]
call fcn.14000dfd0
test eax, eax
je 0x14000da68
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b58]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000da81
mov eax, 0xff
jmp 0x14000db56
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000db07
test ax, ax
je 0x14000da9c
test edx, edx
jne 0x14000db07
sub ax, bx
cmp ax, di
ja 0x14000dab2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000da9c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400019fc
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000daf0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000db05
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000db56
cmp ax, 0x22
jne 0x14000db1b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000da8a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14013c000
add rsp, 0x28
jmp 0x14000d910
Function at 0x140013810
Capabilities:
Create thread

Disassembly:
mov rcx, qword [rcx + 0x98]
jmp 0x140013810
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov byte [rcx + 0x398], 0
mov ecx, 0x10
call fcn.14003c6f8
xor edi, edi
test rax, rax
je 0x140013845
mov qword [rax], rbx
lea rcx, [0x140012670]
mov qword [rax + 8], rcx
jmp 0x140013848
mov rax, rdi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400116b0]
xor edx, edx
xor ecx, ecx
call fcn.14004856c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013930
cmp dword [rbx + 0x3a8], 0
jne 0x14001392a
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x3a0], xmm0
mov byte [rbx + 0x3b0], 0
mov ecx, 0x10
call fcn.14003c6f8
test rax, rax
je 0x1400138bb
mov qword [rax], rbx
lea rcx, [0x140012450]
mov qword [rax + 8], rcx
jmp 0x1400138be
mov rax, rdi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400116b0]
xor edx, edx
xor ecx, ecx
call fcn.14004856c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013945
cmp dword [rbx + 0x3c0], 0
jne 0x14001393f
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x3b8], xmm0
lea rcx, [rbx + 0x180]
call fcn.1400113b0
lea rcx, [rbx + 0x288]
call fcn.140015730
mov qword [rbx + 0x58], rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.140048420
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.14003bb60
nop
call fcn.140048420
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.14003bb60
int3
Function at 0x14001eb90
Capabilities:
Capture microphone audio

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x14009d438]
xor rax, rsp
mov qword [rsp + 0x340], rax
xor r14d, r14d
mov rbx, rcx
mov ebp, r14d
mov edi, r14d
cmp dword [rcx + 0x188], r14d
jbe 0x14001ecb7
mov qword [rsp + 0x378], rsi
nop dword [rax]
nop word [rax + rax]
mov eax, edi
lea r9, [rax*8]
mov eax, dword [rbx + 0x19c]
lea r8, [rax + rax*2]
mov rax, qword [rbx + 0x190]
add r8, r8
mov rdx, qword [rax + r9]
and dword [rdx + r8*8 + 0x18], 0xfffffffe
mov r8d, 0x30
mov eax, dword [rbx + 0x19c]
mov rcx, qword [rbx + 0x180]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x190]
mov rcx, qword [r9 + rcx]
shl rdx, 4
add rdx, qword [rax + r9]
call qword [sym.imp.WINMM.dll_waveInAddBuffer]
mov esi, eax
test eax, eax
je 0x14001eca1
mov r8d, 0x100
lea rdx, [rsp + 0x140]
mov ecx, eax
mov ebp, 0xffffd8f1
call qword [sym.imp.WINMM.dll_waveInGetErrorTextW]
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x140]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
mov edx, 0x240
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x40]
mov edx, esi
mov ecx, 2
call fcn.14001dd00
inc edi
cmp edi, dword [rbx + 0x188]
jb 0x14001ebe0
mov rsi, qword [rsp + 0x378]
mov edx, dword [rbx + 0x19c]
mov ecx, r14d
inc edx
mov dword [rbx + 0x1a4], r14d
cmp edx, dword [rbx + 0x198]
mov eax, ebp
cmovb ecx, edx
mov dword [rbx + 0x19c], ecx
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14003ca20
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop r14
pop rdi
pop rbp
ret
Function at 0x14001f2c0
Capabilities:
Capture microphone audio

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x350
mov rax, qword [0x14009d438]
xor rax, rsp
mov qword [rsp + 0x340], rax
xor r15d, r15d
mov rdi, rcx
cmp dword [rcx + 0x198], 1
mov r14d, r15d
je 0x14001f45c
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov ebx, r15d
mov ebp, r15d
cmp dword [rdi + 0x188], ebx
jbe 0x14001f3ef
nop word [rax + rax]
mov eax, ebx
lea r9, [rax*8]
mov eax, dword [rdi + 0x19c]
lea r8, [rax + rax*2]
mov rax, qword [rdi + 0x190]
add r8, r8
mov rdx, qword [rax + r9]
and dword [rdx + r8*8 + 0x18], 0xfffffffe
mov r8d, 0x30
mov eax, dword [rdi + 0x19c]
mov rcx, qword [rdi + 0x180]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x190]
mov rcx, qword [r9 + rcx]
shl rdx, 4
add rdx, qword [rax + r9]
call qword [sym.imp.WINMM.dll_waveInAddBuffer]
mov esi, eax
test eax, eax
je 0x14001f3e1
mov r8d, 0x100
lea rdx, [rsp + 0x140]
mov ecx, eax
mov ebp, 0xffffd8f1
call qword [sym.imp.WINMM.dll_waveInGetErrorTextW]
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x140]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
mov edx, 0x240
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x40]
mov edx, esi
mov ecx, 2
call fcn.14001dd00
inc ebx
cmp ebx, dword [rdi + 0x188]
jb 0x14001f320
mov ecx, dword [rdi + 0x19c]
mov eax, r15d
mov edx, dword [rdi + 0x198]
inc ecx
cmp ecx, edx
mov dword [rdi + 0x1a4], r15d
cmovb eax, ecx
mov dword [rdi + 0x19c], eax
test ebp, ebp
jne 0x14001f425
inc r14d
lea eax, [rdx - 1]
cmp r14d, eax
jb 0x14001f303
mov rbx, qword [rsp + 0x378]
mov eax, ebp
mov rbp, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x388]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14003ca20
add rsp, 0x350
pop r15
pop r14
pop rdi
ret
mov eax, r15d
jmp 0x14001f43f
Function at 0x140039cc0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x14009d438]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0xd8], rsi
xor esi, esi
lea r8, [rsp + 0x20]
mov dword [rcx + 8], esi
lea rdx, str.software_asio
mov qword [rcx], rsi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140039d64
mov qword [rsp + 0xe0], rdi
nop dword [rax + rax]
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov r9d, 0x80
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
inc esi
mov edi, eax
test eax, eax
jne 0x140039d58
mov r9, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
call fcn.14003a030
mov qword [rbx], rax
test edi, edi
je 0x140039d20
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0xd8]
test rcx, rcx
je 0x140039d7c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbx]
mov eax, dword [rbx + 8]
test rcx, rcx
je 0x140039da1
nop word [rax + rax]
inc eax
mov dword [rbx + 8], eax
mov rcx, qword [rcx + 0x2a0]
test rcx, rcx
jne 0x140039d90
test eax, eax
je 0x140039dad
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14003ca20
add rsp, 0xc0
pop rbx
ret
Function at 0x14004ccf8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004cb24
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140164000
add rsp, 0x28
jmp 0x14000631c
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140001130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rcx, str.user32
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
xor edi, edi
movsxd rcx, dword [rax + 0x3c]
mov r14d, dword [rcx + rax + 0x88]
add r14, rax
mov r13d, dword [r14 + 0x1c]
mov r15d, dword [r14 + 0x20]
add r13, rax
add r15, rax
mov eax, dword [r14 + 0x24]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp dword [r14 + 0x14], edi
jbe 0x1400011ea
mov ebx, dword [r15 + rdi*4]
add rbx, rbp
jne 0x1400011a3
lea eax, [rbx + 0x35]
jmp 0x1400011dd
mov edx, 0x32
mov rcx, rbx
call fcn.140004c34
mov r9, rax
xor r8d, r8d
mov eax, 0x35
test r9, r9
je 0x1400011dd
movsx edx, byte [r8 + rbx]
inc r8
imul ecx, eax, 0x10f29f
add edx, ecx
and edx, 0xffffff
add eax, edx
cmp r8, r9
jb 0x1400011c0
cmp eax, r12d
je 0x140001209
inc edi
cmp edi, dword [r14 + 0x14]
jb 0x140001195
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rdi*2]
mov eax, dword [r13 + rax*4]
add rax, rbp
jmp 0x1400011ec

Function at 0x140001cf4
Capabilities:
Parse pe header

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

Function at 0x140005c28
Capabilities:
Parse pe header

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

Function at 0x1400128f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012918
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012918
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14097e2ea
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x18]
je 0x14097c456
push r9
push 0x52a93189
lea r10, [0x140979238]
lea rsp, [rsp + 8]
mov r9d, 0x78836f12
lea r9, [r9 + r9 + 0x7400c38a]
shl r9d, 0x27
movzx r9d, byte [rdi]
push 0xffffffffed0dee03
shl byte [rsp + 7], 0xe3
xor r9d, ebx
and r9d, 0xff
mov r9d, dword [r10 + r9*4]
ror dword [rsp + 3], 0x99
shr ebx, 8
xor ebx, r9d
inc rdi
xor ebx, 0x240ae02b
neg word [rsp + 3]
dec rdx
lea rsp, [rsp + 8]
jne 0x14097e308
push 0x1a30d801
jmp 0x14097c44c