joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002ad0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rbp, rdx
movaps xmmword [rax - 0x38], xmm8
mov rsi, rcx
movaps xmmword [rax - 0x48], xmm9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov ebx, dword [r9 + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002b97
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002b97
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7e18452d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002b92
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002b70
cmp r8d, 0xdabbc57f
je 0x180002b9c
test r9d, r9d
jne 0x180002b50
mov rax, qword [rax]
jmp 0x180002b20
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
movsd xmm6, qword [rbp]
mov rcx, rsi
movsd xmm7, qword [rbp + 8]
addsd xmm6, qword [0x180036218]
addsd xmm7, qword [0x180036218]
movups xmm8, xmmword [0x180036108]
movups xmm9, xmmword [0x18003f930]
call fcn.1800025c0
cmp word [rax], 0
je 0x180002c16
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002c00
xor edx, edx
add ecx, 1
je 0x180002c1a
mov rdx, rax
jmp 0x180002c1a
xor edx, edx
mov ecx, edx
movaps xmm0, xmmword [rbp]
mov rax, qword [0x18003bde0]
mov rbx, qword [0x18003be60]
movsd qword [rsp + 0x38], xmm0
unpckhpd xmm0, xmm0
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x180036460]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18003fde0]
movsd qword [rsp + 0x80], xmm6
movsd qword [rsp + 0x88], xmm7
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x6c], xmm9
movups xmmword [rsp + 0x94], xmm8
test rax, rax
jne 0x180002cc5
xor r9d, r9d
lea r8, str.Canvas.K2_DrawText
xor edx, edx
xor ecx, ecx
call qword [0x18003f878]
mov qword [0x18003fde0], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
ret
Function at 0x1800127b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x18]
add rsi, 0x20
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x18001282c
lea rbp, [0x180036020]
movabs r14, 0x6c00640074006e
cmp rbp, 1
jbe 0x180012812
mov rdx, qword [rbx + 0x50]
mov rcx, rbp
call fcn.180019a8c
test eax, eax
je 0x180012849
cmp rbp, 1
jne 0x180012824
cmp word [rbx + 0x48], 0x12
jne 0x180012824
mov rax, qword [rbx + 0x50]
cmp qword [rax], r14
je 0x180012849
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x1800127f8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, qword [rbx + 0x20]
jmp 0x18001282e
Function at 0x1800216b8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800216e8
xor eax, eax
jmp 0x1800217ab
mov rbp, rbx
cmp word [rax], si
je 0x18002170d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800216f4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800216f0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800215d8
movsxd r14, eax
test eax, eax
jne 0x18002174b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800216e1
mov rcx, r14
call fcn.18001e148
mov rdi, rax
test rax, rax
jne 0x180021764
xor ecx, ecx
call fcn.18001e10c
jmp 0x180021740
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800215d8
test eax, eax
jne 0x180021795
mov rcx, rdi
call fcn.18001e10c
jmp 0x18002179f
xor ecx, ecx
call fcn.18001e10c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180028ba0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180028bc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180028bc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14005b000
Capabilities:
Encode data using xor

Disassembly:
lea rax, section..text
movabs rcx, 0x24a00
xor byte [rax], 0x41
inc rax
loop 0x14005b011
jmp loc.14005a000
Function at 0x10000fde0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100012828], rdi
je 0x10000fe2e
cmp rax, rdi
jne 0x10000fe21
mov edi, 1
mov r12d, edi
jmp 0x10000fe33
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000fe05
mov edi, 1
mov eax, dword [0x100012820]
cmp eax, edi
jne 0x10000fe49
mov ecx, 0x1f
call fcn.1000e2000
jmp 0x10000fea6
mov eax, dword [0x100012820]
test eax, eax
jne 0x10000fea0
mov dword [0x100012820], edi
lea r13, [0x100001400]
lea rsi, [0x1000013e8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x10000fe92
test eax, eax
jne 0x10000fe92
mov rcx, qword [rsi]
test rcx, rcx
je 0x10000fe87
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x10000fe70
test eax, eax
je 0x10000fea6
mov eax, 0xff
jmp 0x10000ff78
mov dword [0x100012164], edi
mov eax, dword [0x100012820]
cmp eax, edi
jne 0x10000fecd
lea rdx, [0x1000013e0]
lea rcx, [0x1000013d0]
call sub.msvcrt.dll__initterm
mov dword [0x100012820], 2
test r12d, r12d
jne 0x10000fedb
xor eax, eax
xchg qword [0x100012828], rax
cmp qword [0x100012830], 0
je 0x10000ff04
lea rcx, [0x100012830]
call fcn.1000101dc
test eax, eax
je 0x10000ff04
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100012830]
mov r8, qword [0x100012148]
mov rdx, qword [0x100012150]
mov ecx, dword [0x100012140]
call fcn.100002078
mov dword [0x100012160], eax
cmp dword [0x100012144], 0
jne 0x10000ff34
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100012164], 0
jne 0x10000ff49
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100012160]
jmp 0x10000ff78
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.1000102f0
add rsp, 0x28
jmp 0x10000fde0
Function at 0x100010090
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100012110]
jne 0x1000100ab
rol rcx, 0x10
test cx, 0xffff
jne 0x1000100a7
ret 0
ror rcx, 0x10
jmp 0x1000103ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100012220]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100012318]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100010431
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100012220]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100010453
mov rax, qword [rsp + 0x88]
mov qword [0x100012318], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000122b8], rax
mov rax, qword [0x100012318]
mov qword [0x100012190], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000122a0], rax
mov dword [0x100012180], 0xc0000409
mov dword [0x100012184], 1
mov rax, qword [0x100012110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100012118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001430]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x100010248
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100010295
cmp rcx, 0xffffffffffffffff
je 0x100010295
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10001028d
cmp dword [rcx + 0x3c], edx
jl 0x10001028d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10001028d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100010295
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400042b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140041a64], 0
lea rdi, [0x140041a60]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140004388
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400042e0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400043be
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400043a0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400043ff
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400043e3
cmp byte [r8], r9b
jne 0x1400043e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400043d0
not eax
pop rdi
ret
Function at 0x140004600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140004619
mov qword [r8], 0
lea rdx, [0x14003a528]
call fcn.140004410
mov rbx, rax
test rax, rax
jne 0x140004638
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400046f8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400046f8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400046f8
mov rax, qword [0x140041928]
mov rbp, rsi
test rax, rax
je 0x140004695
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400046f8
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1400046e5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140041928]
test rax, rax
je 0x1400046da
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004701
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400046f3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140004703
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013b80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140041928]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140013c9a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140013bda
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140014bb0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140013bee
mov edx, 8
mov rcx, rbx
call fcn.140014bb0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140013c3a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140013c10
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140013c49
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14003a52c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x14004191a]
mov rcx, r15
cmovne rdi, rax
call fcn.140004410
mov rbx, rax
test rax, rax
je 0x140013c95
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001bc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001be72
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14003aa80]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001bcda
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001bcf9
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001be10
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001bd40
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001bd43
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140016f10
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140019870
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001bd30
jmp 0x14001be17
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001bc90
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x140020390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140020547
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140020426
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001fd00
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001f310
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140020417
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140014830
mov dword [rbx + 0x80], 0
jmp 0x140020533
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001e150
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140034c18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140034c62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140034c62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140034c62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140034c62
cmp dword [rcx + 0x84], 0xe
jbe 0x140034c62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140034c64
xor al, al
add rsp, 0x28
ret
Function at 0x140004900
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x538
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x528], rax
mov dword [rsp + 0x500], 0
mov dword [rsp + 0x50], 0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
lea rcx, [rsp + 0x468]
call fcn.1400a8080
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x480]
call fcn.1400a8080
mov dword [rsp + 0x480], 0x68
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rdx, qword [rsp + 0x540]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rsp + 0x558], 0
je 0x140004a7b
cmp qword [rsp + 0x548], 0
je 0x1400049c1
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x508], rax
jmp 0x1400049fc
lea rcx, [rsp + 0x4f0]
call fcn.140001000
mov qword [rsp + 0x510], rax
mov eax, dword [rsp + 0x500]
or eax, 1
mov dword [rsp + 0x500], eax
mov rcx, qword [rsp + 0x510]
call fcn.140023510
mov qword [rsp + 0x508], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x500]
and eax, 1
test eax, eax
je 0x140004a76
and dword [rsp + 0x500], 0xfffffffe
lea rcx, [rsp + 0x4f0]
call fcn.140001490
jmp 0x140004b4d
cmp qword [rsp + 0x548], 0
je 0x140004a98
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x518], rax
jmp 0x140004ad3
lea rcx, [rsp + 0x4f8]
call fcn.140001000
mov qword [rsp + 0x520], rax
mov eax, dword [rsp + 0x500]
or eax, 2
mov dword [rsp + 0x500], eax
mov rcx, qword [rsp + 0x520]
call fcn.140023510
mov qword [rsp + 0x518], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x518]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x500]
and eax, 2
test eax, eax
je 0x140004b4d
and dword [rsp + 0x500], 0xfffffffd
lea rcx, [rsp + 0x4f8]
call fcn.140001490
mov dword [rsp + 0x460], 0
cmp dword [rsp + 0x550], 0
je 0x140004b75
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 0
je 0x140004b9f
mov eax, 1
jmp 0x140004ba1
xor eax, eax
mov rcx, qword [rsp + 0x528]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x538
ret