joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466d80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x466ef7
movzx edx, byte [rax]
test edx, edx
jne 0x466db4
nop dword [rax]
test r8b, r8b
jne 0x466db4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x466dc7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x466eb7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x466ea5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x466e97
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x466e1d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x466e60
mov eax, 1
cmp rax, rbx
ja 0x466e4b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0046bea0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x466e8f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x466e53
mov rcx, r11
mov eax, r12d
jmp 0x466e22
mov rcx, rbx
call fcn.0046bde0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046bde0
mov eax, r8d
mov rcx, rbx
call fcn.0046bea0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x466eed
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x466eb0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x466dcd
mov eax, edx
mov rcx, rbx
call fcn.0046bde0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046bde0
nop
int3

Function at 0x468400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4684af
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00455900]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00469a00
xorps xmm15, xmm15
mov r14, qword [0x0059dec0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00469b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00468400
Function at 0x46b920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4037a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409200
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00469b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403780
cmp byte [0x0059dc6d], 0
je 0x46b935
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x468b60
jmp 0x403780

Function at 0x46b940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x0059dfa8]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0059dfa0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0059dc6d], 0
je 0x46b975
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0059e2e0]
aesenc xmm0, xmmword [0x0059e2f0]
aesenc xmm0, xmmword [0x0059e300]
movq rax, xmm0
ret
jmp 0x4093e0

Function at 0x46b980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [0x0059dfa8]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0059dfa0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0059dc6d], 0
je 0x46b9b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0059e2e0]
aesenc xmm0, xmmword [0x0059e2f0]
aesenc xmm0, xmmword [0x0059e300]
movq rax, xmm0
ret
jmp 0x409420

Function at 0x46d720
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46d754
mov rcx, 0x28
jmp 0x46d75f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0059dec0], rcx
pop rbp
ret

Function at 0x475d00
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47643f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x475d2d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x475fb1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x475fdd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004d64c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004965c0]
lea rbx, [0x004d4bc8]
call fcn.00464660
inc rax
cmp rax, r8
jge 0x476002
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x476037
lea rdi, [0x00496640]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x475d23
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x47601b
jmp 0x475ff0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00469b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00475d00
Function at 0x4765e0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4765f7
inc rax
cmp rax, 4
jge 0x47660f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4765f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x476620
inc rax
cmp rax, 4
jge 0x47662e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x476657
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47663b
jmp 0x47661d

Function at 0x47a120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47a1ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402c80
xorps xmm15, xmm15
mov r14, qword [0x0059dec0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47a1cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004966c0]
xor ebx, ebx
mov rcx, rdx
call fcn.004657e0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047a700
inc rbx
cmp rcx, rbx
jae 0x47a1be
mov edi, 1
lea rsi, [0x004966c0]
call fcn.004658c0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004d4d98]
lea rsi, [0x004d4870]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00469b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047a120
Function at 0x140001060
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x3955b39
mov rdi, rcx
jne 0x1400010c2
movsxd rax, dword [rcx + 4]
xor ebx, ebx
test eax, eax
je 0x1400010c2
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x1400010c2
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
jne 0x1400010ac
mov ebx, 0xc0000001
jmp 0x1400010b3
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x1400010c7
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400010d4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x3955b39
mov rsi, rcx
je 0x1400010f8
mov eax, 0xc0000001
jmp 0x1400011ad
xor ebx, ebx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x30]
mov edi, ebx
lea ecx, [rbx + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400011ab
test rdi, rdi
je 0x140001130
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
mov rdi, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x140001120
test rdi, rdi
je 0x1400011ab
mov r8d, dword [rdi]
test r8d, r8d
je 0x1400011a0
lea rdx, [rdi + 0x18]
test byte [rdx - 8], 1
je 0x140001195
cmp qword [rdx], 0x200000
jne 0x140001195
mov ecx, dword [0x140002240]
mov r9b, byte [0x140002244]
cmp dword [rdx + 8], ecx
jne 0x140001195
cmp byte [rdx + 0xc], r9b
je 0x1400011bd
inc ebx
add rdx, 0x20
cmp ebx, r8d
jb 0x14000116e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx - 0x10]
mov qword [rcx], rax
jmp 0x1400011ab
Function at 0x1400011cc
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x3955b39
mov rbx, rcx
jne 0x140001290
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001290
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001290
mov rdi, qword [0x140004050]
test rdi, rdi
je 0x140001290
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov rsi, qword [rbx + 0x18]
call fcn.140001b84
test rax, rax
je 0x140001290
mov ecx, eax
mov edx, 0x1000
and ecx, 0xfff
sub edx, ecx
mov rcx, qword [rbx + 0x10]
cmp edx, esi
cmovl esi, edx
and qword [rsp + 0x48], 0
cmp byte [rbx + 0x20], 0
movsxd r8, esi
je 0x140001273
mov rdx, rcx
lea r9, [rsp + 0x48]
mov rcx, rax
call fcn.140001d64
jmp 0x14000128c
lea rdx, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x140001295
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140001344
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [0x140004058], 0
mov r13, rcx
jne 0x140001372
call fcn.140001664
cmp qword [0x140004080], 0
jne 0x140001381
call fcn.140001480
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov rdx, qword [0x140004078]
xor r15d, r15d
mov rcx, qword [0x140004070]
lea rsi, [rax + 8]
lea r12, [rcx + rdx*8]
mov rbx, qword [rsi - 8]
test rbx, rbx
jne 0x1400013b2
cmp qword [rsi], rbx
je 0x140001460
mov rbp, qword [rsi]
sar rbp, 0xc
sar rbx, 0xc
add rbp, rbx
cmp rbx, rbp
jge 0x140001441
lea rdi, [rbx + rbx*2]
shl rdi, 4
mov rax, qword [0x140004080]
mov r14, qword [rdi + rax]
cmp r14, 2
jb 0x140001427
cmp qword [rdi + rax + 8], r12
jne 0x140001427
movabs rax, 0xffff800000000000
shr r14, 0xd
or r14, rax
lea rdx, [rsp + 0x58]
mov rax, rbx
shl rax, 0xc
mov qword [0x140004050], rax
mov ecx, dword [r13]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001427
cmp r14, qword [rsp + 0x58]
je 0x140001435
inc rbx
add rdi, 0x30
cmp rbx, rbp
jl 0x1400013cd
jmp 0x140001441
mov rcx, qword [0x140004050]
test rcx, rcx
jne 0x140001457
inc r15d
add rsi, 0x10
cmp r15d, 0xc8
jl 0x1400013a0
jmp 0x140001460
mov rax, qword [r13 + 8]
mov qword [rax], rcx
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140015100
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]
nop
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c50
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c63
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012c8d
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012ca1
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012cb3
xor al, al
jmp 0x140012cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012ccf
xor al, al
jmp 0x140012cd1
mov al, 1
add rsp, 0x38
ret

Function at 0x140011a30
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001137f
movzx eax, al
test eax, eax
jne 0x140011a50
mov ecx, 7
call fcn.1400112fd
nop
mov byte [rsp + 0x20], 0
call fcn.140011311
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011a74
mov ecx, 7
call fcn.1400112fd
nop
jmp 0x140011acc
cmp dword [0x14001c220], 0
jne 0x140011ac7
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.140011195
test eax, eax
je 0x140011aa8
mov eax, 0xff
jmp 0x140011bd1
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.140011307
mov dword [0x14001c220], 2
jmp 0x140011acc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112ee
call fcn.14001128a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011b29
mov rcx, qword [rsp + 0x30]
call fcn.14001114f
movzx eax, al
test eax, eax
je 0x140011b29
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140022020]
nop
call fcn.1400112bc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011b5d
mov rcx, qword [rsp + 0x38]
call fcn.14001114f
movzx eax, al
test eax, eax
je 0x140011b5d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001133e
nop
call fcn.140011c80
mov dword [rsp + 0x28], eax
call fcn.140011267
movzx eax, al
test eax, eax
jne 0x140011b7c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011b8b
call fcn.140011348
nop
xor edx, edx
mov cl, 1
call fcn.140011140
mov eax, dword [rsp + 0x28]
jmp 0x140011bd1
add rsp, 0x68
ret
Function at 0x18000a4a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180032028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.18000b958
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x18000a8d0]
xor edx, edx
xor ecx, ecx
call fcn.180010774
mov qword [rdi], rax
test rax, rax
je 0x18000a51b
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000b930
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.18000aff0
int3

Function at 0x18000a900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x180032028]
xor rax, rsp
mov qword [rbp + 0x38], rax
cmp edx, 1
jne 0x18000aa3f
mov qword [0x180039110], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x150], rbx
mov dword [rsp + 0x58], 0x6e72656b
mov dword [rsp + 0x20], 0x43746547
mov dword [rsp + 0x5c], 0x32336c65
mov dword [rsp + 0x24], 0x6f736e6f
mov dword [rbp + 5], 0x6f646e69
mov dword [rsp + 0x28], 0x6957656c
mov dword [rsp + 0x60], 0x6c6c642e
mov dword [rbp - 0x32], 0x6c6c642e
mov dword [rbp - 0x37], 0x33726573
mov dword [rsp + 0x2c], 0x776f646e
mov byte [rsp + 0x64], 0
mov word [rbp + 3], 0x5777
mov byte [rsp + 0x30], 0
mov byte [rbp - 0x33], 0x32
mov word [rbp], 0x6853
mov byte [rbp + 2], 0x6f
mov word [rbp + 9], 0x77
mov byte [rbp - 0x38], 0x75
mov byte [rbp - 0x2e], 0
mov dword [rbp - 0x70], 0x6f6c6c41
mov dword [rbp - 0x6a], 0x6f736e6f
mov word [rbp - 0x6c], 0x4363
mov word [rbp - 0x66], 0x656c
mov byte [rbp - 0x64], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call rbx
test rax, rax
jne 0x18000aa2b
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
call rbx
lea rcx, [rbp - 0x38]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
lea rcx, [0x1800068d0]
call fcn.180008ff0
mov rbx, qword [rsp + 0x150]
mov eax, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.18000b930
add rsp, 0x140
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400043f0]
mov dword [rax], 1
mov rax, qword [0x140004400]
mov dword [rax], 1
mov rax, qword [0x140004390]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043d0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004340]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001730
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 sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400017a0
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 0x1400018d0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001875
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017d0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400018f2
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 sym._GetPEImageBase
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 0x1400018d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000186e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001880
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 0x14000186e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400017f8
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 sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e80
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 0x140001edc
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 0x140001ed3
test eax, eax
jne 0x140001ed3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001eb8
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 0x1400020f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002108
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002110
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret