joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180051da0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180051b90
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051e77
mov dword [rsp + 0x20], 0
jmp 0x180051e14
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051e77
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051e75
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180051970
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051e0a
add rsp, 0x30
pop rdi
ret

Function at 0x180051e90
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051f34
mov dword [rsp + 0x20], 0
jmp 0x180051ecd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051f1d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051f1b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051ec3
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18006c808]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180051f40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18006ed90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180051fc4
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180051fed
mov eax, 0xa
jmp 0x180052127
cmp dword [rsp + 0x88], 0
je 0x18005205b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180052059
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x1800520a7
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005208b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800520a7
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180059e70]
call fcn.180055578
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180053610
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18005367e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18005367e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18005367e
xor eax, eax
jmp 0x1800536c5
mov dword [rsp], 1
jmp 0x18005368f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800536c0
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800536be
xor eax, eax
jmp 0x1800536c5
jmp 0x180053687
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1400110d2
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a230
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, [0x1400320f4]
call fcn.140011843
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001a288
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 0x14001a39a
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 0x14001a333
cmp qword [rbp + 0x28], 0
jle 0x14001a333
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001a2d1
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.1400117c6
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 0x14001a389
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001a389
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 0x14001113b
Capabilities:
Hash data via bcrypt

Disassembly:
jmp 0x140016220
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14002b040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400320f6]
call fcn.140011843
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SHA256
lea rcx, [rbp + 8]
call fcn.140011339
test eax, eax
je 0x1400162b7
lea rcx, str.BCryptOpenAlgorithmProvider_failed.
call qword [sym.imp.ucrtbased.dll_puts]
nop
jmp 0x14001638b
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1400112e9
test eax, eax
je 0x140016306
lea rcx, str.BCryptCreateHash_failed.
call qword [sym.imp.ucrtbased.dll_puts]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.14001161d
nop
jmp 0x14001638b
xor r9d, r9d
mov r8d, dword [rbp + 0x148]
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call fcn.140011235
test eax, eax
je 0x14001634a
lea rcx, str.BCryptHashData_failed.
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400115b9
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.14001161d
nop
jmp 0x14001638b
xor r9d, r9d
mov r8d, 0x20
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call fcn.140011870
test eax, eax
je 0x140016375
lea rcx, str.BCryptFinishHash_failed.
call qword [sym.imp.ucrtbased.dll_puts]
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400115b9
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.14001161d
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x1400251a0]
call fcn.1400116e5
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400113e8
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14001149c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d530
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 0x1400115cd
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e050
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e070
xor al, al
jmp 0x14001e0f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e083
xor al, al
jmp 0x14001e0f1
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 0x14001e0ad
xor al, al
jmp 0x14001e0f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e0c1
xor al, al
jmp 0x14001e0f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e0d3
xor al, al
jmp 0x14001e0f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e0ef
xor al, al
jmp 0x14001e0f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011627
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
jmp 0x140016420
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x14002b040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400320f6]
call fcn.140011843
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140026150]
lea rcx, [rbp + 8]
call fcn.140011339
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x1400164a8
mov edx, dword [rbp + 0x44]
lea rcx, str.BCryptOpenAlgorithmProvider_failed
call fcn.1400115c8
nop
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, qword [rbp + 8]
call fcn.14001106e
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x1400164e6
mov edx, dword [rbp + 0x44]
lea rcx, str.BCryptSetProperty_failed
call fcn.1400115c8
nop
mov dword [rbp + 0x64], 0x10
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140011352
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140016535
mov edx, dword [rbp + 0x44]
lea rcx, str.BCryptGenerateSymmetricKey_failed
call fcn.1400115c8
nop
movzx eax, byte [rbp + 0x1c0]
test eax, eax
je 0x1400165b3
mov dword [rsp + 0x48], 0
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x1b8]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x1b0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x28]
call fcn.1400116fe
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x1400165b1
mov edx, dword [rbp + 0x44]
lea rcx, str.BCryptEncrypt_failed
call fcn.1400115c8
nop
jmp 0x140016624
mov dword [rsp + 0x48], 0
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x1b8]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x1b0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x28]
call fcn.1400110aa
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140016624
mov edx, dword [rbp + 0x44]
lea rcx, str.BCryptDecrypt_failed
call fcn.1400115c8
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400117b7
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.14001161d
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x1400250b0]
call fcn.1400116e5
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400113e8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140011825
Capabilities:
Write file on windows

Disassembly:
jmp 0x140016e30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002b040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400320f4]
call fcn.140011843
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140016e97
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016e9e
mov al, 1
jmp 0x140016fee
call fcn.140011244
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140011244
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011695
movzx eax, al
test eax, eax
je 0x140016eef
xor al, al
jmp 0x140016fee
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
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 + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140016f54
cmp dword [rbp + 0x154], 1
je 0x140016f5f
cmp dword [rbp + 0x154], 3
je 0x140016fdd
jmp 0x140016fec
mov rax, qword [rbp + 0x190]
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 0x140016faf
mov rax, qword [rbp + 0x190]
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 0x140016faf
xor al, al
jmp 0x140016fee
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016fca
mov dword [rbp + 0x154], 1
jmp 0x140016fd4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140016fee
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140016fee
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140025c70]
call fcn.1400116e5
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400113e8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001b960
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011893
movzx eax, al
test eax, eax
jne 0x14001b980
mov ecx, 7
call fcn.1400116f9
nop
mov byte [rsp + 0x20], 0
call fcn.14001173a
mov byte [rsp + 0x21], al
cmp dword [0x14002b7f0], 1
jne 0x14001b9a4
mov ecx, 7
call fcn.1400116f9
nop
jmp 0x14001b9fc
cmp dword [0x14002b7f0], 0
jne 0x14001b9f7
mov dword [0x14002b7f0], 1
lea rdx, [0x140024770]
lea rcx, [0x140024440]
call fcn.1400113ca
test eax, eax
je 0x14001b9d8
mov eax, 0xff
jmp 0x14001bb01
lea rdx, [0x140024330]
lea rcx, [section..rdata]
call fcn.140011726
mov dword [0x14002b7f0], 2
jmp 0x14001b9fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400116d6
call fcn.1400115fa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001ba59
mov rcx, qword [rsp + 0x30]
call fcn.140011307
movzx eax, al
test eax, eax
je 0x14001ba59
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 [0x140033020]
nop
call fcn.14001166d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001ba8d
mov rcx, qword [rsp + 0x38]
call fcn.140011307
movzx eax, al
test eax, eax
je 0x14001ba8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011802
nop
call fcn.14001bbb0
mov dword [rsp + 0x28], eax
call fcn.1400115cd
movzx eax, al
test eax, eax
jne 0x14001baac
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001babb
call fcn.140011816
nop
xor edx, edx
mov cl, 1
call fcn.1400112d5
mov eax, dword [rsp + 0x28]
jmp 0x14001bb01
add rsp, 0x68
ret
Function at 0x140005c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xa8
call fcn.140005c10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 0x88
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], 0
jmp 0x140005d4f
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
cmp qword [rsp + 0x70], rax
jae 0x140005e9d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
cmp dword [rax + rcx*4], 0
jne 0x140005d70
jmp 0x140005d42
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rax + rcx*4]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
jmp 0x140005da3
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x80], rax
jae 0x140005e98
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rax + rcx*2]
cmp rax, qword [rsp + 0x70]
jne 0x140005e93
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + rcx*4]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
test eax, eax
je 0x140005e6d
mov eax, dword [rsp + 0x98]
shl eax, 0x19
mov ecx, dword [rsp + 0x98]
shr ecx, 7
or eax, ecx
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
jmp 0x140005e0f
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0xb0], eax
jne 0x140005e93
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 4]
jmp 0x140005e9d
jmp 0x140005d90
jmp 0x140005d42
add rsp, 0xa8
ret
Function at 0x140006310
Capabilities:
Delete file
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x2b0], 0xfffffffffffffffe
mov dword [rsp + 0x2a8], 0
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x2d8]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToCacheFileA]
mov dword [rsp + 0x280], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x24
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x170]
call fcn.140008820
nop
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x170]
call fcn.1400071b0
mov rcx, rax
call fcn.1400098e0
mov qword [rsp + 0x160], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.1400070f0
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.140008580
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400087f0
mov r8, qword [rsp + 0x160]
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140006fe0
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x2a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140004630
movzx eax, al
test eax, eax
je 0x1400064ad
lea rdx, str.Failed_to_read_cache_file.
lea rcx, [0x140081420]
call fcn.14000df00
lea rdx, [0x140004b60]
mov rcx, rax
call fcn.140006b70
mov rcx, qword [rsp + 0x2d0]
call fcn.140008540
mov eax, dword [rsp + 0x2a8]
or eax, 1
mov dword [rsp + 0x2a8], eax
lea rcx, [rsp + 0x30]
call fcn.140008650
nop
lea rcx, [rsp + 0x170]
call fcn.140006520
mov rax, qword [rsp + 0x2d0]
jmp 0x140006508
lea rcx, [rsp + 0x170]
call fcn.1400089a0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400085e0
mov eax, dword [rsp + 0x2a8]
or eax, 1
mov dword [rsp + 0x2a8], eax
lea rcx, [rsp + 0x30]
call fcn.140008650
nop
lea rcx, [rsp + 0x170]
call fcn.140006520
mov rax, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret