joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a920
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r13
sub rsp, 0x38
movzx eax, word [r8 + 0x14]
lea r9, [r8 + 0x18]
mov r10d, dword [r8 + 0x90]
add r9, rax
movzx eax, word [r8 + 6]
mov rbp, r8
mov r13, rdx
lea rcx, [rax + rax*4]
lea r8, [r9 + rcx*8]
cmp r9, r8
jae 0x14001a978
mov ecx, dword [r9 + 0xc]
cmp r10, rcx
jb 0x14001a96f
mov eax, dword [r9 + 8]
add eax, ecx
cmp r10, rax
jb 0x14001aa13
add r9, 0x28
cmp r9, r8
jb 0x14001a957
xor eax, eax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r10d, r10d
je 0x14001a9eb
cmp dword [rbp + 0x94], 0
je 0x14001a9eb
lea rbx, [rax + 0x10]
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx - 4]
add rdx, rbp
mov qword [rsp + 0x50], rbx
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14001a9eb
nop
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14001a9e2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001aa25
add rdx, 0x28
cmp rdx, r9
jb 0x14001a9d0
mov al, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop r13
pop rbp
ret
mov eax, dword [r9 + 0x14]
sub rax, rcx
add rax, r10
add rax, r13
jmp 0x14001a97a
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, r13
je 0x14001a9eb
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
je 0x14001ab5e
movzx r8d, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add r8, 0x18
mov r9d, dword [rbx]
add r8, rbp
lea rdx, [rcx + rcx*4]
lea r10, [r8 + rdx*8]
cmp r8, r10
jae 0x14001aa8d
nop dword [rax]
mov ecx, dword [r8 + 0xc]
cmp r9, rcx
jb 0x14001aa84
mov eax, dword [r8 + 8]
add eax, ecx
cmp r9, rax
jb 0x14001aab2
add r8, 0x28
cmp r8, r10
jb 0x14001aa70
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x14001ab47
jns 0x14001aac1
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x14001ab10
mov r14d, dword [r8 + 0x14]
sub r14, rcx
add r14, r9
add r14, r13
jmp 0x14001aa90
movzx eax, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add rax, 0x18
add rax, rbp
lea rdx, [rcx + rcx*4]
lea r8, [rax + rdx*8]
cmp rax, r8
jae 0x14001aafb
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x14001aaf2
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x14001ab50
add rax, 0x28
cmp rax, r8
jb 0x14001aae0
xor esi, esi
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rsi + 2]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rcx, rbx
sub rdi, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rdi + r12]
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x14001aa9c
mov rbx, qword [rsp + 0x50]
add rbx, 0x14
jmp 0x14001a9aa
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x14001aafd
jmp 0x14001a9ed
Function at 0x14001bcd0
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 0x14001bcf8
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 0x14001bd1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001bd20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001bd79
test ecx, ecx
jle 0x14001bd59
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 0x14001bd79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001bd79
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 0x14001bda0
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 0x14001bdc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14001bdd8
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 0x14001bdf4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001bdf6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001be32
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 0x14001bece
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001be6d
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 0x14001beae
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 0x14001bece
cmp rbx, rax
ja 0x14001be80
test rbx, rbx
je 0x14001bece
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 0x14001c300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001c32d
xor eax, eax
jmp 0x14001c48a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14001c358
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14001c358
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14001c48a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001c47d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001c39b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14001c3c6
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 0x14001c482
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 0x14001c435
sub eax, 1
je 0x14001c435
cmp eax, 2
jne 0x14001c47d
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 0x14001c482
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001c463
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 0x14001c47d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14001c482
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001d2a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001c780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001c853
cmp byte [rcx + 0x71], 0
je 0x14001c853
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001c84f
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 0x14001c814
sub eax, 1
je 0x14001c818
cmp eax, 2
jne 0x14001c84f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001d2a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001c846
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 0x14001c84f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001c7fc
xor al, al
jmp 0x14001c7fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001d2a0
add rsp, 0x60
pop rbx
ret

Function at 0x14001dbcc
Capabilities:
Parse pe header

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

Function at 0x180027560
Capabilities:
Parse pe header

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

Function at 0x180028020
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001ba0
movzx eax, al
test eax, eax
jne 0x180028067
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001c50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x30]
lea rdx, [0x180036b6c]
mov rcx, rax
call fcn.180001da0
add rsp, 0x28
ret
Function at 0x140013470
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14003e3b8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r14, rcx
lea rcx, vtable.AMFFactoryHelper.0
call fcn.140013c90
test eax, eax
jne 0x1400136a4
lea rcx, vtable.AMFFactoryHelper.0
call fcn.140013c70
lea rcx, vtable.AMFFactoryHelper.0
call fcn.140013c80
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
xor edx, edx
mov rcx, rax
call r8
xor r15d, r15d
mov esi, r15d
nop dword [rax + rax]
lea rcx, vtable.AMFFactoryHelper.0
call fcn.14000d810
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov rcx, qword [r14 + 0x100]
test rcx, rcx
je 0x140013517
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov qword [r14 + 0x100], r15
lea rdx, [r14 + 0x100]
mov rcx, rbx
call rdi
test eax, eax
jne 0x1400136a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov dword [rsp + 0x40], 0x94
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x44], 6
jb 0x140013694
cmp dword [rsp + 0x48], 2
jb 0x1400135f4
lea rcx, [rbp - 0x20]
call fcn.1400146b0
nop
xor r8d, r8d
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.1400149b0
test eax, eax
jne 0x14001369b
mov rdi, qword [r14 + 0x100]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x90]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140014980
nop
mov r8d, 0x6e
mov rdx, qword [rax]
mov rcx, rdi
call rbx
test eax, eax
sete bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400135e6
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x20]
call fcn.140014730
jmp 0x140013690
lea rcx, [rbp - 0x20]
call fcn.140013dc0
nop
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, esi
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140014220
test eax, eax
je 0x14001364c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140014220
test eax, eax
jne 0x1400136d2
mov rdi, qword [r14 + 0x100]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400141f0
nop
mov rdx, qword [rax]
mov rcx, rdi
call rbx
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140013687
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x20]
call fcn.140013ea0
test bl, bl
jne 0x1400136dd
inc esi
jmp 0x1400134f0
lea rcx, [rbp - 0x20]
call fcn.140014730
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400297b0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rbp - 0x20]
call fcn.140013ea0
jmp 0x1400136a4
mov al, 1
jmp 0x1400136a6
Function at 0x140001928
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rdx
lea rax, [r11 - 0x28]
mov rdx, qword [rdx + 0x20]
lea r8, [r11 - 0x68]
mov r9d, 0x40
mov qword [r11 - 0x78], rax
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001a36
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
jne 0x140001a36
mov edi, 0x18
mov edx, edi
lea ecx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001a36
movsxd rdx, dword [rsp + 0x6c]
lea rax, [rsp + 0x70]
add rdx, qword [rbp + 0x20]
mov r9d, edi
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001a2d
cmp dword [rbx], 0x4550
jne 0x140001a2d
mov ecx, 0x14c
cmp word [rbx + 4], cx
lea esi, [rcx - 0x44]
lea eax, [rcx - 0x54]
cmove esi, eax
lea ecx, [rdi + 0x28]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140001a2d
movsxd rdx, dword [rsp + 0x6c]
lea rax, [rsp + 0x70]
add rdx, qword [rbp + 0x20]
mov r9d, esi
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rdi + 8]
mov dword [rbp + 0x28], ecx
mov rcx, rdi
mov eax, dword [rdi + 0x50]
mov dword [rbp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005550
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140008ffc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008e28
Function at 0x140001440
Capabilities:
Query environment variable

Disassembly:
xor r8d, 0x66f50814
mov qword [rsp + 0x78], 0x7d05254b

Function at 0x140002cdc
Capabilities:
Parse pe header

Disassembly:
sub al, cl
mov rdx, qword [rsp + 8]
push rsp
and al, 8

Function at 0x140002d04
Capabilities:
Parse pe header

Disassembly:
and al, 0x20
imul r8d, dword [rsp + 0x20]
scasd eax, dword [rdi]
and al, 0x20

Function at 0x140002d44
Capabilities:
Parse pe header

Disassembly:
sub r8d, dword [rsp + 0x20]
mov r9b, byte [rsp + 0x1e]
and al, 0x1e

Function at 0x140002d5c
Capabilities:
Parse pe header

Disassembly:
mov byte [rsp + 0x1f], r10b
cmp cl, r9b
jb 0x140002dab
jmp 0x140002dab
cmp word [rsp + 6], 0x5a4d
je sym.DUI70.dll_protected:_long_int___cdecl_DirectUI::DUIXmlParser::ParseGTCColor_struct_DirectUI::ParserTools::ExprNode_const____ptr64__unsigned_long_int____ptr64__bool____ptr64____ptr64

Function at 0x140002d68
Capabilities:
Parse pe header

Disassembly:
lea rax, [fcn.140002ca0]
mov qword [rsp + 0x10], rax
jmp fcn.140002d11

Function at 0x140002d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
and al, 8

Function at 0x140002d84
Capabilities:
Parse pe header

Disassembly:
mov al, 0x17
mov rax, qword [rsp + 8]
or byte [rax + 0x63], cl
cmp al, 0x48
mov ecx, dword [rsp + 8]
and al, 8
mov dx, word [rsp + 0x24]
or dx, 0xc21c
or edx, 0x8966c21c
push rsp
and al, 0x24
cmp dword [rcx + rax], 0x4550
je 0x140002d76
invalid
invalid
Function at 0x140011109
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
jmp 0x140011b60
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400240a3]
call fcn.14001138e
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011c00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpen_Failed_with_Error:__d_n
call fcn.1400111a4
xor eax, eax
jmp 0x140011d3d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1400
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011c4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrl_Failed_with_Error:__d_n
call fcn.1400111a4
xor eax, eax
jmp 0x140011d3d
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 4
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
lea r8, [rbp + 0x84]
mov edx, 0x20000005
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140011cb1
mov eax, dword [rbp + 0x84]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140011cb1
xor eax, eax
jmp 0x140011d3d
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140011cd4
cmp dword [rbp + 0x64], 0
jne 0x140011cf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetReadFile_failed_with_Error:__d_n
call fcn.1400111a4
cmp qword [rbp + 0x48], 0
je 0x140011cf3
xor eax, eax
jmp 0x140011d3d
mov rax, qword [rbp + 0x1a8]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov eax, dword [rbp + 0x84]
mov rcx, qword [rbp + 0x1b0]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad20]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014520
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014540
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014553
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001457d
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014591
xor al, al
jmp 0x1400145c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145a3
xor al, al
jmp 0x1400145c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145bf
xor al, al
jmp 0x1400145c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140002672
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140002706
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400026e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400026e0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400027b2
mov rcx, r8
call fcn.14000a80c
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140002720
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140002794
lea rdx, [rdx*2 + 2]
jmp 0x14000276b
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x5188
mov qword [rsp + 0x20], rbp
lea rdx, [0x140042c30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14000279b
cmp rax, 8
jb 0x140002794
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000278f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400027b2
mov rcx, r8
call fcn.14000a80c
xor al, al
jmp 0x1400026e7
cmp rax, 8
jb 0x1400026e5
lea rdx, [rax*2 + 2]
jmp 0x1400026b8
call fcn.140010dcc
int3