joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a840
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00518e6f], 0
jne 0x41a92f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41a925
lea rbx, [0x004eb2d0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41a907
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.004575e0
lea rax, [0x0046e56d]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00430880
nop
int3

Function at 0x41d080
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41d181
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41d0c0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41d171
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.0041dbe0
nop dword [rax]
test rax, rax
je 0x41d171
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041d1c0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00454de0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41d15f
xor eax, eax
jmp 0x41d169
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41d0b2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00454f20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041d080
Function at 0x42a1a0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42a446
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1278]
mov rcx, qword [rax + 0x1268]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42a43a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00518e6f], 0
jne 0x42a202
xor edx, edx
xor ebx, ebx
nop
jmp 0x42a24a
xor edx, edx
jmp 0x42a22d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041a060
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42a206
add rax, 0x1268
call fcn.0042a020
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42a3d4
mov rsi, qword [rax + rdx*8 + 0x1278]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42a247
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.0040ec00
test rax, rax
jne 0x42a2a2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42a247
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42a2e5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42a247
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42a42d
lea r10, [0x004eb2d0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42a36b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42a3a5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42a247
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42a425
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42a247
cmp rbx, 0x200
ja 0x42a418
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004201e0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042a020
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.00457640
mov rax, r8
call fcn.004575c0
mov rax, r8
mov ecx, 0x40
call fcn.004575e0
mov edx, 0x200
nop
call fcn.00457620
nop
mov qword [rsp + 8], rax
call fcn.00459600
mov rax, qword [rsp + 8]
jmp fcn.0042a1a0
Function at 0x43eaa0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43ec0f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43eab8
cmp edx, ecx
jne 0x43ebfd
nop dword [rax]
test rsi, rsi
jne 0x43ebfd
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43eb16
nop
call fcn.00458ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.0043e9a0
mov rcx, qword [0x004c50f8]
mov rdx, qword [0x004c50f0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x43ebf8
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x43ebed
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x004c5a10]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x004c5a10], rbx
mov edx, 1
lea rsi, [0x004c5a18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x43ebdc
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x0046e02e]
mov ebx, 0x28
call fcn.00430880
mov rcx, rax
mov rax, rsi
call fcn.004575c0
call fcn.0042ee40
lea rax, [0x0046d9c0]
mov ebx, 0x23
call fcn.00430880
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00454f20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043eaa0
Function at 0x457080
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005190e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00518e6e], 0
je 0x4570b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00519400]
aesenc xmm0, xmmword [0x00519410]
aesenc xmm0, xmmword [0x00519420]
movq rax, xmm0
ret
jmp 0x4087e0

Function at 0x4589e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00519380]
mov qword [rsp + 8], rdx
lea r8d, [0x00518e84]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00456f80
add rsp, 0x30
ret
Function at 0x401710
Capabilities:
Check if file exists
Execute command
Get file attributes
Get memory capacity

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rbp, rcx
lea rcx, [0x004050ea]
call sub.msvcrt.dll_system
lea r8, [rsp + 0x64]
xor eax, eax
mov ecx, 0x12
lea rdx, [rsp + 0x60]
mov rdi, r8
mov dword [rsp + 0x60], 0x94
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov edx, dword [rsp + 0x64]
lea rcx, str.Windows_Version:__lu._lu_n
mov rbx, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x68]
mov rsi, rbx
sub rsi, qword [rsp + 0x30]
call sub.msvcrt.dll_printf
test rbx, rbx
js 0x4018d0
pxor xmm0, xmm0
cvtsi2sd xmm0, rbx
movsd xmm6, qword [0x00405830]
lea rcx, str.Total_RAM:__.2f_GB_n
mulsd xmm0, xmm6
movapd xmm1, xmm0
movq rdx, xmm0
call sub.msvcrt.dll_printf
test rsi, rsi
js 0x4018f0
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
mulsd xmm0, xmm6
lea rcx, str.Used_RAM:__.2f_GB_n
movq rdx, xmm0
movapd xmm1, xmm0
call sub.msvcrt.dll_printf
mov edx, dword [0x00408040]
lea rcx, str.Secrets_Found:__d_n_n
call sub.msvcrt.dll_printf
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
lea rcx, str.Sections:
mov rsi, rax
call sub.msvcrt.dll_puts
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401910
mov edx, 1
mov rcx, rsi
mov rbx, qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
call rbx
lea rcx, str.1._Environment_Check_and_File_Secret
call sub.msvcrt.dll_puts
mov edx, dword [0x00408038]
test edx, edx
je 0x4018b0
mov edx, 1
mov rcx, rsi
call rbx
lea rcx, str.2._Network_Analysis
call sub.msvcrt.dll_puts
mov edx, 7
mov rcx, rsi
call rbx
mov eax, dword [0x00408030]
test eax, eax
je 0x4018c0
mov edx, 1
mov rcx, rsi
call rbx
lea rcx, str.3._Obfuscation
call sub.msvcrt.dll_puts
nop
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, 2
mov rcx, rsi
call rbx
jmp 0x40185c
mov edx, 2
mov rcx, rsi
call rbx
jmp 0x401886
mov rax, rbx
and ebx, 1
pxor xmm0, xmm0
shr rax, 1
or rax, rbx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
jmp 0x4017a1
mov rax, rsi
and esi, 1
pxor xmm0, xmm0
shr rax, 1
or rax, rsi
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
jmp 0x4017d4
mov edx, 2
mov rcx, rsi
mov rbx, qword [sym.imp.KERNEL32.DLL_SetConsoleTextAttribute]
call rbx
jmp 0x40183c
Function at 0x402110
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00408644]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402298
mov rax, qword [0x00408648]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40215c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4021e5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x402140
mov rcx, rbx
call fcn.00402db0
test rax, rax
mov r12, rax
je 0x4022cd
mov rax, qword [0x00408648]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.00402ee0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408648]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x4022b0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4021de
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402240
add dword [0x00408644], 1
cmp edi, 8
jae 0x402213
test dil, 4
jne 0x402284
test edi, edi
je 0x402208
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40229f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x402208
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40222c
jmp 0x402208
add rsi, qword [0x00408648]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x4021de
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00403670
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x402208
xor esi, esi
jmp 0x402167
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x402208
mov rax, qword [0x00408648]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00403670
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00403670
nop
nop dword [rax]

Function at 0x402a20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408920]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x00408900]
test rbx, rbx
je 0x402a74
mov rbp, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.DLL_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x402a6b
test rsi, rsi
je 0x402a6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402a50
lea rcx, [0x00408920]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
Function at 0x402db0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405b80]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x402e1d
mov rcx, r8
call fcn.00402c90
test eax, eax
je 0x402e1d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402e1d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402e14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402e1f
add rax, 0x28
cmp rax, r9
jne 0x402e00
xor eax, eax
add rsp, 0x28
ret
Function at 0x403670
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.004031b0
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.004031b0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140001af0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rcx, 0xffffffffffffffff
mov rbx, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140001b22
inc rbx
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140002e04
mov r8, rbx
mov rdx, rbp
mov rcx, rax
mov rsi, rax
call fcn.1400077d0
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140001b78
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call fcn.140007460
test eax, eax
je 0x140001b97
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001b60
mov rcx, rsi
call fcn.140002dfc
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rsi
call fcn.140002dfc
mov rax, qword [rbx + 0x20]
jmp 0x140001b82

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov esi, dword [r8 + 0x1c]
add r10, rcx
mov ebp, dword [r8 + 0x24]
add rsi, rcx
add rbp, rcx
cmp rdx, 0x10000
jae 0x140001c19
mov r9d, dword [r8 + 0x10]
movzx edx, di
cmp edx, r9d
jb 0x140001c63
mov ecx, dword [r8 + 0x14]
add ecx, r9d
cmp edx, ecx
jae 0x140001c63
sub edx, r9d
mov eax, dword [rsi + rdx*4]
add rax, r11
jmp 0x140001c65
mov ebx, dword [r8 + 0x18]
xor r9d, r9d
test ebx, ebx
je 0x140001c63
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001c53
inc rax
test ecx, ecx
jne 0x140001c40
test edx, edx
je 0x140001c7a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140001c30
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140001c65

Function at 0x140008440
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000826c
Function at 0x1400e270e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140278a50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14032de40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14035365b]
call fcn.1400e27f9
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140278ab6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140278abd
mov al, 1
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400df36f
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400df36f
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1400e18ef
movzx eax, al
test eax, eax
je 0x140278b20
xor al, al
jmp 0x140278c2d
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140278b93
cmp dword [rbp + 0x160], 1
je 0x140278b9e
cmp dword [rbp + 0x160], 3
je 0x140278c1c
jmp 0x140278c2b
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140278bee
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140278bee
xor al, al
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140278c09
mov dword [rbp + 0x154], 1
jmp 0x140278c13
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140278c2d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140278c2d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140304180]
call fcn.1400e1bdd
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1400e02a6
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140001020
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x14000106f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x140039b78]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1400010ad
cmp rsi, r14
jb 0x1400010a5
cmp rsi, r15
jae 0x1400010a5
cmp qword [rsi + 8], 0
jne 0x140001277
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140001090
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x140001142
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x140001139
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001139
cmp dword [rsp + 0x40], 0x10000
je 0x1400011bb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x140001139
sub rbx, rbp
cmp rbx, r14
jae 0x140001100
test rsi, rsi
jne 0x140001220
cmp rdi, r15
ja 0x14000125f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x14000125f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000125f
cmp dword [rsp + 0x40], 0x10000
je 0x1400011f1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x140001172
jmp 0x14000125f
test rbx, rbx
je 0x140001139
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 0x140001220
cmp rbx, r14
jae 0x1400010e0
jmp 0x140001142
test rdi, rdi
je 0x14000125f
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 0x140001220
cmp rdi, r15
jbe 0x140001150
jmp 0x14000125f
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 0x140001230
mov rax, qword [0x140039b78]
mov qword [rsi], rax
mov qword [0x140039b78], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140003f90
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret