joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001050
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, cl
xor eax, eax
shl rcx, 4
add r8, rcx
lea r9, [rdx + rax]
lea r10, [rax + r8]
xor ecx, ecx
mov r11b, byte [r10 + rcx]
inc rcx
xor byte [r9], r11b
inc r9
cmp rcx, 4
jne 0x140001066
add rax, 4
cmp rax, 0x10
jne 0x14000105c
ret

Function at 0x1400011e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov eax, 0x10
mov rbp, rsp
push r15
push r14
push r13
mov r13, rdx
push r12
push rdi
push rsi
lea rsi, [rdx + r8]
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
cmp rsi, r13
je 0x1400013ec
cmp eax, 0x10
jne 0x1400013d7
lea r12, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r15d, 1
movups xmm0, xmmword [rbx + 0xf0]
mov rdx, r12
lea rdi, [rsp + 0x34]
lea r14, str.cw
movaps xmmword [rsp + 0x30], xmm0
call fcn.140001050
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, r12
mov rcx, r12
mov rdx, rcx
xor r8d, r8d
movzx r9d, byte [rdx]
inc r8d
add rdx, 4
mov r9b, byte [r14 + r9]
mov byte [rdx - 4], r9b
cmp r8b, 4
jne 0x14000125e
inc rcx
cmp rdi, rcx
jne 0x140001258
mov cl, byte [rsp + 0x35]
mov dl, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], dl
mov dl, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], dl
mov dl, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], dl
mov dl, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], dl
mov byte [rsp + 0x3b], cl
cmp r15d, 0xe
je 0x140001399
mov r8b, byte [rax]
mov cl, byte [rax + 1]
add rax, 4
mov r9b, byte [rax - 1]
mov dl, byte [rax - 2]
xor ecx, r8d
mov r11d, ecx
xor edx, r9d
mov r10d, ecx
add ecx, ecx
sar r11b, 7
xor r10d, edx
and r11d, 0x1b
xor ecx, r11d
mov r11d, r8d
xor r8d, r9d
xor r9d, r10d
xor r11d, r10d
xor ecx, r11d
mov byte [rax - 4], cl
mov cl, byte [rax - 3]
xor cl, byte [rax - 2]
mov r11d, ecx
add ecx, ecx
sar r11b, 7
and r11d, 0x1b
xor ecx, r11d
mov r11b, byte [rax - 3]
xor r11d, r10d
xor ecx, r11d
mov byte [rax - 3], cl
mov ecx, edx
add edx, edx
sar cl, 7
and ecx, 0x1b
xor edx, ecx
mov cl, byte [rax - 2]
xor ecx, r10d
xor edx, ecx
mov byte [rax - 2], dl
mov edx, r8d
add r8d, r8d
sar dl, 7
and edx, 0x1b
xor edx, r8d
xor r9d, edx
mov byte [rax - 1], r9b
cmp qword [rsp + 0x28], rax
jne 0x1400012e9
mov ecx, r15d
mov r8, rbx
mov rdx, r12
inc r15d
call fcn.140001050
jmp 0x140001252
mov r8, rbx
mov rdx, r12
mov ecx, 0xe
call fcn.140001050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x1400013ca
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x1400013ae
jmp 0x1400013d5
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [r13], dl
inc r13
jmp 0x140001206
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14000ba40
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x140012600
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x140012600
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x140012600
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x14000baff
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x140012600
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.14000bfd0
cmp eax, 0xa6caa1c5
jne 0x14000bae4
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x140012600
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x140012600
mov rcx, rbp
call fcn.14000bfd0
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x14000bab3
mov r14, rax
jmp 0x14000ba8e
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x14001264a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x140012648
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x140012640
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x140012640
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x14001261e
xor eax, eax
ret

Function at 0x14000bb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [0x140019150]
push r12
xor edx, edx
push rbp
push rdi
push rsi
push rbx
mov rbx, qword [rax]
mov rax, qword [rbx + 0x84a]
test rax, rax
je 0x14000bc11
mov edx, dword [rbx + 0x800]
test edx, edx
jne 0x14000bc11
movsxd rcx, dword [rax + 0x3c]
xor r8d, r8d
mov ecx, dword [rax + rcx + 0x88]
add rcx, rax
mov edi, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x24]
mov ebp, dword [rcx + 0x18]
xor ecx, ecx
add r10, rax
add rdi, rax
add rsi, rax
cmp r8d, ebp
jae 0x14000bc0b
mov r9d, dword [rdi + r8*4]
cmp word [rax + r9], 0x775a
jne 0x14000bc06
test rcx, rcx
movzx r9d, word [rsi + r8*2]
jne 0x14000bbde
mov ecx, dword [r10 + r9*4]
add rcx, rax
jmp 0x14000bc06
mov r9d, dword [r10 + r9*4]
mov r11, rcx
add r9, rax
mov r12, r9
sub r11, r9
sub r12, rcx
cmp r9, rcx
mov r9d, r12d
cmovb r9d, r11d
lea r11d, [rdx - 1]
cmp r11d, r9d
cmovae edx, r9d
inc r8
jmp 0x14000bbb9
mov dword [rbx + 0x800], edx
pop rbx
mov eax, edx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14000bf80
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test rcx, rcx
je 0x14000bfcd
mov r10, rcx
mov eax, 0x1505
mov r9b, byte [r10]
test edx, edx
jne 0x14000bf9c
test r9b, r9b
jne 0x14000bfaf
ret
mov r11, r10
sub r11, rcx
cmp r11d, edx
jae 0x14000bfcd
cmp r9b, 1
adc r10, 0
cmp r9b, 0x60
jbe 0x14000bfbe
test r8d, r8d
je 0x14000bfbe
sub r9d, 0x20
imul eax, eax, 0x21
movzx r9d, r9b
inc r10
add eax, r9d
jmp 0x14000bf8f
ret
Function at 0x14000bfd0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000bfe6
imul eax, eax, 0x21
add eax, edx
jmp 0x14000bfd5
ret

Function at 0x14000d9c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x14000d9c4
mov r11d, 8
lea r10, str.cw
lea rbx, [0x1400191a0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x14000da42
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x14000da57
cmp esi, 4
jne 0x14000da57
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x14000da08
pop rbx
pop rsi
ret

Function at 0x140012600
Capabilities:
Enumerate pe sections

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x140012600
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x140012600
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x140012600
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x14000baff
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x140012600
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.14000bfd0
cmp eax, 0xa6caa1c5
jne 0x14000bae4
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x140012600
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x140012600
mov rcx, rbp
call fcn.14000bfd0
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x14000bab3
mov r14, rax
jmp 0x14000ba8e
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x14001264a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x140012648
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x140012640
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x140012640
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x14001261e
xor eax, eax
ret
Function at 0x1400012a0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x14000133f
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_renaming_file:
mov ebx, eax
call fcn.140001600
mov rcx, rax
mov rdx, rsi
call fcn.140001600
mov rcx, rax
lea rdx, str._to
call fcn.140001600
mov rcx, rax
mov rdx, rdi
call fcn.140001600
mov rcx, rax
lea rdx, str._Error:
call fcn.140001600
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400017e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400020f8
Capabilities:
Parse pe header

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

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 r12
sub rsp, 0x50
mov rsi, rcx
lea r8, [0x100004170]
lea rcx, [rax - 0x38]
mov edx, 0x5e
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64
mov rcx, rsi
call fcn.1000325d0
mov edi, 1
cmp eax, edi
je 0x1000330f9
test eax, eax
js 0x1000330f7
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x10003307f
lea edx, [rdi + 0x67]
jmp 0x1000330e9
mov r8d, 0x10020
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov r12, rax
test rax, rax
jne 0x1000330a9
mov rcx, rbp
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
lea edx, [r12 + 0x6a]
jmp 0x1000330e9
lea r8, [rsp + 0x30]
mov edx, edi
mov rcx, rax
call qword [sym.imp.API_MS_WIN_Service_winsvc_L1_1_0.dll_ControlService]
mov rcx, r12
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_DeleteService]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
lea rcx, [0x1000021a0]
call sub.vdsutil.dll_unsigned_long_int___cdecl_RemoveEventSource_unsigned_short_int____ptr64_
test ebx, ebx
jne 0x1000330f9
lea edx, [rbx + 0x6b]
mov r8d, 0x10
mov rcx, rsi
call fcn.10003268c
xor edi, edi
lea rcx, [rsp + 0x20]
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, edi
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
Function at 0x10003cb8c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea r8, [0x100008630]
lea rcx, [rsp + 0x20]
mov edx, 0x5e
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64
mov rcx, rbx
call qword [sym.imp.API_MS_Win_Core_File_L1_1_0.dll_GetDriveTypeW]
mov edx, 3
cmp eax, edx
je 0x10003cbe6
lea r8, [0x100008650]
lea ecx, [rdx + 0x5b]
mov r9d, eax
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov ebx, 1
lea rcx, [rsp + 0x20]
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
mov eax, ebx
add rsp, 0x30
pop rbx
ret
movzx ecx, word [rbx]
mov rax, qword [0x100080090]
lea r8, [0x100080090]
mov word [rax], cx
movzx ecx, word [rbx]
mov rax, qword [0x1000800b8]
mov word [rax], cx
xor r9d, r9d
mov edx, 0x1f6
xor ecx, ecx
call sub.srvcli.dll_NetShareAdd
test eax, eax
je 0x10003cbcf
mov r9d, 0x846
lea r8, [0x1000086a0]
mov ecx, 0x5e
cmp eax, r9d
jne 0x10003cc3b
lea edx, [rcx - 0x5d]
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
jmp 0x10003cc45
mov r9d, eax
xor edx, edx
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
xor ebx, ebx
jmp 0x10003cbd4
Function at 0x100074474
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x280
mov rax, qword [0x10007f110]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rcx
mov rbp, rdx
lea rcx, [rsp + 0x62]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], r12w
call sub.msvcrt.dll_memset
lea r8d, [r12 + 0x38]
lea rcx, [rsp + 0x28]
xor edx, edx
call sub.msvcrt.dll_memset
or qword [rsp + 0x20], 0xffffffffffffffff
mov ebx, 0x104
lea rcx, [rsp + 0x60]
mov edx, ebx
mov qword [rsi], r12
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, r12d
jne 0x100074506
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
jmp 0x1000745a6
lea r8, [0x10002e9f8]
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1000743a8
cmp eax, r12d
mov ebx, eax
jl 0x1000745a6
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rax, r12
jne 0x10007454e
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
jmp 0x100074599
lea rdx, [0x10002ea10]
mov rcx, rax
call sub.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress
mov rcx, rdi
mov qword [rsp + 0x28], rax
cmp rax, r12
jne 0x1000745d0
lea rdx, [0x10002ea20]
call sub.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress
mov qword [rsp + 0x50], rax
cmp rax, r12
je 0x100074538
mov qword [rsi], rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov r8d, 0x40
mov rdi, r12
call sub.msvcrt.dll_memcpy
cmp rdi, r12
je 0x1000745a6
mov rcx, rdi
call sub.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_FreeLibrary
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.100075490
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
lea rdx, [0x10002ea38]
call sub.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress
mov qword [rsp + 0x30], rax
cmp rax, r12
je 0x100074538
lea rdx, [0x10002ea48]
mov rcx, rdi
call sub.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress
mov qword [rsp + 0x48], rax
jmp 0x10007457b
Function at 0x100074d48
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x60
and dword [rax - 0x28], 0
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x14]
lea rcx, [rax - 0x24]
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and dword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov edx, 0x70000
mov rcx, rsi
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x100074dc8
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100074e83
mov ebx, dword [rsp + 0x54]
xor ecx, ecx
mov r8d, 0x3000
add ebx, 0x1ff
lea r9d, [rcx + 4]
and ebx, 0xfffffe00
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x100074e09
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100074e6d
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100074e46
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80310000
jne 0x100074e6d
xor ebx, ebx
jmp 0x100074e6d
mov edx, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.100074f64
cmp eax, 2
je 0x100074e42
mov ebx, 1
cmp eax, ebx
jne 0x100074e6d
mov rcx, rsi
call fcn.100074a90
mov ebx, eax
test rdi, rdi
je 0x100074e83
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x100075150
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100080558], rdi
je 0x1000751b0
cmp rax, rdi
jne 0x1000751a3
mov r12d, 1
jmp 0x1000751b0
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x100075189
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x1000751c5
lea ecx, [rax + 0x1e]
call fcn.100112000
jmp 0x10007522c
mov eax, dword [0x100080550]
cmp eax, ebx
jne 0x100075222
mov dword [0x100080550], 1
lea r13, [0x100001b48]
lea rdi, [0x100001b30]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100075214
cmp eax, ebx
jne 0x100075214
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100075209
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000751f2
cmp eax, ebx
je 0x10007522c
mov eax, 0xff
jmp 0x100075374
mov dword [0x10007f924], 1
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x100075254
lea rdx, [0x100001b28]
lea rcx, [0x100001ab8]
call sub.msvcrt.dll__initterm
mov dword [0x100080550], 2
cmp r12d, ebx
jne 0x100075263
mov rax, rbx
xchg qword [0x100080558], rax
cmp qword [0x100080570], rbx
je 0x10007528b
lea rcx, [0x100080570]
call fcn.1000756ac
cmp eax, ebx
je 0x10007528b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100080570]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1000752a1
mov eax, 0xff
jmp 0x100075374
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x100075326
cmp word [rcx], bx
je 0x1000752bc
cmp edx, ebx
jne 0x100075326
cmp word [rcx], bx
je 0x1000752d2
cmp word [rcx], 0x20
ja 0x1000752d2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752bc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.1000337b8
mov dword [0x10007f920], eax
cmp dword [0x10007f904], ebx
jne 0x100075310
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10007f924], ebx
jne 0x100075324
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10007f920]
jmp 0x100075374
cmp word [rcx], 0x22
jne 0x100075339
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752ad
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1000757c0
add rsp, 0x28
jmp 0x100075150
Function at 0x100075490
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10007f110]
jne 0x1000754ab
rol rcx, 0x10
test cx, 0xffff
jne 0x1000754a7
ret 0
ror rcx, 0x10
jmp 0x10007587c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10007f9e0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10007fad8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100075901
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10007f9e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100075923
mov rax, qword [rsp + 0x88]
mov qword [0x10007fad8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10007fa78], rax
mov rax, qword [0x10007fad8]
mov qword [0x10007f950], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10007fa60], rax
mov dword [0x10007f940], 0xc0000409
mov dword [0x10007f944], 1
mov rax, qword [0x10007f110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10007f118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001b70]
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_UnhandledExceptionFilter]
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x100075718
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100075765
cmp rcx, 0xffffffffffffffff
je 0x100075765
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10007575d
cmp dword [rcx + 0x3c], edx
jl 0x10007575d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10007575d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100075765
mov rax, rdx
add rsp, 0x18
ret