joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140267230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1402b79c1], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1402672b8
lea rdx, [0x14028fa62]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140267320
mov rbx, qword [0x1402b7860]
jmp 0x140267275
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x140267270
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140257270
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1402b7860], rax
mov ebx, dword [rax]
mov qword [0x1402b7860], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1402b7860], rdx
call fcn.140266360
cmp eax, ebx
jne 0x140267388
mov byte [0x1402b79c1], 1
jmp 0x14026724c
cmp byte [0x1402b79c0], 0
jne 0x140267263
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1402b8328], rax
call rbx
mov qword [0x1402b8320], rax
call rbx
mov qword [0x1402b8318], rax
call rbx
mov qword [0x1402b8310], rax
call rbx
mov qword [0x1402b8308], rax
call rbx
mov qword [0x1402b8300], rax
call rbx
mov qword [0x1402b82f8], rax
call rbx
mov byte [0x1402b79c0], 1
mov qword [0x1402b82f0], rax
jmp 0x140267263
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1402698b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14027b040
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14027b040
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14026a582
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1402b87e8]
test eax, eax
je 0x14026a61a
lea rax, [0x1402b87c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1402b87f0]
mov qword [rbp - 8], rax
jmp 0x14026a5fe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14026a5f2
cmp qword [rbp - 0x10], 0
je 0x14026a5f2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14026a5b8
lea rax, [0x1402b87c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14026a61b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14026a720
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14026a748
mov eax, 0
jmp 0x14026a796
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14026a771
mov eax, 0
jmp 0x14026a796
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14026a791
mov eax, 0
jmp 0x14026a796
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14026a79c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14026a81a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14026a811
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14026a811
mov rax, qword [rbp - 8]
jmp 0x14026a82f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14026a7e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002d80
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002db2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002db2
nop word cs:[rax + rax]
jmp 0x180002db0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002e88
mov rsi, r10
test r8b, r8b
je 0x180002ea0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002e20
test r9b, r9b
je 0x180002eb0
sub rsi, rcx
je 0x180002e84
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002e80
test ebp, ebp
jne 0x180002e80
add rbx, 1
cmp rsi, rbx
jne 0x180002e40
jmp 0x180002e84
test ebp, ebp
jne 0x180002e0c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002ea0
jmp 0x180002eb0
Function at 0x180002d30
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002d62
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002d62
nop word cs:[rax + rax]
jmp 0x180002d60
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002e38
mov rsi, r10
test r8b, r8b
je 0x180002e50
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002dd0
test r9b, r9b
je 0x180002e60
sub rsi, rcx
je 0x180002e34
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002e30
test ebp, ebp
jne 0x180002e30
add rbx, 1
cmp rsi, rbx
jne 0x180002df0
jmp 0x180002e34
test ebp, ebp
jne 0x180002dbc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002e50
jmp 0x180002e60
Function at 0x10879d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10879dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10879ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x10879d5
lea eax, [rcx + 1]
jmp 0x10879fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1087a0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x10879f4
sub eax, 3
jb 0x1087a2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1087a7d
sar eax, 1
movsxd rbp, eax
jb 0x1087a64
jmp 0x1087a3c
add ebx, ebx
jne 0x1087a3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1087a64
inc ecx
add ebx, ebx
jne 0x1087a4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1087a64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1087a5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1087a4c
add ecx, 2
jmp 0x1087a69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01087992
jmp 0x10879dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x55a800
mov dl, 0x6d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1087ac9
cmp rsi, rcx
jae 0x1087ad1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1087ab0
cmp al, 0x8f
ja 0x1087ab0
cmp byte [rsi - 2], 0xf
je 0x1087ab6
sub al, 0xe8
cmp al, 1
ja 0x1087a9a
cmp rsi, rcx
jae 0x1087ad1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1087aa0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1087ad1
lodsb al, byte [rsi]
jmp 0x1087ab0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc78000]
mov eax, dword [rdi]
or eax, eax
je 0x1087b2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc87000]
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 0x1087ade
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 0x1087b28
mov qword [rbx], rax
add rbx, 8
jmp 0x1087afe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1087b72
cmp al, 0xef
ja 0x1087b5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1087b3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1087b49
mov eax, dword [rdi]
add rdi, 4
jmp 0x1087b49
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 + 0x1af]
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 0x1087bc6
sub rsp, 0xffffffffffffff80
jmp 0x46e560
Function at 0x140013f62
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rcx, qword [rsp + 0x70]
call fcn.140015b78
jmp 0x140017696
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140015d9a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400195f3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1400136cb
jmp 0x14001814c
jmp 0x14001570c
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140018bec
jmp 0x140016471
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x14001814c
jmp 0x1400136cb
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x140014ec0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14001478d
test eax, eax
jne 0x140018bec
jmp 0x1400144cf
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.1400168c4
jmp 0x140017689
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140019481
jmp 0x140014867
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x140014ec0
jmp 0x1400195f3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x14001570c
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
Function at 0x14001573e
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x24], 0
jmp 0x1400155b1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x1c], 0
jne 0x140018da8
jmp 0x14001602e
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
test eax, eax
je 0x1400135ff
jmp 0x140018f2a
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x40000000
test eax, eax
jne 0x140016ef0
jmp 0x140018f60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
je 0x14001722d
jmp 0x1400169bd
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
jne 0x14001387a
jmp 0x140018da8
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x140017282
jmp 0x140014413
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
jne 0x1400163d8
jmp 0x1400146a1
mov dword [rsp + 0x28], 1
mov eax, 1
jmp 0x140017057
mov eax, 1
jmp 0x140017057
mov dword [rsp + 0x24], 1
jmp 0x1400155b1
mov dword [rsp + 0x28], 0
jmp 0x1400134d9

Function at 0x140015f7f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x1400170b3
mov rax, rcx
mov qword [rsp + 0x58], rax

Function at 0x140017e89
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
Function at 0x140130000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
retf
xchg ebx, ecx
adc dword [rbp + 0x41daf748], esi
push rsp
mov ebx, ebp
add byte [rax], al
add byte [rax], al
mov dword [rbp - 0x10], 0x7371786f
mov dword [rbp - 0x50], 0xf6f6f6f6
mov dword [rbp - 0xc], 0x81796f78
mov dword [rbp - 0x4c], 0xf6f6f6f6
mov dword [rbp - 8], 0x71787378
mov word [rbp - 0x48], 0xf6f6
jmp 0x140130f3f
mov dword [rbp - 4], 0x7f7d38
mov byte [rbp - 0x46], 0xf6
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp + rdx - 0x44]
movzx ecx, byte [rsp + rdx + 0x78]
add cl, al
jmp 0x14013131e
jnp 0x140131036
jle 0x140130084
jae 0x1401303cf
invalid
invalid
invalid

Function at 0x140131091
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movzx ecx, byte [rsp + rdx + 0x58]
add cl, al
mov byte [rsp + rdx + 0x68], cl
mov byte [rsp + rdx + 0x58], r13b
inc rdx
cmp rdx, 0xf
jb 0x140130f86
jmp 0x140131063
mov word [rsp + 0x64], 0xf6f6
mov dword [rsp + 0x74], 0x7f7d38
mov byte [rsp + 0x66], 0xf6
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x68]
je 0x140130fbc
jne 0x140130fbc
add r8d, 0xf5b32a18
jmp rax
jmp 0x140130eef
mov dword [rsp + 0x78], 0xf6f6f6f6
and al, 0x5c
div dh
div dh
mov dword [rsp + 0x6c], 0x81596f78
mov dword [rsp + 0x60], 0xf6f6f6f6
mov dword [rsp + 0x70], 0x71787378
jmp 0x140130f67
Function at 0x18001b113
Capabilities:
Suspend thread

Disassembly:
jmp 0x180037290
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1800637cc], 0
je 0x1800372ad
mov eax, dword [0x1800637cc]
jmp 0x180037376
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rsp + 0x50], rax
jne 0x1800372c1
xor eax, eax
jmp 0x180037376
mov ecx, 0x10
call fcn.18001b091
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18003732f
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180037314
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18001bbd1
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1800637cc], eax
mov qword [0x1800637d0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180037376
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18003734b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x1800372ea
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800637d8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800637d8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x18001b712
Capabilities:
Create thread

Disassembly:
jmp 0x180033e60
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x18006c12b]
call fcn.18001be42
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x180033e9f
jmp 0x180033ec4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18001bb86]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x18001b820
Capabilities:
Terminate process

Disassembly:
jmp 0x18004f7f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x18001bad2
Capabilities:
Resume thread

Disassembly:
jmp 0x180036a70
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1800637c8], eax
je 0x180036a8c
mov eax, 0x10dd
jmp 0x180036bb3
mov rax, qword [0x1800637e0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180036b37
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180036b02
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180036b02
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180034de0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18001bbd1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180036a98
mov qword [0x1800637e0], 0
call fcn.180035ad0
mov rax, qword [0x1800637d8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180036b9c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18001bbd1
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180036b53
mov qword [0x1800637d8], 0
mov dword [0x1800637c8], 0
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800341f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800344a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800342f7
mov rax, qword [0x180063008]
cmp qword [rsp + 0x20], rax
jb 0x180034254
mov rax, qword [0x180063010]
cmp qword [rsp + 0x20], rax
ja 0x180034254
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180034216
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18001baff
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180034283
jmp 0x1800342f7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800342da
cmp qword [rsp + 0x48], 0x10000
jb 0x1800342da
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800342c8
mov rax, qword [rsp + 0x28]
jmp 0x1800342f9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800342f2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800344a0
mov qword [rsp + 0x20], rax
jmp 0x180034216
xor eax, eax
add rsp, 0x68
ret
Function at 0x180034350
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800344f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180034453
mov rax, qword [0x180063008]
cmp qword [rsp + 0x20], rax
jb 0x1800343ab
mov rax, qword [0x180063010]
cmp qword [rsp + 0x20], rax
ja 0x1800343ab
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18003436d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18001baff
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800343da
jmp 0x180034453
cmp dword [rsp + 0x50], 0x10000
jne 0x180034431
cmp qword [rsp + 0x48], 0x10000
jb 0x180034431
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18003441f
mov rax, qword [rsp + 0x28]
jmp 0x180034455
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18003444e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800344f0
mov qword [rsp + 0x20], rax
jmp 0x18003436d
xor eax, eax
add rsp, 0x68
ret