joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005fbc0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14005fce4
cmp r8d, 0xff
jne 0x14005fc21
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14005fc0b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x84420]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14003c400
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14003c400
cmp r8d, 0xfb
jne 0x14005fc33
lea r9, str.WILL
jmp 0x14005fc71
cmp r8d, 0xfc
jne 0x14005fc45
lea r9, str.WONT
jmp 0x14005fc71
cmp r8d, 0xfd
jne 0x14005fc57
lea r9, [0x140084e44]
jmp 0x14005fc71
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14005fccd
cmp r10d, 0x27
jg 0x14005fca4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x84a40]
test r8, r8
jne 0x14005fcb4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14003c400
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14005fc8b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14003c400
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14003c400
add rsp, 0x38
ret

Function at 0x140060030
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14006008f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003c280
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14005fbc0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140060240
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400603e8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400602a5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400602a5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400602a5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400602dc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140060332
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140060332
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140060332
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140060332
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140060332
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14005fcf0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140060394
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003c280
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400600c0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400603e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003c280
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140061b50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400a20c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140061be5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140061c46
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003c280
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140075440
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140061d01
sub ecx, 1
je 0x140061d74
sub ecx, 1
je 0x140061cb0
cmp ecx, 1
je 0x140061c93
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140094b5c]
call fcn.14003c280
jmp 0x140061d74
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140061880
test eax, eax
je 0x140061d74
jmp 0x140061c1a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140061d74
sub rax, rsi
cmp rax, rbp
jae 0x140061d74
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003c400
jmp 0x140061d74
cmp r8d, 4
jle 0x140061d74
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140061d74
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003c1a0
mov esi, eax
test eax, eax
je 0x140061d53
mov edx, 5
mov rcx, rbx
call fcn.140062840
mov eax, esi
jmp 0x140061c1a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14004ac70
mov rcx, r14
call fcn.14004af50
test eax, eax
je 0x140061c18
mov edx, 5
mov rcx, rbx
call fcn.140062840
mov eax, Ordinal_45
jmp 0x140061c1a
Function at 0x140074b10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140074b52
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140074b99
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140074bf2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140074bb0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140074c33
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140087ff2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140087ff3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140074c00
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140074cbc
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 0x140074cf6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140074cfb
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 0x140074d44
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140074d44
dec r8
sub rdx, 1
jne 0x140074d2a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140076248
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140076292
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140076292
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140076292
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140076292
cmp dword [rcx + 0x84], 0xe
jbe 0x140076292
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140076294
xor al, al
add rsp, 0x28
ret
Function at 0x2eda391d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2eda411c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2eda391f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2eda391f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2eda391f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x2eda39245
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2eda3923c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2eda391f0
add rax, 0x28
cmp rax, r9
jne 0x2eda39228
xor eax, eax
ret

Function at 0x2eda39250
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2eda411c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2eda39270
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2eda39278
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x2eda39270
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x2eda39300
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2eda411c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2eda39320
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x2eda39328
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x14000be61
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x14000c5d0
Capabilities:
Parse pe header

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

Function at 0x140010c14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140010a10
Function at 0x140013670
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400136f7
mov rsi, rbx
cmp word [rax], bp
je 0x1400136b6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400136a0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001369c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140014090
mov rdi, rax
test rax, rax
je 0x1400136e4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001e2d0
mov rbp, rdi
xor ecx, ecx
call fcn.140012338
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140018840
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x100]
sub rsp, 0x200
movdqa xmm0, xmmword [0x140008730]
mov rsi, rdx
movdqa xmm1, xmmword [0x140008710]
lea rdx, [rsp + 0x40]
movdqu xmmword [rsp + 0x40], xmm0
mov rbx, rcx
lea rcx, [rbp - 0x50]
movups xmm0, xmmword [r8]
mov dword [rsp + 0x60], 0xa1df050b
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x64], 0x66e6
movsd xmm1, qword [r8 + 0x10]
lea r8, [rbp - 0x70]
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
call fcn.14000bb40
mov r9d, 0x20019
lea rdx, [rsp + 0x66]
xor r8d, r8d
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x66], xmm0
movups xmm1, xmmword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x76], xmm1
mov ecx, dword [rax + 0x20]
mov dword [rbp - 0x7a], ecx
movzx ecx, word [rax + 0x24]
mov word [rbp - 0x76], cx
lea rcx, [rbp + 0x128]
movzx eax, byte [rax + 0x26]
mov byte [rbp - 0x74], al
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000001
call rax
test eax, eax
jne 0x140019480
mov rax, qword [rsi + 8]
lea r9, [rbp + 0x120]
mov rcx, qword [rbp + 0x128]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x230], rdi
xor edx, edx
mov qword [rsp + 0x1f8], r14
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov edi, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x120], 0x104
call rax
test eax, eax
jne 0x140019466
mov qword [rsp + 0x238], r12
movabs r12, 0xb8483fcc47b7c033
mov qword [rsp + 0x1f0], r15
movabs r15, 0x47b7c03347b7c033
movzx edx, byte [rbp - 0x20]
mov eax, 0xffffffff
test dl, dl
je 0x1400193fc
lea r8, [rbp - 0x20]
nop dword [rax + rax]
movsx ecx, dl
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xbf48a0d1
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xbf48a0d1
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xbf48a0d1
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xbf48a0d1
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xbf48a0d1
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xbf48a0d1
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xbf48a0d1
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xbf48a0d1
xor eax, ecx
movzx ecx, byte [r8]
movzx edx, cl
test cl, cl
jne 0x140019360
not eax
cmp eax, 0x47b7c033
jne 0x140019414
mov qword [rbx], r15
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], 0xffffffffb8483fcc
mov rax, qword [rsi + 8]
lea r9, [rbp + 0x120]
mov rcx, qword [rbp + 0x128]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x38], r14
inc edi
mov qword [rsp + 0x30], r14
mov edx, edi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x120], 0x104
call rax
test eax, eax
je 0x140019343
mov r15, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x238]
mov rcx, qword [rbp + 0x128]
call qword [rsi + 0x10]
mov r14, qword [rsp + 0x1f8]
mov rdi, qword [rsp + 0x230]
mov rax, rbx
add rsp, 0x200
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001d720
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
xor ebx, ebx
mov rdi, rcx
mov eax, ebx
nop dword [rax]
nop dword [rax + rax]
mov byte [rsp + rax + 0x20], bl
inc rax
cmp rax, 0x11c
jb 0x14001d740
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
js 0x14001d9cd
mov eax, dword [rsp + 0x24]
cmp eax, 0xa
jne 0x14001d89c
cmp dword [rsp + 0x28], ebx
jne 0x14001d983
mov eax, dword [rsp + 0x2c]
cmp eax, 0x47ba
ja 0x14001d821
je 0x14001d817
cmp eax, 0x3ad7
ja 0x14001d7e0
je 0x14001d7d6
cmp eax, 0x2800
je 0x14001d7cc
cmp eax, 0x295a
je 0x14001d7c2
cmp eax, 0x3839
jne 0x14001d983
mov ebx, 0xf
jmp 0x14001d988
mov ebx, 0xe
jmp 0x14001d988
mov ebx, 0xd
jmp 0x14001d988
mov ebx, 0x10
jmp 0x14001d988
cmp eax, 0x3fab
je 0x14001d80d
cmp eax, 0x42ee
je 0x14001d803
cmp eax, 0x4563
jne 0x14001d983
mov ebx, 0x13
jmp 0x14001d988
mov ebx, 0x12
jmp 0x14001d988
mov ebx, 0x11
jmp 0x14001d988
mov ebx, 0x14
jmp 0x14001d988
cmp eax, 0x4a63
ja 0x14001d867
je 0x14001d85d
sub eax, 0x47bb
je 0x14001d853
sub eax, 0x2a6
je 0x14001d849
cmp eax, 1
jne 0x14001d983
lea ebx, [rax + 0x16]
jmp 0x14001d988
mov ebx, 0x16
jmp 0x14001d988
mov ebx, 0x15
jmp 0x14001d988
mov ebx, 0x18
jmp 0x14001d988
sub eax, 0x4a64
je 0x14001d892
sub eax, 1
je 0x14001d888
cmp eax, 0x517
jne 0x14001d983
mov ebx, 0x1b
jmp 0x14001d988
mov ebx, 0x1a
jmp 0x14001d988
mov ebx, 0x19
jmp 0x14001d988
cmp eax, 0xb
jne 0x14001d8f1
cmp dword [rsp + 0x28], ebx
jne 0x14001d983
mov eax, dword [rsp + 0x2c]
sub eax, 0x55f0
je 0x14001d8e7
sub eax, 0x26d
je 0x14001d8dd
sub eax, 0xa
je 0x14001d8d3
cmp eax, 2
jne 0x14001d983
lea ebx, [rax + 0x1d]
jmp 0x14001d988
mov ebx, 0x1e
jmp 0x14001d988
mov ebx, 0x1d
jmp 0x14001d988
mov ebx, 0x1c
jmp 0x14001d988
cmp eax, 6
jne 0x14001d94f
mov eax, dword [rsp + 0x28]
cmp eax, 3
jne 0x14001d907
lea ebx, [rax + 9]
jmp 0x14001d988
cmp eax, 2
jne 0x14001d911
lea ebx, [rax + 9]
jmp 0x14001d988
cmp eax, 1
jne 0x14001d926
cmp dword [rsp + 0x2c], 0x1db1
sete bl
add ebx, 9
jmp 0x14001d988
test eax, eax
jne 0x14001d983
mov eax, dword [rsp + 0x2c]
sub eax, 0x1771
je 0x14001d948
cmp eax, 1
je 0x14001d941
mov ebx, 6
jmp 0x14001d988
mov ebx, 8
jmp 0x14001d988
mov ebx, 7
jmp 0x14001d988
cmp eax, 5
jne 0x14001d983
mov eax, dword [rsp + 0x28]
cmp eax, 2
jne 0x14001d96d
cmp dword [rsp + 0x2c], 0xece
setne bl
add ebx, 3
jmp 0x14001d988
cmp eax, 1
jne 0x14001d97f
cmp dword [rsp + 0x2c], 0xa28
setne bl
jmp 0x14001d988
test eax, eax
je 0x14001d988
mov ebx, 0xffffffff
lea rdx, [0x140000000]
movsxd rax, ebx
lea rcx, [rax*4]
mov eax, dword [rcx + rdx + 0x8690]
mov dword [rdi], eax
mov eax, dword [rcx + rdx + 0x8590]
mov dword [rdi + 8], eax
mov eax, dword [rcx + rdx + 0x8610]
mov dword [rdi + 4], eax
mov eax, 1
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
mov rbx, qword [rsp + 0x150]
xor eax, eax
add rsp, 0x140
pop rdi
ret
Function at 0x14000b85c
Capabilities:
Parse pe header

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

Function at 0x1400189f4
Capabilities:
Parse pe header

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

Function at 0x141a38058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141a381df
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 0x141a38089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a3806f
add dl, dl
jne 0x141a38096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a380f6
xor eax, eax
add dl, dl
jne 0x141a380a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a381ad
add dl, dl
jne 0x141a380b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a380dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a380ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a3807e
mov eax, 1
add dl, dl
jne 0x141a38106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a38113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a380fb
sub eax, ebx
mov ebx, 1
jne 0x141a3814c
mov ecx, 1
add dl, dl
jne 0x141a3812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a3813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a38123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a38168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a38175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a3815d
cmp eax, 0x7d00
jae 0x141a3819b
cmp eax, 0x500
jb 0x141a38196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
cmp eax, 0x7f
ja 0x141a3819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a381d2
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 0x141a3807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20