joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c70c
Capabilities:
Parse pe header

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

Function at 0x14001a0fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019ef8
Function at 0x140013005
Capabilities:
Read file via mapping

Disassembly:
jmp 0x140030a30
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 + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x140054105]
call fcn.1400140c2
lea rcx, [rbp + 8]
call fcn.140013cdf
nop
mov qword [rbp + 0x48], 0
jmp 0x140030aa2
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x1b8]
call fcn.140014202
cmp qword [rbp + 0x48], rax
jae 0x140030af4
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013537
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140013f1e
mov rcx, qword [rbp + 0x1b8]
call fcn.140014202
dec rax
cmp qword [rbp + 0x48], rax
jae 0x140030af2
mov dx, 0x2c
lea rcx, [rbp + 8]
call fcn.140013c3a
jmp 0x140030a97
mov rcx, qword [rbp + 0x1c0]
call fcn.140013591
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 8]
call fcn.14001328f
shl rax, 1
mov rcx, qword [rbp + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 2
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 8]
call fcn.14001328f
shl rax, 1
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 8]
call fcn.14001392e
mov rcx, qword [rbp + 0x178]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call fcn.14001382a
mov dword [rbp + 0x164], 0
lea rcx, [rbp + 8]
call fcn.140013e8d
nop
mov rcx, qword [rbp + 0x1c0]
call fcn.140013e8d
mov eax, dword [rbp + 0x164]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14003fa80]
call fcn.140013dfc
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret

Function at 0x140013299
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140027b00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140054036]
call fcn.1400140c2
mov qword [rbp + 8], 0
jmp 0x140027b3e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140027b94
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140027b33
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400133ca
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14002d980
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x220], rax
mov dword [rbp + 0x204], 0
lea rcx, [0x140054105]
call fcn.1400140c2
mov rcx, qword [rbp + 0x260]
call fcn.140013591
mov r8, rax
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbp + 8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x48]
call fcn.140013573
nop
mov edx, 0x20
mov rcx, qword [rbp + 0x258]
call fcn.140013bbd
mov rcx, qword [rbp + 0x258]
call fcn.140013aaa
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0x204]
or eax, 1
mov dword [rbp + 0x204], eax
mov qword [rbp + 0xc8], 0
xor r8d, r8d
mov dx, 0x2c
lea rcx, [rbp + 0x48]
call fcn.140013b04
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0xffffffffffffffff
je 0x14002db3c
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0x218], rax
mov eax, 2
mov rcx, qword [rbp + 0x218]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140013744
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0x48]
call fcn.140013591
mov r8, qword [rbp + 0xc8]
mov rdx, rax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_wcsncpy]
xor eax, eax
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xc8]
mov word [rcx + rdx*2], ax
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x258]
call fcn.140013b63
mov rax, qword [rbp + 0xc8]
inc rax
mov r8, rax
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.140013c8a
jmp 0x14002da6b
lea rcx, [rbp + 0x48]
call fcn.140013b4f
movzx eax, al
test eax, eax
jne 0x14002dbf7
lea rcx, [rbp + 0x48]
call fcn.14001328f
inc rax
mov qword [rbp + 0x218], rax
mov eax, 2
mov rcx, qword [rbp + 0x218]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140013744
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0x48]
call fcn.14001328f
mov qword [rbp + 0x218], rax
lea rcx, [rbp + 0x48]
call fcn.140013591
mov rcx, qword [rbp + 0x218]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_wcsncpy]
lea rcx, [rbp + 0x48]
call fcn.14001328f
xor ecx, ecx
mov rdx, qword [rbp + 0xe8]
mov word [rdx + rax*2], cx
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x258]
call fcn.140013b63
nop
lea rcx, [rbp + 0x48]
call fcn.140013e8d
nop
mov rcx, qword [rbp + 0x260]
call fcn.140013e8d
mov rax, qword [rbp + 0x258]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14003fd60]
call fcn.140013dfc
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x14001394c
Capabilities:
Terminate process

Disassembly:
jmp 0x140036040
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 0x140013b7c
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140030150
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x140054109]
call fcn.1400140c2
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140030338
mov dword [rbp + 0x44], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.hide
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003032e
mov qword [rbp + 0x68], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x1d0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x84]
mov qword [rbp + 0x198], rax
mov eax, 2
mov rcx, qword [rbp + 0x198]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140013744
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x1d0]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [rbp + 0x84]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.hide
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x188]
call fcn.140013802
cmp qword [rbp + 0x188], 0
jne 0x14003031b
mov qword [rbp + 0x198], 0
jmp 0x14003032e
mov qword [rbp + 0x68], 0x8123
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x198], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140013dfc
mov eax, edi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140013b9f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140036b70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140036b90
xor al, al
jmp 0x140036c11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140036ba3
xor al, al
jmp 0x140036c11
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 0x140036bcd
xor al, al
jmp 0x140036c11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140036be1
xor al, al
jmp 0x140036c11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140036bf3
xor al, al
jmp 0x140036c11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140036c0f
xor al, al
jmp 0x140036c11
mov al, 1
add rsp, 0x38
ret
Function at 0x140013f5f
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14002dd00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov dword [rbp + 0x224], 0
lea rcx, [0x140054105]
call fcn.1400140c2
mov rcx, qword [rbp + 0x280]
call fcn.140013591
mov r8, rax
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbp + 8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x48]
call fcn.140013573
nop
mov edx, 0x20
mov rcx, qword [rbp + 0x278]
call fcn.140014004
mov rcx, qword [rbp + 0x278]
call fcn.14001312c
mov qword [rbp + 0x238], rax
mov eax, dword [rbp + 0x224]
or eax, 1
mov dword [rbp + 0x224], eax
mov qword [rbp + 0xc8], 0
lea rcx, [rbp + 0xe8]
call fcn.140013cdf
nop
xor r8d, r8d
mov dx, 0x2c
lea rcx, [rbp + 0x48]
call fcn.140013b04
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0xffffffffffffffff
je 0x14002de89
mov r9, qword [rbp + 0xc8]
xor r8d, r8d
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0x48]
call fcn.140013361
mov qword [rbp + 0x238], rax
mov rdx, qword [rbp + 0x238]
lea rcx, [rbp + 0xe8]
call fcn.140013d4d
lea rcx, [rbp + 0x1e8]
call fcn.140013e8d
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x278]
call fcn.140013d8e
mov rax, qword [rbp + 0xc8]
inc rax
mov r8, rax
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.140013c8a
jmp 0x14002ddf8
lea rcx, [rbp + 0x48]
call fcn.140013b4f
movzx eax, al
test eax, eax
jne 0x14002deaa
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x278]
call fcn.140013d8e
nop
lea rcx, [rbp + 0xe8]
call fcn.140013e8d
nop
lea rcx, [rbp + 0x48]
call fcn.140013e8d
nop
mov rcx, qword [rbp + 0x280]
call fcn.140013e8d
mov rax, qword [rbp + 0x278]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14003fba0]
call fcn.140013dfc
mov rax, rdi
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x140013feb
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1400307e0
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 + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x140054105]
call fcn.1400140c2
lea rcx, [rbp + 8]
call fcn.140013cdf
nop
mov qword [rbp + 0x48], 0
jmp 0x140030852
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x1b8]
call fcn.140013f4b
cmp qword [rbp + 0x48], rax
jae 0x1400308ba
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013866
cmp qword [rax], 0
je 0x140030896
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013866
mov rdx, qword [rax]
lea rcx, [rbp + 8]
call fcn.14001387f
mov rcx, qword [rbp + 0x1b8]
call fcn.140013f4b
dec rax
cmp qword [rbp + 0x48], rax
jae 0x1400308b8
mov dx, 0x2c
lea rcx, [rbp + 8]
call fcn.140013c3a
jmp 0x140030847
mov rcx, qword [rbp + 0x1c0]
call fcn.140013591
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 8]
call fcn.14001328f
shl rax, 1
mov rcx, qword [rbp + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 2
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 8]
call fcn.14001328f
shl rax, 1
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 8]
call fcn.14001392e
mov rcx, qword [rbp + 0x178]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call fcn.14001382a
mov dword [rbp + 0x164], 0
lea rcx, [rbp + 8]
call fcn.140013e8d
nop
mov rcx, qword [rbp + 0x1c0]
call fcn.140013e8d
mov eax, dword [rbp + 0x164]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14003fc40]
call fcn.140013dfc
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x140014103
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14002e7d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x568
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xf2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x588]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x530], rax
lea rcx, [0x140054107]
call fcn.1400140c2
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400137f3
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140013a2d
test eax, eax
je 0x14002e926
cmp dword [rbp + 4], 0
jne 0x14002e926
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140013ea1
test eax, eax
je 0x14002e926
lea rax, [rbp + 0x488]
mov qword [rbp + 0x4b8], rax
lea rax, [rbp + 0x4d8]
mov qword [rbp + 0x508], rax
lea rcx, [rbp + 0x464]
call fcn.1400138f7
mov qword [rbp + 0x518], rax
mov rdx, qword [rbp + 0x4b8]
mov rcx, qword [rbp + 0x560]
call fcn.140013203
mov qword [rbp + 0x520], rax
mov rdx, qword [rbp + 0x508]
mov rcx, qword [rbp + 0x560]
call fcn.140013019
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x518]
mov r9, rax
mov r8, qword [rbp + 0x520]
mov rdx, qword [rbp + 0x528]
lea rcx, [rbp + 0x2a8]
call fcn.1400134ec
lea rcx, [rbp + 0x2a8]
call fcn.140013591
mov rdx, rax
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14002e915
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x2a8]
call fcn.140013e8d
jmp 0x14002e84c
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140013dfc
mov eax, edi
mov rcx, qword [rbp + 0x530]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x548]
pop rdi
pop rbp
ret
Function at 0x2fc56c850
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc56d252
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc58f108]
test eax, eax
je 0x2fc56d2ea
lea rax, [0x2fc58f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc58f110]
mov qword [rbp - 8], rax
jmp 0x2fc56d2ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc56d2c2
cmp qword [rbp - 0x10], 0
je 0x2fc56d2c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc56d288
lea rax, [0x2fc58f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc56d2eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc56d3f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc56d418
mov eax, 0
jmp 0x2fc56d466
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc56d441
mov eax, 0
jmp 0x2fc56d466
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc56d461
mov eax, 0
jmp 0x2fc56d466
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc56d46c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc56d4ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc56d4e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc56d4e1
mov rax, qword [rbp - 8]
jmp 0x2fc56d4ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc56d4b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp [rcx + r15 + 0x44]
or edi, edi
and cl, byte [rdx]
ud0
push rbx
invalid
jns 0x14003f6fe
pop rax
invalid
pop rax
invalid
inc qword [rdx + r8*2 + 0x407dff42]
cmp al, 0xff
jp 0x14003f736
cmp bh, bh
jp 0x14003f738
cmp bh, bh
jns 0x14003f73c
xor eax, 0x353f7aff
invalid
jnp 0x14003f74c
xor al, 0xff
jg 0x14003f750
invalid
invalid
call qword [r11 - 0x6b00bfba]
xchg ebx, eax
call qword [rdi + rax*2 + 0x4b99ff3f]
call [rsi - 0x5900bab3]
push rcx
ljmp [r15 - 0x4600aca8]
xchg esp, eax
invalid
scasd eax, dword [rdi]
pop rax
push rbx
invalid
mov ecx, 0xbfff5a5f
invalid