joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802f142e
Capabilities:
Encode data using base64

Disassembly:
bswap esi
xadd r11b, dl
mov qword [rsp + rcx - 0x278110], rbx
mov ebx, 0xf80134a8
xor dword [rsp + rcx - 0x278110], esi
sub r11, 0x262a210f
jl 0x180302253
pop rbx
movsxd rsi, esi
sar edx, cl
adc r9, rsi
ror cx, 0xed
mov eax, dword [r8 + rcx*2 - 0x4e1108]
push rbx
movzx esi, cx
sal cl, cl
cpuid
lea r8, [rsi + r8 - 0x890]
xor r11b, sil
and r11b, 0xa6
mov dword [r8 + rsi - 0x878], eax
push r11
mov dword [r8 + rsi*4 - 0x2208], ebx
movzx eax, r11b
or qword [rsp + rsi*8 - 0x4420], r11
mov dword [r8 + rsi*2 - 0x1104], ecx
push rsi
mov dword [r8 + rsi*2 - 0x1108], edx
and r11w, si
not r11
movsx ebx, sil
mov rbx, qword [rsp + rsi*2 - 0x10f8]
mov qword [rsp + rsi - 0x874], 0xffffffffad02e3b5
pop r11
pop rdx
pop rsi
jns fcn.18031be9f
sar cx, 0xe2
add byte [rsp + rdi*2 - 0x28c1bf], dil
mov ecx, dword [rax + rdi*4 - 0x518380]
jne 0x18034761e
xor dword [rsp + rcx + 0x18], esi
mov qword [rsp + rcx*8 + 8], r11
movsx ebx, byte [rsp + rcx*2 + 0xc]
mov rbx, qword [rsp + rcx*4 + 0x18]
movsxd rsi, esi
sar eax, 0xda
js 0x180311843
movsx edi, sil
lea rbp, [r10 + rbp - 0x7ea2eb3d]
movzx edx, di
lea rdi, [r10 + r10 + 0x211662b1]
xadd r10, rsi
mov edi, dword [rbp + rax - 0x39]
xor edi, ebx
add r9, rsi
sal qword [rsp + rcx + 0xc], 0xc5
mov qword [rsp + rcx*8], r9
ret 0x18

Function at 0x180343406
Capabilities:
Encode data using base64

Disassembly:
mov word [r11 + rax - 0x6b643279], di
lea rdx, [r10 + rax*2 + 0xe285d2c]
lea rbp, [rbp + rax - 0x6b64327d]
lea rdi, [r10 + r10*4 - 0x224ff462]
neg r10w
mov eax, dword [rbp + rax - 0x6b643279]
mov qword [rsp], 0xffffffffec37bf36
xor eax, ebx
lea rcx, [rdi*4 - 0x57db41f2]
mov qword [rsp + 8], rdi
jmp 0x18032bf22

Function at 0x18034ae03
Capabilities:
Encode data using base64

Disassembly:
pop rsi
add rsi, 0xfffffffffffc0ea0
jmp rsi
dec rdx
mov rbx, qword [rsp + rdx - 0x3fdffd]
jge 0x18030d09c
Function at 0x180370b98
Capabilities:
Encode data using base64

Disassembly:
not r10d
pop rdi
and di, si
xchg word [rsp + rdx*8 - 0x17e], r11w
lea r10d, [rax + r10 - 0x51429de3]
pop rdi
xor r10d, 0xb822daa9
mov ecx, 0xc72dfa3f
xadd word [rsp + rax - 0x5c4d060f], si
not r10d
sal rsi, cl
and rcx, rax
lea r10d, [r10 + rax*2 - 0x4875ce14]
mov qword [rsp + rax - 0x5c4d0611], rbx
jno 0x1802ff961
movzx edi, byte [rbp + riz - 1]
call fcn.18030bd67
mov edi, 0xba94963f
mov eax, dword [r8]
movsx r10d, dil
jmp 0x180370b7a
call fcn.180312a4f
mov rsi, qword [rcx + r8 - 0xd025]
lea r8, [r8 + rcx*8 - 0x68120]
neg word [rsp + rcx*2 - 0x1a044]
and byte [rsp + rcx*8 - 0x68123], ah
xchg r10, rax
mov qword [rsp + rcx - 0xd025], rsi
or ecx, eax
lea rsi, [r11 - 0x1565def4]
call fcn.18032ca55
movzx eax, word [rbp + riz - 2]
xor ax, bx
mov r11d, 0xfd0c5539
lea rcx, [r11 - 0x68d41bc4]
movzx edx, cx
sub ax, 0x9f81
call fcn.1803164e8
neg eax
bswap eax
sal cl, 0x22
neg rdi
push rcx
dec eax
neg eax
mov qword [rsp + 0x10], rbx
movsx ebx, r10w
ror rdi, 0xac
xor dword [rsp + rbx*8 - 0x35d8], eax
mov rbx, qword [rsp + rbx - 0x6ad]
movsxd rax, eax
movzx r11d, di
call fcn.18035c83a
movzx r11d, al
shl r11b, 6
not edi
bswap edi
ror edx, 0x2f
lea edi, [rdi + rcx*2 - 0x6895d2d6]
push rbx
movzx r10d, dx
xor dword [rsp + rcx*8 - 0x684c0], edi
pop rbx
push r11
movsxd rdi, edi
dec edx
dec cx
add r9, rdi
shr cl, 0x62
jne 0x18032beca
lea rcx, [rdi + r10*2 - 0xd7cbae8]
movzx edx, byte [rbp + r10*8 - 0x1f9]
and r10w, di
xor dl, bl
push r10
call fcn.180331ff4
jnp 0x1802fad3d
lea r8, [r8 + rax - 4]
pop r11
pop rdx
pop r10
pop rdx
pop rax
pop rsi
jbe fcn.18031be9f
mov edx, 0xc3bdd098
sub rbp, 4
mov esi, edx
movzx ecx, si
mov edi, dword [rbp + rcx*2 - 0x1a130]
xor edi, ebx
lea rax, [rcx + 0x31b00f92]
lea rax, [rsi + rax*4 + 0x393bd126]
xor edi, 0x19a78ca3
jmp 0x18034aa92
Function at 0x1400135c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [0x14001ae18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
lea rcx, [0x140013c50]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x28
ret

Function at 0x181ab90b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x181ab9237
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 0x181ab90e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ab90c7
add dl, dl
jne 0x181ab90ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ab914e
xor eax, eax
add dl, dl
jne 0x181ab90fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181ab9205
add dl, dl
jne 0x181ab910e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ab911b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ab9128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ab9135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x181ab9142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x181ab90d6
mov eax, 1
add dl, dl
jne 0x181ab915e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181ab916b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ab9153
sub eax, ebx
mov ebx, 1
jne 0x181ab91a4
mov ecx, 1
add dl, dl
jne 0x181ab9186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181ab9193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ab917b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ab90d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x181ab91c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181ab91cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181ab91b5
cmp eax, 0x7d00
jae 0x181ab91f3
cmp eax, 0x500
jb 0x181ab91ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ab90d6
cmp eax, 0x7f
ja 0x181ab91f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181ab90d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x181ab922a
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 0x181ab90d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001943c
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 [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
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.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
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 0x1400195b6
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.14017b000
add rsp, 0x28
jmp 0x14001943c
Function at 0x140004174
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.14000cba0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
setae al
add rsp, 0xc8
ret
Function at 0x140007820
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp qword [rcx + 8], rax
jne 0x140004337
mov qword [rcx + 8], rdx
cmp rdx, rax
setne al
ret
push rbx
sub rsp, 0x30
lea rax, [rcx + 0x18]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8, [0x140007660]
xor edx, edx
xor ecx, ecx
call fcn.14000da88
mov rcx, rbx
mov rdx, rax
add rsp, 0x30
pop rbx
jmp 0x140004328

Function at 0x140011843
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002d0a0]
jne 0x14000bf3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000bf36
repz ret
ror rcx, 0x10
jmp 0x14001179c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002efc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14002f0b8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140011821
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002efc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140011843
mov rax, qword [rsp + 0x88]
mov qword [0x14002f0b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002f058], rax
mov rax, qword [0x14002f0b8]
mov qword [0x14002ef30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002f040], rax
mov dword [0x14002ef20], 0xc0000409
mov dword [0x14002ef24], 1
mov rax, qword [0x14002d0a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002d0a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002efb8], eax
mov ecx, 1
call fcn.140011b8c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140024148]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002efb8], 0
jne 0x1400118ca
mov ecx, 1
call fcn.140011b8c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400122e4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001214c
Function at 0x140018e24
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140011b9c
xor ebx, ebx
mov rdi, rax
cmp qword [0x14002fcb8], rbx
jne 0x140018f2a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140018fff
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140018fff
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002fcb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002fcc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14002fcc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14002fcd8], rax
test rax, rax
je 0x140018f21
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14002fcd0], rax
jmp 0x140018f31
mov rax, qword [0x14002fcd0]
jmp 0x140018f38
mov rax, qword [0x14002fcd0]
mov r11, qword [0x14002fcd8]
cmp rax, rdi
je 0x140018fa0
cmp r11, rdi
je 0x140018fa0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14002fcd8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140018fa0
test rax, rax
je 0x140018fa0
call rsi
test rax, rax
je 0x140018f9a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140018f9a
test byte [rsp + 0x38], 1
jne 0x140018fa0
bts ebp, 0x15
jmp 0x140018fde
mov rcx, qword [0x14002fcc0]
cmp rcx, rdi
je 0x140018fde
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140018fde
call rax
mov rbx, rax
test rax, rax
je 0x140018fde
mov rcx, qword [0x14002fcc8]
cmp rcx, rdi
je 0x140018fde
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140018fde
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002fcb8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140018fff
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140019001
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140007e6c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1400de010]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x24], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.140005d38
lea rcx, [rsp + 0x80]
call fcn.1400545b8
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140007ed9
mov dword [rsp + 0x28], 1
jmp 0x140007ee1
mov dword [rsp + 0x28], 0
mov al, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140007ffc
mov edx, 0x100
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.14005348c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [0x1401014d0]
mov rcx, qword [rsp + 0x48]
call fcn.140055664
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.140053400
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rdx, [0x140101510]
mov rcx, qword [rsp + 0x60]
call fcn.140055664
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140053400
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.140053374
lea rcx, [rsp + 0xa0]
call fcn.1400544d0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400544d0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400544d0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x320]
call fcn.140053400
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x80]
call fcn.1400544d0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140083400
add rsp, 0x318
ret
Function at 0x14000804c
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400de010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x58]
call fcn.140007e6c
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400532e4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.1400544d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400080d3
mov al, 1
jmp 0x140008123
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400080df
xor al, al
jmp 0x140008123
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 0xa8d0
lea rdx, [0x1400e2910]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140008121
xor al, al
jmp 0x140008123
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140083400
add rsp, 0x88
ret
Function at 0x14000c8ac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400de010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.140007e6c
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400532e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000c8ec
mov byte [rsp + 0x20], 1
jmp 0x14000c8f1
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x30]
call fcn.1400544d0
mov al, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140083400
add rsp, 0x68
ret
Function at 0x140010ec0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x140010ee9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
jmp 0x140010f53
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140011019
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140011014
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x140010faf
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jne 0x140011014
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x140010fdf
xor eax, eax
jmp 0x14001101b
cmp qword [rsp + 0x90], 0
je 0x140010ffc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
jmp 0x14001101b
jmp 0x140010f49
xor eax, eax
add rsp, 0x78
ret
Function at 0x140020acc
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x48
lea rcx, [0x1400d39a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400d39b0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, rax
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
add rsp, 0x48
ret

Function at 0x140020b48
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.140020b1c
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
je 0x140020ba3
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x48
ret

Function at 0x140020ba8
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x24], 0
je 0x140020bd6
mov byte [rsp + 0x20], 1
jmp 0x140020bdb
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140020c10
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp qword [rsp + 0x28], 0
je 0x140020c40
mov byte [rsp + 0x20], 1
jmp 0x140020c45
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140021af4
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140021bc8
Capabilities:
Hide thread from debugger

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140021bff
xor al, al
jmp 0x140021c4c
cmp qword [rsp + 0x40], 0
jne 0x140021c25
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, rax
call qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
jmp 0x140021c3d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140021c4a
xor al, al
jmp 0x140021c4c
mov al, 1
add rsp, 0x38
ret