joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001fba7
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 0x14001fa86
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001f3c0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001e9d0
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001fa77
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.140014760
mov dword [rbx + 0x80], 0
jmp 0x14001fb93
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001d800
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 0x140030fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140040e58], eax
jle 0x14003103b
lea rcx, [0x140040e58]
call fcn.140033520
cmp dword [0x140040e58], 0xffffffff
jne 0x14003103b
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14003100a
imul rax, rax, 0x64
jmp 0x140031028
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x140040e58]
mov qword [0x140040e60], rax
call fcn.1400334c0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140031059
imul rax, rax, 0x64
jmp 0x140031077
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov r8d, dword [0x140040e24]
mov rcx, rax
sub rcx, qword [0x140040e60]
inc r8d
mov dword [0x140040e24], r8d
cmp rcx, 0x3baa0c40
jl 0x1400310b5
mov dword [0x140040e28], r8d
mov dword [0x140040e24], 0
mov qword [0x140040e60], rax
jmp 0x1400310bc
mov r8d, dword [0x140040e28]
lea rdx, str.FPS:__03d
lea rcx, [rsp + 0x70]
call fcn.140015250
movaps xmm0, xmmword [0x140039dd0]
lea rcx, [rsp + 0x50]
mov r8, qword [0x1400408e8]
movups xmmword [rsp + 0x50], xmm0
call fcn.140004690
mov r10, qword [r8 + 0x18f0]
mov r9d, eax
mov dword [rsp + 0x50], 0x42480000
mov dword [rsp + 0x54], 0x42480000
test eax, 0xff000000
je 0x1400311ae
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140031120
lea rdx, [rsp + 0x70]
add rdx, rcx
lea rax, [rsp + 0x70]
cmp rax, rdx
je 0x1400311ae
test r10, r10
jne 0x14003114b
mov rax, qword [r8 + 0x1d00]
mov r10, qword [rax + 8]
mov rax, qword [r8 + 0x1d30]
xorps xmm1, xmm1
movsxd rcx, dword [r8 + 0x1d28]
movss xmm2, dword [0x14003994c]
add rcx, rcx
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm1
mov qword [rsp + 0x38], rdx
lea rdx, [r8 + 0x1cc8]
movups xmm0, xmmword [rax + rcx*8 - 0x10]
lea rax, [rsp + 0x70]
mov rcx, r10
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rsp + 0x50]
movups xmmword [rsp + 0x60], xmm0
call fcn.140022a40
call fcn.140001510
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400311d1
cmp byte [0x14004019c], 0
je 0x1400311d1
call fcn.140001050
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400330e0
add rsp, 0xc0
pop rbx
ret
Function at 0x140033e80
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0xa3e2cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa3e2dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa3e2c5
lea eax, [rcx + 1]
jmp 0xa3e2eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa3e2fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa3e2e4
sub eax, 3
jb 0xa3e31e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa3e36d
sar eax, 1
movsxd rbp, eax
jb 0xa3e354
jmp 0xa3e32c
add ebx, ebx
jne 0xa3e32a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa3e354
inc ecx
add ebx, ebx
jne 0xa3e33a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa3e354
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa3e34d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa3e33c
add ecx, 2
jmp 0xa3e359
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a3e282
jmp 0xa3e2cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a5200
mov dl, 0x63
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa3e3b9
cmp rsi, rcx
jae 0xa3e3c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa3e3a0
cmp al, 0x8f
ja 0xa3e3a0
cmp byte [rsi - 2], 0xf
je 0xa3e3a6
sub al, 0xe8
cmp al, 1
ja 0xa3e38a
cmp rsi, rcx
jae 0xa3e3c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa3e390
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa3e3c1
lodsb al, byte [rsi]
jmp 0xa3e3a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x636000]
mov eax, dword [rdi]
or eax, eax
je 0xa3e41e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x63e000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xa3e3ce
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xa3e418
mov qword [rbx], rax
add rbx, 8
jmp 0xa3e3ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa3e462
cmp al, 0xef
ja 0xa3e44a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa3e42a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xa3e439
mov eax, dword [rdi]
add rdi, 4
jmp 0xa3e439
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa3e4b6
sub rsp, 0xffffffffffffff80
jmp 0x468900
Function at 0x140002b70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002b98
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140002bbe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002bc0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002c19
test ecx, ecx
jle 0x140002bf9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002c19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002c19
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140002c40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002c62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002c78
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002c94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002c96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002cd2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002d6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002d0d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002d4e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002d6e
cmp rbx, rax
ja 0x140002d20
test rbx, rbx
je 0x140002d6e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400031d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400031fd
xor eax, eax
jmp 0x140003369
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003237
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003237
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003369
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000335c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000327a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400032a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003361
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003314
sub eax, 1
je 0x140003314
cmp eax, 2
jne 0x14000335c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003361
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003342
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000335c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003361
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400043a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400038d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400039a3
cmp byte [rcx + 0x71], 0
je 0x1400039a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000399f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003964
sub eax, 1
je 0x140003968
cmp eax, 2
jne 0x14000399f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400043a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003996
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000399f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000394c
xor al, al
jmp 0x14000394c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400043a0
add rsp, 0x60
pop rbx
ret

Function at 0x140004d20
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x618]
sub rsp, 0x710
or rbx, 0xffffffffffffffff
movsxd rsi, edx
mov rdi, r8
mov r14, rcx
test r8, r8
je 0x140001f2e
mov rax, rbx
inc rax
cmp byte [r8 + rax], 0
jne 0x140001dd7
test rax, rax
je 0x140001f2e
xor edx, edx
lea rcx, [rbp - 0x6c]
lea r8d, [rdx + 0x64]
call fcn.140018190
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
xor eax, eax
lea r8, [0x140022640]
mov r9, rdi
mov qword [rsp + 0x60], rax
mov edx, 0x400
lea rcx, [rbp + 0x210]
movups xmmword [rsp + 0x50], xmm0
call fcn.140001c34
mov r10d, 4
lea rcx, [rbp]
lea rdx, str.u_rdiHT_O_R__a__6n_p
mov eax, r10d
lea r8d, [r10 + 0x7c]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001e42
mov rax, qword [rdx]
lea r9, [rbp]
mov qword [rcx], rax
xor r8d, r8d
movzx eax, word [rdx + 8]
mov word [rcx + 8], ax
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9], al
inc r9
cmp r8d, 0x20a
jl 0x140001ea1
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp]
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x210]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001f56
mov rbx, qword [rsp + 0x50]
lea rcx, [rbp]
call fcn.140009b0c
test rbx, rbx
je 0x140001f56
movups xmm0, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9, rsi
movsd xmm1, qword [rsp + 0x60]
mov r8, r14
mov rcx, rbx
movaps xmmword [rsp + 0x70], xmm0
movsd qword [rbp - 0x80], xmm1
call fcn.140001c8c
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001f84
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor ebx, ebx
mov r15, r8
mov r14d, edx
mov rbp, rcx
mov esi, ebx
test edx, edx
jle 0x140001fcb
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, esi
inc esi
and eax, 7
mov al, byte [rax + r15]
xor byte [rdi], al
inc rdi
cmp esi, r14d
jl 0x140001fb0
movsxd rax, dword [0x140026ab0]
test eax, eax
jle 0x140001ffe
cmp dword [0x140026ab4], ebx
jle 0x140001ffe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rcx + rbp], rax
movsxd rcx, dword [0x140026ab4]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rcx + rbp], rax
movups xmm0, xmmword [str.u_rdiHT_O_R__a__6fo0qb]
mov eax, dword [0x140022898]
lea r8, [rsp + 0x20]
movups xmm1, xmmword [0x140022870]
mov dword [rsp + 0x58], eax
mov al, byte [0x14002289c]
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x5c], al
movups xmm0, xmmword [0x140022880]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140022890]
movsd qword [rsp + 0x50], xmm0
mov eax, 0x1f7047dd
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8], al
inc r8
cmp ebx, 0x3d
jl 0x140002049
lea r8, [rsp + 0x20]
mov edx, r14d
mov rcx, rbp
call fcn.140001d9c
lea rcx, [rsp + 0x20]
call fcn.140009b0c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400032d8
Capabilities:
Parse pe header

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

Function at 0x14000b35c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b158
Function at 0x140010214
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 0x140010244
xor eax, eax
jmp 0x140010307
mov rbp, rbx
cmp word [rax], si
je 0x140010269
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010250
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001024c
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.140010134
movsxd r14, eax
test eax, eax
jne 0x1400102a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001023d
mov rcx, r14
call fcn.14000ca50
mov rdi, rax
test rax, rax
jne 0x1400102c0
xor ecx, ecx
call fcn.14000bdd8
jmp 0x14001029c
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.140010134
test eax, eax
jne 0x1400102f1
mov rcx, rdi
call fcn.14000bdd8
jmp 0x1400102fb
xor ecx, ecx
call fcn.14000bdd8
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 0x140014304
Capabilities:
Get file size

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