joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013f544
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 0x14013f590
call fcn.1400fcb2c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400fcb54
mov rdx, rbp
mov rcx, rbx
call fcn.14013f910
mov edi, 0x14
jmp 0x14013f598
mov rcx, rbp
call fcn.1401b1520
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x14013f5bf
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x14013f5ab
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1401b2120
mov rcx, rbx
call fcn.1400fcb2c
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.1400fcb54
Function at 0x1401435e4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140231eb8]
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.0x1400f17b3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f17b3.0]
cmp eax, 0x40
jne 0x1401436da
cmp byte [rsp + 0x20], 0x4d
jne 0x1401436da
cmp byte [rsp + 0x21], 0x5a
jne 0x1401436da
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400f17b3.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f17b3.0]
cmp eax, 0x108
jne 0x1401436da
cmp byte [rsp + 0x20], 0x50
jne 0x1401436da
cmp byte [rsp + 0x21], 0x45
jne 0x1401436da
cmp byte [rsp + 0x22], 0
jne 0x1401436da
cmp byte [rsp + 0x23], 0
jne 0x1401436da
cmp byte [rsp + 0x38], 0xb
jne 0x1401436da
cmp byte [rsp + 0x39], 1
jne 0x1401436c1
cmp dword [rbp - 0x6c], 4
jbe 0x1401436c1
mov eax, dword [rbp - 0x48]
jmp 0x1401436dc
cmp byte [rsp + 0x38], 0xb
jne 0x1401436da
cmp byte [rsp + 0x39], 2
jne 0x1401436da
cmp dword [rbp - 0x5c], 4
jbe 0x1401436da
mov eax, dword [rbp - 0x38]
jmp 0x1401436dc
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401af480
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x140145858
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 [0x140231eb8]
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.0x1400f17b3.0]
mov ebx, eax
test eax, eax
js 0x14014591d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14014592a
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
lea rdx, [0x1401f55b0]
mov rax, qword [rax]
call qword [case.0x1400f17b3.0]
mov ebx, eax
test eax, eax
js 0x14014590c
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400f17b3.0]
mov ebx, eax
test eax, eax
js 0x1401458fb
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x1400f17b3.0]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f17b3.0]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f17b3.0]
test ebx, ebx
js 0x14014592a
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x14014599a
cmp qword [rdi + 0x10], 0
je 0x14014599a
cmp qword [rdi + 0x58], 0
jne 0x14014599a
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x14014599a
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1401466c0
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.140028190
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.1401af480
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140145fa4
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 [0x140231eb8]
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 0x14014612f
call fcn.140144a04
mov edx, eax
xor edi, edi
test eax, eax
je 0x1401460fe
sub edx, esi
je 0x1401460b9
sub edx, esi
je 0x140146077
cmp edx, 2
je 0x140146029
cmp eax, 5
je 0x14014612f
cmp eax, 3
je 0x14014612f
jmp 0x140146129
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 0x140146129
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 0x140146069
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 0x140146069
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14014610b
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 0x140146153
cmp qword [rbx + 0x18], 8
jb 0x140146139
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.1401af480
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 0x140160e5c
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 0x140160ec8
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
sub rcx, rdx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x140160ec8
cmp word [rdx], di
jne 0x140160ecf
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 0x140160ede
mov rcx, rbx
call fcn.1400041b8
mov dword [rbp - 0x20], 1
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140160f3f
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140160f2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140160f52
call fcn.1401af36c
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.1401b6544
int3
Function at 0x140161698
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 0x140161a60
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140161064
test al, al
jne 0x140161acd
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1401603f0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x140161acd
cmp ebx, 5
jne 0x140161abb
mov rcx, qword [0x140233a38]
test rcx, rcx
je 0x140161acd
cmp qword [0x140233a50], 0
jne 0x140161acd
xor r9d, r9d
lea edx, [rbx + 0xb]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140161acd
mov ecx, ebx
call fcn.140176670
test al, al
je 0x140161acd
mov ecx, ebx
call fcn.1400ffec4
add rsp, 0x20
pop rbx
ret
Function at 0x140162b24
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x40]
call fcn.1401b2120
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.1401af480
add rsp, 0x78
ret

Function at 0x140162cbc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea r8, [0x1401ef798]
mov rdx, rcx
mov rcx, qword [0x14023fc40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140162e49
mov rdx, rax
mov rcx, qword [0x14023fc40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140162e49
mov rdx, rbx
mov rcx, qword [0x14023fc40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140162e49
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140162e49
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 0x140162e42
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140162e39
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1401b1520
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 0x140162e30
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 0x140162ddd
lea rax, [0x1401f2358]
mov qword [rbx], rax
lea rax, [0x1401f2368]
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 0x140162ddf
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f17b3.0]
test rbx, rbx
je 0x140162e30
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x140162e1c
mov r8d, 0xffffff
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x140162e1c
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400f17b3.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 0x140162e4b
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140163a78
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.1400e23e0
test al, al
je 0x140163ad8
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140163aa6
mov rax, qword [rbx]
movzx r9d, word [rax]
lea r8, [0x1401f2390]
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.1400132f8
cmp qword [rbx + 0x18], 8
jb 0x140163aca
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.1401af480
add rsp, 0x40
pop rbx
ret
Function at 0x14016709c
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.1401662d0

Function at 0x140168a80
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 [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0x710], rax
mov dil, cl
xor esi, esi
cmp qword [0x140233a48], rsi
je 0x140168cbf
mov edx, dword [0x14027f398]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r8, qword [rax + rdx*8]
or rbx, 0xffffffffffffffff
mov eax, dword [rcx + r8]
cmp dword [0x14025ad80], eax
jg 0x140168ce7
test dil, dil
je 0x140168b13
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x14025ad7c]
call fcn.140095150
test al, al
jne 0x140168b13
mov byte [0x14025a56c], 1
jmp 0x140168cbf
mov byte [0x14025a56c], sil
mov r8d, 0x200
lea rdx, [rbp + 0x310]
mov rcx, qword [0x140233a48]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x14025a568]
lea eax, [rcx - 8]
mov edi, 0x9d
cmp eax, 1
jbe 0x140168c33
lea rax, [rbp + 0x310]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140168b52
lea r9, [0x140231a10]
cmp qword [0x140231a28], 8
cmovae r9, qword [0x140231a10]
mov rdx, qword [0x140231a20]
cmp rdx, rbx
jne 0x140168bb2
lea r8, [rbp + 0x310]
test rdx, rdx
je 0x140168c33
lea rax, [rbp + 0x310]
sub r9, rax
movzx eax, word [r9 + r8]
cmp ax, word [r8]
jne 0x140168bb2
add r8, 2
sub rdx, 1
jne 0x140168b98
jmp 0x140168c33
lea rdx, [0x140231a10]
mov rcx, qword [0x140233a48]
call fcn.140028190
mov ecx, dword [0x14025a568]
cmp ecx, 3
jne 0x140168c4c
cmp qword [0x14025a560], rsi
je 0x140168c38
mov ebx, 0x3d0
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1401b2120
mov dword [rsp + 0x20], ebx
mov rax, qword [0x140233a48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x7b
mov dword [rsp + 0x34], 4
mov edx, dword [0x14025aa64]
lea rcx, [rsp + 0x20]
call fcn.140167f88
lea rdx, [rsp + 0x20]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x14025a568]
cmp ecx, 3
jne 0x140168c4c
lea rdx, [0x140231a30]
mov ecx, edi
call fcn.1401689bc
mov ecx, dword [0x14025a568]
cmp ecx, 2
jbe 0x140168c56
cmp ecx, 9
jne 0x140168cb2
lea rdx, [0x140231a30]
mov ecx, edi
call fcn.1401689bc
lea rdx, [0x1402319d0]
lea rcx, [rbp + 0x2f0]
call fcn.1400e333c
nop
mov r8, rax
mov ebx, 0x9c
mov edx, ebx
mov rcx, qword [0x140233a48]
call fcn.14002817c
nop
lea rcx, [rbp + 0x2f0]
call fcn.140006b94
mov edx, ebx
mov rcx, qword [0x140233a48]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.140129ab8
mov rcx, qword [0x140233a48]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1401af480
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, [0x14025ad80]
call fcn.1401afbd8
cmp dword [0x14025ad80], ebx
jne 0x140168aed
mov dword [0x14025ad7c], esi
lea rcx, [0x14025ad80]
call fcn.1401afb78
jmp 0x140168aed
Function at 0x1401748a4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140231eb8]
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, [0x140236e50]
call fcn.140088ea8
lea rcx, [rbp - 0x30]
call fcn.1400dfb2c
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 0x14017497f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017497a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401749a7
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401af480
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
call fcn.1401b6544
int3
Function at 0x14017c898
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 [0x140231eb8]
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 0x14017c943
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 0x14017c94b
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.140162a10
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14017c9ee
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 0x14017ca37
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.1401af480
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 0x14017caf8
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 0x14017cb48
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14017cbb0
lea ecx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x14017cb66
cmp qword [0x140233a38], 0
je 0x14017cb66
mov dl, dil
mov rcx, rbx
call fcn.14017cbcc
test al, al
je 0x14017cb66
mov dil, r14b
jmp 0x14017cb69
xor dil, dil
test rsi, rsi
jne 0x14017cb76
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14017cb7f
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragFinish]
test dil, dil
je 0x14017cbb0
movzx eax, byte [0x140234aca]
test bpl, bpl
mov rcx, qword [0x140233a38]
mov edx, 0x800e
cmovne eax, r14d
xor r9d, r9d
xor r8d, r8d
mov byte [0x140234aca], 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 0x14018873c
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 [0x140231eb8]
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 0x1401887c8
mov dword [rdx], r8d
jmp 0x14018882f
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.140187d98
mov dword [rbx + 0x10], edi
mov dword [rbx + 0x14], esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401af480
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret