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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x170
call fcn.140103e70
sub rsp, rax
mov rax, qword [0x140172b58]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, qword [rsp + 0x1d0]
xor ebp, ebp
mov rdi, r9
movsxd rbx, r8d
mov r12, rdx
mov rsi, rcx
mov r14d, ebp
test r9, r9
je 0x1400e4543
cmp r9, qword [rcx]
je 0x1400e453e
test rdx, rdx
je 0x1400e4537
test r8d, r8d
jns 0x1400e453e
xor eax, eax
jmp 0x1400e4722
mov qword [rcx], r9
jmp 0x1400e454b
mov rdi, qword [rcx]
test rdi, rdi
je 0x1400e4537
mov rcx, rdi
call fcn.140034720
test al, 2
jne 0x1400e4537
mov qword [rsp + 0x168], r15
mov r15d, 1
test r12, r12
je 0x1400e46df
mov rcx, rdi
mov r14d, r15d
call fcn.1400347f0
cmp eax, 0x90
jg 0x1400e4744
cmp eax, ebx
jge 0x1400e45d7
mov rcx, qword [rsi + 8]
mov r8, r13
mov rdx, rdi
call fcn.140032fd0
test eax, eax
je 0x1400e4744
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, r12
call fcn.1400330f0
test eax, eax
je 0x1400e4744
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call fcn.140033120
test eax, eax
je 0x1400e4744
mov ebx, dword [rsp + 0x20]
jmp 0x1400e45f7
cmp ebx, 0x90
ja 0x1400e4744
lea rcx, [rsp + 0x30]
mov r8, rbx
mov rdx, r12
call sub.MSVCR90.dll_memcpy
mov dword [rsp + 0x20], ebx
cmp ebx, 0x90
je 0x1400e4616
mov eax, ebx
mov r8d, 0x90
xor edx, edx
lea rcx, [rsp + rax + 0x30]
sub r8d, ebx
call sub.MSVCR90.dll_memset
mov rcx, rbp
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 2
xor al, 0x36
mov byte [rsp + rcx + 0xbe], al
movzx eax, byte [rsp + rcx + 0x2f]
xor al, 0x36
cmp rcx, 0x90
mov byte [rsp + rcx + 0xbf], al
jl 0x1400e4620
mov rcx, qword [rsi + 0x10]
mov r8, r13
mov rdx, rdi
call fcn.140032fd0
test eax, eax
je 0x1400e46f7
mov rcx, rdi
call fcn.1400347f0
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0xc0]
movsxd r8, eax
call fcn.1400330f0
test eax, eax
je 0x1400e46f7
mov rcx, rbp
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 2
xor al, 0x5c
mov byte [rsp + rcx + 0xbe], al
movzx eax, byte [rsp + rcx + 0x2f]
xor al, 0x5c
cmp rcx, 0x90
mov byte [rsp + rcx + 0xbf], al
jl 0x1400e4683
mov rcx, qword [rsi + 0x18]
mov r8, r13
mov rdx, rdi
call fcn.140032fd0
test eax, eax
je 0x1400e46f7
mov rcx, rdi
call fcn.1400347f0
mov rcx, qword [rsi + 0x18]
lea rdx, [rsp + 0xc0]
movsxd r8, eax
call fcn.1400330f0
test eax, eax
je 0x1400e46f7
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
call fcn.140033280
test eax, eax
cmovne ebp, r15d
test r14d, r14d
je 0x1400e4718
lea rcx, [rsp + 0x30]
mov edx, 0x90
call fcn.140055e30
lea rcx, [rsp + 0xc0]
mov edx, 0x90
call fcn.140055e30
mov eax, ebp
mov r15, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140103060
add rsp, 0x170
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x1400e471a
Function at 0x1400e4ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x60
call fcn.140103e70
sub rsp, rax
mov rax, r8
mov rbx, rdx
mov r12, rcx
shl rax, 7
mov rsi, r8
lea rcx, [rsp + 0x20]
lea rdx, [rax + rdx - 0x40]
mov r8d, 0x40
call sub.MSVCR90.dll_memcpy
lea rbp, [rsi + rsi]
xor edi, edi
test rbp, rbp
je 0x1400e4fa8
nop word [rax + rax]
xor ecx, ecx
mov eax, dword [rbx]
add rcx, 4
add rbx, 0x10
xor dword [rsp + rcx*4 + 0x10], eax
mov eax, dword [rbx - 0xc]
xor dword [rsp + rcx*4 + 0x14], eax
mov eax, dword [rbx - 8]
xor dword [rsp + rcx*4 + 0x18], eax
mov eax, dword [rbx - 4]
xor dword [rsp + rcx*4 + 0x1c], eax
cmp rcx, 0x10
jb 0x1400e4f42
lea rcx, [rsp + 0x20]
call fcn.1400e4bf0
mov r11, rdi
mov rcx, rdi
shr rcx, 1
and r11d, 1
lea rdx, [rsp + 0x20]
mov r8d, 0x40
imul r11, rsi
add rcx, r11
shl rcx, 6
add rcx, r12
call sub.MSVCR90.dll_memcpy
inc rdi
cmp rdi, rbp
jb 0x1400e4f40
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.140055e30
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400e4fe0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push r12
push r13
mov eax, 0x30
call fcn.140103e70
sub rsp, rax
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x28], r14
mov r13, rdx
mov qword [rsp + 0x20], r15
mov r12, r9
shl r13, 5
mov r14, rdx
mov rbx, rcx
mov r15, r8
test r13, r13
je 0x1400e5054
mov r9, r13
movzx eax, byte [rcx]
add rdi, 4
add rcx, 4
mov dword [rdi - 4], eax
movzx eax, byte [rcx - 3]
shl eax, 8
or dword [rdi - 4], eax
movzx eax, byte [rcx - 2]
shl eax, 0x10
or dword [rdi - 4], eax
movzx eax, byte [rcx - 1]
shl eax, 0x18
or dword [rdi - 4], eax
sub r9, 1
jne 0x1400e5022
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
cmp r8, 1
jbe 0x1400e508a
mov rsi, rdx
lea rbp, [r8 - 1]
shl rsi, 7
nop
mov rdx, rdi
mov r8, r14
mov rcx, rdi
sub rdx, rsi
call fcn.1400e4ee0
add rdi, rsi
sub rbp, 1
jne 0x1400e5070
lea rdx, [r15 - 1]
mov r8, r14
mov rcx, r12
imul rdx, r14
shl rdx, 7
add rdx, qword [rsp + 0x78]
call fcn.1400e4ee0
test r15, r15
je 0x1400e511d
mov rdi, qword [rsp + 0x70]
mov rbp, r14
mov rsi, r15
shl rbp, 7
nop word [rax + rax]
mov eax, dword [r12 + rbp - 0x40]
xor edx, edx
div r15
mov r8d, edx
imul r8, r14
shl r8, 7
add r8, qword [rsp + 0x78]
test r13, r13
je 0x1400e5109
mov r9, r12
mov rcx, rdi
mov rdx, r13
sub r9, rdi
nop dword [rax + rax]
mov eax, dword [r9 + rcx]
add rcx, 4
add r8, 4
xor eax, dword [r8 - 4]
sub rdx, 1
mov dword [rcx - 4], eax
jne 0x1400e50f0
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.1400e4ee0
sub rsi, 1
jne 0x1400e50c0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
xor edx, edx
test r13, r13
je 0x1400e5169
nop dword [rax]
mov ecx, dword [r12 + rdx*4]
inc rdx
add rbx, 4
mov byte [rbx - 4], cl
mov eax, ecx
shr eax, 8
mov byte [rbx - 3], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [rbx - 2], al
mov byte [rbx - 1], cl
cmp rdx, r13
jb 0x1400e5140
add rsp, 0x30
pop r13
pop r12
pop rbx
ret
Function at 0x1400e84d0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.140103e70
sub rsp, rax
mov r10, rcx
cmp dword [rsp + 0x60], r9d
jne 0x1400e85b6
movzx eax, byte [r8]
cmp al, 0x6a
je 0x1400e84fb
cmp al, 0x6b
jne 0x1400e85b6
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp al, 0x6b
jne 0x1400e8565
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1400e8528
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1400e8528
cmp cl, 0xbb
jne 0x1400e855b
inc eax
cmp eax, ebx
jl 0x1400e8512
sub ebx, eax
test eax, eax
jne 0x1400e8569
mov dword [rsp + 0x20], 0x50
mov edx, 0x80
lea r9, str.....Srcopenssl_1.1.1hcrypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.140045670
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x48
jmp 0x1400e8536
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1400e859f
mov edx, 0x80
lea r9, str.....Srcopenssl_1.1.1hcrypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x59
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.140045670
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r10
call sub.MSVCR90.dll_memcpy
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, str.....Srcopenssl_1.1.1hcrypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x3d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.140045670
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1400fd210
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.140103e70
sub rsp, rax
mov eax, dword [r8 + 8]
mov rsi, rdx
mov rdi, rcx
cmp dword [rdx + 8], eax
jge 0x1400fd23c
mov rbx, r8
jmp 0x1400fd242
mov rbx, rdx
mov rsi, r8
mov edx, dword [rbx + 8]
call fcn.14004ace0
test rax, rax
jne 0x1400fd25f
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
cmp dword [rsi + 8], r8d
jle 0x1400fd294
mov r9, r8
nop dword [rax + rax]
mov rax, qword [rsi]
mov rcx, qword [rbx]
inc r8d
mov rdx, qword [rcx + r9]
add r9, 8
xor rdx, qword [rax + r9 - 8]
mov rax, qword [rdi]
mov qword [r9 + rax - 8], rdx
cmp r8d, dword [rsi + 8]
jl 0x1400fd270
cmp r8d, dword [rbx + 8]
movsxd rdx, r8d
jge 0x1400fd2bd
shl rdx, 3
mov rax, qword [rbx]
mov rcx, qword [rdi]
inc r8d
mov rax, qword [rdx + rax]
add rdx, 8
mov qword [rdx + rcx - 8], rax
cmp r8d, dword [rbx + 8]
jl 0x1400fd2a1
mov eax, dword [rbx + 8]
mov rcx, rdi
mov dword [rdi + 8], eax
call fcn.14004a560
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1401037e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140172b58]
jne 0x14010307a
rol rcx, 0x10
test cx, 0xffff
jne 0x140103076
repz ret
ror rcx, 0x10
jmp 0x140103740
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14017c160]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14017c258]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401037c5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14017c160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1401037e7
mov rax, qword [rsp + 0x88]
mov qword [0x14017c258], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14017c1f8], rax
mov rax, qword [0x14017c258]
mov qword [0x14017c0d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14017c1e0], rax
mov dword [0x14017c0c0], 0xc0000409
mov dword [0x14017c0c4], 1
mov rax, qword [0x140172b58]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140172b60]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14017c158], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14015b8b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14017c158], 0
jne 0x14010386e
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x401000
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbp
xor ecx, ecx
lea eax, [rcx + 7]
cpuid
bt ebx, 8
sbb eax, eax
mov byte [0x0048ffc8], al
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
mov rdx, 0x4a0468
mov r8, 0x4a0470
call qword [sym.imp.KERNEL32.DLL_GetProcessAffinityMask]
add rsp, 0x20
lea rdi, [0x004a0268]
mov rax, qword [0x004a0468]
xor ecx, ecx
mov rbx, rax
sub rax, 1
and rax, rbx
xor rbx, rax
add ecx, 1
mov qword [rdi], rbx
add rdi, 8
test rax, rax
jne 0x401051
mov dword [0x004a0484], ecx
sub rsp, 0x20
mov rcx, 0x4a0050
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
add rsp, 0x20
mov qword [0x0048dac8], rax
mov qword [0x004a0010], rax
sub rsp, 0x20
mov rcx, 0
mov rdx, 0x7f00
call qword [sym.imp.USER32.DLL_LoadCursorA]
add rsp, 0x20
mov qword [0x0048dad8], rax
sub rsp, 0x20
mov rcx, 0x48dab0
call qword [sym.imp.USER32.DLL_RegisterClassA]
add rsp, 0x20
test rax, rax
je 0x4011d9
call fcn.004076d0
call fcn.004017fb
sub rsp, 0x60
mov rcx, 0
mov rdx, str.Mandelbrot64
mov r8, str.Deep_Mandelbrot_Explorer
mov r9, 0x10cf0000
mov qword [rsp + 0x20], 0x64
mov qword [rsp + 0x28], 0x64
mov qword [rsp + 0x30], 0x190
mov qword [rsp + 0x38], 0x190
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rax, qword [0x0048dac8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.USER32.DLL_CreateWindowExA]
add rsp, 0x60
mov qword [0x004a0000], rax
test rax, rax
je 0x4011d9
call fcn.00401d13
sub rsp, 0x20
mov rcx, 0x4a048c
mov rdx, 0
mov r8, 0
mov r9, 0
call qword [sym.imp.USER32.DLL_GetMessageA]
add rsp, 0x20
cmp eax, 1
jb 0x401203
jne 0x40117c
sub rsp, 0x20
mov rcx, 0x4a048c
call qword [sym.imp.USER32.DLL_TranslateMessage]
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0x4a048c
call qword [sym.imp.USER32.DLL_DispatchMessageA]
add rsp, 0x20
jmp 0x40117c
sub rsp, 0x20
mov rcx, 0
mov rdx, str.Startup_failed.
mov r8, 0
mov r9, 0x10
call qword [sym.imp.USER32.DLL_MessageBoxA]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [0x004a0040]
mov rdx, 0
mov r8, 0x8000
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [0x004a049c]
call qword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4017fb
Capabilities:
Check for time delay via queryperformancecounter
Create thread
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov ecx, 0x18
mov eax, dword [0x0048bc00]
cmp eax, ecx
cmovl eax, ecx
mov dword [0x0048bc00], eax
mov eax, dword [0x0048bc04]
cmp eax, ecx
cmovl eax, ecx
mov dword [0x0048bc04], eax
call fcn.0040168f
mov edx, 0xffffffe0
mov ecx, 0x3f
add edx, 0x40
bsr rax, qword [rcx*8 + 0x48c020]
je 0x401849
sub edx, eax
jmp 0x40184e
sub ecx, 1
jne 0x401837
mov dword [0x0048d230], edx
sub rsp, 0x20
mov rcx, 0x4a0050
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0x4a0058
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
add rsp, 0x20
xor eax, eax
mov qword [0x0048d228], rax
mov dword [0x0048d238], eax
lea rcx, [0x0048d2b0]
lea rdx, [0x0048d6b0]
cmp byte [0x0048ffc8], 0
cmovne rcx, rdx
mov ebx, dword [0x004a0484]
sub ebx, 1
lea rsi, [0x004a0068]
mov eax, dword [0x0048d230]
add eax, 0x25
shr eax, 6
shl rax, 4
mov rdi, qword [rcx + rax]
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
mov r8, rdi
mov r9, rbx
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.DLL_CreateThread]
add rsp, 0x30
mov qword [rsi], rax
add rsi, 8
sub ebx, 1
jae 0x4018ca
mov ebx, dword [0x004a0484]
lea rsi, [0x004a0068]
lea rdi, [0x004a0268]
sub rsp, 0x20
mov rcx, qword [rsi]
mov rdx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rsi]
mov rdx, qword [rdi]
call qword [sym.imp.KERNEL32.DLL_SetThreadAffinityMask]
add rsp, 0x20
add rsi, 8
add rdi, 8
sub ebx, 1
jne 0x40191e
mov ebx, dword [0x004a0484]
lea rsi, [0x004a0068]
sub rsp, 0x20
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
add rsp, 0x20
add rsi, 8
sub ebx, 1
jne 0x401964
mov ebx, dword [0x004a0484]
sub rsp, 0x30
mov rcx, rbx
mov rdx, 0x4a0068
mov r8, 1
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjectsEx]
add rsp, 0x30
lea rsi, [0x004a0068]
sub rsp, 0x20
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x20
add rsi, 8
sub ebx, 1
jne 0x4019ba
sub rsp, 0x20
mov rcx, 0x4a0060
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
add rsp, 0x20
call fcn.004019f5
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1406bcc00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x6bcc70
movabs r10, 0x6bcc74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x1406bcc66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x1406bcc50
lea rax, [r9 + r11]
jmp rax
Function at 0x140001870
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [r8 + 0x18], 0xf
mov rdi, rdx
jbe 0x140001893
mov r8, qword [r8]
movzx edx, cx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x140001a8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001a8d
mov qword [rsp + 0x60], rbp
mov rcx, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
cmp qword [rdi + 0x18], 0xf
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r14d, eax
mov rsi, rdi
jbe 0x1400018fc
mov rsi, qword [rdi]
mov rdi, qword [rdi + 0x10]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140001a91
cmp rdi, 0xf
ja 0x140001935
mov eax, 0xf
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x28], xmm0
jmp 0x1400019cd
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140001971
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140004cd0
mov rcx, rax
test rax, rax
je 0x140001a5b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400019aa
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000198d
xor eax, eax
jmp 0x1400019aa
cmp rcx, 0x1000
jb 0x1400019a5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a97
jmp 0x14000194f
call fcn.140004cd0
lea r8, [rdi + 1]
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x38], rdi
mov rcx, rax
mov qword [rsp + 0x40], rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x40]
cmp rax, 0xf
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x28]
cmova rdx, qword [rsp + 0x28]
lea r8, [0x140006490]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140001a25
mov r9, qword [rsp + 0x20]
test r9, r9
je 0x140001a25
mov r8, r14
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov bl, 1
jmp 0x140001a27
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001a67
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a62
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004d0c
mov rsi, qword [rsp + 0x58]
movzx eax, bl
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004cb0
add rsp, 0x68
pop rdi
pop rbx
ret
xor al, al
jmp 0x140001a79
call fcn.1400011b0
int3
call fcn.140001110
int3
Function at 0x140005660
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400056aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400056aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400056aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400056aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400056aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400056ac
xor al, al
add rsp, 0x28
ret
Function at 0x140011700
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
movzx ebx, cl
test cl, cl
jne 0x14001194b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.140031ee0
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140011780
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140001c40
nop
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov r8d, 6
lea rdx, str.adppid
lea rcx, [rbp - 0x80]
call fcn.14000d2f0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140010280
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140011826
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011978
call fcn.14002f77c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001a450
cmp qword [rax + 0x18], 8
jb 0x140011854
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400118a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001197e
call fcn.14002f77c
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400118fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400118f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011984
call fcn.14002f77c
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001194b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011972
call fcn.14002f77c
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14002f4c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3