joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a600
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push rdi
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov r15d, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x14000a830
mov rcx, rax
mov qword [rsp + 0xc8], rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rbp, rax
test rax, rax
jne 0x14000a677
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x14000a828
mov r8d, r15d
mov qword [rsp + 0x90], r12
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rcx, rbp
test rax, rax
jne 0x14000a6af
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x14000a820
mov qword [rsp + 0xc0], rbx
mov rdx, r12
mov qword [rsp + 0xd0], rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
xor esi, esi
mov dword [rsp + 0x38], esi
mov r9d, r14d
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], r15d
mov rbx, rax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, r15d
mov dword [rsp + 0x84], esi
neg eax
mov dword [rsp + 0x60], Ordinal_46
mov dword [rsp + 0x68], eax
xorps xmm0, xmm0
mov eax, r15d
mov dword [rsp + 0x64], r14d
imul eax, r14d
movdqu xmmword [rsp + 0x74], xmm0
mov qword [rsp + 0x6c], 0x180001
lea eax, [rax + rax*2]
movsxd rcx, eax
call fcn.1402cc3d8
mov r13, rax
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x60]
mov r9d, r15d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, rbp
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x14000a7eb
lea rax, [rsp + 0x50]
mov r9d, r15d
lea edx, [r14 + r14*2]
mov qword [rsp + 0x28], rax
mov r8d, r14d
mov rcx, r13
call fcn.140009cf0
mov rbx, rax
test rax, rax
je 0x14000a7eb
lea r8, [0x14053f5ec]
lea rdx, str.danger.png
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x14000a7b9
mov qword [rsp + 0x58], rsi
jmp 0x14000a7be
mov rsi, qword [rsp + 0x58]
mov rcx, rbx
test rsi, rsi
je 0x14000a7e5
movsxd r8, dword [rsp + 0x50]
mov r9, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r13
call fcn.1402cbf74
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x98
pop r15
pop r14
pop r13
pop rdi
ret
Function at 0x14000bb00
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [0x14077c257], 1
cmp qword [0x14077c538], 0
je 0x14000bbc2
test cl, cl
jne 0x14000bbc2
mov ecx, 1
call fcn.1402cbf30
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400250f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000bbae
cmp dword [rsp + 0x38], 0
je 0x14000bba2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000bba2
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [0x14077c530]
call fcn.1400ee9a0
int3
Function at 0x14001e840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x14001e9d1
mov r15, qword [rsp + 0x60]
lea r8d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x14001e9d1
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x14001e8db
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14001e9f8
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14001e8f2
mov eax, ecx
add cx, r11w
cmp cx, r9w
ja 0x14001e8f2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14001e905
movzx r9d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x14001e952
mov r9d, eax
cmp eax, 0x800
jae 0x14001e91f
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov r11d, r8d
jmp 0x14001e952
cmp eax, 0x10000
jae 0x14001e939
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r11d, r10d
jmp 0x14001e952
shr r9d, 0x12
mov r10d, 3
movzx r11d, sil
or r9b, 0xf0
xor r11d, 1
add r11d, r11d
lea r8d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r8d
cmp rdx, rcx
jl 0x14001e9d1
add qword [r14], 2
test sil, sil
jne 0x14001e973
cmp r10d, 3
jae 0x14001e97f
mov rcx, qword [rbx]
mov r8d, r11d
mov byte [rcx], r9b
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jle 0x14001e9ae
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jg 0x14001e990
shr eax, 0xa
mov r8d, 1
test sil, sil
mov ecx, r8d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14001e88f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14001e9df
Function at 0x14001f7b0
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 0x14001f7d8
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 0x14001f7fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001f800
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001f859
test ecx, ecx
jle 0x14001f839
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 0x14001f859
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001f859
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 0x14001f880
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 0x14001f8a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14001f8b8
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 0x14001f8d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001f8d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001f912
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 0x14001f9ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001f94d
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 0x14001f98e
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 0x14001f9ae
cmp rbx, rax
ja 0x14001f960
test rbx, rbx
je 0x14001f9ae
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 0x14001fde0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001fe0d
xor eax, eax
jmp 0x14001ff79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001fe47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001fe47
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 0x14001ff79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001ff6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001fe8a
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 0x14001feb5
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 0x14001ff71
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 0x14001ff24
sub eax, 1
je 0x14001ff24
cmp eax, 2
jne 0x14001ff6c
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 0x14001ff71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001ff52
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 0x14001ff6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14001ff71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402cbf10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140021bb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140021c83
cmp byte [rcx + 0x71], 0
je 0x140021c83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140021c7f
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 0x140021c44
sub eax, 1
je 0x140021c48
cmp eax, 2
jne 0x140021c7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140021c76
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 0x140021c7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140021c2c
xor al, al
jmp 0x140021c2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x60
pop rbx
ret
Function at 0x140025790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
call fcn.140025710
test rax, rax
je 0x1400257fe
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rdi
call rax
test eax, eax
setne r9b
mov byte [rsp + 0x34], r9b
jmp 0x140025804
movzx r9d, byte [rsp + 0x34]
movzx eax, byte [rsi + 0x11]
mov byte [rdi], al
mov ecx, 1
lea rdx, [rbx - 1]
cmp rbx, rcx
jbe 0x1400258c0
cmp rdx, 0x40
jb 0x1400258a8
lea r8, [rsi + 0x20]
movsx eax, byte [r8]
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
lea r10, [rdx + rdi]
lea rax, [rdi + 1]
cmp rax, r8
ja 0x140025851
cmp r10, r8
jae 0x1400258a8
and edx, 0x3f
mov r8, rbx
sub r8, rdx
lea rax, [rdi + 0x21]
nop
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
movdqu xmm0, xmmword [rax - 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
xorps xmm0, xmm2
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
add rcx, 0x40
lea rax, [rax + 0x40]
cmp rcx, r8
jb 0x140025860
cmp rcx, rbx
jae 0x1400258c0
lea rax, [rdi + rcx]
sub rbx, rcx
nop
movzx ecx, byte [rsi + 0x20]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1400258b0
test r9b, r9b
je 0x1400258e6
call fcn.140025710
test rax, rax
je 0x1400258e6
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call rax
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402cbf10
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400259e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rcx, rdx
je 0x140025b54
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop word [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x140025b35
mov r8, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140025790
movzx edx, byte [rbx]
xor rdx, r14
imul rdx, rbp
movzx eax, byte [rbx + 1]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 2]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 3]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 4]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 5]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 6]
xor rdx, rax
imul rdx, rbp
movzx eax, byte [rbx + 7]
xor rdx, rax
imul rdx, rbp
and rdx, qword [0x14077c590]
shl rdx, 4
add rdx, qword [0x14077c578]
mov rcx, qword [rdx + 8]
mov r9, qword [0x14077c568]
cmp rcx, r9
je 0x140025ad1
mov r8, qword [rdx]
mov rax, qword [rbx]
cmp rax, qword [rcx + 0x10]
je 0x140025ad3
cmp rcx, r8
je 0x140025ad1
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x140025ac0
jmp 0x140025ad3
xor ecx, ecx
test rcx, rcx
je 0x140025b28
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x140025af9
cmp rax, rcx
jne 0x140025aef
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x140025b04
mov r9, qword [rcx + 8]
mov qword [rdx + 8], r9
jmp 0x140025b04
cmp rax, rcx
jne 0x140025b04
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [0x14077c570]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1402cbf74
nop
mov edx, gethostname
mov rcx, rbx
call fcn.1402cbf74
add rdi, 8
cmp rdi, rsi
jne 0x140025a20
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140025e60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140025f28
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140025f28
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140025f23
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140025f00
cmp edx, 0x4cfe97c1
je 0x140025feb
test r8d, r8d
jne 0x140025ee0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140025f3d
cmp qword [rax + 0x30], r14
jne 0x140025eb0
mov rbp, r14
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140025fd4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140025fd4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140025fcf
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140025fb0
cmp edx, 0x6dd8a845
je 0x140026007
test r8d, r8d
jne 0x140025f90
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14002601f
cmp qword [rax + 0x30], r14
jne 0x140025f60
jmp 0x14002601f
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ebp, dword [rcx + rdx*4]
add rbp, r9
jmp 0x140025f40
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
call r14
lea rdx, [rsp + 0x20]
mov rcx, rax
call rbp
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402cbf10
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140026060
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x500
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
xor r14d, r14d
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140026138
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140026138
mov edi, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140026133
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140026110
cmp edx, 0x9bc5a608
je 0x14002620b
test r8d, r8d
jne 0x1400260f0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14002614d
cmp qword [rax + 0x30], r14
jne 0x1400260c0
mov rax, r14
call rax
mov dword [rsp + 0x50], 0x100010
mov rbp, rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400261f4
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400261f4
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400261ef
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400261d0
cmp edx, 0x85cca27e
je 0x140026227
test r8d, r8d
jne 0x1400261b0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140026241
cmp qword [rax + 0x30], r14
jne 0x140026180
jmp 0x140026241
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140026150
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
lea rdx, [rsp + 0x20]
mov rcx, rbp
call r14
test eax, eax
je 0x14002628d
cmp qword [rsp + 0x68], 0
jne 0x140026289
cmp qword [rsp + 0x70], 0
jne 0x140026289
cmp qword [rsp + 0x78], 0
jne 0x140026289
cmp qword [rsp + 0x80], 0
jne 0x140026289
cmp qword [rsp + 0x88], 0
jne 0x140026289
cmp qword [rsp + 0x90], 0
je 0x14002628d
mov al, 1
jmp 0x14002628f
xor al, al
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1402cbf10
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret