joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0e40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c0f86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4c0f76
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004caf80
xorps xmm15, xmm15
mov r14, qword [0x0071ba10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4c0f5b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4c0f71
cmp rsi, rcx
ja 0x4c0f69
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4c0f61
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004cb0c0
xorps xmm15, xmm15
mov r14, qword [0x0071ba10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.0045ea20
mov rax, rsi
call fcn.0045ea20
call fcn.0045e9e0
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.0045e9e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045c680
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004c0e40
Function at 0x4c0fe0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c1126
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4c1116
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004cb020
xorps xmm15, xmm15
mov r14, qword [0x0071ba10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4c10fb
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4c1111
cmp rsi, rcx
ja 0x4c1109
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4c1101
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004cb160
xorps xmm15, xmm15
mov r14, qword [0x0071ba10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.0045ea20
mov rax, rsi
call fcn.0045ea20
call fcn.0045e9e0
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.0045e9e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045c680
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004c0fe0
Function at 0x4cb8a0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x4cb925
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x4cba86
cmp rcx, 0xe
jne 0x4cb9a0
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x4cba86
cmp rcx, 0xf
jne 0x4cba17
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x4cba86
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x4e12c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e140e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x006840f0]
call fcn.00497ba0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004e1420]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x0071ba10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4e13d2
mov rdx, qword [rsp + 0x20]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4e1408
mov qword [rsp + 0x28], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x20]
cmp rbx, rcx
jb 0x4e13fd
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.0045ea20
call fcn.0045e9a0
nop
call fcn.0045c680
jmp fcn.004e12c0
Function at 0x5000a0
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x5000b8
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x5000b8
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x5000c0
xor eax, eax
ret
cmp rbx, 3
je 0x5000cc
cmp rbx, 4
jne 0x5000f9
cmp al, 0x2c
ja 0x5000e6
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x5000f6
cmp al, 0x24
je 0x5000f6
nop dword [rax]
cmp al, 0x26
jae 0x5000f6
jmp 0x5000f9
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x5000f6
cmp al, 0x5b
je 0x5000f6
cmp al, 0x5d
jne 0x5000f9
xor eax, eax
ret
cmp al, 0x2f
ja 0x500132
nop dword [rax]
cmp al, 0x26
ja 0x500111
cmp al, 0x24
je 0x500151
cmp al, 0x26
je 0x500151
jmp 0x5001cb
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x500151
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x5001c8
cmp al, 0x2f
je 0x500151
jmp 0x5001cb
cmp al, 0x3d
ja 0x500149
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x500151
nop
cmp al, 0x3d
je 0x500151
jmp 0x5001cb
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x5001c0
cmp rbx, 2
jg 0x500187
cmp rbx, 1
je 0x500181
nop dword [rax]
cmp rbx, 2
jne 0x5001cb
cmp al, 0x2f
je 0x500172
cmp al, 0x3b
je 0x500172
cmp al, 0x2c
jne 0x500179
mov ecx, 1
jmp 0x50017e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x5001aa
cmp al, 0x40
je 0x500199
cmp al, 0x2f
je 0x500199
cmp al, 0x3f
jne 0x5001a2
mov ecx, 1
nop
jmp 0x5001a7
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x5001b9
cmp rbx, 7
jne 0x5001cb
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x5001c8
cmp al, 0x7e
jne 0x5001cb
xor eax, eax
ret
cmp rbx, 7
jne 0x5001e1
cmp al, 0x21
je 0x5001dd
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x5001e1
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x140001c90
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.0x140001cb1
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 0x140001cde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001ce0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001d39
test ecx, ecx
jle 0x140001d19
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 0x140001d39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001d39
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 0x140001d60
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 0x140001d82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001d91
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 0x140001db4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001db6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001df2
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 0x140001e8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e2d
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 0x140001e6e
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 0x140001e8e
cmp rbx, rax
ja 0x140001e40
test rbx, rbx
je 0x140001e8e
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 0x1400022f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000231d
xor eax, eax
jmp 0x140002489
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002357
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002357
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 0x140002489
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000247c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000239a
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 0x1400023c5
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 0x140002481
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 0x140002434
sub eax, 1
je 0x140002434
cmp eax, 2
jne 0x14000247c
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 0x140002481
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002462
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 0x14000247c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002481
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003780
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400027c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002893
cmp byte [rcx + 0x71], 0
je 0x140002893
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000288f
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 0x140002854
sub eax, 1
je 0x140002858
cmp eax, 2
jne 0x14000288f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003780
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002886
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 0x14000288f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000283c
xor al, al
jmp 0x14000283c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003780
add rsp, 0x60
pop rbx
ret

Function at 0x14000417c
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0x2c], 0x94
lea rcx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rsp + 0x30], 6
jne 0x40102b
cmp dword [rsp + 0x34], 1
sete al
add rsp, 0xc8
ret

Function at 0x4011f0
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x290
mov rbx, rcx
mov esi, edx
lea rcx, str.2.zal_9887e593_4a10_4f47_862f_ca4cf32c065a.
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x4012e6
lea r10, [rsp + 0x4c]
lea rdx, [0x004030b6]
mov rcx, r10
call fcn.004013c0
lea rdx, [rsp + 0x17c]
mov rcx, r10
call fcn.00401370
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, 1
mov rcx, r10
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, qword [sym.imp.KERNEL32.dll_FindClose]
cmp rax, 0xffffffffffffffff
mov r13, rax
jne 0x401290
mov rcx, r12
call rdi
jmp 0x4012e6
mov r8d, esi
lea r9, [rsp + 0x48]
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r13
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call rdi
test esi, esi
je 0x4012e6
mov r8d, dword [rsp + 0x48]
xor eax, eax
cmp r8d, eax
jle 0x4012ea
mov dl, byte [rbx + rax]
lea rcx, [rbx + rax]
inc rax
cmp dl, 0xa
je 0x4012e1
cmp dl, 0xd
jne 0x4012c8
mov byte [rcx], 0
jmp 0x4012ea
xor eax, eax
jmp 0x4012ef
mov eax, 1
add rsp, 0x290
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret

Function at 0x401420
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xd0
xor edx, edx
mov r8d, 0x68
lea r9, [rsp + 0x68]
mov r10, rcx
mov rcx, r9
call fcn.00401320
lea r11, [rsp + 0x50]
xor edx, edx
mov r8d, 0x18
mov rcx, r11
mov dword [rsp + 0x68], 0x68
mov dword [rsp + 0xa4], 1
mov word [rsp + 0xa8], 0
call fcn.00401320
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r9
mov rdx, r10
xor r9d, r9d
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014d7
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
nop
add rsp, 0xd0
pop rbx
ret
Function at 0x140002170
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword gs:[0x30]
mov rdi, rcx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov r9, qword [rax + 0x10]
mov r8, r9
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r8 + 0x60]
xor ebp, ebp
mov eax, 0x1505
movzx edx, word [rcx]
test edx, edx
je 0x1400021ed
imul eax, eax, 0x21
lea rcx, [rcx + 2]
add eax, edx
movzx edx, word [rcx]
test edx, edx
jne 0x1400021d2
cmp eax, 0x22d3b5ed
je 0x14000230c
mov r8, qword [r8]
cmp qword [r8], r9
jne 0x1400021c0
mov rbx, rbp
mov edx, 0x307db23
mov rcx, rbx
call section..text
mov edx, 0xaadebf7a
mov rcx, rbx
mov rsi, rax
call section..text
mov edx, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x80], rdi
cmp byte [rdi], dl
je 0x140002238
nop dword [rax + rax]
inc edx
cmp byte [rdx + rdi], bpl
jne 0x140002230
mov dword [rsp + 0x58], ebp
lea r8, [rsp + 0x78]
mov dword [rsp + 0x50], ebp
xorps xmm0, xmm0
mov dword [rsp + 0x48], ebp
mov r9d, 1
mov qword [rsp + 0x40], rbp
mov rcx, rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov word [rsp + 0x7a], dx
mov word [rsp + 0x78], dx
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
movups xmmword [rsp + 0x88], xmm0
call fcn.140002dc0
mov dword [rsp + 0x60], ebp
lea rax, [rsp + 0x70]
mov dword [rsp + 0x58], ebp
lea r9, [rsp + 0x88]
mov dword [rsp + 0x50], ebp
xor r8d, r8d
mov dword [rsp + 0x48], ebp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], rbp
call fcn.140002dc0
mov rcx, qword [rsp + 0x70]
test eax, eax
cmovne rcx, rbp
mov rax, rcx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140003070
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rbx, qword [r8 + 0x30]
jmp 0x1400021f8
Function at 0x140002dc0
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x30]
mov r11, rdx
mov rsi, qword [rsp + 0xd0]
mov rdi, r9
mov rbp, qword [rsp + 0xd8]
mov rbx, r8
mov r14, qword [rsp + 0xe0]
mov r10, rcx
mov rdx, qword [rax + 0x60]
mov r15, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
mov rax, qword [rdx + 0x18]
mov r9, qword [rax + 0x10]
mov r8, r9
nop word [rax + rax]
mov rcx, qword [r8 + 0x60]
mov eax, 0x1505
movzx edx, word [rcx]
test edx, edx
je 0x140002e57
imul eax, eax, 0x21
lea rcx, [rcx + 2]
add eax, edx
movzx edx, word [rcx]
test edx, edx
jne 0x140002e40
cmp eax, 0x6ddb9555
je 0x140002e79
mov r8, qword [r8]
cmp qword [r8], r9
jne 0x140002e30
xor r9d, r9d
xor edx, edx
mov rcx, r9
cmp byte [rcx], 0xff
jne 0x140002e72
cmp byte [rcx + 1], 0x23
je 0x140002e7f
inc rcx
inc edx
jmp 0x140002e67
mov r9, qword [r8 + 0x30]
jmp 0x140002e62
mov qword [rsp + 0x48], r12
mov r8, rdi
mov qword [rsp + 0x40], r15
mov rcx, r11
movsxd rax, edx
mov rdx, rbx
add rax, r9
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x50], rax
mov r9, rsi
xor eax, eax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r10
call fcn.140002ff0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140003070
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140003930
Capabilities:
Parse pe header

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