joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003df0
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 case.default.0x140003e11
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 0x140003e3e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003e40
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003e99
test ecx, ecx
jle 0x140003e79
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 0x140003e99
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003e99
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
insd dword [rdi], dx
invalid
Function at 0x140004410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000443d
xor eax, eax
jmp 0x1400045a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004477
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004477
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 0x1400045a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000459c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400044ba
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 0x1400044e5
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 0x1400045a1
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 0x140004554
sub eax, 1
je 0x140004554
cmp eax, 2
jne 0x14000459c
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 0x1400045a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004582
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 0x14000459c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400045a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140007430
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004c00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004cd3
cmp byte [rcx + 0x71], 0
je 0x140004cd3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004ccf
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 0x140004c94
sub eax, 1
je 0x140004c98
cmp eax, 2
jne 0x140004ccf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007430
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004cc6
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 0x140004ccf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004c7c
xor al, al
jmp 0x140004c7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007430
add rsp, 0x60
pop rbx
ret
Function at 0x1400065b0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
xor eax, eax
mov r14, rdx
mov qword [rdx], rax
xor edx, edx
mov dword [rsp + 0x30], edi
xor ecx, ecx
mov ebx, edi
lea r8d, [rax + 1]
mov r13d, edi
mov ebp, edi
xor r12b, r12b
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140006722
lea r8d, [rdi + 0x14]
mov rcx, rax
lea rdx, str.TrustedInstaller
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1400066ff
lea rax, [rsp + 0x30]
mov r8, r14
lea r9d, [rdi + 0x24]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000674a
mov eax, dword [r14 + 4]
cmp eax, 1
jne 0x14000667a
test r12b, r12b
jne 0x1400066f1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x1400066e9
mov r12b, 1
jmp 0x1400066c1
add eax, 0xfffffffe
cmp eax, 1
ja 0x14000674a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov eax, dword [r14 + 0x14]
test rbp, rbp
jne 0x1400066ad
mov rbp, rcx
xor edx, edx
mov ecx, 0xfa
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x1400066c1
cmp eax, r13d
ja 0x1400066be
mov eax, dword [r14 + 0x18]
sub rcx, rbp
cmp rcx, rax
ja 0x1400066f8
mov rbp, rdi
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140006651
jmp 0x14000674a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140006708
mov eax, 0x80004005
jmp 0x140006743
mov eax, 0x800705b4
jmp 0x140006743
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, rdi
mov ecx, eax
mov eax, 0x65b
test ecx, ecx
cmovne eax, ecx
test eax, eax
jle 0x140006743
movzx eax, ax
or eax, 0x80070000
jmp 0x140006743
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, 0x65b
test ecx, ecx
cmovne eax, ecx
test eax, eax
jle 0x140006740
movzx eax, ax
or eax, 0x80070000
mov rsi, rdi
mov edi, eax
test rbx, rbx
je 0x140006753
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rsi, rsi
je 0x140006761
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140007430
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006790
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
xor ebp, ebp
mov rbx, rcx
cmp qword [rdx + 0x18], 8
mov r14, rdx
mov rcx, rdx
jb 0x1400067ae
mov rcx, qword [rdx]
mov qword [rsp + 0x50], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400067f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x65b
cmovne ecx, eax
test ecx, ecx
jle 0x1400067e4
movzx ecx, cx
or ecx, 0x80070000
lea rsi, [rbx + 0x10]
lea r15, [rbx + 0x18]
jmp 0x1400068b0
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi]
lea edx, [rax - 1]
lea r15, [rbx + 0x18]
cmp rdx, rdi
ja 0x14000681e
mov qword [rsi], rdx
mov rax, rbx
cmp qword [r15], 8
jb 0x140006818
mov rax, qword [rbx]
mov word [rax + rdx*2], bp
jmp 0x140006865
mov r9, qword [r15]
mov rcx, rdx
mov rax, r9
sub rcx, rdi
sub rax, rdi
cmp rcx, rax
ja 0x140006857
mov qword [rsi], rdx
mov r8, rbx
cmp r9, 8
jb 0x140006841
mov r8, qword [rbx]
lea rdi, [r8 + rdi*2]
test rcx, rcx
je 0x140006850
movzx eax, bp
rep stosw word [rdi], ax
mov word [r8 + rdx*2], bp
jmp 0x140006865
mov r9, rcx
mov rdx, rcx
mov rcx, rbx
call fcn.140005300
cmp qword [r15], 8
mov rdx, rbx
mov rdi, qword [rsp + 0x58]
jb 0x140006876
mov rdx, qword [rbx]
cmp qword [r14 + 0x18], 8
jb 0x140006880
mov r14, qword [r14]
mov r8d, dword [rsi]
mov rcx, r14
inc r8d
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400068b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x65b
cmovne ecx, eax
test ecx, ecx
jle 0x1400068b2
movzx ecx, cx
or ecx, 0x80070000
test ecx, ecx
js 0x1400068c5
mov eax, ecx
jmp 0x1400068da
lea ecx, [rax - 1]
cmp qword [rsi], rcx
je 0x1400068d8
mov ecx, 0x8000ffff
mov qword [rsi], rbp
cmp qword [r15], 8
jb 0x1400068d1
mov rbx, qword [rbx]
mov word [rbx], bp
mov eax, ecx
jmp 0x1400068da
mov eax, ebp
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret

Function at 0x140007f34
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, 0x5a4d
xor edi, edi
mov rbx, r8
mov rsi, rcx
cmp word [rdx], ax
je 0x1405a4aa5
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov rdx, qword [r8 + 0x18]
cmp rdx, 0x10
jb 0x1405a4b57
mov rcx, qword [r8]
jmp 0x1405a4b2e
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1405a4abd
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
jmp 0x1405a4a8f
movzx r11d, word [rcx + 0x14]
movzx ebp, word [rcx + 6]
add r11, rcx
movzx ecx, di
cmp di, bp
jae 0x1405a4b1a
mov r14d, 1
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1405a4ae4
mov rdx, qword [rbx]
movzx eax, cx
lea r10, [rax + rax*4]
lea rax, [r11 + 0x18]
lea rax, [rax + r10*8]
sub rdx, rax
movzx r8d, byte [rax]
movzx r9d, byte [rax + rdx]
sub r8d, r9d
jne 0x1405a4b0c
add rax, r14
test r9d, r9d
jne 0x1405a4af6
test r8d, r8d
je 0x1405a4b7c
add cx, r14w
cmp cx, bp
jb 0x1405a4ad7
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1405a4b57
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1405a4b52
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1405a4b8f
mov rcx, r8
call fcn.140657384
mov rbp, qword [rsp + 0x58]
mov rax, rsi
mov byte [rbx], dil
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov eax, dword [r11 + r10*8 + 0x20]
mov qword [rsi], rax
mov eax, dword [r11 + r10*8 + 0x24]
mov qword [rsi + 8], rax
jmp 0x1405a4b21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1405a93fc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1405a942c
call 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]
jmp 0x1405a94a4
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1405a9443
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1405a9445
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1405a949e
test ecx, ecx
jle 0x1405a947e
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 0x1405a949e
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1405a949e
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1405a94c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1405a94e0
xor eax, eax
jmp 0x1405a95c9
cmp qword [rcx + 0x68], 0
je 0x1405a94f2
call 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]
jmp 0x1405a95c9
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1405a9509
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1405a950b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1405a953d
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1405a95c3
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1405a9574
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
mov ebx, 0xfff
jmp 0x1405a959e
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]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x1405a95c3
cmp rdi, rbx
ja 0x1405a957b
test rdi, rdi
je 0x1405a95c3
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1405a99a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1406ce080]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1405a99dd
xor eax, eax
jmp 0x1405a9afd
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1405a9a17
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1405a9a17
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1405a9afd
cmp qword [rbx + 0x80], 0
je 0x1405a9afb
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1405a9a52
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 0x1405a9a73
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x1405a9af8
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x1405a9ac1
sub eax, 1
je 0x1405a9ac1
cmp eax, 2
jne 0x1405a9afb
movsx ecx, byte [rbp - 0x30]
jmp 0x1405a9a5f
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1405a9aec
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1405a9afb
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140657090
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1405aa210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1406ce080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1405aa27f
cmp byte [rcx + 0x71], 0
je 0x1405aa27f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1405aa2d4
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 0x1405aa299
sub eax, 1
je 0x1405aa29d
cmp eax, 2
jne 0x1405aa2d4
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140657090
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1405aa2cb
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 0x1405aa2d4
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1405aa281
xor al, al
jmp 0x1405aa281
Function at 0x1405ac690
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1406ce080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x30], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1405ac787
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1405ac787
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
xor r8d, r8d
mov qword [rbp - 0x18], r8
mov edi, dword [rax + rdx + 0xb0]
add rdi, rdx
mov rdx, qword [rbp - 0x20]
mov eax, dword [rdi]
test eax, eax
je 0x1405ac75e
add rax, rsi
mov qword [rbp - 0x48], rax
lea rax, [rdi + 8]
mov qword [rbp - 0x40], rax
mov eax, dword [rdi + 4]
sub rax, 8
shr rax, 1
mov dword [rbp - 0x38], eax
cmp rdx, r8
je 0x1405ac741
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rdx + 0x10], xmm1
mov rdx, qword [rbp - 0x20]
add rdx, 0x18
mov qword [rbp - 0x20], rdx
jmp 0x1405ac752
lea r8, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.1405ad05c
mov rdx, qword [rbp - 0x20]
mov eax, dword [rdi + 4]
add rdi, rax
mov r8, qword [rbp - 0x18]
jmp 0x1405ac6fb
and qword [rbp - 0x18], 0
and qword [rbp - 0x20], 0
mov rcx, qword [rbp - 0x28]
and qword [rbp - 0x28], 0
mov qword [rbx], rcx
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], r8
lea rcx, [rbp - 0x28]
call fcn.1405a8f40
jmp 0x1405ac795
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140657090
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1405aeccc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1405aed26
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x140671490]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1405aed10
cmp rdx, 2
jb 0x1405aed10
cmp byte [r10], r11b
jne 0x1405aed10
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1405aecee
jmp 0x1405aed67
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1405aed67
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x140671490]
cmp dl, r11b
jne 0x1405aed4b
cmp byte [r10], r11b
jne 0x1405aed4b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1405aed39
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret