joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021de0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1404af710]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140021e41
cmp byte [rbx + 0x4a5e], 0
jne 0x140021e41
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000f500
test dil, 1
je 0x140021fb0
jmp 0x140021f18
movss xmm3, dword [rbx + 0xdfc]
lea r8, str.Tooltip__02d
movss xmm1, dword [rbx + 0xe00]
xor ecx, ecx
movss xmm2, dword [rbx + 0x3898]
mov edx, 0x10
movss xmm4, dword [rbx + 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [0x1400918b4]
mulss xmm4, dword [0x140091894]
mulss xmm2, dword [0x140091884]
subss xmm3, xmm0
subss xmm1, xmm2
subss xmm3, dword [0x1404afbc8]
subss xmm1, dword [0x1404afbcc]
mulss xmm3, xmm4
addss xmm3, dword [0x1404afbc8]
mulss xmm1, xmm4
addss xmm1, dword [0x1404afbcc]
movss dword [0x1404afbc8], xmm3
movss dword [0x1404afbcc], xmm1
mov eax, dword [rbx + 0x47a8]
movsx r9d, word [rbx + 0x5b5a]
or eax, 1
mov dword [rbx + 0x47a8], eax
or eax, 0x40
movsd xmm0, qword [0x1404afbc8]
mov qword [rbx + 0x47c0], rcx
mov dword [rbx + 0x4808], ecx
lea rcx, [rsp + 0x20]
movsd qword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47ac], 1
mov dword [rbx + 0x47a8], eax
call fcn.14000f500
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140021f68
lea r11, [0x140088d30]
cmp r9b, 0x23
jne 0x140021f4b
cmp byte [r8], r9b
jne 0x140021f4b
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140021f38
not ecx
call fcn.1400187c0
test rax, rax
je 0x140021fb0
cmp byte [rax + 0xae], 0
je 0x140021fb0
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b5a]
call fcn.14000f500
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001b020
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140082990
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400275b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140027657
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002760a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029aa0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140010120
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1404af704]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002765f
mov rcx, rbx
call fcn.140010120
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140027bd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1404af710]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027c33
mov qword [rsp], rbx
lea rbx, [0x140088d30]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027c13
cmp byte [r8], r9b
jne 0x140027c13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140027c00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140027c67
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140027c6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140027c54
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140058770
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400587fc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400587d0
lea r11, [0x140088d30]
nop
cmp r9b, 0x23
jne 0x1400587b3
cmp byte [r8], r9b
jne 0x1400587b3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400587a0
mov rcx, qword [0x1404af710]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x1400587e7
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x140058856
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1404af710]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ed0]
movsxd rax, dword [r8 + 0xe8]
mov r8, qword [r8 + 0xf0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000f640
cmp dword [rbx + 0x3f18], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14005884f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140028d50
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14006fb50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14005eea0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x14005ea20]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, str.notepad
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140091a20]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14005ea90
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.14006f3a0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140082990
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140070430
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140070451
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14007047e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140070480
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400704d9
test ecx, ecx
jle 0x1400704b9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400704d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400704d9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte cs:[rcx], dh
add eax, 0x320a400c
or al, 0x40
or dh, byte [rdx]
invalid
Function at 0x140070500
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140070522
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140070531
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140070554
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140070556
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140070592
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14007062e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400705cd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14007060e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14007062e
cmp rbx, rax
ja 0x1400705e0
test rbx, rbx
je 0x14007062e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add eax, 0x2670758
or dword es:[rcx], ebx
add byte [rax], al
invalid
add eax, 0x2800ec
sub al, 0
xor byte [rax], al
xor al, 0
jb 0x140125794
invalid
Function at 0x140070a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140070abd
xor eax, eax
jmp 0x140070c29
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140070af7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140070af7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140070c29
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140070c1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140070b3a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140070b65
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140070c21
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140070bd4
sub eax, 1
je 0x140070bd4
cmp eax, 2
jne 0x140070c1c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140070c21
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140070c02
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140070c1c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140070c21
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140082990
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140073500
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400735d3
cmp byte [rcx + 0x71], 0
je 0x1400735d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400735cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140073594
sub eax, 1
je 0x140073598
cmp eax, 2
jne 0x1400735cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140082990
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400735c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400735cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14007357c
xor al, al
jmp 0x14007357c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140082990
add rsp, 0x60
pop rbx
ret

Function at 0x140081e20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140081e5a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140081e5f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140081ea8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140087a80]
cmp byte [rcx + rax], 0
je 0x140081ea8
dec r8
sub rdx, 1
jne 0x140081e8e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400837ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400837f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400837f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400837f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400837f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400837f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400837f8
xor al, al
add rsp, 0x28
ret
Function at 0x1c7a058
Capabilities:
Decompress data using aplib

Disassembly:
loop 0x1c7a09b
push rdx
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1c7a080
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c7a066
add dl, dl
jne 0x1c7a08d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c7a0ed
xor eax, eax
add dl, dl
jne 0x1c7a09c
mov dl, byte [rsi]
inc rsi
adc dl, dl
ror byte [rdi], cl
add dword [rdx], 1
add byte [rax], al
jae 0x1c7a1a4
add dl, dl
jne 0x1c7a0ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c7a0ba
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c7a0c7
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c7a0d4
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1c7a0e1
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1c7a075
mov eax, 1
add dl, dl
jne 0x1c7a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c7a10a
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c7a0f2
sub eax, ebx
mov ebx, 1
jne 0x1c7a143
mov ecx, 1
add dl, dl
jne 0x1c7a125
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c7a132
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c7a11a
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c7a075
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1c7a15f
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c7a16c
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c7a154
cmp eax, 0x7d00
jae 0x1c7a192
cmp eax, 0x500
jb 0x1c7a18d
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c7a075
cmp eax, 0x7f
ja 0x1c7a195
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c7a075
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1c7a1c9
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1c7a075
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400037b0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140048f90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.140009640
xor bl, bl
lea rdx, [rsp + 0x70]
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.1400057a0
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x14004b872
mov eax, dword [0x1400f04c0]
test eax, eax
je 0x14004b894
mov r15d, 1
lea rcx, [0x1400f2230]
cmp eax, r15d
je 0x14004b8a0
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400f04c0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400f04e8]
call fcn.140003f04
test al, al
je 0x14004b8c4
mov al, byte [0x1400f2230]
lea r9, [rbp + 0x1ffb8]
mov rcx, qword [0x1400f04e8]
lea r8, [rbp + 0xff70]
mov dil, byte [0x1400f2231]
mov edx, 0x7fff
mov byte [0x1400f04c4], al
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400f04a0]
call fcn.140007cf4
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400f04c0]
lea rdx, [0x1400f04e8]
call fcn.140003f9c
test eax, eax
jne 0x14004b8d0
cmp dil, r15b
je 0x14004b8f3
call fcn.140003b84
call fcn.140003cbc
cmp byte [0x1400f04c4], 0
jne 0x1400038ef
lea rcx, [0x1400f0e60]
call fcn.140006258
mov edx, r15d
lea rcx, [0x1400f0510]
call fcn.1400125f0
cmp byte [0x1400f04c4], 0
jne 0x140003913
lea rcx, [0x1400f0e60]
call fcn.140005d88
lea rcx, [0x1400f2230]
call fcn.1400039e4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14000a07c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, reloc.WSOCK32.dll_recv
lea r8, [0x1400dc23c]
lea rdx, str.This_is_a_third_party_compiled_AutoIt_script.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14000392a
or dword [0x1400f03b0], 0xffffffff
jmp 0x14000391f
mov r8, qword [0x1400f04c8]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14000e278
mov al, byte [0x1400f03b8]
mov byte [0x1400f2232], al
jmp 0x1400038ac
mov dword [0x1400f03b0], r15d
jmp 0x14000391f
lea rcx, [0x1400f2230]
call fcn.1400039e4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x1400f03b0], r15d
jmp 0x14000392a
call fcn.14006d540
test al, al
jne 0x1400038d0
cmp byte [rbp + 0x1ffb0], al
jne 0x1400038d0
lea rcx, [rsp + 0x50]
call fcn.140005680
lea rdx, [0x1400d8704]
lea rcx, [rsp + 0x30]
call fcn.14000ec00
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004b95b
lea rdx, [0x1400dc270]
call fcn.1400071f8
lea rdx, [0x1400f04e8]
lea rcx, [rsp + 0x30]
call fcn.140007c24
lea rdx, [0x1400dc270]
lea rcx, [rsp + 0x30]
jmp 0x14004b95e
mov rdx, rsi
call fcn.1400071f8
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
lea rdx, str.runas
mov rcx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14000a07c
nop
jmp 0x140003913
Function at 0x14000a290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14000a339
xor edi, edi
test rsi, rsi
je 0x14000a2e2
mov eax, dword [rbx + 0x14]
cmp eax, dword [rbx + 0x10]
je 0x14000a2fe
mov rcx, qword [rbx + 8]
movsxd rdx, eax
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp], dl
inc rdi
inc dword [rbx + 0x14]
mov eax, dword [rbx + 0x14]
cmp rdi, rsi
jb 0x14000a2c1
add qword [rbx + 0x18], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x14000a2e2
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000a2e2
mov dword [rbx + 0x10], eax
xor eax, eax
mov dword [rbx + 0x14], 0
jmp 0x14000a2c6
mov qword [rcx + 0x10], 0
lea r8, [rsp + 0x40]
mov rcx, qword [rcx]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
jmp 0x14000a2b7