joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e310
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ebp, eax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add eax, eax
jne 0x14003e377
mov edx, ebx
lea rcx, [0x141587cb8]
call fcn.14001b2c0
lea r11, [0x1415d9378]
mov qword [rdi], r11
lock inc dword [0x1415d9378]
jmp 0x14003e455
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14000cb80
nop
mov rdx, qword [rsp + 0x68]
mov esi, dword [rdx + 8]
mov eax, dword [rdx]
cmp eax, 1
jne 0x14003e3a5
mov rcx, qword [rsp + 0x68]
lea r8, [rcx + 0x18]
cmp qword [rcx + 0x10], r8
je 0x14003e3b7
mov edx, dword [rdx + 8]
lea rcx, [rsp + 0x68]
call fcn.14000cc90
mov rcx, qword [rsp + 0x68]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov r8, qword [rcx + 0x10]
mov edx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14003e3fc
mov edx, ebx
lea rcx, [0x141587cb8]
call fcn.14001b2c0
lea r11, [0x1415d9378]
mov qword [rdi], r11
lock inc dword [0x1415d9378]
mov dword [rsp + 0x60], 1
jmp 0x14003e441
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x68]
cmp ecx, 1
jne 0x14003e417
lea rcx, [rax + 0x18]
cmp qword [rax + 0x10], rcx
je 0x14003e429
mov edx, dword [rax + 8]
lea rcx, [rsp + 0x68]
call fcn.14000cc90
mov rax, qword [rsp + 0x68]
or r8d, 0xffffffff
mov rdx, qword [rax + 0x10]
mov rcx, rdi
call fcn.140016c40
mov dword [rsp + 0x60], 1
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
jne 0x14003e455
mov rcx, qword [rsp + 0x68]
call fcn.14000c4e0
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003e720
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r9d, 2
lea r8, [rsp + 0x40]
lea edx, [r9 + 0xb]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14003e7b2
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140016c40
nop
lea rax, [0x141587da8]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.1400115c0
test al, al
je 0x14003e79e
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x14003e797
mov rcx, qword [rsp + 0x48]
call fcn.140012a00
mov eax, 1
jmp 0x14003e7b4
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x14003e7b2
mov rcx, qword [rsp + 0x48]
call fcn.140012a00
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14003e7c0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r9d, 0xf
lea r8, [rsp + 0x28]
mov ecx, eax
lea edx, [r9 + 0x19]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14003e814
lea rdx, [rsp + 0x28]
or r8d, 0xffffffff
mov rcx, rbx
call fcn.140016c40
jmp 0x14003e825
lea rax, [0x1415d9378]
mov qword [rbx], rax
lock inc dword [0x1415d9378]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400af490
add rsp, 0x50
pop rbx
ret

Function at 0x14003e840
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r9d, 0xf
lea r8, [rsp + 0x28]
mov ecx, eax
lea edx, [r9 + 0x1a]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14003e894
lea rdx, [rsp + 0x28]
or r8d, 0xffffffff
mov rcx, rbx
call fcn.140016c40
jmp 0x14003e8a5
lea rax, [0x1415d9378]
mov qword [rbx], rax
lock inc dword [0x1415d9378]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400af490
add rsp, 0x50
pop rbx
ret

Function at 0x14003e8c0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, edx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x1415d9378]
mov qword [rdi], rcx
lock inc dword [0x1415d9378]
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x40]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14003e967
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140016c40
nop
mov rdx, rax
mov rcx, rdi
call fcn.140012be0
nop
mov rcx, qword [rsp + 0x28]
lock dec dword [rcx]
jne 0x14003e967
mov rcx, qword [rsp + 0x28]
call fcn.140012a00
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400af490
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x140041680
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x1415d9378]
mov qword [rsp + 0x28], rax
lock inc dword [0x1415d9378]
mov qword [rsp + 0x30], rax
lock inc dword [0x1415d9378]
mov r9d, 0xff
lea r8, [rbp - 0x80]
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or ebx, 0xffffffff
test eax, eax
je 0x140041738
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140012be0
nop
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x140041738
mov rcx, qword [rsp + 0x48]
call fcn.140012a00
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x1400417de
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140012020
nop
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.14003c5e0
mov r11, rax
cmp byte [rsp + 0x20], 0
je 0x1400417ca
mov rax, qword [rsp + 0x60]
cmp byte [rax], 0
jne 0x1400417ca
cmp r11d, 0x814
jne 0x1400417ca
mov r8d, ebx
lea rdx, [0x141587ef8]
lea rcx, [rsp + 0x50]
call fcn.140014670
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140012be0
nop
mov rax, qword [rsp + 0x50]
lock dec dword [rax]
jne 0x1400417ca
mov rcx, qword [rsp + 0x50]
call fcn.140012a00
nop
mov rax, qword [rsp + 0x40]
lock dec dword [rax]
jne 0x1400417de
mov rcx, qword [rsp + 0x40]
call fcn.14000c4e0
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
je 0x140041816
mov qword [rdi], rax
lock inc dword [rax]
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x14004180c
mov rcx, qword [rsp + 0x30]
call fcn.140012a00
nop
mov rcx, qword [rsp + 0x28]
lock dec dword [rcx]
jmp 0x140041895
mov r9d, 0xff
lea r8, [rbp - 0x80]
mov edx, 0x59
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140041865
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140012be0
nop
mov rax, qword [rsp + 0x58]
lock dec dword [rax]
jne 0x140041865
mov rcx, qword [rsp + 0x58]
call fcn.140012a00
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
lock inc dword [rax]
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x14004188d
mov rcx, qword [rsp + 0x30]
call fcn.140012a00
nop
mov rax, qword [rsp + 0x28]
lock dec dword [rax]
jne 0x1400418a1
mov rcx, qword [rsp + 0x28]
call fcn.140012a00
mov rax, rdi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400af490
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400552d0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x18]
mov rax, qword [rcx + 0x38]
test rax, rax
jne 0x1400553ca
cmp dword [rcx + 0x60], 0xffffffff
jne 0x1400553c5
cmp qword [rcx + 0x40], 0xffffffffffffffff
je 0x140055417
mov edi, r8d
mov dword [r11 + 8], r8d
xor r14d, r14d
mov ebx, r14d
lea r15, [0x14158dc48]
lea rax, [rsp + 0x90]
cmp edi, 0x2000000
cmovae rax, r15
lea rdx, [rbx + r12]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xa8]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140055384
mov ecx, dword [rsp + 0xa8]
test ecx, ecx
je 0x1400553c0
add rbx, rcx
sub edi, ecx
mov dword [rsp + 0x90], edi
cmp rbx, rbp
jge 0x1400553c0
jmp 0x140055332
test rbx, rbx
jne 0x1400553c0
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14001ad90
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r13
call fcn.140065a50
nop
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x1400553ba
mov rcx, qword [rsp + 0x30]
call fcn.140012a00
or rax, 0xffffffffffffffff
jmp 0x14005542b
mov rax, rbx
jmp 0x14005542b
test rax, rax
je 0x14005541d
call fcn.1400549b0
test al, al
je 0x14005541d
mov rcx, qword [rsi + 0x38]
call fcn.1400b2d3c
test eax, eax
je 0x14005541d
call fcn.1400b2ba0
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14001ad90
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.140065a50
nop
mov rcx, qword [rsp + 0x38]
lock dec dword [rcx]
jne 0x140055417
mov rcx, qword [rsp + 0x38]
call fcn.140012a00
or rax, 0xffffffffffffffff
jmp 0x14005542b
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call fcn.140067960
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x64], 1
je 0x140067f2c
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x64], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400552d0
Function at 0x140055450
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x18]
cmp qword [rcx + 0x38], 0
jne 0x140055544
cmp dword [rcx + 0x60], 0xffffffff
jne 0x140055544
cmp qword [rcx + 0x40], 0xffffffffffffffff
je 0x140055539
mov edi, r8d
xor r14d, r14d
mov ebx, r14d
lea r15, [0x14158dc48]
nop
mov dword [rsp + 0x80], edi
lea rax, [rsp + 0x80]
cmp edi, 0x2000000
cmovae rax, r15
lea rdx, [rbx + r12]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x98]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140055503
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14005553f
add rbx, rax
sub rdi, rax
cmp rbx, rbp
jge 0x14005553f
jmp 0x1400554b0
test rbx, rbx
jne 0x14005553f
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14001ad90
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.140065a50
nop
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x140055539
mov rcx, qword [rsp + 0x30]
call fcn.140012a00
or rax, 0xffffffffffffffff
jmp 0x140055549
mov rax, rbx
jmp 0x140055549
call fcn.140067c40
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x64], 2
je 0x140067fcc
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x64], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140055450
Function at 0x140055840
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x500], rbx
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x1415d9378]
mov qword [rcx], rax
lock inc dword [0x1415d9378]
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1415aafa8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1415aafc8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x1400558f7
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea r11, [rsp + 0x30]
mov qword [rsp + 0x20], r11
lea r9, [0x1415aafa8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1415aafc8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400559b6
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1415aafb8]
call qword [rax]
test eax, eax
js 0x1400559ab
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
mov rcx, rbp
call fcn.140012e50
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
test eax, eax
js 0x1400559a0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x60]
mov r8d, 0x104
lea rdx, [rsp + 0x2b0]
call qword [rax + 0x18]
test eax, eax
jne 0x1400559a0
or r8d, 0xffffffff
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x48]
call fcn.140016c40
nop
mov rdx, rax
mov rcx, rdi
call fcn.140012be0
nop
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x1400559a0
mov rcx, qword [rsp + 0x48]
call fcn.140012a00
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test sil, sil
je 0x1400559c1
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1400af490
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140055c30
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [0x1415ddca8], 0
jne 0x140055e73
lea rcx, [0x1415ddca8]
call fcn.1400803e0
mov rbx, rax
xor ebp, ebp
test rax, rax
je 0x140055c96
mov rcx, rax
call fcn.140069b60
or rbx, 1
jmp 0x140055c99
mov rbx, rbp
mov qword [rsp + 0x78], rbx
cmp byte [0x1415ddca8], 0
je 0x140055cac
jmp 0x140055e62
mov byte [0x1415ddca8], 1
mov dl, 1
lea rcx, [0x14158ddd8]
call fcn.14008dd80
mov rdi, rax
test rax, rax
je 0x140055d25
lea rdx, [0x14158ddc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1415ddc70], rax
lea rdx, [0x14158dda8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1415ddc78], rax
lea rdx, [0x14158dd90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1415ddc80], rax
lea rdx, [0x14158dd70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1415ddc88], rax
cmp qword [0x1415ddc80], 0
je 0x140055e38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x60], rbp
lea r8, [rsp + 0x60]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140055d9d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rsp + 0x68]
lea edx, [r9 - 0xf]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140055d92
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1415ddc48]
call qword [0x1415ddc80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x14158dd50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x14158dd48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rsi, rsi
je 0x140055e38
test rax, rax
je 0x140055e38
mov dword [rsp + 0x88], 0
mov word [rsp + 0x8c], pe_nt_image_headers64
mov qword [rsp + 0x68], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x88]
call rsi
test eax, eax
je 0x140055e31
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1415ddc28]
call qword [0x1415ddc80]
mov rcx, qword [rsp + 0x68]
call rdi
mov dl, 1
lea rcx, [0x14158dd38]
call fcn.14008dd80
test rax, rax
je 0x140055e62
lea rdx, [0x14158dd18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1415ddc90], rax
test bl, 1
je 0x140055e73
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140069af0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400af490
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140056420
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rcx
mov rdx, qword [rcx + 8]
add rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140056170
nop
mov rcx, rax
call fcn.140012e50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x40]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x140056481
mov rcx, qword [rsp + 0x40]
call fcn.140012a00
test bl, bl
jne 0x1400564b7
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.14001ad90
nop
mov r8, rax
mov edx, 9
mov rcx, rsi
call fcn.140065a50
nop
mov rcx, qword [rsp + 0x48]
lock dec dword [rcx]
jne 0x1400564b7
mov rcx, qword [rsp + 0x48]
call fcn.140012a00
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400564d0
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rcx
mov rbx, qword [rcx + 8]
lea rcx, [rsp + 0x60]
call fcn.140056170
mov rsi, rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140056170
mov rdi, rax
mov rcx, rsi
call fcn.140012e50
mov rbx, rax
mov rcx, rdi
call fcn.140012e50
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x50]
or ebx, 0xffffffff
lock dec dword [rcx]
jne 0x14005654e
mov rcx, qword [rsp + 0x50]
call fcn.140012a00
nop
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
jne 0x140056562
mov rcx, qword [rsp + 0x60]
call fcn.140012a00
test dil, dil
jne 0x140056599
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.14001ad90
nop
mov r8, rax
mov edx, 0xe
mov rcx, rbp
call fcn.140065a50
nop
mov rcx, qword [rsp + 0x68]
lock dec dword [rcx]
jne 0x140056599
mov rcx, qword [rsp + 0x68]
call fcn.140012a00
movzx eax, dil
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400565b0
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rcx
mov rbx, qword [rcx + 8]
lea rcx, [rsp + 0x60]
call fcn.140056170
mov rsi, rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140056170
mov rdi, rax
mov rcx, rsi
call fcn.140012e50
mov rbx, rax
mov rcx, rdi
call fcn.140012e50
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x50]
or ebx, 0xffffffff
lock dec dword [rcx]
jne 0x140056628
mov rcx, qword [rsp + 0x50]
call fcn.140012a00
nop
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
jne 0x14005663c
mov rcx, qword [rsp + 0x60]
call fcn.140012a00
test dil, dil
jne 0x140056673
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.14001ad90
nop
mov r8, rax
mov edx, 0xa
mov rcx, rbp
call fcn.140065a50
nop
mov rcx, qword [rsp + 0x68]
lock dec dword [rcx]
jne 0x140056673
mov rcx, qword [rsp + 0x68]
call fcn.140012a00
movzx eax, dil
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140056690
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1415dbbb0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r12, rdx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov esi, 0x5c
cmp dword [rax + 8], 2
jne 0x140056748
mov rcx, qword [rax + 0x10]
cmp word [rcx + 2], 0x3a
jne 0x140056748
mov ecx, dword [rax]
cmp ecx, 1
jne 0x140056706
mov edx, dword [rax + 8]
inc edx
mov rcx, qword [rsp + 0x20]
cmp edx, dword [rcx + 4]
jle 0x140056721
mov ecx, dword [rax + 8]
inc ecx
call fcn.14000fc50
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140012a40
mov rcx, qword [rsp + 0x20]
movsxd rdx, dword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov word [rax + rdx*2], si
mov rax, qword [rsp + 0x20]
inc dword [rax + 8]
mov rax, qword [rsp + 0x20]
movsxd rdx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
xor eax, eax
mov word [rcx + rdx*2], ax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140056170
nop
mov rcx, rax
call fcn.140012e50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rsp + 0x30]
lock dec dword [rdx]
jne 0x14005677f
mov rcx, qword [rsp + 0x30]
call fcn.140012a00
cmp ebx, 0xffffffff
jne 0x14005685e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14005679c
cmp eax, 0x20
jne 0x14005685e
mov word [rsp + 0x28], si
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140010990
test al, al
je 0x1400567ed
nop word [rax + rax]
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140014b50
mov word [rsp + 0x28], si
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140010990
test al, al
jne 0x1400567c0
mov eax, 0x3a
mov word [rsp + 0x2a], ax
lea r8d, [rax - 0x39]
lea rdx, [rsp + 0x2a]
lea rcx, [rsp + 0x20]
call fcn.140010990
test al, al
jne 0x14005685e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140056170
nop
mov rcx, rax
call fcn.140012e50
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rcx, qword [rsp + 0x38]
lock dec dword [rcx]
jne 0x14005684b
mov rcx, qword [rsp + 0x38]
call fcn.140012a00
cmp rsi, 0xffffffffffffffff
je 0x14005685e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [rsp + 0x50]
test r12, r12
je 0x14005686d
cmp ebx, 0xffffffff
setne al
mov byte [r12], al
cmp ebx, 0xffffffff
jne 0x14005688a
mov rax, qword [rsp + 0x20]
lock dec dword [rax]
jne 0x140056886
mov rcx, qword [rsp + 0x20]
call fcn.140012a00
xor al, al
jmp 0x1400568a7
shr ebx, 4
and bl, 1
mov rax, qword [rsp + 0x20]
lock dec dword [rax]
jne 0x1400568a4
mov rcx, qword [rsp + 0x20]
call fcn.140012a00
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400af490
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret