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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Housokonpozairyo_tnos_tfluege_tcsvdir_tcommessages_tclientarea_tyiyuan_tzencart_tuploads_tkeydetails_tcommercials_talert_tgetpage_tast_ttopten_trhosts_tannunci_tbadrobot_tfoxtrot_tpicpost_tcreateaccount_tkept_tbookshelf_tbacheca_tvtirpc_tstarhub_ttigers_tAggreSpy_twebinator_tstatewire_tclear_tblogtest_tports_tcomingsoon_tprizes_tmedinfo_tgrcomfoot_tarticlephp_tmarquee_tjustin_tziggy_tkarten_taspnetwebadmin_tpaso_teditable_thomepage_tgeorge_tklmjp_tniagara_thappy_tone_tbis_tcopyfrompic_tdetroit_tpbo
mov r10, rax
sub rbx, rax
movabs rdi, 0x23456789abcdf013
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c2
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a8a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a902
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cd70
test al, al
jne 0x14000a914
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a8d0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x7a
mov dword [rbp - 0x20], 0x2a0003
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3d0027
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x2f002d
mov dword [rbp - 0x10], 0x2a0023
call fcn.140005e60
mov rcx, rax
call 0x14000a8a0
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x70
mov dword [rbp - 0x20], 0x2a0003
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3d0027
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x5c005c
call fcn.140002590
mov rcx, rax
call 0x14000a8a0
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1b0026
mov dword [rbp - 0x1c], 0x1f0011
mov dword [rbp - 0x18], 0x6b0003
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
jmp 0x14000a8a0
Function at 0x14000e150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a902
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cd70
test al, al
jne 0x14000a914
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a8d0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x7a
mov dword [rbp - 0x20], 0x2a0003
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3d0027
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x2f002d
mov dword [rbp - 0x10], 0x2a0023
call fcn.140005e60
mov rcx, rax
call 0x14000a8a0
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x70
mov dword [rbp - 0x20], 0x2a0003
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3d0027
mov dword [rbp - 0x18], 0x27002a
mov dword [rbp - 0x14], 0x5c005c
call fcn.140002590
mov rcx, rax
call 0x14000a8a0
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1b0026
mov dword [rbp - 0x1c], 0x1f0011
mov dword [rbp - 0x18], 0x6b0003
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
jmp 0x14000a8a0
Function at 0x14000ede0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x7001b
mov dword [rbp - 0x1c], 0x1f0010
mov dword [rbp - 0x18], 0x580003
mov dword [rbp - 0x14], 0x40005d
mov dword [rbp - 0x10], 0x30014
mov dword [rbp - 0xc], 0x610016
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400181a0], rax
mov dword [rbp - 0x20], 0x6001f
mov dword [rbp - 0x1c], 0x1a001b
mov dword [rbp - 0x18], 0xe0001
mov dword [rbp - 0x14], 0x40001b
mov dword [rbp - 0x10], 0x30014
mov dword [rbp - 0xc], 0x610016
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400175a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400181b0], rax
mov word [rbp - 0x10], 0x397f
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1f10071b
mov dword [rbp - 0x1c], 0xb172e03
mov dword [rbp - 0x18], 0x40e1a13
mov word [rbp - 0x14], 0x723e
call fcn.140001180
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x16010101
mov dword [rbp - 0x1c], 0x1a0a051d
mov dword [rbp - 0x18], 0xf1f1f3f
mov word [rbp - 0x14], 0x7228
call fcn.140001180
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017640]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e8], rax
mov byte [rbp - 0x10], 9
call fcn.140004e60
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017540]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180f0], rax
mov dword [rbp - 0x10], 0x730a026d
call fcn.1400029f0
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400175c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e0], rax
mov byte [rbp - 0x10], 9
call fcn.140004e60
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017610]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180d8], rax
mov dword [rbp - 0x10], 0x32010160
mov byte [rbp - 0xc], 9
call fcn.140003790
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017510]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2f67
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x1400181b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x14000f060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000f28e
mov word [rbp + 0x50], 0x6f48
mov word [rbp + 0x58], 0x6f48
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000f114
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000f100
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000f145
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000f130
cmp rdi, rbx
jne 0x14000f262
mov r13, rsi
mov word [rbp - 0x50], 0x6f48
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000f186
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000f172
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000f288
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x6f0029
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000f1f8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x6f0032
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000f1f8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x6f0029
mov dword [rbp - 0x42], 0x6f0009
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x6f0029
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000f255
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x6f0032
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000f255
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x6f0029
mov dword [rbp - 0x32], 0x6f0009
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000f262
inc r14
jmp 0x14000f160
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000f28e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000f0d0
mov rax, qword [rbp - 8]
jmp 0x14000f290
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016eeb
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
mov dword [0x1400a5001], 0x4f
mov dword [0x1400a5001], 0x50
mov byte [rsp + 0x28], 0
mov dword [0x1400a5001], 0x52
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_OpenProcessToken
and rax, rax
je 0x140017076
mov dword [0x1400a5001], 0x53
lea rax, [rsp + 0x38]
mov dword [0x1400a5001], 0x55
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
and rax, rax
je 0x140017058
mov dword [0x1400a5001], 0x56
lea rax, [rsp + 0x40]
mov dword [0x1400a5001], 0x59
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x1400a5001], 0x5a
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400a5001], 0x5b
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
mov dword [0x1400a5001], 0x5c
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x1400a5001], 0x5e
lea rax, [rsp + 0x50]
mov rax, rax
push rax
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push 4
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
mov dword [0x1400a5001], 0x5f
mov dword [0x1400a5001], 0x60
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400a5001], 0x61
mov dword [0x1400a5001], 0x62
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x1400170a3
add rsp, 0x58
pop r15
pop rbp
ret

Function at 0x140017ebd
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
mov dword [0x1400a5001], 0x100002b
mov dword [0x1400a5001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x140017f0c
mov dword [0x1400a5001], 0x100002d
mov rax, 1
jmp 0x140017f23
mov dword [0x1400a5001], 0x100002e
mov dword [0x1400a5001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret

Function at 0x14001d358
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1400edb48]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001d3b2
mov r8, qword [0x1400a5230]
mov rcx, qword [0x1400ecd08]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1400edb48]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.14001ccf3
lea rcx, [0x14001d330]
mov rdx, rbx
call fcn.14001d62c
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14001d3bc
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400edb48], eax
add rsp, 0x28
jmp fcn.14001d358
Function at 0x14001f2ec
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x14001f2f4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14001f431
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x14001f3d2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001ff94
mov rsi, rax
test rax, rax
je 0x14001f428
mov rcx, qword [0x1400edc38]
mov rdx, r15
call fcn.140037228
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.14001ff5c
mov rcx, rsi
mov rbx, rax
call fcn.14001ff34
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.14001fc6c
mov qword [r14], rax
test rax, rax
je 0x14001f3c8
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x14001f428
mov rcx, rsi
call fcn.14001ff2c
jmp 0x14001f428
mov rcx, qword [0x1400ecd08]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14001f428
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.14001f7e8
mov rcx, qword [0x1400ecd08]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14001f2f4
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x14001f2f4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14001f431
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x14001f3d2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001ff94
mov rsi, rax
test rax, rax
je 0x14001f428
mov rcx, qword [0x1400edc38]
mov rdx, r15
call fcn.140037228
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.14001ff5c
mov rcx, rsi
mov rbx, rax
call fcn.14001ff34
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.14001fc6c
mov qword [r14], rax
test rax, rax
je 0x14001f3c8
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x14001f428
mov rcx, rsi
call fcn.14001ff2c
jmp 0x14001f428
mov rcx, qword [0x1400ecd08]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14001f428
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.14001f7e8
mov rcx, qword [0x1400ecd08]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14001f508
Capabilities:
Create thread

Disassembly:
or r8d, 0xffffffff
xor edx, edx
jmp 0x14001f508
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov r15, rcx
mov rdx, rcx
mov rcx, qword [0x1400edc38]
mov esi, r8d
xor r14d, r14d
call fcn.1400371fc
mov rbx, rax
test rax, rax
je 0x14001f6ed
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0x20], r14
je 0x14001f5ee
mov rcx, r15
call fcn.14001fcf4
jmp 0x14001f56c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x2d], r14b
jne 0x14001f561
mov rcx, qword [rbx + 0x20]
call fcn.14001ff8c
mov edi, 1
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], r12d
mov byte [rbx + 0x2c], dil
call fcn.14001f450
lea rax, [rsp + 0x88]
lea r8, [0x14001f708]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], r14d
mov r9, rbx
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14001f5c9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x14001f5d8
mov edx, esi
mov rcx, r15
call fcn.14001fdfc
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov r9d, edi
jmp 0x14001f699
mov edi, 1
mov ebp, r14d
test dil, r12b
cmovne ebp, edi
test r12b, 2
je 0x14001f6a6
mov rcx, rax
call fcn.14001fbc8
lea rcx, [rbx + 8]
lea edx, [rdi + 0x1f]
call fcn.140037bc0
mov rcx, qword [0x1400edd58]
mov rdx, qword [rsp + 0x30]
mov r9, qword [rcx]
lea r8, [rsp + 0x30]
mov r14, rax
call qword [r9 + 0x28]
test eax, eax
jne 0x14001f6ed
mov rcx, qword [rsp + 0x30]
mov byte [r14 + 9], bpl
mov byte [r14 + 8], dil
mov qword [r14], rcx
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x14]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp esi, 0xffffffff
je 0x14001f683
mov r8, r14
mov edx, esi
mov rcx, r15
call fcn.14001fe04
jmp 0x14001f691
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x60]
jmp 0x14001f6ed
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp esi, 0xffffffff
je 0x14001f6cb
mov edx, esi
mov rcx, r15
call fcn.14001fdfc
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
test eax, eax
jne 0x14001f6ed
mov r14, rdi
mov byte [rbx + 0x2c], dil
mov byte [rbx + 0x2e], bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140020234
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x1400202ab
movsxd rdx, ecx
lea rcx, [0x140020190]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x1400edc48]
test rbx, rbx
je 0x14002031e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x1400202a1
cmp byte [rbx + 0x20], 0
je 0x1400202a1
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140020267
jmp 0x14002031e
mov rbx, qword [0x1400edc48]
test rbx, rbx
je 0x14002031e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140020316
cmp byte [rbx + 0x21], 0
je 0x1400202da
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140020306
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400edc48]
call fcn.140037c04
mov rbx, rdi
test rdi, rdi
jne 0x1400202b7
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400242e4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x1400eeed0]
call fcn.1400371fc
mov rsi, rax
test rax, rax
je 0x14002435d
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x140024322
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14002435d
mov rcx, qword [rsi]
call qword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.140038020
lea r8d, [rdi + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.DLL_GetWindowTextA]
mov rcx, rbx
call sub.msvcrt.dll_strlen
sub edi, eax
mov ecx, edi
call fcn.1400380d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret