joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rdx]
mov qword [rsp], rdx
movups xmm1, xmmword [r8]
mov qword [rsp + 8], rcx
movups xmm2, xmmword [rdx + 0x10]
mov r15d, 8
movups xmmword [rsp + 0x20], xmm0
mov r14, qword [rsp + 0x20]
movsd xmm0, qword [rdx + 0x20]
mov rsi, qword [rsp + 0x28]
movsd qword [rsp + 0x40], xmm0
mov rbp, qword [rsp + 0x40]
movups xmmword [rsp + 0x48], xmm1
mov r13, qword [rsp + 0x50]
mov r12d, 0x10
movdqa xmm0, xmm2
movq rdi, xmm2
psrldq xmm0, 8
movq r10, xmm0
movups xmmword [rsp + 0x30], xmm2
cmp rsi, r13
jne 0x140002587
cmp r14, qword [rsp + 0x48]
je 0x1400026b1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
test al, 1
jne 0x1400025bc
or eax, 1
mov qword [r12 + rcx], 0
mov dword [r15 + rcx], eax
mov qword [r12 + rcx + 8], 0
mov qword [r12 + rcx + 0x10], 0
xor r11d, r11d
mov ebx, 0x1d08f8
test r10, r10
je 0x140002627
nop dword [rax]
movzx r8d, byte [rdi + r11]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
cmp dl, 0x19
movzx ecx, al
cmova ecx, r8d
imul eax, r11d, 0x3186bf26
movsx edx, cl
lea r8d, [r11 - 0x31848712]
imul r8d, edx
sub r8d, eax
imul eax, ebx, 0x31848713
sub r8d, eax
lea eax, [rdx + r11]
imul ecx, eax, 0x8912812
add r8d, 0x381487
inc r11
xor r8d, ecx
add ebx, r8d
cmp r11, r10
jb 0x1400025d0
cmp r9d, ebx
je 0x1400026b1
mov r8, qword [r14 + 8]
mov eax, dword [r8 + 0x18]
cmp rsi, rax
jae 0x140002691
inc rsi
cmp rsi, rax
jae 0x140002691
mov r10, qword [r14]
mov rax, 0xffffffffffffffff
mov ecx, dword [r8 + 0x20]
add rcx, r10
mov edx, dword [rcx + rsi*4]
add rdx, r10
mov qword [rsp + 0x10], rdx
inc rax
cmp byte [rdx + rax], 0
jne 0x140002661
mov ecx, dword [r8 + 0x24]
add rcx, r10
mov qword [rsp + 0x18], rax
movups xmm2, xmmword [rsp + 0x10]
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r8 + 0x1c]
add rcx, r10
mov ebp, dword [rcx + rdx*4]
add rbp, r10
jmp 0x14000255f
xor r10d, r10d
lea rdi, [0x1400075a5]
mov qword [rsp + 0x30], rdi
xor ebp, ebp
mov qword [rsp + 0x38], r10
movups xmm2, xmmword [rsp + 0x30]
jmp 0x140002577
mov r15, qword [rsp]
lea rax, [rsp + 0x20]
mov r12, qword [rsp + 8]
cmp r15, rax
je 0x1400026d1
mov qword [r15 + 8], rsi
movups xmmword [r15 + 0x10], xmm2
mov qword [r15 + 0x20], rbp
movups xmm0, xmmword [r15]
mov rax, r12
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r12], xmm0
movsd xmm0, qword [r15 + 0x20]
movups xmmword [r12 + 0x10], xmm1
movsd qword [r12 + 0x20], xmm0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140004ee0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002cf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov ebx, dword [rcx]
lea rsi, [0x14000a8c0]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockShared
mov eax, ebx
shr eax, 8
movzx edx, al
movzx eax, bl
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
xor rdx, rax
imul rdx, r8
mov eax, ebx
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov eax, ebx
shr rax, 0x18
xor rdx, rax
imul rdx, r8
mov rcx, qword [0x14000a8f8]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x14000a8e0]
mov rax, qword [rcx + 8]
mov rdx, qword [0x14000a8d0]
cmp rax, rdx
je 0x140002da8
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140002daa
cmp rax, rcx
je 0x140002da8
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140002d98
jmp 0x140002daa
xor eax, eax
mov rcx, rdx
test rax, rax
cmovne rcx, rax
cmp rcx, rdx
jne 0x140002e4d
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockShared
xor r8d, r8d
mov edx, dword [rdi]
lea rcx, [rsp + 0x38]
call fcn.140001240
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov eax, dword [rdi]
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x48], rsi
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x50], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x14000a8c8]
call fcn.140002720
nop
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 4]
mov dword [rdi + 4], ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004ee0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rcx + 0x18]
mov rcx, rsi
call sub.KERNEL32.dll_ReleaseSRWLockShared
test rbx, rbx
je 0x140002dc5
mov eax, dword [rbx + 4]
mov dword [rdi + 4], eax
jmp 0x140002e2d
Function at 0x140002e70
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140002ea5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400022d0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140002fe4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140002f5d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140002fd3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140002f9a
mov r10, qword [rdx]
cmp r10, rax
je 0x140002f94
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140002fd3
cmp r9, rdx
je 0x140002faf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140002ff5
cmp r9, rdx
jne 0x140002fa0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140002f10
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140002fd3
Function at 0x140004130
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.140004f08
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140004cd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400041e9
cmp dword [rsp + 0x38], 0
jne 0x140004195
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x1400041ad
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400041d5
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140004ee0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140004e24
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140004e5e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140004e63
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140004eac
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073d0]
cmp byte [rcx + rax], 0
je 0x140004eac
dec r8
sub rdx, 1
jne 0x140004e92
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140005aac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005af6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005af6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005af6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005af6
cmp dword [rcx + 0x84], 0xe
jbe 0x140005af6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005af8
xor al, al
add rsp, 0x28
ret
Function at 0x142109058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1421091df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142109089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14210906f
add dl, dl
jne 0x142109096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421090f6
xor eax, eax
add dl, dl
jne 0x1421090a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1421091ad
add dl, dl
jne 0x1421090b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421090c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421090d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1421090dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1421090ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14210907e
mov eax, 1
add dl, dl
jne 0x142109106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142109113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1421090fb
sub eax, ebx
mov ebx, 1
jne 0x14210914c
mov ecx, 1
add dl, dl
jne 0x14210912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14210913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142109123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14210907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142109168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142109175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14210915d
cmp eax, 0x7d00
jae 0x14210919b
cmp eax, 0x500
jb 0x142109196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14210907e
cmp eax, 0x7f
ja 0x14210919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14210907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1421091d2
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 0x14210907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180011208
Capabilities:
Create thread

Disassembly:
jmp 0x180012e40
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x1800250fd]
call fcn.180011406
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x180012e7f
jmp 0x180012eb2
mov rax, qword [rbp + 0xf0]
mov qword [0x18001f420], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1800113d4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x180011249
Capabilities:
Terminate process

Disassembly:
jmp 0x1800145f0
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 0x1400111e5
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140013840
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1c0], rax
lea rcx, [0x140026230]
call fcn.1400113c5
nop
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x64]
mov r8d, 0x10
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.140011069
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x64]
cmp rax, 0x10
jbe 0x140013916
mov eax, dword [rbp + 0x64]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.140011069
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140013921
jmp 0x1400139d3
mov dword [rbp + 0xe4], 1
jmp 0x14001393b
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
movsxd rax, dword [rbp + 0xe4]
mov qword [rbp + 0x1b8], rax
mov ecx, dword [rbp + 0x64]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rbp + 0x1b8]
cmp rcx, rax
jae 0x1400139d3
mov ecx, 0x64
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xa8], rax
movsxd rax, dword [rbp + 0xe4]
mov r9d, 0x64
mov r8, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rbp + 8]
call fcn.140011384
test eax, eax
jne 0x1400139a1
jmp 0x1400139d3
mov r8, qword [rbp + 0x1f8]
mov rdx, qword [rbp + 0x1f0]
mov rcx, qword [rbp + 0xa8]
call fcn.1400111f4
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x1400139ce
jmp 0x1400139d3
jmp 0x14001392d
cmp qword [rbp + 0x48], 0
je 0x1400139e5
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_free]
nop
cmp qword [rbp + 0xa8], 0
je 0x1400139fd
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_free]
nop
cmp qword [rbp + 8], 0
je 0x140013a0f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0xc8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001d410]
call fcn.140011352
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret

Function at 0x14001122b
Capabilities:
Terminate process

Disassembly:
jmp 0x140015180
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]
nop
add rsp, 0x28
ret
Function at 0x1400112b7
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400164f0
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016503
xor al, al
jmp 0x140016571
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 0x14001652d
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016541
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016553
xor al, al
jmp 0x140016571
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001656f
xor al, al
jmp 0x140016571
mov al, 1
add rsp, 0x38
ret
Function at 0x1400143c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113ed
movzx eax, al
test eax, eax
jne 0x1400143e0
mov ecx, 7
call fcn.14001135c
nop
mov byte [rsp + 0x20], 0
call fcn.140011370
mov byte [rsp + 0x21], al
cmp dword [0x140020868], 1
jne 0x140014404
mov ecx, 7
call fcn.14001135c
nop
jmp 0x14001445c
cmp dword [0x140020868], 0
jne 0x140014457
mov dword [0x140020868], 1
lea rdx, [0x14001c660]
lea rcx, [0x14001c330]
call fcn.1400111cc
test eax, eax
je 0x140014438
mov eax, 0xff
jmp 0x140014561
lea rdx, [0x14001c220]
lea rcx, [section..rdata]
call fcn.140011366
mov dword [0x140020868], 2
jmp 0x14001445c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011348
call fcn.1400112df
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400144b9
mov rcx, qword [rsp + 0x30]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x1400144b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.140011311
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400144ed
mov rcx, qword [rsp + 0x38]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x1400144ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113ac
nop
call fcn.140014610
mov dword [rsp + 0x28], eax
call fcn.1400112b7
movzx eax, al
test eax, eax
jne 0x14001450c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001451b
call fcn.1400113b6
nop
xor edx, edx
mov cl, 1
call fcn.140011163
mov eax, dword [rsp + 0x28]
jmp 0x140014561
add rsp, 0x68
ret
Function at 0x14018277c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401827f4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401827f4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1401827f4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401827e8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140182806
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401827d6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401827f6

Function at 0x140194c08
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140194c3f
call fcn.140180458
mov dword [rax], 0x16
call fcn.1401aed14
xor eax, eax
jmp 0x140194ccd
mov rdx, r9
mov rcx, r8
call fcn.140194cf0
mov rbx, rax
test rax, rax
je 0x140194cca
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140194d60]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140194cb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140197cb4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140194c9e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140194cad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14017e9b0
jmp 0x140194cca
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140194cc7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140194e34
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140194f7c
Function at 0x140199f3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402a85e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140199f93
cmp word [rdx], r13w
jne 0x140199f93
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140199f98
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14019a0bd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14019a0de
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140199fd1
mov rdx, r9
mov word [rbx], cx
jmp 0x140199ff8
cmp r9, r8
jae 0x14019a008
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140199fb2
jmp 0x14019a0bd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14019a0b2
cmp dword [rsp + 0x80], esi
je 0x14019a0b2
lea r8, [0x1402a85e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14019a08a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14019a05a
mov word [rbx], r13w
jmp 0x14019a0ba
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14019a067
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14019a0ba
cmp word [rsp + 0x70], r13w
jne 0x14019a097
cmp rbx, r14
je 0x14019a054
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14019931c
cmp word [rsp + 0x70], r13w
je 0x14019a0bd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402a85e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14019a0b7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14019a0bd