joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001130
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180001172
xor al, al
jmp 0x1800011ea
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x180001199
xor al, al
jmp 0x1800011ea
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xe8]
mov rax, qword [rsp + 0x50]
add rax, rcx
cmp qword [rsp + 0x78], rax
jb 0x1800011e2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xe8]
mov rdx, qword [rsp + 0x50]
add rdx, rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xec]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x78], rax
jae 0x1800011e2
mov al, 1
jmp 0x1800011ea
xor al, al
jmp 0x1800011ea
add rsp, 0x68
ret

Function at 0x180001260
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18006d370]
mov qword [rsp + 0x20], rax
jmp 0x180001280
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800012a5
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x180001272
add rsp, 0x38
ret

Function at 0x1800012b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18006d388], eax
je 0x1800012cc
mov eax, 0x10dd
jmp 0x1800013e7
mov rax, qword [0x18006d3a0]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180001370
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x20]
movzx edx, byte [rax + 0x3e]
lea r9, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x28]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 8], 0
jne 0x180001340
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x20], 0
je 0x180001340
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x20]
call fcn.180001460
mov r11, qword [rsp + 0x20]
mov qword [r11 + 0x20], 0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.180054364
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1800012d8
mov qword [0x18006d3a0], 0
call fcn.1800013f0
mov rax, qword [0x18006d398]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800013d0
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.180054364
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
jmp 0x18000138c
mov qword [0x18006d398], 0
mov dword [0x18006d388], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180001b20
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x52727464
je 0x180001b3d
xor eax, eax
jmp 0x180001bd6
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
add rax, 0x10000
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
add rax, 0x60
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x18], 0
jmp 0x180001b78
mov eax, dword [rsp + 0x18]
add eax, 1
mov dword [rsp + 0x18], eax
cmp dword [rsp + 0x18], 0x2a9
jae 0x180001bd1
movsxd rcx, dword [rsp + 0x18]
imul rcx, rcx, 0x60
mov rax, qword [rsp + 0x10]
cmp qword [rax + rcx + 0x48], 0
je 0x180001bcf
movsxd rdx, dword [rsp + 0x18]
imul rdx, rdx, 0x60
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp]
cmp qword [rcx + rdx + 0x48], rax
jb 0x180001bcb
movsxd rdx, dword [rsp + 0x18]
imul rdx, rdx, 0x60
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 8]
cmp qword [rcx + rdx + 0x48], rax
jb 0x180001bcf
xor eax, eax
jmp 0x180001bd6
jmp 0x180001b6d
mov eax, 1
add rsp, 0x28
ret

Function at 0x180001cc0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18006d38c], 0
je 0x180001cdd
mov eax, dword [0x18006d38c]
jmp 0x180001da1
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rsp + 0x50], rax
jne 0x180001cf1
xor eax, eax
jmp 0x180001da1
mov ecx, 0x10
call fcn.180053fa8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180001d5a
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180001d3f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.180054364
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18006d38c], eax
mov qword [0x18006d390], 0
mov eax, dword [rsp + 0x20]
jmp 0x180001da1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180001d76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x180001d1a
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [0x18006d398]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov qword [0x18006d398], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800174e0
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180017526
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180017522
mov al, 1
jmp 0x180017526
jmp 0x180017526
add rsp, 0x20
pop rbx
ret

Function at 0x180017690
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x1800176b7
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.1800174e0
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180017530]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001cb10
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001cc70
test r8, r8
je 0x18001cc70
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001cc70
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.180054470
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001cb70
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001cbbd
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001cb90
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001cc54
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001cc04
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001cc25
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001cbf0
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18005436c
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001cc72
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180053a50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x90
mov r11, rdx
mov r9, rcx
lea r10, [rcx + 0x4098]
cmp byte [rcx + 0x1348], 0
jne 0x180053ac7
mov word [rcx + 0x1349], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0xa0], rax
mov byte [rcx + 0x1334], al
movzx eax, byte [rsp + 0xa1]
mov byte [rcx + 0x1335], al
movzx eax, byte [rsp + 0xa2]
mov byte [rcx + 0x1336], al
movzx eax, byte [rsp + 0xa3]
mov byte [rcx + 0x1337], al
mov byte [rcx + 0x134b], 0
mov byte [rcx + 0x1348], 1
mov dword [rsp + 0xb0], r8d
mov eax, dword [rcx + 0x1334]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rcx + 0x1349]
test al, al
je 0x180053b0a
xor ecx, ecx
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rsp + rcx + 0xa0]
not eax
xor dword [rsp + rcx + 0xb0], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180053af0
movzx eax, byte [r9 + 0x134a]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180053b3a
movzx eax, byte [rsp + rcx + 0xa0]
not al
xor byte [rsp + rcx + 0xb0], al
inc rcx
cmp rcx, 4
jb 0x180053b20
movzx eax, byte [r9 + 0x134b]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0xb0]
mov dword [r9 + rcx*4 + 0x1338], eax
mov byte [r9 + 0x134b], cl
mov dword [r10 + 0x38], r8d
mov r9, qword [r10 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, rbx
test cl, cl
jne 0x180053b80
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180053bbb
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x180053c32
mov byte [r10 + 0x9c], cl
jmp 0x180053c67
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180053be0
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x180053c32
mov byte [r10 + 0x9c], 0
jmp 0x180053c67
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180053bf5
cmp r8d, 0x10
jmp 0x180053c08
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180053c14
cmp r8d, 6
jne 0x180053c32
mov byte [r10 + 0x9c], 0
jmp 0x180053c67
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180053c55
cmp rdx, rax
je 0x180053c55
cmp byte [r10 + 0x9c], 0xff
je 0x180053c67
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180053c67
mov byte [r10 + 0x9c], 0xff
jmp 0x180053c67
cmp r8d, 7
jne 0x180053c82
cmp rdx, rcx
je 0x180053c8d
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dl, 1
mov rcx, r10
movabs rax, 0x1401b0ad0
call rax
nop
add rsp, 0x90
pop rbx
ret
cmp r8d, 6
jne 0x180053c60
cmp rdx, rax
jne 0x180053c60
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dword [rsp + 0x80], 1
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
lea rax, [0x180062508]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 0xff
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r11
mov rcx, r10
movabs rax, 0x1401c7640
call rax
nop
add rsp, 0x90
pop rbx
ret
Function at 0x180053d90
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 8
movzx eax, byte [rcx + 0x2b]
mov rdx, rcx
xor r10d, r10d
mov dword [r11 + 8], r10d
mov rax, qword [rcx + rax*8 + 8]
movabs rcx, 0x1415f9260
mov qword [r11 + 0x10], rax
movdqu xmm3, xmmword [rcx]
movzx ecx, byte [rdx + 0x29]
test cl, cl
je 0x180053edf
lea r8, [r11 + 0x10]
lea r9, [r11 + 8]
sub r8, rdx
sub r9, rdx
test cl, 0xf8
jbe 0x180053e9d
lea rax, [r11 + 0x10]
mov qword [r11 + 0x18], rbx
sub r8, rax
mov qword [rsp], rdi
lea rax, [r11 + 0x10]
sub r9, rax
lea rcx, [r11 + 0x10]
sub rcx, 0x20
lea rax, [rsp + 0x18]
lea rbx, [r8 + rdx]
lea rdi, [r8 + rdx]
mov r8, rdx
lea r11, [r9 + rdx]
sub r8, rax
movdqu xmm0, xmmword [rbx + rcx + 0x20]
add r10, 8
movdqu xmm1, xmmword [r8 + rcx + 0x20]
lea rcx, [rcx + 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [rdi + rcx - 0x20], xmm1
movdqu xmm0, xmmword [r11 + rcx - 0x20]
movdqu xmm1, xmmword [r8 + rcx - 0x10]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [r11 + rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx]
movdqu xmm2, xmmword [r8 + rcx]
andnps xmm2, xmm3
xorps xmm2, xmm0
movups xmmword [rcx], xmm2
movdqu xmm1, xmmword [r8 + rcx + 0x10]
movdqu xmm0, xmmword [r11 + rcx]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [r11 + rcx], xmm1
movzx r9d, byte [rdx + 0x29]
mov eax, r9d
and eax, 0xf8
cmp r10, rax
jb 0x180053e14
mov rax, qword [rsp + 0x18]
movzx ecx, r9b
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x20]
movzx r8d, cl
cmp r10, r8
jae 0x180053f28
test cl, cl
je 0x180053f28
lea rcx, [rsp + 0x18]
sub rdx, rcx
lea rax, [rsp + 0x18]
nop
mov rcx, qword [rdx + rax]
lea rax, [rax + 8]
not rcx
xor qword [rax - 8], rcx
sub r8, 1
jne 0x180053ec0
mov rax, qword [rsp + 0x18]
add rsp, 8
ret
movzx r8d, byte [rdx + 0x2a]
test r8b, r8b
je 0x180053f28
mov ecx, 8
sub cl, r8b
cmp cl, 8
jae 0x180053f28
movzx eax, cl
lea rcx, [rsp + 0x18]
add rcx, rax
lea rax, [rsp + 0x18]
sub rdx, rax
nop dword [rax]
movzx eax, byte [rdx + rcx]
lea rcx, [rcx + 1]
not al
xor byte [rcx - 1], al
sub r8, 1
jne 0x180053f10
mov rax, qword [rsp + 0x18]
add rsp, 8
ret
Function at 0x41a7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x41a83a
call fcn.00411eb4
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x41a83a
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x41a85c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.0041a260
test rdi, rdi
mov esi, eax
je 0x41a85a
test rbx, rbx
je 0x41a85a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x42c957
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00455290]
jne 0x42753a
rol rcx, 0x10
test cx, 0xffff
jne 0x427536
repz ret
ror rcx, 0x10
jmp 0x42c8b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0045ae80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0045af78]
mov qword [rsp + 0x58], rax
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 0x42c935
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, [0x0045ae80]
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 0x42c957
mov rax, qword [rsp + 0x88]
mov qword [0x0045af78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0045af18], rax
mov rax, qword [0x0045af78]
mov qword [0x0045adf0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0045af00], rax
mov dword [0x0045ade0], 0xc0000409
mov dword [0x0045ade4], 1
mov rax, qword [0x00455290]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00455298]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0045ae78], eax
mov ecx, 1
call fcn.0042cb50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00446b78]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0045ae78], 0
jne 0x42c9de
mov ecx, 1
call fcn.0042cb50
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 0x435c70
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0042c220
xor ebx, ebx
cmp qword [0x0045b720], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x435da1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x435cd3
xor eax, eax
jmp 0x435e81
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x435ccc
mov rcx, rax
call fcn.0042c1b0
lea rdx, [0x00446d10]
mov rcx, rbp
mov qword [0x0045b720], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0042c1b0
lea rdx, [0x00446cf8]
mov rcx, rbp
mov qword [0x0045b728], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0042c1b0
lea rcx, [rsp + 0x30]
mov qword [0x0045b730], rax
call fcn.0042a4a0
test eax, eax
je 0x435d57
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00427950
cmp dword [rsp + 0x30], 2
jne 0x435da1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0042c1b0
test rax, rax
mov qword [0x0045b740], rax
je 0x435da1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0042c1b0
mov qword [0x0045b738], rax
mov rcx, qword [0x0045b738]
cmp rcx, rsi
je 0x435e33
cmp qword [0x0045b740], rsi
je 0x435e33
call fcn.0042c280
call rax
test rax, rax
mov rbp, rax
je 0x435dfe
mov rcx, qword [0x0045b740]
call fcn.0042c280
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x435dfe
test byte [rsp + 0x48], 1
jne 0x435e33
lea rcx, [rsp + 0x34]
call fcn.0042a4f0
test eax, eax
je 0x435e20
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00427950
cmp dword [rsp + 0x34], 4
jb 0x435e2d
bts edi, 0x15
jmp 0x435e67
bts edi, 0x12
jmp 0x435e67
mov rcx, qword [0x0045b728]
cmp rcx, rsi
je 0x435e67
call fcn.0042c280
call rax
test rax, rax
mov rbx, rax
je 0x435e67
mov rcx, qword [0x0045b730]
cmp rcx, rsi
je 0x435e67
call fcn.0042c280
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0045b720]
call fcn.0042c280
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140004b50
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000db10
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000db4d
test rdx, rdx
je 0x14000db4d
mov rax, qword [rax]
cmp rax, r9
jne 0x14000db30
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret
Function at 0x140003a70
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x1403eeecc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400ba9b0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1403eeecc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140003c00
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140003c1c
cmp rcx, r8
jl 0x140003c0f
mov qword [rdx + 0x80], rcx
test dword [0x1403e6a00], 1
je 0x140003c4b
cmp byte [rsp + 0xd0], 0
je 0x140003c4b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140003770
mov rsp, r8
jmp rax