joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401891c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x860
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r14, rcx
xor r9d, r9d
lea r8, str.Button
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbp, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
test rax, rax
je 0x1401893ee
xor r15d, r15d
nop word [rax + rax]
mov edx, 0xfffffff0
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0xb
je 0x1401893cc
bt eax, 0xd
jb 0x1401893cc
mov qword [rsp + 0x30], r15
call fcn.1400195b0
mov rdx, rax
test rax, rax
je 0x14018941b
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rsp + 0x40]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401892c0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140018f70
lea r8, [0x140292d78]
lea rdx, [0x1402955b4]
lea rcx, [rsp + 0x30]
call fcn.140029290
lea r8, [0x140262520]
lea rdx, [0x140292e1c]
lea rcx, [rsp + 0x30]
call fcn.140029290
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x31]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rbx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r8d, dword [rsp + 0x3c]
add r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
lea r9d, [rdx + 0xa]
add r9d, r8d
mov dword [rsp + 0x48], r9d
mov eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.USER32.dll_MoveWindow]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401893cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor r9d, r9d
lea r8, str.Button
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbp, rax
test rax, rax
jne 0x140189220
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1401a40f0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x120]
cmp dword [rcx - 0x10], 0
je 0x1401a418e
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbx + 0x120]
cmp dword [rax - 0x10], 0
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
je 0x1401a4189
cmp dword [rdx + 0x10], 0
jge 0x1401a414f
cmp dword [rax - 0xc], 0
jl 0x1401a4194
mov rdi, qword [rsp + 0x30]
xor ecx, ecx
mov dword [rax - 0x10], ecx
mov rax, qword [rbx + 0x120]
mov word [rax], cx
add rsp, 0x20
pop rbx
ret
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401a416e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx + 0x120], rax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov ecx, 0x80070057
call fcn.140019320
int3
Function at 0x1401a8020
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2b8], 1
mov edi, edx
mov rbx, rcx
jne 0x140142d66
call fcn.140163500
cmp dword [rax + 0x62c], 3
jne 0x140142c0e
call fcn.140163500
add dword [rax + 0x630], edi
call fcn.140163500
cmp dword [rax + 0x630], 0x40
jge 0x140142bcd
call fcn.140163500
mov dword [rax + 0x630], 0x40
mov edx, 0x8186
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1401419b0
call fcn.140163500
cmp dword [rax + 0x630], 0x100
jle 0x140142bed
call fcn.140163500
mov dword [rax + 0x630], 0x100
call fcn.140163500
mov rcx, qword [rbx + 0x168]
mov edx, dword [rax + 0x630]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1401a8020
call fcn.140163500
mov edx, dword [rax + 0x62c]
test edx, edx
je 0x140142cab
sub edx, 1
je 0x140142c52
cmp edx, 1
jne 0x140142d66
test edi, edi
jle 0x140142c4a
mov edx, 0x8227
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1401419b0
jns 0x140142d66
jmp 0x140142cb3
test edi, edi
jg 0x140142bb6
jns 0x140142d66
mov rdi, qword [rbx + 0x168]
call fcn.140163500
call fcn.140163500
xor r9d, r9d
xor r8d, r8d
mov dword [rax + 0x62c], 0
mov rcx, qword [rdi + 8]
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
and r8d, 0xfffffffd
or r8d, 1
jmp 0x140142cf8
test edi, edi
jle 0x140142d66
mov rdi, qword [rbx + 0x168]
call fcn.140163500
call fcn.140163500
xor r9d, r9d
xor r8d, r8d
mov dword [rax + 0x62c], 1
mov rcx, qword [rdi + 8]
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
or r8d, 3
cmp eax, r8d
je 0x140142d0c
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rdi + 8]
xor r9d, r9d
lea r8d, [r9 + 1]
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov r9d, 0x2000000
mov r8d, r9d
mov edx, 0x1036
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.1401a7e10
mov rcx, qword [rbx + 0x160]
call fcn.1401aa4c0
mov rcx, qword [rbx + 0x168]
mov rdx, rax
call fcn.1401a68d0
mov rcx, rbx
call fcn.140160520
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov dword [rcx + 0x1d0], edx
mov rbx, rcx
cmp edx, 0x40
jge 0x1401a8040
mov dword [rcx + 0x1d0], 0x40
jmp 0x1401a8052
cmp edx, 0x100
jle 0x1401a8052
mov dword [rcx + 0x1d0], 0x100
mov dl, 1
call fcn.1401a7e10
mov rdx, qword [rbx + 0x78]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1401a68d0
Function at 0x1401aaa20
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx ebx, cx
xor r15d, r15d
mov qword [rbp - 0x11], r15
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401aac01
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x11], rax
mov r8d, ebx
lea rdx, str.._c:
lea rcx, [rbp - 0x11]
call fcn.14001c3d0
xor r14b, r14b
mov sil, 1
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r15 + 3]
mov rbx, qword [rbp - 0x11]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401aabae
mov qword [rbp + 0x17], 8
mov dword [rbp - 0x19], r15d
xor eax, eax
mov qword [rbp - 9], rax
mov dword [rbp - 1], eax
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], InitCommonControls
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 0xc]
lea r8, [rbp + 0x17]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401aab2a
cmp dword [rbp - 0x19], 0xc
jne 0x1401aab2a
cmp byte [rbp - 1], r14b
setne r14b
jmp 0x1401aab30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp + 0x27], 7
mov dword [rbp - 0x19], r15d
xor eax, eax
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], eax
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], InitCommonControls
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, InitCommonControls
lea r8, [rbp + 0x27]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401aab90
cmp dword [rbp - 0x19], 0xc
jne 0x1401aab90
cmp byte [rbp + 0xf], 0
setne sil
jmp 0x1401aab96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14b, r14b
je 0x1401aabae
test sil, sil
jne 0x1401aabae
mov dil, 1
jmp 0x1401aabb1
xor dil, dil
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401aabd4
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
movzx eax, dil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1401aac10
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx]
cmp dword [rax - 0x10], 2
jge 0x1401aac47
mov rdx, qword [rcx]
jmp 0x1401aade2
cmp word [rax + 2], 0x3a
je 0x1401aac56
mov rdx, qword [rcx]
jmp 0x1401aade2
movzx ecx, word [rax]
call fcn.140214f38
mov esi, eax
lea ecx, [rax - 0x63]
cmp cx, 0x17
ja 0x1401aaddf
mov qword [rsp + 0x28], 0
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401aae24
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
movzx r8d, si
lea rdx, str._c:_
lea rcx, [rsp + 0x28]
call fcn.14001c3d0
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1401aacfb
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aace9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
mov eax, 3
jmp 0x1401aae07
cmp eax, 4
jne 0x1401aad36
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aad24
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
mov eax, 4
jmp 0x1401aae07
cmp eax, 3
je 0x1401aad6c
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aad5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
jmp 0x1401aae05
movzx ecx, si
call fcn.1401aaa20
nop
test al, al
je 0x1401aadac
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aad9d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
mov eax, 1
jmp 0x1401aae07
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aadd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
mov eax, 2
jmp 0x1401aae07
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401aae05
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1401ac8e0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r14
mov eax, 0x1068
call fcn.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp dword [rsp + 0x10c0], 0
mov rbp, r9
mov r14, qword [rsp + 0x10b8]
mov rsi, rcx
jne 0x1401aca7e
cmp r8d, 2
jne 0x1401ac9d7
mov qword [rsp + 0x1060], rbx
mov qword [rsp + 0x1058], r12
mov r12, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x1050], r15
call fcn.1401f3934
mov rcx, qword [rsi + 8]
xor edi, edi
mov rbx, rax
mov r15d, edi
lea edx, [rdi - 4]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rbx, rax
mov rbx, qword [rsp + 0x1060]
jne 0x1401ac99b
mov r8, qword [rsi + 0x40]
lea edx, [rdi - 4]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1401ac99e
mov rcx, qword [sym.imp.USER32.dll_DefWindowProcW]
mov r15, qword [rsi + 8]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 8], rdi
mov rdi, r15
mov r9, qword [rsp + 0x10b0]
mov r8, rbp
mov edx, 2
mov rcx, rdi
mov rax, r12
call qword [case.0x140038716.0]
mov r15, qword [rsp + 0x1050]
mov r12, qword [rsp + 0x1058]
mov qword [r14], rax
mov eax, 1
jmp 0x1401aca80
cmp r8d, 0x102
jne 0x1401aca7e
cmp rbp, 0x39
ja 0x1401ac9fa
movabs rax, 0x3ff4000ffffffff
bt rax, rbp
jb 0x1401aca04
lea rax, [r9 - 0x7f]
cmp rax, 0x7f
ja 0x1401aca6f
cmp rbp, 0x2e
jne 0x1401aca79
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.1401f5ed8
test rax, rax
je 0x1401aca79
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
sub edx, eax
je 0x1401aca6f
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
nop
cmp word [rcx], 0x2e
je 0x1401aca79
add rcx, 2
sub edx, 1
jne 0x1401aca60
xor edi, edi
mov qword [r14], rdi
lea eax, [rdi + 1]
jmp 0x1401aca80
xor edi, edi
mov qword [r14], rdi
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x1068
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401ae280
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1401285c0
mov dword [rax + 0xd0], 0
mov eax, dword [0x14030fbb4]
test eax, eax
jne 0x1401ae2ce
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x14
mov dword [0x14030fbb4], eax
cmp eax, 0xfa0
jl 0x1401ae34c
call fcn.1401285c0
cmp dword [rax + 0x120], 0
jne 0x1401ae34c
call fcn.140163500
cmp dword [rax + 0x63c], 0
jne 0x1401ae310
call fcn.1401285c0
mov rcx, rax
call fcn.140128b50
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x78
ret
mov qword [rsp + 0x70], rbx
call fcn.1401ab2a0
mov ebx, eax
call fcn.140163500
cmp dword [rax + 0x63c], ebx
ja 0x1401ae33a
call fcn.140163500
mov ecx, dword [rax + 0x63c]
inc ecx
cmp ecx, ebx
ja 0x1401ae347
call fcn.1401285c0
mov rcx, rax
call fcn.140128b50
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x78
ret
Function at 0x1401b6c40
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x98]
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x1401b6c7c
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rsi], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x200]
mov qword [rsp + 0x30], rdi
cmp byte [rax + 0x10], bpl
je 0x1401b6d00
nop
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x78]
jae 0x1401b6cd8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401b6cb6
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x208]
xor r9d, r9d
mov edi, dword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsi]
cmp eax, edi
je 0x1401b6d2e
cmp eax, dword [rbx + 0x78]
jb 0x1401b6c97
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax]
mov dword [rsi], ebp
mov rax, qword [rbx + 0x200]
cmp byte [rax + 0x10], bpl
jne 0x1401b6c90
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x1401b6d13
Function at 0x1401bd9b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x250]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + InitCommonControls]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x1401bdb31
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x1401bda4d
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x1401bdaa7
imul ecx, r8d, 0x1fe
add ecx, 0xfe
add ecx, esi
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x1401bda90
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x1401bda72
cmp r13d, 1
jne 0x1401bdb03
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x1401bdae0
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x1401bda30
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x1401f49c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f4a0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f4a0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f4a0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401f4a0e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f4a0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401f4a10
xor al, al
add rsp, 0x28
ret

Function at 0x140202560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1402188e0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1402025af
mov rax, rbp
jmp 0x1402026b7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x304f10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140219c18
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x304f10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1402026b3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1402026b3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140219c18
test rax, rax
js 0x1402026b3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1402026b3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1402026a5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1402026a5
cmp byte [rcx], 0xd
jne 0x14020268b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14020269a
cmp byte [rcx + 1], 0xa
jne 0x14020269a
inc rcx
jmp 0x14020269a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2fa3f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14020266d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1402026b7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140212de8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140212e1f
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
xor eax, eax
jmp 0x140212ead
mov rdx, r9
mov rcx, r8
call fcn.140212d84
mov rbx, rax
test rax, rax
je 0x140212eaa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140212cb0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140212e97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401fadc0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140212e7e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140212e8d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140217504
jmp 0x140212eaa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140212ea7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140215d28
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140215b24