joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009284c
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, [0x1400b23a0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140092886
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14009288b
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 0x1400928d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b22a0]
cmp byte [rcx + rax], 0
je 0x1400928d4
dec r8
sub rdx, 1
jne 0x1400928ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140093804
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14009384e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009384e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009384e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009384e
cmp dword [rcx + 0x84], 0xe
jbe 0x14009384e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140093850
xor al, al
add rsp, 0x28
ret
Function at 0x1419d0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1419d01df
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 0x1419d0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419d006f
add dl, dl
jne 0x1419d0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419d00f6
xor eax, eax
add dl, dl
jne 0x1419d00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1419d01ad
add dl, dl
jne 0x1419d00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419d00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419d00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419d00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1419d00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1419d007e
mov eax, 1
add dl, dl
jne 0x1419d0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1419d0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419d00fb
sub eax, ebx
mov ebx, 1
jne 0x1419d014c
mov ecx, 1
add dl, dl
jne 0x1419d012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419d013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419d0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419d007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1419d0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1419d0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1419d015d
cmp eax, 0x7d00
jae 0x1419d019b
cmp eax, 0x500
jb 0x1419d0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419d007e
cmp eax, 0x7f
ja 0x1419d019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1419d007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1419d01d2
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 0x1419d007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14148524e
Capabilities:
Encode data using xor

Disassembly:
not edx
push 0x3a0dd405
mov dword [r9], edx
lea rsp, [rsp + 8]
jmp fcn.14147dbe8
xor edx, edx
mov qword [rsp], 0xffffffffc0b63486
test r10, r10
lea rsp, [rsp + 0x18]
je 0x1414852c3
mov r8d, 0xce05d115
lea rax, [0x141463f88]
mov r8d, 0xfb0b69b
push r8
add r8b, r8b
movzx r8d, byte [rcx + r8*2 - 0x1f616c6c]
xor r8d, edx
and r8d, 0xff
neg qword [rsp]
mov r8d, dword [rax + r8*4]
shr edx, 8
xor edx, r8d
or qword [rsp], 0x7c2ba5bc
inc rcx
rol dword [rsp + 4], 0xf8
xor edx, 0x9da12804
dec r10
lea rsp, [rsp + 8]
jne 0x141485273
jmp 0x1414804a7

Function at 0x1414891d0
Capabilities:
Encode data using xor

Disassembly:
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
lea rsp, [rsp + 0x50]
ret
jmp 0x14146f9ef
mov rdx, qword [r9 + rdx*2 - 0x561bd162]
add r9, 0xc
xor esi, esi
test rdx, rdx
lea rsp, [rsp + 0x10]
je 0x141489245
mov eax, 0xf8b00733
push rbx
lea rbx, [rax*2 + 0x399201b3]
xchg bl, al
rol bl, 0x41
lea rax, [0x14144c718]
movzx ebx, byte [rdi]
push 0xffffffffc1bb501b
xor ebx, esi
and ebx, 0xff
mov ebx, dword [rax + rbx*4]
shr esi, 8
xor esi, ebx
sar dword [rsp + 3], 0xb5
inc rdi
xor esi, 0xc49cc5a4
dec rdx
lea rsp, [rsp + 8]
jne 0x141489209
mov ebx, 0x3a1346a1
not bl
pop rbx
call fcn.141480f75
pop r13
pop r12
movzx eax, r15b
mov ebp, 0xedb9d887
pop r10
push r15
mov r9, qword [rsp + rax*4 - 0x3cc]
movzx edi, byte [rsp + rax - 0xf5]
shr qword [rsp + rax*2 - 0x1ea], 0x27
mov r11, qword [rsp + rax - 0xe5]
sete sil
mov qword [rsp + rax - 0xed], rsi
push qword [rsp + 0x18]
popfq
pop rcx
mov rsi, qword [rsp + rax - 0xdd]
mov rdi, qword [rsp + rax*2 - 0x1ca]
mov r8, qword [rsp + rax*2 - 0x1c2]
pop rcx
mov rax, qword [rsp + rax*8 - 0x780]
push rbp
mov rcx, qword [rsp + 0x38]
jmp 0x141474c31
Function at 0x140001562
Capabilities:
Resume thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x4f0
mov rbx, qword [rdx + 8]
mov rcx, rbx
lea rdi, [rsp + 0x20]
mov dword [rsp + 0x50], 0x100002
mov rsi, r8
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400015b2
mov qword [rsp + 0xa0], rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1400015b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
add rsp, 0x4f0
pop rbx
pop rsi
pop rdi
ret

Function at 0x140001663
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f0
mov rbx, rcx
mov esi, edx
mov r9, r8
test r8, r8
je 0x140001683
cmp byte [r8], 0
jne 0x140001691
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140001724
lea rdx, [rsp + 0x8c]
xor eax, eax
lea rbp, [rsp + 0x70]
mov ecx, 0x19
mov rdi, rdx
lea r8, section..rdata
mov edx, 0x400
mov dword [rsp + 0x88], 0x68
rep stosd dword [rdi], eax
mov ecx, 6
mov rdi, rbp
lea r12, [rsp + 0x88]
rep stosd dword [rdi], eax
lea rdi, [rsp + 0xf0]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__snprintf]
xor eax, eax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x48], rbp
mov rdx, rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001751
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140001751
movups xmm0, xmmword [rsp + 0x70]
lea rdx, [rsp + 0x50]
movsxd r9, esi
mov r8, rbx
mov rax, qword [rsp + 0x80]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
call fcn.1400015bd
nop
add rsp, 0x4f0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14000175f
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
lea rsi, [0x140074003]
xor eax, eax
mov rbx, rcx
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov r9d, edx
rep movsd dword [rdi], dword [rsi]
mov rdx, r8
lea r8, [rsp + 0x20]
mov cl, byte [r8 + rax]
xor cl, byte [rdx + rax]
mov byte [r8 + rax], cl
inc rax
cmp rax, 0x40
jne 0x140001789
xor eax, eax
cmp r9d, eax
jle 0x1400017b5
mov rcx, rax
and ecx, 0x7f
mov cl, byte [rdx + rcx]
xor byte [rbx + rax], cl
inc rax
jmp 0x14000179f
mov rcx, rbx
call fcn.140001530
mov edx, r9d
call fcn.140001663
mov rcx, rbx
add rsp, 0x60
pop rbx
pop rsi
pop rdi
jmp fcn.140002b20

Function at 0x140001c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002a90
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002a90
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140001cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140077124]
mov rbx, rcx
test esi, esi
jle 0x140001e00
mov rax, qword [0x140077128]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001da5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d00
mov rcx, rbx
call fcn.140002720
mov rdi, rax
test rax, rax
je 0x140001e22
mov rax, qword [0x140077128]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002860
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140077128]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001d9e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001db0
add dword [0x140077124], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140077128]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001c60
nop dword [rax]
xor esi, esi
jmp 0x140001d28
mov rax, qword [0x140077128]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001c60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001c60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002390
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140077180]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140077160]
test rbx, rbx
je 0x1400023ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400023e3
test rsi, rsi
je 0x1400023e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400023c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002720
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400743f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002740
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002748
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002740
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000279d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002794
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002740
add rax, 0x28
cmp rax, r9
jne 0x140002780
xor eax, eax
ret

Function at 0x1400027a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400743f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400027bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400027c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400027bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002860
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400743f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000287f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002888
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1415c2730
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415c28b7
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 0x1415c2761
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415c2747
add dl, dl
jne 0x1415c276e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415c27ce
xor eax, eax
add dl, dl
jne 0x1415c277d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415c2885
add dl, dl
jne 0x1415c278e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415c279b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415c27a8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415c27b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415c27c2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415c2756
mov eax, 1
add dl, dl
jne 0x1415c27de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415c27eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415c27d3
sub eax, ebx
mov ebx, 1
jne 0x1415c2824
mov ecx, 1
add dl, dl
jne 0x1415c2806
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415c2813
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415c27fb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415c2756
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415c2840
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415c284d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415c2835
cmp eax, 0x7d00
jae 0x1415c2873
cmp eax, 0x500
jb 0x1415c286e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415c2756
cmp eax, 0x7f
ja 0x1415c2876
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415c2756
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415c28aa
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 0x1415c2756
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x1409f71b8
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rbp, [rsp + rbp + 0x18]
jnp 0x1409c886c
rdtsc
jmp 0x1409d125d
xor r8b, bpl
inc byte [rsp + 0x17]
jne 0x1409b9a1a
lea rsp, [rsp + 0x18]
jmp fcn.1409f4da4
jmp 0x1409f1255
mov qword [rsp + rsi - 0xe959], rbp
push rdi
push r13
mov qword [rsp + rsi - 0xe901], rax
call fcn.1409f7625
mov si, word [rbx]
mov ebp, 0x75a8d20b
btr rbp, rbp
sbb bp, 0x86a9
lea rbx, [rbx + rbp - 0x75a84b60]
add ebp, ebp
sbb r9, 1
neg rbp
movzx ebp, byte [r9 + riz]
push 0x6525433e
xor bpl, r8b
inc bpl
xor bpl, 0xf
dec dword [rsp + 1]
push 0xffffffff963ba883
jno 0x1409fbb46
jmp 0x1409bbf36
sub bpl, 0xa8
not bpl
push 0xffffffffe3290a9a
ror bpl, 1
not qword [rsp + 4]
dec qword [rsp + 0x10]
jne 0x1409cdae1
Function at 0x14009d390
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14009d39d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14009d3ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14009d395
lea eax, [rcx + 1]
jmp 0x14009d3bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14009d3ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14009d3b4
sub eax, 3
jb 0x14009d3ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14009d43d
sar eax, 1
movsxd rbp, eax
jb 0x14009d424
jmp 0x14009d3fc
add ebx, ebx
jne 0x14009d3fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009d424
inc ecx
add ebx, ebx
jne 0x14009d40a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14009d424
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14009d41d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14009d40c
add ecx, 2
jmp 0x14009d429
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14009d352
jmp 0x14009d39d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x74c00
mov dl, 0x1b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14009d48d
cmp rsi, rcx
jae 0x14009d495
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14009d474
cmp al, 0x8f
ja 0x14009d474
cmp byte [rsi - 2], 0xf
je 0x14009d47a
sub al, 0xe8
cmp al, 1
ja 0x14009d45e
cmp rsi, rcx
jae 0x14009d495
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14009d464
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14009d495
lodsb al, byte [rsi]
jmp 0x14009d474
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9b000]
mov eax, dword [rdi]
or eax, eax
je 0x14009d4f2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9d1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14009d4a2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14009d4ec
mov qword [rbx], rax
add rbx, 8
jmp 0x14009d4c2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14009d54a
sub rsp, 0xffffffffffffff80
jmp 0x140007030
Function at 0x140001840
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002680
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002680
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400018b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x1400019e0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001985
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018e0
mov rcx, rbx
call fcn.140002320
mov rdi, rax
test rax, rax
je 0x140001a02
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002460
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000197e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001990
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000197e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001840
nop dword [rax]
xor esi, esi
jmp 0x140001908
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001840
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001840
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001fec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001fe3
test eax, eax
jne 0x140001fe3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001fc8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002320
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004780]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002340
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002348
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002340
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000239d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002394
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002340
add rax, 0x28
cmp rax, r9
jne 0x140002380
xor eax, eax
ret

Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004780]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004780]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000247f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002488
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140012608
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140012434
Function at 0x1428f7ef4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1428f7efe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1428f7f27
pop rbp
sub rbp, 0x33
sub rbp, 0x28f7ef4
sub rsp, 0x20
in eax, dx
hlt
jmp 0x1428f7f46
mov rax, 0x28f7ef4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffcb9b123a
xor byte [rax], dl
inc rax
dec rcx
leave
jne 0x1428f7f65
jmp 0x1428f7f7c
jb 0x1428f7f31
sal dword [rcx + 0x3a3a06b3], cl
cmp dh, byte [rdx - 0x45]
sti
xor bh, byte [rbx]
cmp bh, byte [rdx]
jb 0x1428f7fc9
sal dword [rdx - 3], cl
cli
xor edi, dword [rdx]
cmp bh, byte [rdx]
jb 0x1428f7f95
cmp dh, byte [rdx - 3]
clc
adc bh, byte [rdx]
cmp bh, byte [rdx]
jb 0x1428f7f6c
fdiv dword [rdx + 0x3b]
sti
mov cl, 0xbb
cmp bh, byte ss:[rdx]
cmp dh, byte [rdx + 0x3b]
shr byte [rdx + 0x6a], cl
jb 0x1428f7f32
jb 0x1428f8003
adc al, 0x3a
cmp bh, byte [rdx]
cmp bh, byte [rdx]
jb 0x1428f7f3d
xchg esi, eax
sub dword [rbx + 0x38], ebx
cmp bh, byte [rdx]
cmp bh, byte [rdx]
jb 0x1428f7fff
sal dword [rdx - 0x80], cl
add edi, dword [rcx + rbp*8]
invalid
jmp 0x17cc9b9fd
xchg esi, eax
sub dword [rbx + 0x38], ebx
cmp bh, byte [rdx]
cmp bh, byte [rdx]
jb 0x1428f8044
rcl edx, cl
invalid
jb 0x1428f802c
jb 0x1428f802f
call 0x1b4cf52e2
invalid
mov esi, 0x3a3a3a5e
cmp bh, byte [rdx]
xor eax, 0x3a3a64b2
cmp bl, byte [rcx + rsi*4 + 0x26]
add edi, dword [rdx - 0x41ca2d3f]
cmp bh, byte es:[rdx]
cmp bh, byte [rdx - 0x41ca2c3f]
mov edx, 0xbe35d3c1
sub dword [rdx], edi
cmp bh, byte [rdx]
pop rsp
mov ebx, 0x351fc5c1
mov esi, 0x3a3a3a25
jb 0x1428f801f
sti
sal edx, cl
invalid