joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0x2c], 0x94
lea rcx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rsp + 0x30], 6
jne 0x40102b
cmp dword [rsp + 0x34], 1
sete al
add rsp, 0xc8
ret

Function at 0x4011f0
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x290
mov rbx, rcx
mov esi, edx
lea rcx, str.2.zal_a720f0fa_45dc_4c7d_b95c_816caec1c57b.
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x4012e6
lea r10, [rsp + 0x4c]
lea rdx, [0x004030b6]
mov rcx, r10
call fcn.004013c0
lea rdx, [rsp + 0x17c]
mov rcx, r10
call fcn.00401370
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, 1
mov rcx, r10
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, qword [sym.imp.KERNEL32.dll_FindClose]
cmp rax, 0xffffffffffffffff
mov r13, rax
jne 0x401290
mov rcx, r12
call rdi
jmp 0x4012e6
mov r8d, esi
lea r9, [rsp + 0x48]
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r13
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call rdi
test esi, esi
je 0x4012e6
mov r8d, dword [rsp + 0x48]
xor eax, eax
cmp r8d, eax
jle 0x4012ea
mov dl, byte [rbx + rax]
lea rcx, [rbx + rax]
inc rax
cmp dl, 0xa
je 0x4012e1
cmp dl, 0xd
jne 0x4012c8
mov byte [rcx], 0
jmp 0x4012ea
xor eax, eax
jmp 0x4012ef
mov eax, 1
add rsp, 0x290
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret

Function at 0x401420
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xd0
xor edx, edx
mov r8d, 0x68
lea r9, [rsp + 0x68]
mov r10, rcx
mov rcx, r9
call fcn.00401320
lea r11, [rsp + 0x50]
xor edx, edx
mov r8d, 0x18
mov rcx, r11
mov dword [rsp + 0x68], 0x68
mov dword [rsp + 0xa4], 1
mov word [rsp + 0xa8], 0
call fcn.00401320
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r9
mov rdx, r10
xor r9d, r9d
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014d7
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
nop
add rsp, 0xd0
pop rbx
ret
Function at 0x180001000
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x188
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], 0
call fcn.1800059d0
mov r9d, 1
lea rdx, [rsp + 0x60]
lea r8d, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1800010ec
mov rax, qword [str.C:Windows]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x20], rax
movzx eax, word [0x180014890]
lea rdi, [rsp + 0x20]
mov word [rsp + 0x28], ax
movzx eax, byte [0x180014892]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x2a], al
xor eax, eax
mov qword [rsp + 0x2b], rax
mov qword [rsp + 0x33], rax
mov qword [rsp + 0x3b], rax
mov qword [rsp + 0x43], rax
mov qword [rsp + 0x4b], rax
mov qword [rsp + 0x53], rax
mov dword [rsp + 0x5b], eax
mov byte [rsp + 0x5f], al
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.18000d978
mov rdi, qword [rsp + 0x180]
test eax, eax
jne 0x1800010ec
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180003290
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180003290
add rsp, 0x188
ret

Function at 0x1800011a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r12d, ecx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800011f0
xor eax, eax
jmp 0x1800012de
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1800012d3
mov qword [rsp + 0x1c0], rdi
nop word [rax + rax]
mov rax, qword [str.explorer.exe]
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
mov qword [rbp + 0x60], rax
mov eax, dword [0x1800148a0]
lea rdx, [rbp + 0x60]
mov dword [rbp + 0x68], eax
movzx eax, byte [0x1800148a4]
mov byte [rbp + 0x6c], al
xor eax, eax
mov qword [rbp + 0x6d], rax
mov qword [rbp + 0x75], rax
mov qword [rbp + 0x7d], rax
mov qword [rbp + 0x85], rax
mov qword [rbp + 0x8d], rax
mov qword [rbp + 0x95], rax
mov word [rbp + 0x9d], ax
mov byte [rbp + 0x9f], al
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x5c]
call fcn.18000d978
test eax, eax
jne 0x1800012af
mov ecx, dword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1800012af
cmp dword [rsp + 0x20], r12d
je 0x1800012c7
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001220
jmp 0x1800012cb
mov esi, dword [rsp + 0x38]
mov rdi, qword [rsp + 0x1c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.180003290
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800015a0
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x140
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
mov rdi, rcx
call fcn.18000dbd0
test eax, eax
je 0x180001670
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800059d0
lea r8, [0x1800148bc]
lea rcx, [rsp + 0x20]
mov r9, rdi
mov edx, 0x104
call fcn.180003694
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
not rcx
cmp byte [rsp + rcx + 0x1e], 0x5c
jne 0x180001618
mov byte [rsp + rcx + 0x1e], al
lea rdi, [rsp + 0x21]
cmp byte [rsp + 0x21], al
je 0x180001653
cmp byte [rdi], 0x5c
jne 0x18000164b
lea rcx, [rsp + 0x20]
xor edx, edx
mov byte [rdi], 0
call fcn.18000dbd0
test eax, eax
je 0x180001648
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [rdi], 0x5c
inc rdi
cmp byte [rdi], 0
jne 0x180001623
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.18000dbd0
test eax, eax
je 0x180001670
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180003290
add rsp, 0x140
pop rdi
ret

Function at 0x180001690
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800059d0
lea rdx, str.attrib_h_s___s_
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.1800032b0
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180003290
add rsp, 0x140
pop rbx
ret
Function at 0x180002770
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x1800029af
lea rcx, [rbp + 0x91]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x2c8], rbx
mov byte [rbp + 0x90], 0
call fcn.1800059d0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x100410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000281d
lea r8, [rbp + 0x90]
mov r9d, 0x104
xor edx, edx
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x6f]
xor edx, edx
mov r8d, 0xff
mov byte [rbp - 0x70], 0
call fcn.1800059d0
lea rdx, [rbp - 0x70]
mov r8d, 0x100
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [rsi + 0x10]
mov rbx, qword [rsp + 0x2c8]
lea r8, [rbp + 0x90]
mov rax, rdx
sub r8, rdx
nop
movzx edi, byte [rax]
movzx ecx, byte [rax + r8]
sub edi, ecx
jne 0x180002873
inc rax
test ecx, ecx
jne 0x180002860
test edi, edi
jne 0x18000289d
mov rax, qword [rsi + 0x18]
lea r8, [rbp - 0x70]
sub r8, rax
movzx edi, byte [rax]
movzx ecx, byte [rax + r8]
sub edi, ecx
jne 0x180002895
inc rax
test ecx, ecx
jne 0x180002882
test edi, edi
je 0x1800029af
lea rcx, [rbp + 0x90]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x1800028b0
mov rdx, qword [rsi + 0x18]
lea rcx, [rbp - 0x70]
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x1800028d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x90]
repne scasb al, byte [rdi]
mov rax, qword [rsi + 0x10]
lea rdi, [rbp - 0x70]
not rcx
mov byte [rcx + rax - 1], 0
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [rsi + 0x18]
not rcx
mov byte [rcx + rax - 1], 0
xor eax, eax
lea rcx, [rsp + 0x58]
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x69], rax
mov qword [rsp + 0x71], rax
mov qword [rsp + 0x79], rax
mov dword [rbp - 0x7f], eax
mov word [rbp - 0x7b], ax
mov byte [rbp - 0x79], al
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x66]
movzx ecx, word [rsp + 0x62]
movzx eax, word [rsp + 0x64]
movzx edi, word [rsp + 0x60]
movzx r10d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x68]
lea rdx, str._04d__02d__02d__02d:_02d:_02d._03dz
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.1800032b0
mov rcx, qword [rsi + 0x30]
lea rdx, [rbp - 0x70]
lea r9, [rbp + 0x90]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
lea rdx, str._n_n_s__s__s_n
call fcn.18000382c
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180003290
lea r11, [rsp + 0x2b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180002d70
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x540
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea r8, str.jk29n23f09jnfdsfa0_1jnfwa
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov rbx, rax
test rax, rax
jne 0x180002dc0
lea r8, str.jk29n23f09jnfdsfa0_1jnfwa
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x180002de9
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180002de9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.180004308
int3
call fcn.180001000
test eax, eax
je 0x180002e69
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x130], 0
call fcn.1800059d0
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800059d0
mov rcx, qword [0x180019b70]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rsp + 0x20]
lea rdx, str.regsvr32__s__s
lea rcx, [rsp + 0x130]
call fcn.1800032b0
lea rcx, [rsp + 0x130]
call fcn.180001310
jmp 0x180002f4f
mov qword [rsp + 0x550], rbp
mov rbp, qword [0x180019b68]
mov qword [rsp + 0x558], rsi
mov qword [rsp + 0x560], rdi
mov qword [rsp + 0x568], r12
xor r12d, r12d
test rbp, rbp
jne 0x180002ebc
lea ecx, [rbp + 0x60]
call fcn.180003ef8
test rax, rax
je 0x180002eb2
mov rcx, rax
call fcn.180001700
mov rbp, rax
jmp 0x180002eb5
mov rbp, r12
mov qword [0x180019b68], rbp
lea rsi, str.false
lea rdi, str.true
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
lea rcx, [0x180018758]
sete sil
call fcn.180003f9c
lea rcx, [0x180018748]
mov edi, eax
call fcn.180003f9c
movzx r9d, sil
mov r8d, edi
mov rcx, rbp
mov edx, eax
call fcn.180001830
cmp qword [0x180019b68], r12
mov rdi, qword [rsp + 0x560]
mov rsi, qword [rsp + 0x558]
mov rbp, qword [rsp + 0x550]
jne 0x180002f42
mov ecx, 0x60
call fcn.180003ef8
test rax, rax
je 0x180002f3b
mov rcx, rax
call fcn.180001700
mov r12, rax
mov qword [0x180019b68], r12
call fcn.1800019f0
mov r12, qword [rsp + 0x568]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.180003290
add rsp, 0x540
pop rbx
ret
Function at 0x180003070
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x180017070]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov ebp, dword [rsp + 0x320]
mov esi, dword [rsp + 0x328]
mov rbx, rcx
mov r12d, r8d
mov dword [rsp + 0x54], edx
xor eax, eax
lea rcx, [rsp + 0xa2]
xor edx, edx
mov r8d, 0x206
mov r13d, r9d
mov word [rsp + 0xa0], ax
call fcn.1800059d0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
mov rdx, rbx
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xa0]
call fcn.180004548
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, rdi
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, r15
mov rdx, rax
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, ebp
mov rbx, rax
mov eax, esi
xor r8d, r8d
cdq
mov rcx, r15
sub eax, edx
sar eax, 1
sub r13d, eax
mov eax, ebp
cdq
mov dword [rsp + 0x38], r13d
sub eax, edx
xor edx, edx
sar eax, 1
sub r12d, eax
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x90]
call fcn.180002f80
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x58], 0
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov eax, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0x50], eax
mov eax, dword [0x180014878]
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x70], eax
mov eax, dword [0x18001487c]
mov dword [rsp + 0x84], 4
mov dword [rsp + 0x74], eax
mov eax, dword [0x180014880]
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x78], eax
mov eax, dword [0x180014884]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180003290
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180004308
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.180004178
Function at 0x1800048f7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180017070]
jne 0x1800032aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800032a6
repz ret
ror rcx, 0x10
jmp 0x180004850
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180018bc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180018cb8]
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 0x1800048d5
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, [0x180018bc0]
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 0x1800048f7
mov rax, qword [rsp + 0x88]
mov qword [0x180018cb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180018c58], rax
mov rax, qword [0x180018cb8]
mov qword [0x180018b30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180018c40], rax
mov dword [0x180018b20], 0xc0000409
mov dword [0x180018b24], 1
mov rax, qword [0x180017070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180017078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180018bb8], eax
mov ecx, 1
call fcn.180009e20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180012548]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180018bb8], 0
jne 0x18000497e
mov ecx, 1
call fcn.180009e20
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 0x18000a248
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 [0x180017070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000828c
xor ebx, ebx
cmp qword [0x180019ac0], rbx
mov rdi, rax
jne 0x18000a35b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18000a432
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000a432
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180019ac0], 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 [0x180019ac8], 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 [0x180019ad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180019ae0], rax
test rax, rax
je 0x18000a352
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 [0x180019ad8], rax
jmp 0x18000a362
mov rax, qword [0x180019ad8]
jmp 0x18000a369
mov rax, qword [0x180019ad8]
mov r11, qword [0x180019ae0]
cmp rax, rdi
je 0x18000a3d0
cmp r11, rdi
je 0x18000a3d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180019ae0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18000a3d0
test rax, rax
je 0x18000a3d0
call rsi
test rax, rax
je 0x18000a3ca
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 0x18000a3ca
test byte [rsp + 0x40], 1
jne 0x18000a3d0
bts ebp, 0x15
jmp 0x18000a410
mov rcx, qword [0x180019ac8]
cmp rcx, rdi
je 0x18000a410
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18000a410
call rax
mov rbx, rax
test rax, rax
je 0x18000a410
mov rcx, qword [0x180019ad0]
cmp rcx, rdi
je 0x18000a410
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18000a410
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180019ac0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18000a432
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18000a434
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180003290
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000db50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x18000db7a
call fcn.180005954
and dword [rax], 0
call fcn.180005934
mov ebx, 0x16
mov dword [rax], ebx
call fcn.1800058cc
mov eax, ebx
jmp 0x18000dbca
test edx, 0xfffffff9
jne 0x18000db5d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x18000dba3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180005974
call fcn.180005934
mov eax, dword [rax]
jmp 0x18000dbca
test al, 0x10
jne 0x18000dbc8
test al, 1
je 0x18000dbc8
test bl, 2
je 0x18000dbc8
call fcn.180005954
mov dword [rax], 5
call fcn.180005934
mov dword [rax], 0xd
jmp 0x18000db9a
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
mov r8d, 0x58
mov qword [rsp + 0x60], rax
lea rdx, str.1.3.1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov ebp, eax
mov rsi, r9
call fcn.14000ad20
mov r15d, eax
test eax, eax
je 0x1400010d7
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002010
mov eax, 0xffffffff
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.140014aec
mov r13, rax
test rax, rax
jne 0x14000110d
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140001fd0
jmp 0x140001269
mov ecx, 0x2000
call fcn.140014aec
mov rbp, rax
test rax, rax
jne 0x14000113b
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140001fd0
jmp 0x140001269
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [rax]
mov eax, 0x2000
mov rbx, r12
cmp r12, rax
mov r9, rdi
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000f2fc
cmp rax, rbx
jne 0x140001261
mov rcx, rdi
call fcn.14000f070
test eax, eax
jne 0x140001261
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.140009160
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001246
cmp eax, 2
je 0x140001241
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001204
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.14000fa3c
cmp rax, rbx
jne 0x1400011ff
mov rcx, r14
call fcn.14000f070
test eax, eax
je 0x14000121a
mov edi, r15d
jmp 0x140001246
test rsi, rsi
je 0x14000121a
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002a240
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x14000123c
test r12, r12
je 0x140001246
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x140001261
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
add rdx, 0x12
mov r8d, edi
call fcn.140002010
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000aa00
mov rcx, r13
call fcn.140014ad8
mov rcx, rbp
call fcn.140014ad8
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret