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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x14013fbf0
call fcn.1400fd140
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400fd168
mov rdx, rbp
mov rcx, rbx
call fcn.14013ff70
mov edi, 0x14
jmp 0x14013fbf8
mov rcx, rbp
call fcn.1401b1b70
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x14013fc1f
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x14013fc0b
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1401b2770
mov rcx, rbx
call fcn.1400fd140
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400fd168
Function at 0x140143c44
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [case.0x1400f1dc3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f1dc3.0]
cmp eax, 0x40
jne 0x140143d3a
cmp byte [rsp + 0x20], 0x4d
jne 0x140143d3a
cmp byte [rsp + 0x21], 0x5a
jne 0x140143d3a
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400f1dc3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f1dc3.0]
cmp eax, 0x108
jne 0x140143d3a
cmp byte [rsp + 0x20], 0x50
jne 0x140143d3a
cmp byte [rsp + 0x21], 0x45
jne 0x140143d3a
cmp byte [rsp + 0x22], 0
jne 0x140143d3a
cmp byte [rsp + 0x23], 0
jne 0x140143d3a
cmp byte [rsp + 0x38], 0xb
jne 0x140143d3a
cmp byte [rsp + 0x39], 1
jne 0x140143d21
cmp dword [rbp - 0x6c], 4
jbe 0x140143d21
mov eax, dword [rbp - 0x48]
jmp 0x140143d3c
cmp byte [rsp + 0x38], 0xb
jne 0x140143d3a
cmp byte [rsp + 0x39], 2
jne 0x140143d3a
cmp dword [rbp - 0x5c], 4
jbe 0x140143d3a
mov eax, dword [rbp - 0x38]
jmp 0x140143d3c
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x140145eb8
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r8, rdx
mov rdi, rcx
and qword [rbp - 0x38], 0
and qword [rbp - 0x40], 0
mov rax, qword [rdx]
lea rdx, [rbp - 0x38]
mov rcx, r8
mov rax, qword [rax + 0x90]
call qword [case.0x1400f1dc3.0]
mov ebx, eax
test eax, eax
js 0x140145f7d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140145f8a
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
lea rdx, [0x1401f55a0]
mov rax, qword [rax]
call qword [case.0x1400f1dc3.0]
mov ebx, eax
test eax, eax
js 0x140145f6c
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f1dc3.0]
mov ebx, eax
test eax, eax
js 0x140145f5b
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x1400f1dc3.0]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f1dc3.0]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f1dc3.0]
test ebx, ebx
js 0x140145f8a
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x140145ffa
cmp qword [rdi + 0x10], 0
je 0x140145ffa
cmp qword [rdi + 0x58], 0
jne 0x140145ffa
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x140145ffa
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140146d20
nop
mov dword [rsp + 0x30], 0x204
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x10]
call fcn.140028160
nop
lea rcx, [rbp - 0x30]
call fcn.140006b94
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140146604
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov esi, 1
lea r15, [0x1401dbff0]
lea r14, str.open
cmp dword [rcx + 0x84], 2
jne 0x14014678f
call fcn.140145064
mov edx, eax
xor edi, edi
test eax, eax
je 0x14014675e
sub edx, esi
je 0x140146719
sub edx, esi
je 0x1401466d7
cmp edx, 2
je 0x140146689
cmp eax, 5
je 0x14014678f
cmp eax, 3
je 0x14014678f
jmp 0x140146789
mov r8, rbx
lea rdx, str.__new_window
lea rcx, [rbp - 0x30]
call fcn.140004100
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.opera.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.140006b94
jmp 0x140146789
mov r8, rbx
lea rdx, str.__new_window
lea rcx, [rbp - 0x30]
call fcn.140004100
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.chrome.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
jmp 0x1401466c9
mov r8, rbx
lea rdx, str._new_window
lea rcx, [rbp - 0x30]
call fcn.140004100
nop
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.firefox.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
jmp 0x1401466c9
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14014676b
mov r9, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.iexplore.exe
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
cmp rdi, 0x20
ja 0x1401467b3
cmp qword [rbx + 0x18], 8
jb 0x140146799
mov rbx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401614dc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rbp - 0x20], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov edx, 0x105
lea rcx, [rbp - 0x18]
call fcn.14000a448
nop
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140161548
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
sub rcx, rdx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x140161548
cmp word [rdx], di
jne 0x14016154f
lea rdx, str._rartemp_
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14016155e
mov rcx, rbx
call fcn.1400041b8
mov dword [rbp - 0x20], 1
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1401615bf
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401615ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401615d2
call fcn.1401af9bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
call fcn.1401b6b94
int3
Function at 0x140161d18
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x1401620e0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1401616e4
test al, al
jne 0x14016214d
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x140160a70]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x14016214d
cmp ebx, 5
jne 0x14016213b
mov rcx, qword [0x140233a48]
test rcx, rcx
je 0x14016214d
cmp qword [0x140233a60], 0
jne 0x14016214d
xor r9d, r9d
lea edx, [rbx + 0xb]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14016214d
mov ecx, ebx
call fcn.140176cf0
test al, al
je 0x14016214d
mov ecx, ebx
call fcn.140100518
add rsp, 0x20
pop rbx
ret
Function at 0x1401631a4
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x40]
call fcn.1401b2770
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x1e
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x78
ret

Function at 0x14016333c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea r8, [0x1401ef788]
mov rdx, rcx
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1401634c9
mov rdx, rax
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1401634c9
mov rdx, rbx
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1401634c9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1401634c9
and qword [rsp + 0x68], 0
mov esi, edi
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1401634c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1401634b9
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1401b1b70
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1401634b0
mov rsi, qword [rsp + 0x58]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14016345d
lea rax, [0x1401f2348]
mov qword [rbx], rax
lea rax, [0x1401f2358]
mov qword [rbx], rax
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
jmp 0x14016345f
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f1dc3.0]
test rbx, rbx
je 0x1401634b0
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14016349c
mov r8d, 0xffffff
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14016349c
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400f1dc3.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x68]
jmp 0x1401634cb
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401640f8
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.1400e29e0
test al, al
je 0x140164158
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140164126
mov rax, qword [rbx]
movzx r9d, word [rax]
lea r8, [0x1401f2380]
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.1400132f8
cmp qword [rbx + 0x18], 8
jb 0x14016414a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x40
pop rbx
ret
Function at 0x14016771c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r9, qword [rcx + 0x30]
lea rdx, [rcx + 8]
mov r8b, byte [rcx + 0x28]
mov ecx, dword [rcx]
jmp fcn.140166950

Function at 0x140169100
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x728]
sub rsp, 0x820
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x710], rax
mov dil, cl
xor esi, esi
cmp qword [0x140233a58], rsi
je 0x14016933f
mov edx, dword [0x14027f3a8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r8, qword [rax + rdx*8]
or rbx, 0xffffffffffffffff
mov eax, dword [rcx + r8]
cmp dword [0x14025ad90], eax
jg 0x140169367
test dil, dil
je 0x140169193
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x14025ad8c]
call fcn.140095750
test al, al
jne 0x140169193
mov byte [0x14025a57c], 1
jmp 0x14016933f
mov byte [0x14025a57c], sil
mov r8d, 0x200
lea rdx, [rbp + 0x310]
mov rcx, qword [0x140233a58]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x14025a578]
lea eax, [rcx - 8]
mov edi, 0x9d
cmp eax, 1
jbe 0x1401692b3
lea rax, [rbp + 0x310]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1401691d2
lea r9, [0x140231a20]
cmp qword [0x140231a38], 8
cmovae r9, qword [0x140231a20]
mov rdx, qword [0x140231a30]
cmp rdx, rbx
jne 0x140169232
lea r8, [rbp + 0x310]
test rdx, rdx
je 0x1401692b3
lea rax, [rbp + 0x310]
sub r9, rax
movzx eax, word [r9 + r8]
cmp ax, word [r8]
jne 0x140169232
add r8, 2
sub rdx, 1
jne 0x140169218
jmp 0x1401692b3
lea rdx, [0x140231a20]
mov rcx, qword [0x140233a58]
call fcn.140028160
mov ecx, dword [0x14025a578]
cmp ecx, 3
jne 0x1401692cc
cmp qword [0x14025a570], rsi
je 0x1401692b8
mov ebx, 0x3d0
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1401b2770
mov dword [rsp + 0x20], ebx
mov rax, qword [0x140233a58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x7b
mov dword [rsp + 0x34], 4
mov edx, dword [0x14025aa74]
lea rcx, [rsp + 0x20]
call fcn.140168608
lea rdx, [rsp + 0x20]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x14025a578]
cmp ecx, 3
jne 0x1401692cc
lea rdx, [0x140231a40]
mov ecx, edi
call fcn.14016903c
mov ecx, dword [0x14025a578]
cmp ecx, 2
jbe 0x1401692d6
cmp ecx, 9
jne 0x140169332
lea rdx, [0x140231a40]
mov ecx, edi
call fcn.14016903c
lea rdx, [0x1402319e0]
lea rcx, [rbp + 0x2f0]
call fcn.1400e393c
nop
mov r8, rax
mov ebx, 0x9c
mov edx, ebx
mov rcx, qword [0x140233a58]
call fcn.14002814c
nop
lea rcx, [rbp + 0x2f0]
call fcn.140006b94
mov edx, ebx
mov rcx, qword [0x140233a58]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.14012a118
mov rcx, qword [0x140233a58]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x820]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x14025ad90]
call fcn.1401b0228
cmp dword [0x14025ad90], ebx
jne 0x14016916d
mov dword [0x14025ad8c], esi
lea rcx, [0x14025ad90]
call fcn.1401b01c8
jmp 0x14016916d
Function at 0x140174f24
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov qword [rbp - 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], di
lea r8, [rbp - 0x30]
mov rdx, rcx
lea rcx, [0x140236e60]
call fcn.1400894b8
lea rcx, [rbp - 0x30]
call fcn.1400e012c
lea r8d, [rdi + 1]
lea rdx, [0x1401dc78c]
lea rcx, [rbp - 0x30]
call fcn.140006c24
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
mov dword [rsp + 0x28], 1
lea rax, [0x1401dbff0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140174fff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140174ffa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140175027
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401afad0
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
call fcn.1401b6b94
int3
Function at 0x14017cf18
Capabilities:
Get file system object information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov r9d, dword [rcx + 0x38]
lea r8, str._c:_
mov rdi, rcx
add r9d, 0x41
mov edx, 0xa
lea rcx, [r11 - 0x48]
call fcn.1400132f8
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x301
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x320]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [rdi + 0x10], 1
lea rbx, [rdi + 0x20]
je 0x14017cfc3
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, 0xe
mov esi, eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ebp, eax
jmp 0x14017cfcb
mov esi, dword [rsp + 0x50]
mov ebp, dword [rsp + 0x50]
mov r8d, dword [rdi + 0x2c]
lea r14, [rdi + 0x28]
mov edx, dword [r14]
lea rax, [0x1401dbff0]
mov rcx, qword [rbx]
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 2]
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [r12 + 0x31]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r12 + 0x32]
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9, qword [rsp + 0x60]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [r14]
mov rcx, qword [rbx]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140163090
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14017d06e
mov edx, dword [r14]
lea r9, [rsp + 0x70]
mov r8d, dword [rdi + 0x2c]
add edx, 7
mov dword [rsp + 0x20], ecx
add edx, r15d
mov rcx, qword [rbx]
add r8d, 2
call qword [sym.imp.GDI32.dll_TextOutW]
test byte [rdi + 0x10], 1
je 0x14017d0b7
mov rcx, qword [rbx]
mov edx, esi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbx]
mov edx, ebp
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14017d178
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
test rcx, rcx
mov bpl, dl
mov rbx, rcx
mov rsi, rcx
sete dil
mov r14d, 1
test rcx, rcx
jne 0x14017d1c8
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14017d230
lea ecx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x14017d1e6
cmp qword [0x140233a48], 0
je 0x14017d1e6
mov dl, dil
mov rcx, rbx
call fcn.14017d24c
test al, al
je 0x14017d1e6
mov dil, r14b
jmp 0x14017d1e9
xor dil, dil
test rsi, rsi
jne 0x14017d1f6
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14017d1ff
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragFinish]
test dil, dil
je 0x14017d230
movzx eax, byte [0x140234ada]
test bpl, bpl
mov rcx, qword [0x140233a48]
mov edx, 0x800e
cmovne eax, r14d
xor r9d, r9d
xor r8d, r8d
mov byte [0x140234ada], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140188dbc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, dword [rdx + 0x10]
mov eax, 0x10000
mov esi, dword [rdx + 0x14]
xor r8d, r8d
mov r10, rcx
mov dword [rbp - 0x21], eax
mov ecx, dword [rdx + 0x18]
mov rbx, rdx
mov qword [rbp - 0x19], rax
mov dword [rbp - 9], eax
mov dword [rbp - 5], eax
mov dword [rbp + 3], eax
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], eax
mov dword [rbp + 0x13], eax
mov dword [rbp + 0x17], eax
mov dword [rbp + 0x1f], eax
mov dword [rbp + 0x23], eax
mov dword [rbp + 0x27], eax
lea eax, [rcx + 1]
mov dword [rdx + 0x18], eax
mov qword [rbp - 0x29], r8
mov dword [rbp - 0x1d], 0x38000
mov qword [rbp - 0x11], r8
mov dword [rbp - 1], 0x7c000
mov dword [rbp + 0x1b], 0xfe000
cmp ecx, 6
jb 0x140188e48
mov dword [rdx], r8d
jmp 0x140188eaf
mov byte [rsp + 0x50], r8b
mov eax, 0xaaaaaaab
mul ecx
mov r9d, 0xa
shr edx, 2
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov eax, 5
sub eax, ecx
cmp ecx, 3
cmovb eax, ecx
lea rcx, [rbp - 0x29]
imul rdx, rax, 0x1c
mov al, byte [rbx + 6]
mov byte [rsp + 0x48], al
add rdx, rcx
mov al, byte [rbx + 5]
mov rcx, r10
mov byte [rsp + 0x40], al
mov al, byte [rbx + 4]
mov byte [rsp + 0x38], al
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 7
call fcn.140188418
mov dword [rbx + 0x10], edi
mov dword [rbx + 0x14], esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret