joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012c40
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14001fa48]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rsp + 0x130]
mov ebp, r9d
mov qword [rsp + 0x30], rcx
mov r14d, r8d
mov r12, rcx
cmp edx, 1
jne 0x140012da4
xor r15d, r15d
lea r9, [rsp + 0x40]
and dword [rsp + 0x28], r15d
lea rsi, [rsp + 0x40]
mov r8d, ebp
mov dword [rsp + 0x20], 0x80
mov edx, r14d
call fcn.1400140ac
mov r13d, eax
test eax, eax
jne 0x140012d1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140012d44
and dword [rsp + 0x28], r15d
xor r9d, r9d
and dword [rsp + 0x20], r15d
mov r8d, ebp
mov edx, r14d
mov rcx, r12
call fcn.1400140ac
movsxd r12, eax
test eax, eax
je 0x140012d44
lea r15d, [r13 + 1]
mov rcx, r12
mov edx, r15d
call fcn.14000f198
mov rsi, rax
test rax, rax
je 0x140012d44
and dword [rsp + 0x28], r13d
mov r9, rax
mov rcx, qword [rsp + 0x30]
mov r8d, ebp
mov edx, r14d
mov dword [rsp + 0x20], r12d
call fcn.1400140ac
mov r13d, eax
test eax, eax
je 0x140012d3c
movsxd rbp, r13d
mov edx, 1
mov rcx, rbp
call fcn.14000f198
mov qword [rdi], rax
mov rcx, rax
test rax, rax
jne 0x140012d6a
test r15d, r15d
je 0x140012d44
mov rcx, rsi
call fcn.14000a664
or eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400039d0
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [r13 - 1]
mov r8, rsi
movsxd r9, eax
mov rdx, rbp
call fcn.14000e5bc
test eax, eax
je 0x140012d95
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140008e50
test r15d, r15d
je 0x140012df3
mov rcx, rsi
call fcn.14000a664
jmp 0x140012df3
mov r15d, 2
cmp edx, r15d
jne 0x140012e0b
and qword [rdi], 0
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
je 0x140012dfa
mov rcx, rsi
mov edx, r15d
call fcn.14000f198
mov qword [rdi], rax
test rax, rax
je 0x140012dfa
mov r9d, esi
mov r8, rax
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140012dfa
xor eax, eax
jmp 0x140012d47
mov rcx, qword [rdi]
call fcn.14000a664
and qword [rdi], 0
jmp 0x140012d44
test edx, edx
jne 0x140012d44
and dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
bts ebp, 0x1d
mov r9d, r15d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140012d44
mov al, byte [rsp + 0x30]
mov byte [rdi], al
jmp 0x140012df3
Function at 0x140013468
Capabilities:
Clear file content

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 r13
push r14
push r15
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
mov esi, ecx
lea r8d, [rdi + 1]
call fcn.1400137ac
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400134f0
xor edx, edx
lea r8d, [rdi + 2]
mov ecx, esi
call fcn.1400137ac
cmp rax, 0xffffffffffffffff
je 0x1400134f0
mov rbx, rbp
sub rbx, rax
test rbx, rbx
jle 0x140013583
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r13d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8d, r13d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x140013516
call fcn.140008dcc
mov dword [rax], 0xc
call fcn.140008dcc
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov edx, 0x8000
mov ecx, esi
call fcn.140013890
mov r14d, eax
mov r8d, ebx
cmp rbx, r13
mov rdx, rbp
mov ecx, esi
cmovge r8d, r13d
call fcn.140011304
cmp eax, 0xffffffff
je 0x14001354a
cdqe
sub rbx, rax
test rbx, rbx
jle 0x140013563
jmp 0x140013525
call fcn.140008d50
cmp dword [rax], 5
jne 0x14001355f
call fcn.140008dcc
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r14d
mov ecx, esi
call fcn.140013890
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400135d8
jns 0x1400135e2
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.1400137ac
cmp rax, 0xffffffffffffffff
je 0x1400134f0
mov ecx, esi
call fcn.140010f88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, eax
neg ecx
sbb rdi, rdi
neg rdi
dec rdi
test eax, eax
jne 0x1400135d8
call fcn.140008dcc
mov dword [rax], 0xd
call fcn.140008d50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x1400134f0
xor r8d, r8d
mov rdx, r15
mov ecx, esi
call fcn.1400137ac
cmp rax, 0xffffffffffffffff
je 0x1400134f0
xor eax, eax
jmp 0x1400134f7
Function at 0x140013970
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x14001fa48]
xor rax, rbp
mov qword [rbp + 0x68], rax
and dword [rbp], 0
mov eax, dword [rsp]
sub rsp, 0x10
lea r14, [rsp + 0x20]
mov eax, dword [r14]
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013a75
mov r15, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x1400139fe
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea ecx, [rdi - 1]
add ecx, ebx
lea edx, [rdi - 1]
cmp ecx, ebx
jb 0x140013a75
mov eax, edx
not eax
and ecx, eax
je 0x140013a1b
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x140013a75
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovae eax, ecx
and rbx, r14
mov esi, eax
lea rax, [r15 + rdi]
sub rbx, rsi
cmp rbx, rax
jb 0x140013a75
mov r9d, 4
mov r8d, 0x1000
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140013a75
lea r9, [rbp + 4]
mov r8d, 0x104
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140013a75
mov eax, 1
jmp 0x140013a77
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.1400039d0
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r15
pop r14
pop rbp
ret
Function at 0x140013f38
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x14001fa48]
xor rax, rbp
mov qword [rbp], rax
mov r14d, dword [rbp + 0x68]
xor ebx, ebx
mov r13, r9
mov r15d, r8d
mov r12d, edx
test r14d, r14d
jne 0x140013f80
mov rax, qword [rcx]
mov r14d, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
je 0x14001407e
jle 0x140014012
xor edx, edx
lea rax, [rdx - 0x20]
div rsi
cmp rax, 2
jb 0x140014012
lea rax, [rsi + rsi]
lea rcx, [rax + 0x10]
cmp rcx, rax
jbe 0x140014012
cmp rcx, 0x400
ja 0x140013ffd
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140013fd7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140017850
sub rsp, rax
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x14001407e
mov dword [rdi], 0xcccc
add rdi, 0x10
jmp 0x140014015
call fcn.140005b24
mov rdi, rax
test rax, rax
je 0x140014015
mov dword [rax], 0xdddd
jmp 0x140013ff7
mov rdi, rbx
test rdi, rdi
je 0x14001407e
mov r9d, esi
mov r8, rdi
mov edx, r15d
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140014069
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov ecx, r14d
test eax, eax
jne 0x140014058
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
jmp 0x140014061
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14001407a
call fcn.14000a664
mov eax, ebx
jmp 0x140014080
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400039d0
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400432d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x20]
mov dword [rcx], eax
mov eax, dword [rsp + 0xc]
mov dword [rsp], eax
mov dword [rsp + 4], 0
jmp 0x14004330f
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 8
jge 0x140043340
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14004332a
mov dword [rsp + 8], 0xedb88320
jmp 0x140043332
mov dword [rsp + 8], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 8]
mov dword [rsp], eax
jmp 0x140043305
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x14005cd70
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14005ce3b
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14005ce3b
mov dword [rsp + 0x40], 1
mov eax, reloc.WS2_32.dll_inet_ntoa
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax + 0x44], rcx
mov eax, reloc.WS2_32.dll_inet_ntoa
imul rax, rax, 0
mov dword [rsp + rax + 0x4c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x60
pop rdi
ret
Function at 0x14008bb40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0xa0
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, [0x14014871c]
lea rcx, [rsp + 0x50]
call fcn.140003570
nop
lea rdx, [rsp + 0x50]
lea rcx, [0x1401d7c10]
call fcn.1400bc030
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x50]
call fcn.140003860
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14008bba1
lea rcx, str._nLoadLbCRC32
call fcn.14000ad70
mov qword [rsp + 0x28], 0
mov r8d, 0xa
mov edx, 0x67
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
mov r8d, 9
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.1401044f0
mov r8d, 8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.140103030
lea r8, [rsp + 0x80]
lea rdx, [0x14014878c]
lea rcx, [rsp + 0x88]
call fcn.1400c82b0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x24], 1
jmp 0x14008bc85
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x24], eax
ja 0x14008bcf3
mov eax, dword [rsp + 0x24]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140103030
lea r8, [rsp + 0x84]
lea rdx, [0x1401487a0]
lea rcx, [rsp + 0x88]
call fcn.1400c82b0
lea r8, [rsp + 0x84]
lea rdx, [rsp + 0x70]
lea rcx, [0x1401d7300]
call fcn.14002d940
jmp 0x14008bc7b
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140101e00
add rsp, 0xa0
pop rdi
ret
Function at 0x14009e6d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x204a8
call fcn.140101da0
sub rsp, rax
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x20490], rax
lea rdx, [0x140157218]
lea rcx, [rsp + 0x60]
call fcn.140003570
nop
lea rdx, [rsp + 0x60]
lea rcx, [0x1401d7c10]
call fcn.1400bc030
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x60]
call fcn.140003860
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14009e73c
lea rcx, str._nTranslatePath
call fcn.14000ad70
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x400
jae 0x14009e757
jmp 0x14009e75c
call fcn.140102360
xor eax, eax
mov rcx, qword [rsp + 0x58]
mov word [rsp + rcx + 0x90], ax
lea rdx, [rsp + 0x90]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x14009e92d
lea rax, [rsp + 0x490]
mov rdi, rax
xor eax, eax
mov ecx, 0xfffe
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
lea rcx, [0x140157230]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx]
mov word [rsp + rax + 0x80], cx
mov r8d, 0x7fff
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14009e8f3
lea rcx, [rsp + 0x490]
call fcn.14010d8c8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x7fff
jae 0x14009e8f3
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x204c0]
call fcn.14010e5f4
test eax, eax
jne 0x14009e867
mov rax, qword [rsp + 0x204c0]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5c
jne 0x14009e867
mov dword [rsp + 0x38], 1
jmp 0x14009e86f
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14009e8f3
lea rax, [rsp + 0x10490]
mov rdi, rax
xor eax, eax
mov ecx, 0xfffe
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x204c0]
mov rcx, qword [rsp + 0x48]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, str._s_s
mov edx, 0x7fff
lea rcx, [rsp + 0x10490]
call fcn.14009e3e0
lea rcx, [rsp + 0x10490]
call fcn.14010d8c8
mov r9, rax
lea r8, [rsp + 0x10490]
mov edx, 0x8000
mov rcx, qword [rsp + 0x204c0]
call fcn.14009e340
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x50], 0
je 0x14009e916
jmp 0x14009e8f3
cmp dword [rsp + 0x34], 0
jne 0x14009e92d
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
jne 0x14009e7cb
mov rcx, qword [rsp + 0x20490]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x204a8
pop rdi
pop rsi
ret
Function at 0x1400a9ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400a9bdd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a9be4
mov al, 1
jmp 0x1400a9d3c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400bb7c0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.1400bb7c0
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1400bb8a0
movzx eax, al
test eax, eax
je 0x1400a9c3b
xor al, al
jmp 0x1400a9d3c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.1400c4580
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400a9caa
cmp dword [rsp + 0x30], 1
je 0x1400a9cb6
cmp dword [rsp + 0x30], 3
je 0x1400a9d2a
jmp 0x1400a9d3a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400a9d01
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140113e3c
cmp qword [rsp + 0x48], rax
je 0x1400a9d01
xor al, al
jmp 0x1400a9d3c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400a9d1b
mov dword [rsp + 0x34], 1
jmp 0x1400a9d23
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400a9d3c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400a9d3c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140101e00
add rsp, 0xa8
ret
Function at 0x1400bf590
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.1400bb7c0
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.1400bb8a0
movzx eax, al
test eax, eax
je 0x1400bf5e6
lea rcx, [rsp + 0xe8]
call fcn.1400bf2b0
jmp 0x1400bf85a
mov rcx, qword [rsp + 0xe0]
call fcn.1400c0ef0
test rax, rax
je 0x1400bf652
mov rcx, qword [rsp + 0xe0]
call fcn.1400c0ef0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400bb7f0
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x1400bf652
lea rcx, [rsp + 0xe8]
call fcn.140041f20
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.1400b0e20
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x1400bf85a
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x1400bf66e
call fcn.1400bb7c0
jmp 0x1400bf85a
mov rcx, qword [rsp + 0xe0]
call fcn.1400b17b0
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x1400bf6e4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140041f20
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.14001be40
movzx eax, al
test eax, eax
je 0x1400bf6d2
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x1400bf6db
call fcn.1400bb7c0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x1400bf85a
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.140041f20
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x91]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x74
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.1400bf510
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400bf791
cmp dword [rsp + 0x44], 1
je 0x1400bf791
cmp dword [rsp + 0x44], 3
je 0x1400bf816
jmp 0x1400bf855
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400bf7e8
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.140113e3c
cmp qword [rsp + 0x58], rax
je 0x1400bf7e8
call fcn.1400bb7c0
jmp 0x1400bf85a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x1400bf80f
mov eax, dword [rsp + 0xe8]
jmp 0x1400bf85a
call fcn.1400bb7c0
jmp 0x1400bf85a
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.14001be40
movzx eax, al
test eax, eax
je 0x1400bf846
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x1400bf84f
call fcn.1400bb7c0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x1400bf85a
call fcn.1400bb7c0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140101e00
add rsp, 0xd8
ret
Function at 0x1400c4be0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400c4c14
xor eax, eax
jmp 0x1400c4e0a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400c4c45
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400c4e20
jmp 0x1400c4e0a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400ac6b0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400c4cf3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140003460
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400bd440
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140004b80
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1400bcf10
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400c4dfa
mov rcx, qword [rsp + 0x80]
call fcn.1400b17b0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400c4da8
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401138d4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400c4da3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400c4e0a
jmp 0x1400c4d1f
cmp qword [rsp + 0x50], 0
jbe 0x1400c4dfa
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1401138d4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x78
ret
Function at 0x1400c9fa0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r8d, 0x80
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rsp + 0x24], eax
mov r8d, 0x20
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.USER32.dll_GetClassNameW]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x2c]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
call fcn.1400ca7b0
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x188
ret
Function at 0x1400cac10
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x2048
call fcn.140101da0
sub rsp, rax
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x2000
jae 0x1400cac4a
jmp 0x1400cac4f
call fcn.140102360
xor eax, eax
mov rcx, qword [rsp + 0x20]
mov word [rsp + rcx + 0x30], ax
lea rdx, [rsp + 0x30]
lea rcx, [0x1400cadc0]
call qword [sym.imp.USER32.dll_EnumWindowStationsW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x2048
ret