joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025b0
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 0x1400025d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400025e1
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 0x140002604
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002606
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002642
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 0x1400026de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000267d
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 0x1400026be
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 0x1400026de
cmp rbx, rax
ja 0x140002690
test rbx, rbx
je 0x1400026de
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
sti
jmp rsp
Function at 0x140002b40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002b6d
xor eax, eax
jmp 0x140002cd9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002ba7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002ba7
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 0x140002cd9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002ccc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002bea
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 0x140002c15
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 0x140002cd1
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 0x140002c84
sub eax, 1
je 0x140002c84
cmp eax, 2
jne 0x140002ccc
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 0x140002cd1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002cb2
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 0x140002ccc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002cd1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003f00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400030e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400031b3
cmp byte [rcx + 0x71], 0
je 0x1400031b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400031af
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 0x140003174
sub eax, 1
je 0x140003178
cmp eax, 2
jne 0x1400031af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003f00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400031a6
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 0x1400031af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000315c
xor al, al
jmp 0x14000315c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003f00
add rsp, 0x60
pop rbx
ret

Function at 0x140004880
Capabilities:
Parse pe header

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

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c388
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c388
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028e54
cmp rax, 0xffffffffffffffff
je 0x140028e54
xor edi, edi
test rbp, rbp
jle 0x140028dff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f014
mov rbx, rax
test rax, rax
jne 0x140028d8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028df5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d070
cmp eax, 0xffffffff
je 0x140028dd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028d9c
mov edx, r15d
mov ecx, r14d
call fcn.140019c38
jmp 0x140028df5
cmp byte [rsi + 0x38], dil
je 0x140028dec
cmp dword [rsi + 0x34], 5
jne 0x140028dec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028df5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a574
jmp 0x140028e68
jns 0x140028e68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c388
cmp rax, 0xffffffffffffffff
jne 0x140028e20
cmp byte [rsi + 0x30], dil
je 0x140028e68
mov edi, dword [rsi + 0x2c]
jmp 0x140028e68
mov ecx, r14d
call fcn.140018768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028e68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028e61
mov eax, dword [rsi + 0x2c]
jmp 0x140028e66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c388
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1410a21e0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1410a21ea
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1410a2213
pop rbp
sub rbp, 0x33
sub rbp, 0x10a21e0
sub rsp, 0x20
jmp 0x1410a2232
mov rax, 0x10a21e0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1fd20e4
xor byte [rax], dl
inc rax
dec rcx
jne 0x1410a2251
jmp 0x1410a2268
lodsb al, byte [rsi]
insd dword [rdi], dx
or eax, 0xe4d86d6f
in al, 0xe4
lodsb al, byte [rsi]
and eax, 0xe4e4e5ec
lodsb al, byte [rsi]
in eax, 0xd
lodsb al, byte [rsi]
and esp, dword [rbp*8 - 0x531b1b1c]
and esp, dword [rsi]
int3
Function at 0x140002050
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov rax, qword gs:[0x30]
mov r12, rcx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
add rax, 0x10
mov qword [rsp], rax
mov r8, qword [rax]
cmp r8, rax
je 0x1400021d4
nop dword [rax]
mov r15, qword [r8 + 0x30]
mov r8, qword [r8]
mov qword [rsp + 0x68], r8
movsxd r8, dword [r15 + 0x3c]
mov eax, dword [r8 + r15 + 0x88]
test eax, eax
je 0x1400021c5
cmp dword [r15 + rax + 0x18], 0
lea rcx, [r15 + rax]
je 0x1400021c5
mov edx, dword [rcx + 0xc]
mov eax, dword [rdx + r15]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x1400021c5
mov eax, dword [rdx + r15 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
jne 0x1400021c5
movzx eax, word [rdx + r15 + 8]
or ax, 0x20
cmp ax, 0x6c
jne 0x1400021c5
mov eax, dword [r8 + r15 + 0xa0]
test eax, eax
je 0x1400021d4
mov r13d, dword [rcx + 0x1c]
lea r14, [r15 + rax]
mov eax, dword [rcx + 0x20]
add r13, r15
mov edx, dword [rcx + 0x24]
add rax, r15
add rdx, r15
mov qword [rsp + 0x58], rax
xor edi, edi
mov qword [rsp + 0x60], rdx
cmp dword [r14], edi
je 0x1400021c5
mov esi, dword [rcx + 0x14]
nop
xor r11d, r11d
test esi, esi
je 0x1400021b7
mov ebp, dword [r14]
mov rbx, rax
mov r10, rdx
movzx eax, word [r10]
cmp dword [r13 + rax*4], ebp
jne 0x14000219d
mov r9d, dword [rbx]
mov rcx, r12
add r9, r15
movzx edx, byte [r9]
test dl, dl
je 0x14000218c
mov r8, r9
movzx eax, dl
sub r8, r12
movzx edx, al
cmp al, byte [rcx]
jne 0x14000218c
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x140002175
cmp dl, byte [rcx]
je 0x1400021ee
mov eax, 0x775a
cmp word [r9], ax
jne 0x14000219d
inc edi
inc r11d
add r10, 2
add rbx, 4
cmp r11d, esi
jb 0x140002150
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
add r14, 0xc
cmp dword [r14], 0
jne 0x140002140
mov r8, qword [rsp + 0x68]
cmp r8, qword [rsp]
jne 0x140002090
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x1400021d9

Function at 0x14000a320
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000a110
Function at 0x14000d9c0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d9f0
xor eax, eax
jmp 0x14000dab3
mov rbp, rbx
cmp word [rax], si
je 0x14000da15
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d9fc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d9f8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d910
movsxd r14, eax
test eax, eax
jne 0x14000da53
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d9e9
mov rcx, r14
call fcn.14000bf28
mov rdi, rax
test rax, rax
jne 0x14000da6c
xor ecx, ecx
call fcn.14000c03c
jmp 0x14000da48
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d910
test eax, eax
jne 0x14000da9d
mov rcx, rdi
call fcn.14000c03c
jmp 0x14000daa7
xor ecx, ecx
call fcn.14000c03c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140010ccc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000bbf4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140010d56
cmp byte [rbp - 0x21], r15b
je 0x140010d51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140010d8c
call fcn.14000e1c8
test eax, eax
jne 0x140010d78
cmp byte [rbp - 0x21], r15b
je 0x140010d70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140010d8c
cmp byte [rbp - 0x21], r15b
je 0x140010d89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c08c
test eax, eax
jne 0x140010e2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000bbf4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140010dcb
cmp byte [rbp - 0x21], r15b
je 0x140010e00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140010e00
call fcn.14000e1c8
test eax, eax
jne 0x140010dec
cmp byte [rbp - 0x21], r15b
je 0x140010de5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140010e00
cmp byte [rbp - 0x21], r15b
je 0x140010dfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c08c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140010e2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140010e2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140010e3d
mov rcx, rdi
call fcn.14000c03c
cmp byte [rbp + 0x3f], r15b
je 0x140010e4c
mov rcx, qword [rbp + 0x27]
call fcn.14000c03c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x17df600
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x17df60d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x17df61d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x17df605
lea eax, [rcx + 1]
jmp 0x17df62b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x17df63e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x17df624
sub eax, 3
jb 0x17df65e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x17df6ad
sar eax, 1
movsxd rbp, eax
jb 0x17df694
jmp 0x17df66c
add ebx, ebx
jne 0x17df66a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x17df694
inc ecx
add ebx, ebx
jne 0x17df67a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x17df694
call r11
adc ecx, ecx
add ebx, ebx
jne 0x17df68d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x17df67c
add ecx, 2
jmp 0x17df699
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.017df5c2
jmp 0x17df60d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x13c9000]
mov eax, dword [rdi]
or eax, eax
je 0x17df709
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x13df000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x17df6b9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x17df703
mov qword [rbx], rax
add rbx, 8
jmp 0x17df6d9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x17df74d
cmp al, 0xef
ja 0x17df735
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x17df715
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x17df724
mov eax, dword [rdi]
add rdi, 4
jmp 0x17df724
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x17df7a1
sub rsp, 0xffffffffffffff80
jmp 0x46e7a0
Function at 0x1400025f4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1400da010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov byte [rsp + 0x28], 0x2c
mov byte [rsp + 0x29], 0x46
mov byte [rsp + 0x2a], 0x53
mov byte [rsp + 0x2b], 0x4f
mov byte [rsp + 0x2c], 0x46
mov byte [rsp + 0x2d], 0x4d
mov byte [rsp + 0x2e], 0x14
mov byte [rsp + 0x2f], 0x13
mov byte [rsp + 0x30], 0xf
mov byte [rsp + 0x31], 0x45
mov byte [rsp + 0x32], 0x4d
mov byte [rsp + 0x33], 0x4d
mov byte [rsp + 0x34], 0xe1
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400dd264], eax
jle 0x14007d42f
lea rcx, [0x1400dd264]
call fcn.14008ee08
cmp dword [0x1400dd264], 0xffffffff
jne 0x14007d42f
lea rdx, [rsp + 0x28]
lea rcx, [0x1400e0570]
call fcn.140081c90
lea rcx, [0x1400bf000]
call fcn.14008f1c4
nop
lea rcx, [0x1400dd264]
call fcn.14008ed9c
lea rax, [0x1400e0570]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ed40
add rsp, 0x48
ret

Function at 0x14007d450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1400da010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov byte [rsp + 0x28], 0x2d
mov byte [rsp + 0x29], 0x50
mov byte [rsp + 0x2a], 0x42
mov byte [rsp + 0x2b], 0x45
mov byte [rsp + 0x2c], 0x2d
mov byte [rsp + 0x2d], 0x4a
mov byte [rsp + 0x2e], 0x43
mov byte [rsp + 0x2f], 0x53
mov byte [rsp + 0x30], 0x42
mov byte [rsp + 0x31], 0x53
mov byte [rsp + 0x32], 0x5a
mov byte [rsp + 0x33], 0x22
mov byte [rsp + 0x34], 0xe1
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400e14e0], eax
jle 0x14007d50f
lea rcx, [0x1400e14e0]
call fcn.14008ee08
cmp dword [0x1400e14e0], 0xffffffff
jne 0x14007d50f
lea rdx, [rsp + 0x28]
lea rcx, [0x1400dde38]
call fcn.140081c90
lea rcx, [0x1400befe0]
call fcn.14008f1c4
nop
lea rcx, [0x1400e14e0]
call fcn.14008ed9c
lea rax, [0x1400dde38]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ed40
add rsp, 0x48
ret

Function at 0x14007d530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1400da010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xc
mov byte [rsp + 0x28], 0x32
mov byte [rsp + 0x29], 0x44
mov byte [rsp + 0x2a], 0x49
mov byte [rsp + 0x2b], 0x24
mov byte [rsp + 0x2c], 0x49
mov byte [rsp + 0x2d], 0x40
mov byte [rsp + 0x2e], 0x4f
mov byte [rsp + 0x2f], 9
mov byte [rsp + 0x30], 0x3f
mov byte [rsp + 0x31], 0x47
mov byte [rsp + 0x32], 0x47
mov byte [rsp + 0x33], 0xdb
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400da9c0], eax
jle 0x14007d5ea
lea rcx, [0x1400da9c0]
call fcn.14008ee08
cmp dword [0x1400da9c0], 0xffffffff
jne 0x14007d5ea
lea rdx, [rsp + 0x28]
lea rcx, [0x1400dd3a8]
call fcn.140083710
lea rcx, [0x1400befc0]
call fcn.14008f1c4
nop
lea rcx, [0x1400da9c0]
call fcn.14008ed9c
lea rax, [0x1400dd3a8]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008ed40
add rsp, 0x48
ret