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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1802b8380]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov rbx, rcx
call fcn.1800227c0
movdqa xmm0, xmmword [str.._.__]
xor r9d, r9d
movdqu xmmword [rsp + 0x38], xmm0
mov r8d, r9d
nop dword [rax + rax]
movsxd rdx, r8d
lea ecx, [r8 + 0x47]
inc r8d
xor byte [rsp + rdx + 0x38], cl
cmp r8d, 0xf
jb 0x18003fdc0
lea rcx, [rsp + 0x38]
mov qword [rax + 0xd8], rcx
lea r8, [rsp + 0x20]
mov rax, qword [rbx]
lea rdx, [0x180107e00]
mov rcx, rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r9
call qword [rax]
test eax, eax
jne 0x18003fe57
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x180107e10]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x18003fe57
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x180107e20]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x18003fe57
mov rax, qword [rsp + 0x30]
mov qword [0x1802bd850], rax
mov qword [0x1802bd840], rbx
mov qword [0x1802bd848], rdi
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18003fe67
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18003fe77
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180058370
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1800576f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1802b8380]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp edx, 1
jne 0x1800578d0
mov r8d, 0x104
mov qword [rsp + 0x1a0], rbx
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x180057753
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180002db0
xor ebx, ebx
mov dword [rsp + 0x20], 0x604a5670
mov edx, ebx
mov dword [rsp + 0x24], 0x54f4449
mov dword [rsp + 0x28], 0x4b5549
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx + 0x24]
inc edx
xor byte [rcx], al
cmp edx, 0xb
jb 0x180057790
xor r8d, r8d
mov byte [rsp + 0x2b], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800575f0
cmp rax, 0xffffffffffffffff
je 0x18005788f
movdqa xmm0, xmmword [0x180108500]
xor eax, eax
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x4a], al
mov edx, ebx
mov dword [rsp + 0x40], 0x5c585c78
mov dword [rsp + 0x44], 0x5e505b77
mov word [rsp + 0x48], 0x495f
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx + 0x24]
inc edx
xor byte [rcx], al
cmp edx, 0x1a
jb 0x180057800
mov byte [rsp + 0x4a], bl
mov dword [rsp + 0x20], 0x4b42516a
mov dword [rsp + 0x24], 0x474e0744
mov word [rsp + 0x28], 0x40
nop dword [rax]
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rbx + 0x24]
inc ebx
xor byte [rcx], al
cmp ebx, 9
jb 0x180057840
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x29], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea rcx, [0x180056080]
mov eax, dword [rax + 4]
inc eax
mov qword [0x1802bd910], rax
call fcn.180057430
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x1a0]
cmp rdx, 0xf
jbe 0x1800578d0
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800578cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800578ed
call fcn.180057ee8
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180058370
add rsp, 0x190
pop rbp
ret
call fcn.18005f29c
int3
Function at 0x1800652c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800583d0
sub rsp, rax
mov rax, qword [0x1802b8380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180071b08
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18006530f
mov rax, rbp
jmp 0x180065417
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x2bf370]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180075b24
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x2bf370]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180065413
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180065413
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180075b24
test rax, rax
js 0x180065413
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180065413
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180065405
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180065405
cmp byte [rcx], 0xd
jne 0x1800653eb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800653fa
cmp byte [rcx + 1], 0xa
jne 0x1800653fa
inc rcx
jmp 0x1800653fa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2b8720]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800653cd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180065417
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180058370
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180074d5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1802bf370]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180074db3
cmp word [rdx], r13w
jne 0x180074db3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180074db8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180074edd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180074efe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180074df1
mov rdx, r9
mov word [rbx], cx
jmp 0x180074e18
cmp r9, r8
jae 0x180074e28
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180074dd2
jmp 0x180074edd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180074ed2
cmp dword [rsp + 0x80], esi
je 0x180074ed2
lea r8, [0x1802bf370]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180074eaa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180074e7a
mov word [rbx], r13w
jmp 0x180074eda
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180074e87
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180074eda
cmp word [rsp + 0x70], r13w
jne 0x180074eb7
cmp rbx, r14
je 0x180074e74
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180075b2c
cmp word [rsp + 0x70], r13w
je 0x180074edd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1802bf370]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180074ed7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180074edd
Function at 0x180075cc8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180075cde
mov al, 1
jmp 0x180075d3e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180075cef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180075d3c
mov ecx, dword [rcx + 0x18]
nop
call fcn.18007b710
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180075d3c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180075d3c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180075d3c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180075d3e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18007882c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18007885c
xor eax, eax
jmp 0x18007891f
mov rbp, rbx
cmp word [rax], si
je 0x180078881
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180078868
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180078864
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18007874c
movsxd r14, eax
test eax, eax
jne 0x1800788bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180078855
mov rcx, r14
call fcn.1800705b8
mov rdi, rax
test rax, rax
jne 0x1800788d8
xor ecx, ecx
call fcn.18007057c
jmp 0x1800788b4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18007874c
test eax, eax
jne 0x180078909
mov rcx, rdi
call fcn.18007057c
jmp 0x180078913
xor ecx, ecx
call fcn.18007057c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18007eb2c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180075b2c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180075b2c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18007ec7c
cmp rax, 0xffffffffffffffff
je 0x18007ec7c
xor edi, edi
test rbp, rbp
jle 0x18007ec27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800730d8
mov rbx, rax
test rax, rax
jne 0x18007ebb4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18007ec1d
mov edx, 0x8000
mov ecx, r14d
call fcn.18007e9b0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180074a54
cmp eax, 0xffffffff
je 0x18007ebfd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18007ebc4
mov edx, r15d
mov ecx, r14d
call fcn.18007e9b0
jmp 0x18007ec1d
cmp byte [rsi + 0x38], dil
je 0x18007ec14
cmp dword [rsi + 0x34], 5
jne 0x18007ec14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18007ec1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18007057c
jmp 0x18007ec90
jns 0x18007ec90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180075b2c
cmp rax, 0xffffffffffffffff
jne 0x18007ec48
cmp byte [rsi + 0x30], dil
je 0x18007ec90
mov edi, dword [rsi + 0x2c]
jmp 0x18007ec90
mov ecx, r14d
call fcn.18007b710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18007ec90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18007ec90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18007ec89
mov eax, dword [rsi + 0x2c]
jmp 0x18007ec8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180075b2c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18007f710
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18007f738
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18007f738
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1407b7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407b71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b706f
add dl, dl
jne 0x1407b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b70f6
xor eax, eax
add dl, dl
jne 0x1407b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b71ad
add dl, dl
jne 0x1407b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b707e
mov eax, 1
add dl, dl
jne 0x1407b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b70fb
sub eax, ebx
mov ebx, 1
jne 0x1407b714c
mov ecx, 1
add dl, dl
jne 0x1407b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b715d
cmp eax, 0x7d00
jae 0x1407b719b
cmp eax, 0x500
jb 0x1407b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b707e
cmp eax, 0x7f
ja 0x1407b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b71d2
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 0x1407b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140009db0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009dfa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009dfa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009dfa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009dfa
cmp dword [rcx + 0x84], 0xe
jbe 0x140009dfa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009dfc
xor al, al
add rsp, 0x28
ret
Function at 0x1400098c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400098f3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140009937
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140009932
cmp rbx, r11
jae 0x140009937
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140009920
cmp rbx, r11
jb 0x14000993b
xor eax, eax
jmp 0x140009947
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a830
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x40
mov r8, qword [rcx]
mov r10d, dword [rcx + 0x24]
mov r12, rcx
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec r10d
mov r9d, dword [rax + r8 + 0x20]
lea rbx, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [rbx + 0x10]
not r10d
or r9, r15
and r10, r9
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
test eax, eax
jne 0x14000a89a
mov ecx, dword [rbx + 0x24]
test cl, 0x40
je 0x14000a892
mov eax, dword [r8 + 0x20]
jmp 0x14000a89a
test cl, cl
jns 0x14000a89a
mov eax, dword [r8 + 0x24]
mov ecx, dword [rbx + 0x24]
mov edx, eax
mov eax, 1
xor r14d, r14d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x3c], r14d
mov ebp, eax
cmp ax, word [r8 + 6]
jae 0x14000a999
add rbx, 0x4c
nop dword [rax + rax]
mov edi, dword [r12 + 0x24]
mov r13d, dword [rbx - 0x1c]
mov esi, dword [rbx - 0x14]
dec edi
or r13, r15
not edi
and rdi, r13
test esi, esi
jne 0x14000a90e
mov eax, dword [rbx]
test al, 0x40
je 0x14000a906
mov esi, dword [r8 + 0x20]
jmp 0x14000a90e
test al, al
jns 0x14000a90e
mov esi, dword [r8 + 0x24]
cmp r10, rdi
je 0x14000a950
lea rax, [rdx + r9]
cmp rax, rdi
ja 0x14000a950
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.14000a730
test eax, eax
je 0x14000a9d2
mov ecx, dword [rbx]
mov edx, esi
mov r9, r13
mov qword [rsp + 0x20], r13
mov r10, rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rdx
jmp 0x14000a97d
mov eax, dword [rbx]
bt eax, 0x19
jae 0x14000a966
bt ecx, 0x19
jae 0x14000a966
or ecx, eax
mov dword [rsp + 0x38], ecx
jmp 0x14000a970
or ecx, eax
btr ecx, 0x19
mov dword [rsp + 0x38], ecx
mov edx, esi
sub rdx, r9
add rdx, r13
mov qword [rsp + 0x30], rdx
mov r8, qword [r12]
inc ebp
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp ebp, eax
jl 0x14000a8e0
mov eax, 1
lea rdx, [rsp + 0x20]
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.14000a730
test eax, eax
setne r14b
mov eax, r14d
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x14000a9b3
Function at 0x14000b3d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14004e530]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140017320
test rax, rax
je 0x14000b404
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 0x55
mov byte [rsp + 0x31], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x32], reloc.WS2_32.dll_WSAAsyncSelect
mov ebx, eax
mov byte [rsp + 0x33], WSAStartup
mov byte [rsp + 0x34], gethostbyname
mov byte [rsp + 0x35], gethostbyname
mov byte [rsp + 0x36], 0x2e
mov byte [rsp + 0x37], WSAAsyncSelect
mov byte [rsp + 0x38], WSAGetLastError
mov byte [rsp + 0x39], WSAGetLastError
mov byte [rsp + 0x3a], 0
mov byte [rsp + 0x40], 0x53
mov byte [rsp + 0x41], reloc.WS2_32.dll_WSAAsyncSelect
mov byte [rsp + 0x42], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x43], 0x57
mov byte [rsp + 0x44], 0x69
mov byte [rsp + 0x45], WSAGetLastError
mov byte [rsp + 0x46], WSAAsyncSelect
mov byte [rsp + 0x47], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x48], 0x77
mov byte [rsp + 0x49], 0x50
mov byte [rsp + 0x4a], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x4b], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x4c], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
xor r9d, r9d
mov r8d, ebx
mov edx, edi
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], esi
call rax
call fcn.140017320
test rax, rax
je 0x14000b4df
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
mov rsi, rax
mov rcx, qword [rsi + 0x40]
xor edx, edx
call qword [0x14166eb00]
call fcn.14000ae60
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140022aa0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14000ca70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000caaf
cmp dword [rcx + 0xa8], 0
jne 0x14000caaf
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14001ace8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14000ca14
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dd34
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001bce4
mov rsi, rax
test rax, rax
je 0x14000ddb0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000ddab
cmp dword [rbx], 0x40
jb 0x14000ddab
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000ddab
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000ddb4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140014898
Capabilities:
Extract resource via kernel32 functions

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 r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140014900
call fcn.14001ace8
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 0x140014900
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140014922
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400142a8
mov esi, eax
test rdi, rdi
je 0x140014920
test rbx, rbx
je 0x140014920
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1400155a8
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret