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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x140077692
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400776d9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140077732
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400776f0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140077773
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140089c1a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140089c1b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140077740
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140077e20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140077e5a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140077e5f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140077ea8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140077ea8
dec r8
sub rdx, 1
jne 0x140077e8e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140078f88
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14009a3b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14012608f]
call fcn.140045ec3
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14009a408
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14009a51a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14009a4b3
cmp qword [rbp + 0x28], 0
jle 0x14009a4b3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14009a451
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140045ce8
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14009a509
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14009a509
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140044587
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14007fa70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14012608e]
call fcn.140045ec3
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14007faae
mov rcx, qword [rbp + 0x100]
call fcn.14004465e
nop
jmp 0x14007faca
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14007faca
mov rcx, qword [rbp + 0x100]
call fcn.140044f32
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400447b2
Capabilities:
Get file attributes
Set file attributes

Disassembly:
jmp 0x1400820c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x20]
lea rcx, [0x140126122]
call fcn.140045ec3
nop
mov rcx, qword [rbp + 0x110]
call fcn.140044a64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
and eax, 3
test eax, eax
je 0x14008217c
mov eax, dword [rbp + 4]
and eax, 0xfffffffc
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x110]
call fcn.140044a64
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14008217c
lea rdx, str.Failed_to_remove_read_only_or_hidden_attribute._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400443a2
mov qword [rbp + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe0], eax
mov edx, dword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.MSVCP140D.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 qword [rbp + 0xe8], rax
lea rdx, [0x140044127]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.MSVCP140D.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]
nop
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret
Function at 0x140044f32
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14008a730
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14012608e]
call fcn.140045ec3
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14008a775
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14008a806
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14008a7cb
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14008a7d5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008a76a
mov qword [rbp + 0x88], 0xe3
jmp 0x14008a824
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14008a8cd
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x14008a889
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14008a893
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008a813
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14008a92d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14008a937
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140045194
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ca500
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]
nop
add rsp, 0x28
ret

Function at 0x1400453fb
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c4010
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400c404d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140045ea0
add rsp, 0x58
ret

Function at 0x14004553b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400cb030
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400cb050
xor al, al
jmp 0x1400cb0d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400cb063
xor al, al
jmp 0x1400cb0d1
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 0x1400cb08d
xor al, al
jmp 0x1400cb0d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400cb0a1
xor al, al
jmp 0x1400cb0d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400cb0b3
xor al, al
jmp 0x1400cb0d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400cb0cf
xor al, al
jmp 0x1400cb0d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140045e4b
Capabilities:
Write file on windows

Disassembly:
jmp 0x140085c90
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 [0x140117040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14012608f]
call fcn.140045ec3
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140085cf7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140085cfe
mov al, 1
jmp 0x140085e6e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140044898
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140044898
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14004587e
movzx eax, al
test eax, eax
je 0x140085d61
xor al, al
jmp 0x140085e6e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140085dd4
cmp dword [rbp + 0x160], 1
je 0x140085ddf
cmp dword [rbp + 0x160], 3
je 0x140085e5d
jmp 0x140085e6c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140085e2f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140085e2f
xor al, al
jmp 0x140085e6e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140085e4a
mov dword [rbp + 0x154], 1
jmp 0x140085e54
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140085e6e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140085e6e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400d7c60]
call fcn.1400459af
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140044ef1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x14004613e
Capabilities:
Move file

Disassembly:
jmp 0x1400c7320
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400c734c
xor eax, eax
jmp 0x1400c7352
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x1400c8320
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140046008
movzx eax, al
test eax, eax
jne 0x1400c8340
mov ecx, 7
call fcn.1400459e6
nop
mov byte [rsp + 0x20], 0
call fcn.140045a72
mov byte [rsp + 0x21], al
cmp dword [0x140117bb8], 1
jne 0x1400c8364
mov ecx, 7
call fcn.1400459e6
nop
jmp 0x1400c83bc
cmp dword [0x140117bb8], 0
jne 0x1400c83b7
mov dword [0x140117bb8], 1
lea rdx, [0x1400d4770]
lea rcx, [0x1400d4440]
call fcn.140044e97
test eax, eax
je 0x1400c8398
mov eax, 0xff
jmp 0x1400c84c1
lea rdx, [0x1400d4330]
lea rcx, [section..rdata]
call fcn.140045a4a
mov dword [0x140117bb8], 2
jmp 0x1400c83bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140045987
call fcn.140045617
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400c8419
mov rcx, qword [rsp + 0x30]
call fcn.140044bfe
movzx eax, al
test eax, eax
je 0x1400c8419
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140127020]
nop
call fcn.14004579d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400c844d
mov rcx, qword [rsp + 0x38]
call fcn.140044bfe
movzx eax, al
test eax, eax
je 0x1400c844d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140045dce
nop
call fcn.1400c8570
mov dword [rsp + 0x28], eax
call fcn.14004553b
movzx eax, al
test eax, eax
jne 0x1400c846c
mov ecx, dword [rsp + 0x28]
call fcn.140044258
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400c847b
call fcn.140045e32
nop
xor edx, edx
mov cl, 1
call fcn.140044b54
mov eax, dword [rsp + 0x28]
jmp 0x1400c84c1
add rsp, 0x68
ret
Function at 0x140001130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0xffffffffffffffff
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], 0
mov r8d, 0xa
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x140001232
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x4b
lea r8, str.01239120391203914398419285_21385902859543__031239jroidmp139rjjjriirirasd__
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call fcn.140001080
call section..text
test eax, eax
jne 0x140001261
mov eax, 0xffffffff
jmp 0x1400013d8
mov rdx, qword [0x140003070]
mov ecx, dword [0x140003060]
call fcn.140001ce0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call fcn.140001d02
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400012b0
cmp qword [rsp + 0x70], 0
jne 0x1400012ba
mov eax, 0xffffffff
jmp 0x1400013d8
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [0x140003088]
mov ecx, dword [0x140003078]
call fcn.140001ce0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call fcn.140001d02
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14000131c
mov eax, 0xffffffff
jmp 0x1400013d8
mov rdx, qword [0x1400030a0]
mov ecx, dword [0x140003090]
call fcn.140001ce0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0xa8]
call fcn.140001d02
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14000139c
mov eax, 0xffffffff
jmp 0x1400013d8
mov rdx, qword [0x1400030b8]
mov ecx, dword [0x1400030a8]
call fcn.140001ce0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.140001d02
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400013d2
mov eax, 0xffffffff
jmp 0x1400013d8
jmp 0x1400013d6
xor eax, eax
add rsp, 0xb8
pop rdi
pop rsi
ret