joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003f690
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180056ac8], eax
je 0x18003f6b7
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x180056acc]
test eax, eax
jne 0x18003f7f3
test rbp, rbp
jne 0x18003f6d4
lea eax, [rbp + 0x57]
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x18003f6f0
cmp qword [rsi], 0
jne 0x18003f6fc
mov dword [0x180056acc], 6
mov qword [0x180056ad0], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.180042900
mov rdi, rax
test rax, rax
jne 0x18003f720
lea ebx, [rax + 8]
jmp 0x18003f7c8
mov rcx, qword [rsi]
xor edx, edx
call fcn.18003f5e0
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.18003f5e0
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x18003f7ba
cmp rdx, 0x1e
ja 0x18003f7ba
cmp qword [rbx + 0x50], rax
jne 0x18003f7ba
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003f77c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18003f7c8
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x180056ae0]
mov qword [rdi], rax
xor eax, eax
mov qword [0x180056ae0], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x180056ac0], 0
mov ebx, 9
jne 0x18003f7d3
mov dword [0x180056acc], ebx
test rdi, rdi
je 0x18003f7e0
mov edx, 0x30
mov rcx, rdi
call fcn.1800428f8
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x180056ad0], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x18003f800
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180056ac8], 0
jne 0x18003f8a7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180056ac8], ecx
jne 0x18003f8a7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180056ab0]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180056ae0], rdi
mov qword [0x180056ad8], rdi
mov qword [0x180056ad0], rdi
test rbx, rbx
je 0x18003f890
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18003f888
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18003f860
jmp 0x18003f890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x180056acc], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x18003fec0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x180056acc]
mov rdi, rcx
test eax, eax
jne 0x18003ff63
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x18003feea
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180042900
mov rbx, rax
test rax, rax
jne 0x18003ff06
lea edi, [rax + 8]
jmp 0x18003ff29
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18003ff47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.1800428f8
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x180056acc], edi
mov qword [0x180056ad0], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180056ad8]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180056ad8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800406b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18005759c]
mov ebx, edi
test ecx, ecx
je 0x1800407eb
mov rax, qword [0x180057590]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180040708
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800406e0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800407eb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180040a30
mov r8d, dword [0x18005759c]
cmp ebx, r8d
jae 0x180040778
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180057590]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180040771
mov edx, esi
mov ecx, ebx
call fcn.180040920
mov edi, eax
test eax, eax
jne 0x180040778
mov r8d, dword [0x18005759c]
inc ebx
cmp ebx, r8d
jb 0x180040740
cmp qword [rsp + 0x20], 0
je 0x1800407eb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800407d7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800407c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800407a0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180056af0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180040920
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180057590]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180040984
mov eax, 0xa
jmp 0x180040a13
test esi, esi
je 0x1800409a6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800409c9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800409c9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800409c2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800409c9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180040a30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180055240]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180040b5a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180040b51
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180040b34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180040b34
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180040b34
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180040af2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180056af0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180040b51
jmp 0x180040b27
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180040b27
mov rcx, qword [0x180056af0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180040b51
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180040aa0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180040bb3
cmp dword [rbx + 0xc], esi
jbe 0x180040bb3
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180040bac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800413c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180040b70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180042550
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180040be0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov ebp, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x180056ae8], edi
je 0x180040c31
nop
cmp rbx, 0x20
jae 0x180040c1a
xor ecx, ecx
jmp 0x180040c1c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180056ae8], edi
jne 0x180040c10
cmp qword [0x180056af0], rbp
je 0x180040d5d
mov r8d, dword [0x18005759c]
mov ebx, r15d
test r8d, r8d
je 0x180040d62
mov rdx, qword [0x180057590]
add rdx, 0x20
nop dword [rax]
movzx ecx, byte [rdx]
shr cl, 1
xor cl, byte [rdx]
test cl, 2
jne 0x180040c7c
inc ebx
add rdx, 0x38
cmp ebx, r8d
jb 0x180040c60
jmp 0x180040d62
cmp ebx, 0xffffffff
je 0x180040d62
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 2
call fcn.180040a30
mov edx, dword [0x18005759c]
cmp ebx, edx
jae 0x180040cf1
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180057590]
movzx r8d, byte [rcx + rax + 0x20]
movzx eax, r8b
shr al, 1
xor al, r8b
test al, 2
je 0x180040ceb
mov edx, r8d
mov ecx, ebx
shr edx, 2
and edx, edi
call fcn.180040920
mov ebp, eax
test eax, eax
jne 0x180040cf1
mov edx, dword [0x18005759c]
inc ebx
cmp ebx, edx
jb 0x180040cb0
cmp qword [rsp + 0x20], r15
je 0x180040d62
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180040d47
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rsi
mov esi, eax
nop dword [rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180040d38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180040d10
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180056af0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180040d62
mov ebp, 2
xchg dword [0x180056ae8], r15d
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800410e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180056ae8], esi
je 0x180041131
cmp rbx, 0x20
jae 0x18004111a
xor ecx, ecx
jmp 0x18004111c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180056ae8], esi
jne 0x180041110
cmp qword [0x180056af0], r14
mov qword [rsp + 0x58], r13
je 0x1800412cd
mov ecx, dword [0x18005759c]
mov ebx, r15d
test ecx, ecx
je 0x18004116f
mov rdx, qword [0x180057590]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18004117a
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180041160
mov r14d, 4
jmp 0x1800412d3
cmp ebx, 0xffffffff
je 0x18004116f
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18004122b
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180040a30
xor edx, edx
mov ecx, ebx
call fcn.180040920
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x18004121b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x180041207
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800411f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x1800411d0
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180056af0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x1800412d3
mov rdx, qword [0x180057590]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180041620
mov ecx, dword [0x18005759c]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x18004127f
imul rcx, rax, 0x38
mov rax, qword [0x180057590]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x18005759c]
mov edx, dword [0x180057598]
dec ecx
mov eax, edx
mov dword [0x18005759c], ecx
shr eax, 1
cmp eax, 0x20
jb 0x1800412d3
cmp eax, ecx
jb 0x1800412d3
mov r8, qword [0x180057590]
mov eax, edx
mov rcx, qword [0x180056af0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1800412d3
shr dword [0x180057598], 1
mov qword [0x180057590], rax
jmp 0x1800412d3
mov r14d, 2
xchg dword [0x180056ae8], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180041570
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1800415df
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1800415c8
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800415bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180041590
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180056af0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800416a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800416e0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180057580]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004171e
cmp rsi, r14
jb 0x180041716
cmp rsi, r15
jae 0x180041716
cmp qword [rsi + 8], 0
jne 0x1800418e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180041701
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800417b2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800417a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800417a9
cmp dword [rsp + 0x70], 0x10000
je 0x18004182b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800417a9
sub rbx, rbp
cmp rbx, r14
jae 0x180041770
test rsi, rsi
jne 0x180041890
cmp rdi, r15
ja 0x1800418cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800418cf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800418cf
cmp dword [rsp + 0x70], 0x10000
je 0x180041861
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800417e2
jmp 0x1800418cf
test rbx, rbx
je 0x1800417a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180041890
cmp rbx, r14
jae 0x180041750
jmp 0x1800417b2
test rdi, rdi
je 0x1800418cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180041890
cmp rdi, r15
jbe 0x1800417c0
jmp 0x1800418cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800418a0
mov rax, qword [0x180057580]
mov qword [rsi], rax
mov qword [0x180057580], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14000e090
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x140188080]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
jmp 0x14000e0d9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xf4240
jge 0x14000e0ef
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp 0x14000e0cf
cmp dword [rsp + 0x3c], 0xf4240
jne 0x14000e266
lea rcx, [rsp + 0x170]
call fcn.1400101a0
mov dword [rsp + 0x34], 0
jmp 0x14000e11e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rcx, [0x14018b300]
call fcn.140014e80
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jae 0x14000e18a
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [0x14018b300]
call fcn.1400114e0
movsx eax, byte [rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add eax, 0xf9
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov byte [rsp + 0x30], al
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x170]
call fcn.1400116e0
jmp 0x14000e114
lea rdx, [0x14003afc1]
lea rcx, [rsp + 0x190]
call fcn.14000ff60
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1b0]
call fcn.14000f540
lea rcx, [rsp + 0x190]
call fcn.140010fb0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [0x14014ac30]
lea rcx, [rsp + 0x60]
call fcn.14000fb90
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x60]
call fcn.14000e360
lea rcx, [rsp + 0x60]
call fcn.1400135f0
lea rax, str.C:_Users_Public_main.exe
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.140011710
lea rcx, [rsp + 0x1b0]
call fcn.140010fb0
lea rcx, [rsp + 0x170]
call fcn.140010fb0
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140017080
add rsp, 0x1e8
ret
Function at 0x140015620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x140015642
xor eax, eax
jmp 0x1400157e5
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x140015667
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400157f0
jmp 0x1400157e5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.140012510
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400156fd
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000f780
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.140014030
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140013640
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140013d80
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x1400157d5
mov rcx, qword [rsp + 0x60]
call fcn.140012c90
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14001579d
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14001eb2c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14001579b
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400157e5
jmp 0x140015723
cmp qword [rsp + 0x20], 0
jbe 0x1400157d5
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14001eb2c
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret

Function at 0x1400176dc
Capabilities:
Parse pe header

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

Function at 0x140021014
Capabilities:
Parse pe header

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