joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140154070
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov qword [rcx + 8], rsi
call fcn.140155920
mov edx, 0xa0
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.1401558e0
mov rdi, rax
test rax, rax
jne 0x1401540c7
mov rcx, rbx
call fcn.14003d250
mov r11, qword [rbx]
mov dword [r11 + 0x28], getservbyport
mov rcx, qword [rbx]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov dword [rdi + 0x5c], 0x3b9aca00
lea rax, [fcn.140153130]
lea rcx, str.JPEGMEM
mov qword [rdi], rax
lea rax, [fcn.1401532e0]
mov qword [rdi + 8], rax
lea rax, [fcn.140153410]
mov qword [rdi + 0x10], rax
lea rax, [fcn.140153530]
mov qword [rdi + 0x18], rax
lea rax, [0x140153640]
mov qword [rdi + 0x20], rax
lea rax, [0x1401536f0]
mov qword [rdi + 0x28], rax
lea rax, [0x1401537a0]
mov qword [rdi + 0x30], rax
lea rax, [0x140153a00]
mov qword [rdi + 0x38], rax
lea rax, [0x140153c60]
mov qword [rdi + 0x40], rax
lea rax, [fcn.140153ed0]
mov qword [rdi + 0x48], rax
lea rax, [0x140154020]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], 0xa0
mov qword [rbx + 8], rdi
call fcn.1401e76b8
test rax, rax
je 0x1401541d3
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.1401e8fe0
test eax, eax
jle 0x1401541d3
movzx eax, byte [rsp + 0x30]
cmp al, 0x6d
je 0x1401541c0
cmp al, 0x4d
je 0x1401541c0
mov eax, dword [rsp + 0x38]
jmp 0x1401541ca
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
mov dword [rdi + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140165ea0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp dword [0x1402de324], 0xffffffff
jne 0x140165f97
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
call fcn.140168340
lea rcx, str.JSIMD_FORCESSE2
mov dword [0x1402de324], eax
call fcn.1401e76b8
test rax, rax
je 0x140165ef6
lea rdi, [0x140268378]
mov rsi, rax
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
jne 0x140165ef6
and dword [0x1402de324], 8
lea rcx, str.JSIMD_FORCEAVX2
call fcn.1401e76b8
test rax, rax
je 0x140165f24
lea rdi, [0x140268378]
mov rsi, rax
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
jne 0x140165f24
and dword [0x1402de324], 0x80
lea rcx, str.JSIMD_FORCENONE
call fcn.1401e76b8
xor ebx, ebx
test rax, rax
je 0x140165f57
mov rsi, rax
mov eax, dword [0x1402de324]
lea rdi, [0x140268378]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
cmove eax, ebx
mov dword [0x1402de324], eax
lea rcx, str.JSIMD_NOHUFFENC
call fcn.1401e76b8
test rax, rax
je 0x140165f88
mov rsi, rax
mov eax, dword [reloc.WS2_32.dll_accept]
lea rdi, [0x140268378]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
cmove eax, ebx
mov dword [reloc.WS2_32.dll_accept], eax
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1401a0b10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
xorps xmm7, xmm7
mov eax, r9d
mov r11, rdx
xor r10d, r10d
cdq
sub eax, edx
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x20], xmm9
sar eax, 1
movsxd r9, eax
cmp r9, 2
movss xmm9, dword [0x1402a8fa0]
movss xmm8, dword [0x14027eec4]
movaps xmmword [rsp + 0x10], xmm10
movss xmm10, dword [0x14027eec0]
movaps xmmword [rsp], xmm11
movss xmm11, dword [0x1402a88f0]
movaps xmm5, xmm7
movaps xmm6, xmm7
jl 0x1401a0ca5
lea rdx, [r9 - 1]
lea rax, [r8 + 8]
nop word [rax + rax]
movss xmm1, dword [rax - 8]
movss xmm4, dword [rcx]
movss xmm3, dword [rcx + 4]
add r10, 2
add rax, 0x10
cmp r10, rdx
movaps xmm0, xmm1
subss xmm0, xmm4
mulss xmm0, xmm10
addss xmm4, xmm0
addss xmm0, xmm1
movss xmm1, dword [rcx + 8]
movss dword [rcx], xmm0
movss xmm2, dword [rax - 0x14]
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm3, xmm4
mulss xmm0, xmm8
addss xmm3, xmm0
addss xmm0, xmm2
xorps xmm2, xmm9
mulss xmm3, xmm11
movss dword [rcx + 4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
addss xmm1, xmm4
mulss xmm0, xmm8
addss xmm1, xmm0
addss xmm2, xmm0
mulss xmm1, xmm1
movss dword [rcx + 8], xmm2
movss dword [r11 + r10*4 - 8], xmm3
movss xmm4, dword [rcx]
movss xmm3, dword [rcx + 4]
addss xmm7, xmm1
movss xmm1, dword [rax - 0x10]
movaps xmm0, xmm1
subss xmm0, xmm4
mulss xmm0, xmm10
addss xmm4, xmm0
addss xmm0, xmm1
movss xmm1, dword [rcx + 8]
movss dword [rcx], xmm0
movss xmm2, dword [rax - 0xc]
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm3, xmm4
mulss xmm0, xmm8
addss xmm3, xmm0
addss xmm0, xmm2
xorps xmm2, xmm9
mulss xmm3, xmm11
movss dword [rcx + 4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
addss xmm1, xmm4
mulss xmm0, xmm8
addss xmm1, xmm0
addss xmm2, xmm0
mulss xmm1, xmm1
movss dword [rcx + 8], xmm2
movss dword [r11 + r10*4 - 4], xmm3
addss xmm5, xmm1
jl 0x1401a0b90
cmp r10, r9
jge 0x1401a0d2e
movss xmm1, dword [r8 + r10*8]
movss xmm4, dword [rcx]
movss xmm3, dword [rcx + 4]
movaps xmm0, xmm1
movss xmm6, dword [rcx + 8]
subss xmm0, xmm4
mulss xmm0, xmm10
addss xmm4, xmm0
addss xmm0, xmm1
movss dword [rcx], xmm0
movss xmm2, dword [r8 + r10*8 + 4]
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm3, xmm4
mulss xmm0, xmm8
addss xmm3, xmm0
addss xmm0, xmm2
xorps xmm2, xmm9
movaps xmm1, xmm2
mulss xmm3, xmm11
subss xmm1, xmm6
addss xmm6, xmm4
movss dword [rcx + 4], xmm0
mulss xmm1, xmm8
addss xmm2, xmm1
addss xmm6, xmm1
mulss xmm6, xmm6
movss dword [rcx + 8], xmm2
movss dword [r11 + r10*4], xmm3
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x10]
addss xmm5, xmm7
addss xmm5, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp]
movaps xmm0, xmm5
add rsp, 0x68
ret
Function at 0x1401b6da0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
test r8d, r8d
jle 0x1401b6efe
movss xmm5, dword [0x140269be0]
movaps xmmword [rsp], xmm6
movss xmm6, dword [0x1402a8fa0]
lea rdx, [rcx + 0x28]
mov r9d, r8d
nop dword [rax + rax]
mov rax, qword [rdx - 8]
movss xmm0, dword [rcx]
add rdx, 0x40
mov qword [rsp + 0x38], rax
add rcx, 0x40
sub r9, 1
movss xmm2, dword [rsp + 0x38]
subss xmm0, xmm2
movss dword [rdx - 0x48], xmm0
movss xmm1, dword [rdx - 0x64]
movss xmm0, dword [rsp + 0x3c]
subss xmm1, xmm0
movss dword [rdx - 0x44], xmm1
addss xmm2, dword [rcx - 0x40]
addss xmm0, dword [rdx - 0x64]
movss dword [rcx - 0x40], xmm2
movss dword [rdx - 0x64], xmm0
movss xmm3, dword [rdx - 0x3c]
movaps xmm2, xmm3
addss xmm2, dword [rdx - 0x40]
subss xmm3, dword [rdx - 0x40]
movss xmm0, dword [rdx - 0x60]
mulss xmm2, xmm5
mulss xmm3, xmm5
subss xmm0, xmm2
movss dword [rdx - 0x40], xmm0
movss xmm1, dword [rdx - 0x5c]
subss xmm1, xmm3
movss dword [rdx - 0x3c], xmm1
addss xmm2, dword [rdx - 0x60]
addss xmm3, dword [rdx - 0x5c]
movss xmm0, dword [rdx - 0x58]
movss dword [rdx - 0x60], xmm2
movss dword [rdx - 0x5c], xmm3
movss xmm2, dword [rdx - 0x34]
movss xmm3, dword [rdx - 0x38]
subss xmm0, xmm2
xorps xmm3, xmm6
movss dword [rdx - 0x38], xmm0
movss xmm1, dword [rdx - 0x54]
subss xmm1, xmm3
movss dword [rdx - 0x34], xmm1
addss xmm2, dword [rdx - 0x58]
movss xmm0, dword [rdx - 0x50]
addss xmm3, dword [rdx - 0x54]
movss dword [rdx - 0x58], xmm2
movss dword [rdx - 0x54], xmm3
movss xmm4, dword [rdx - 0x2c]
movaps xmm2, xmm4
addss xmm4, dword [rdx - 0x30]
subss xmm2, dword [rdx - 0x30]
mulss xmm2, xmm5
xorps xmm4, xmm6
subss xmm0, xmm2
mulss xmm4, xmm5
movss dword [rdx - 0x30], xmm0
movss xmm1, dword [rdx - 0x4c]
subss xmm1, xmm4
movss dword [rdx - 0x2c], xmm1
addss xmm2, dword [rdx - 0x50]
addss xmm4, dword [rdx - 0x4c]
movss dword [rdx - 0x50], xmm2
movss dword [rdx - 0x4c], xmm4
jne 0x1401b6dd0
movaps xmm6, xmmword [rsp]
add rsp, 0x18
ret
Function at 0x1401e30f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1402e2e40]
test rcx, rcx
jne 0x1401e3047
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1401e3040
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1401e3072
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1401e303c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x1402e2e40], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1401e30e5
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1401e3095
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1402e2e40]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1401e30c2
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1401e30e5
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1402e2e40]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1401e30c9
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1401e2fcc
Function at 0x1401e4fb8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1401efb2c
nop
cmp dword [0x1402e2f60], 1
je 0x1401e4f64
mov dword [0x1402e2f5c], 1
mov byte [0x1402e2f58], r12b
test ebx, ebx
jne 0x1401e4f50
mov rcx, qword [0x1402e6348]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401e4f3d
mov rcx, qword [0x1402e6340]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1401e4edc
call fcn.1401ec25c
cmp qword [rdi], rax
jne 0x1401e4edc
jmp 0x1401e4ec2
cmp rdi, rsi
jb 0x1401e4f3d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1401ec25c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1402e6348]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1402e6340]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1401e4f1b
cmp r13, rax
je 0x1401e4f3b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1401e4ec2
lea rdx, [0x140239d48]
lea rcx, [0x140239d30]
call fcn.1401e4d0c
lea rdx, [0x140239d58]
lea rcx, [0x140239d50]
call fcn.1401e4d0c
nop
test r12d, r12d
je 0x1401e4f73
mov ecx, 8
call fcn.1401efa2c
test r12d, r12d
jne 0x1401e4f9e
mov dword [0x1402e2f60], 1
lea ecx, [r12 + 8]
call fcn.1401efa2c
mov ecx, r15d
call fcn.1401e4ca0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401e4e2c

Function at 0x1401e4fc4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1401e4e2c

Function at 0x1401e5270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1401e52aa
call fcn.1401ebb40
and dword [rax], 0
call fcn.1401ebb20
and qword [rsp + 0x20], 0
mov ebx, socket
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1401e7a18
mov eax, ebx
jmp 0x1401e52fa
test edx, 0xfffffff9
jne 0x1401e527d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401e52d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401ebb60
call fcn.1401ebb20
mov eax, dword [rax]
jmp 0x1401e52fa
test al, 0x10
jne 0x1401e52f8
test al, 1
je 0x1401e52f8
test bl, 2
je 0x1401e52f8
call fcn.1401ebb40
mov dword [rax], 5
call fcn.1401ebb20
mov dword [rax], reloc.WS2_32.dll_listen
jmp 0x1401e52ca
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1401e5314
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401e532a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1401e532c
xor eax, eax
test eax, eax
je 0x1401e533c
mov ecx, eax
call fcn.1401ebb60
or eax, 0xffffffff
jmp 0x1401e533e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401e6978
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1401e698e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1401e6990
xor eax, eax
test eax, eax
je 0x1401e69a0
mov ecx, eax
call fcn.1401ebb60
or eax, 0xffffffff
jmp 0x1401e69a2
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401ee8b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402de400]
jne 0x1401e42ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1401e42b6
repz ret
ror rcx, 0x10
jmp 0x1401ee810
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402e33e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402e34d8]
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 0x1401ee895
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, [0x1402e33e0]
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 0x1401ee8b7
mov rax, qword [rsp + 0x88]
mov qword [0x1402e34d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402e3478], rax
mov rax, qword [0x1402e34d8]
mov qword [0x1402e3350], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402e3460], rax
mov dword [0x1402e3340], 0xc0000409
mov dword [0x1402e3344], 1
mov rax, qword [0x1402de400]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402de408]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402e33d8], eax
mov ecx, 1
call fcn.1401f6044
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str._3._
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402e33d8], 0
jne 0x1401ee93e
mov ecx, 1
call fcn.1401f6044
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 0x1401fa0fc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1401ec25c
xor ebx, ebx
mov rdi, rax
cmp qword [0x1402e3e78], rbx
jne 0x1401fa202
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1401fa2d7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401fa2d7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14028adc0]
mov rcx, rsi
mov qword [0x1402e3e78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1402e3e80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1402e3e88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1402e3e98], rax
test rax, rax
je 0x1401fa1f9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1402e3e90], rax
jmp 0x1401fa209
mov rax, qword [0x1402e3e90]
jmp 0x1401fa210
mov rax, qword [0x1402e3e90]
mov r11, qword [0x1402e3e98]
cmp rax, rdi
je 0x1401fa278
cmp r11, rdi
je 0x1401fa278
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1402e3e98]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1401fa278
test rax, rax
je 0x1401fa278
call rsi
test rax, rax
je 0x1401fa272
lea rcx, [rsp + 0x88]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401fa272
test byte [rsp + 0x38], 1
jne 0x1401fa278
bts ebp, 0x15
jmp 0x1401fa2b6
mov rcx, qword [0x1402e3e80]
cmp rcx, rdi
je 0x1401fa2b6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401fa2b6
call rax
mov rbx, rax
test rax, rax
je 0x1401fa2b6
mov rcx, qword [0x1402e3e88]
cmp rcx, rdi
je 0x1401fa2b6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401fa2b6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402e3e78]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401fa2d7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401fa2d9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140041cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 5
mov byte [rsp + 1], 0x75
mov byte [rsp + 2], 0x6a
mov byte [rsp + 3], 0x72
mov byte [rsp + 4], 0x60
mov byte [rsp + 5], 0x77
mov byte [rsp + 6], 0x76
mov byte [rsp + 7], 0x6d
mov byte [rsp + 8], 0x60
mov byte [rsp + 9], 0x69
mov byte [rsp + 0xa], 0x69
mov byte [rsp + 0xb], 0x2b
mov byte [rsp + 0xc], 0x60
mov byte [rsp + 0xd], 0x7d
mov byte [rsp + 0xe], 0x60
mov byte [rsp + 0xf], 0x25
mov byte [rsp + 0x10], 0x28
mov byte [rsp + 0x11], 0x40
mov byte [rsp + 0x12], 0x6b
mov byte [rsp + 0x13], 0x66
mov byte [rsp + 0x14], 0x6a
mov byte [rsp + 0x15], 0x61
mov byte [rsp + 0x16], 0x60
mov byte [rsp + 0x17], 0x61
mov byte [rsp + 0x18], 0x46
mov byte [rsp + 0x19], 0x6a
mov byte [rsp + 0x1a], 0x68
mov byte [rsp + 0x1b], 0x68
mov byte [rsp + 0x1c], 0x64
mov byte [rsp + 0x1d], 0x6b
mov byte [rsp + 0x1e], 0x61
mov byte [rsp + 0x1f], 0x25
mov byte [rsp + 0x20], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004d120
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140041dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x2f
mov byte [rsp + 1], 0x6c
mov byte [rsp + 2], 0x5d
mov byte [rsp + 3], 0x4a
mov byte [rsp + 4], 0x4e
mov byte [rsp + 5], 0x5b
mov byte [rsp + 6], 0x4a
mov byte [rsp + 7], 0x7f
mov byte [rsp + 8], 0x5d
mov byte [rsp + 9], 0x40
mov byte [rsp + 0xa], 0x4c
mov byte [rsp + 0xb], 0x4a
mov byte [rsp + 0xc], 0x5c
mov byte [rsp + 0xd], 0x5c
mov byte [rsp + 0xe], 0xf
mov byte [rsp + 0xf], 0x49
mov byte [rsp + 0x10], 0x4e
mov byte [rsp + 0x11], 0x46
mov byte [rsp + 0x12], 0x43
mov byte [rsp + 0x13], 0x4a
mov byte [rsp + 0x14], 0x4b
mov byte [rsp + 0x15], 0xf
mov byte [rsp + 0x16], 7
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14004d120
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14004c794
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14004c7c2
xor eax, eax
jmp 0x14004c8a8
cmp qword [rcx + 0x68], 0
je 0x14004c7d3
call fcn.14004c8c4
jmp 0x14004c8a8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004c7ea
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004c7ec
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004c81e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14006f330
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14004c8a2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14004c855
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14004c87e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14005874c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14004c8a2
cmp rsi, rbx
ja 0x14004c85c
test rsi, rsi
je 0x14004c8a2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14005874c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14004dd6c
Capabilities:
Parse pe header

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

Function at 0x14005a8d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005a6d4