joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019938
Capabilities:
Send file using ftp

Disassembly:
jmp 0x1400212a0
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 + 0x30]
lea rcx, [0x140070127]
call fcn.14001a5d1
mov rcx, qword [rbp + 0x120]
call fcn.140019235
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x118]
call fcn.140019235
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x110]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0xe8], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.WININET.dll_FtpPutFileA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140021340
mov byte [rbp + 0xd4], 1
jmp 0x140021347
mov byte [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140019c76
Capabilities:
Terminate process

Disassembly:
jmp 0x140048740
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 0x140019e56
Capabilities:
Get geographical location

Disassembly:
jmp 0x140042900
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 0x14004293d
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.14001a5ae
add rsp, 0x58
ret

Function at 0x140019f41
Capabilities:
Parse pe header

Disassembly:
jmp 0x140049270
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140049290
xor al, al
jmp 0x140049311
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400492a3
xor al, al
jmp 0x140049311
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 0x1400492cd
xor al, al
jmp 0x140049311
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400492e1
xor al, al
jmp 0x140049311
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400492f3
xor al, al
jmp 0x140049311
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14004930f
xor al, al
jmp 0x140049311
mov al, 1
add rsp, 0x38
ret
Function at 0x14001a293
Capabilities:
Create directory

Disassembly:
jmp 0x140043fc0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140043ffd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140044072
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140044060
mov edx, 1
mov ecx, 2
call fcn.1400190c3
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140019659
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140044060
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.1400192bc
movzx eax, al
test eax, eax
jne 0x140044060
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140019a96
add rsp, 0x68
ret
Function at 0x14001a428
Capabilities:
Connect to http server
Create http request

Disassembly:
jmp 0x140020bc0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x40]
lea rcx, [0x140070127]
call fcn.14001a5d1
mov rax, qword [rbp + 0x100]
mov rcx, rax
call fcn.140019235
mov dword [rsp + 0x20], 0x10000
xor r9d, r9d
mov r8, rax
mov edx, 1
lea rcx, str.SystemConnection
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rcx, qword [rbp + 0x100]
mov qword [rcx + 0x78], rax
mov rax, qword [rbp + 0x100]
add rax, 0x50
mov rcx, rax
call fcn.140019235
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x100]
add rax, 0x28
mov rcx, rax
call fcn.140019235
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x100]
mov rcx, rax
call fcn.140019235
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x78]
mov qword [rbp + 0xd8], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xc8]
mov r8w, 0x15
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rcx, qword [rbp + 0x100]
mov qword [rcx + 0x80], rax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001a572
Capabilities:
Write file on windows

Disassembly:
jmp 0x14003c440
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 [0x140063040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140070522]
call fcn.14001a5d1
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14003c4a6
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003c4ad
mov al, 1
jmp 0x14003c61d
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140019613
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.140019613
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14001a13a
movzx eax, al
test eax, eax
je 0x14003c510
xor al, al
jmp 0x14003c61d
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 0x14003c583
cmp dword [rbp + 0x160], 1
je 0x14003c58e
cmp dword [rbp + 0x160], 3
je 0x14003c60c
jmp 0x14003c61b
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 0x14003c5de
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 0x14003c5de
xor al, al
jmp 0x14003c61d
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003c5f9
mov dword [rbp + 0x154], 1
jmp 0x14003c603
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14003c61d
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14003c61d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140057d60]
call fcn.14001a207
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140019a96
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140002600
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000265b
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140002664
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14000264b
mov qword [rsi], rdi
call fcn.140036f80
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.14003c6a0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140036f80
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.14003c6e0
mov rcx, qword [rsi]
call fcn.14003c670
mov qword [rsi], 0
jmp 0x140002626
Function at 0x14000f3a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x38]
lea r12, [rsp + 0x28]
lea r15, [rsp + 0x30]
mov ebp, 0xffffffff
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x28]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1400ef768
cmp rax, rbx
jne 0x14000f427
cmp edi, 1
je 0x14000f3d4
cmp edi, 2
je 0x14000f427
mov rcx, qword [rsi + 0x40]
call fcn.1400ef0ec
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, ebp
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14000f450
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14000f485
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ef768
xor ebx, ebx
test rsi, rsi
jle 0x14000f4aa
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x14000f4aa
inc rbx
cmp rsi, rbx
jne 0x14000f48c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14000f4c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp edx, 0xffffffff
je 0x14000f51d
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x14000f52c
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.1400ef768
mov esi, 0xffffffff
cmp rax, 1
jne 0x14000f5dc
xor esi, esi
cmp r15d, 0xffffffff
cmovne esi, r15d
jmp 0x14000f5dc
lea rbx, [rsp + 0x58]
lea r12, [rsp + 0x48]
mov qword [r12], rbx
lea rsi, [rsp + 0x57]
lea r13, [rsp + 0x60]
lea r14, [rsp + 0x40]
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14000f5d7
mov ebp, eax
cmp eax, 3
je 0x14000f5b6
cmp ebp, 1
ja 0x14000f5d7
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400ef768
cmp rax, rsi
jne 0x14000f5d7
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14000f549
jmp 0x14000f51d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400ef768
cmp rax, 1
je 0x14000f51d
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000f640
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14000f675
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ef768
xor ebx, ebx
test rsi, rsi
jle 0x14000f69b
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x14000f69b
inc rbx
cmp rsi, rbx
jne 0x14000f67c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14000f6b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov esi, edx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dx, 0xffff
je 0x14000f70c
mov rdi, rcx
mov word [rsp + 0x56], si
cmp byte [rcx + 0x58], 0
je 0x14000f71c
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1400ef768
mov di, 0xffff
cmp rax, 1
jne 0x14000f7cb
xor eax, eax
cmp si, 0xffff
cmove esi, eax
mov edi, esi
jmp 0x14000f7cb
lea r15, [rsp + 0x58]
lea r12, [rsp + 0x48]
mov qword [r12], r15
lea rbx, [rsp + 0x56]
lea r13, [rsp + 0x60]
lea r14, [rsp + 0x40]
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r8, rbx
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rbx
je 0x14000f7c7
mov ebp, eax
cmp eax, 3
je 0x14000f7a6
cmp ebp, 1
ja 0x14000f7c7
mov rbx, qword [rsp + 0x48]
sub rbx, r15
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1400ef768
cmp rax, rbx
jne 0x14000f7c7
mov rbx, qword [rsp + 0x40]
cmp ebp, 1
je 0x14000f739
jmp 0x14000f70c
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rbx
call fcn.1400ef768
cmp rax, 1
je 0x14000f70c
mov di, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140031d20
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140138b68], 0
jne 0x140031de5
mov ecx, 0x38
call fcn.1400d8b20
mov rsi, rax
mov ecx, 0x18
call fcn.1400d8b20
mov qword [rsi], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rsi + 8], rcx
lea rax, [rsi + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x30], 1
mov qword [0x140138b68], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140031de9
cmp word [rax], 0
je 0x140031de9
xor ecx, ecx
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140031db0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rcx
mov rcx, rsi
call fcn.140031df0
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0x40
pop rsi
ret
xor esi, esi
jmp 0x140031dd0
xor ecx, ecx
jmp 0x140031dbc
Function at 0x140031df0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 3
call fcn.140040fc0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140031f60
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rax
test rax, rax
je 0x140031f83
lea rdx, [0x1401098fe]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140031f96
mov rsi, rax
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call rax
mov r13, rax
movsxd rdi, dword [rsp + 0x3c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
test rdi, rdi
je 0x140031efe
test edi, edi
js 0x140031f9e
shl rdi, 3
lea r12, [rdi + rdi*2]
mov rcx, r12
call fcn.1400d8b20
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
add rax, r12
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov rdx, qword [r13 + rbx]
mov rcx, rsi
call fcn.140002860
add rsi, 0x18
add rbx, 8
cmp rdi, rbx
jne 0x140031edf
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140031b10
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x140031f22
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140031f60
mov rax, qword [rsp + 0x28]
cmp rax, rsi
je 0x140031f7e
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x140031f49
mov rcx, qword [rax - 0x18]
call fcn.1400d8b70
mov rax, rdi
cmp rsi, rdi
jne 0x140031f36
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call fcn.1400d8b70
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d8ee0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
jmp 0x140031f56
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140031e92
xor r13d, r13d
jmp 0x140031e95
lea rcx, [rsp + 0x20]
call fcn.1400306a0
int3
Function at 0x140036f90
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.140031fb0
mov rdi, rax
lea rbx, [0x14010c261]
mov rcx, rax
mov rdx, rbx
call fcn.1400323e0
test al, al
jne 0x14003700f
lea rdx, str.vmodule
mov rcx, rdi
call fcn.1400323e0
test al, al
jne 0x14003700f
mov eax, dword [rsi]
mov dword [0x140135338], eax
mov bl, 1
test al, 1
jne 0x1400370d0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [0x140138b78], 0
jne 0x140037165
mov rax, qword [0x140138b80]
mov qword [0x140138b78], rax
mov ecx, 0x20
call fcn.1400d8b20
mov r14, rax
lea rcx, str.vmodule
lea r15, [rsp + 0x48]
mov qword [r15], rcx
call fcn.1400f1060
mov qword [r15 + 8], rax
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.1400324e0
lea r15, [rsp + 0x20]
mov qword [r15], rbx
mov rcx, rbx
call fcn.1400f1060
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.1400324e0
lea r9, [0x140138b88]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.140043820
mov qword [0x140138b80], r14
cmp byte [rbx + 0x17], 0
jns 0x1400370b6
mov rcx, qword [rsp + 0x30]
call fcn.1400d8b70
cmp byte [rsp + 0x6f], 0
jns 0x140036fe0
mov rcx, qword [rsp + 0x58]
call fcn.1400d8b70
jmp 0x140036fe0
mov rcx, qword [0x140138bb0]
test rcx, rcx
je 0x140037114
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140138bb0], 0
mov rcx, qword [0x140138b90]
test rcx, rcx
je 0x14003713a
mov rdx, qword [rsi + 8]
call fcn.14002fb50
cmp dword [rsi + 0x14], 0
je 0x140037122
call fcn.140037170
mov ebx, eax
jmp 0x140036ff2
mov rcx, qword [0x140138b90]
test rcx, rcx
jne 0x1400370f9
jmp 0x140037141
mov rcx, qword [0x140138b90]
cmp byte [rcx + 0x17], 0
jns 0x140037132
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140037108
and byte [0x140135338], 0xfe
mov ecx, 0x18
call fcn.1400d8b20
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140138b90], rax
jmp 0x1400370f9
int3
Function at 0x140037170
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14b, 1
cmp qword [0x140138bb0], 0
jne 0x1400373d6
mov rdi, qword [0x140138b90]
test rdi, rdi
jne 0x1400372a6
movabs r15, 0x7fffffffffffffef
mov ecx, 0x18
call fcn.1400d8b20
mov rdi, rax
lea rsi, [rsp + 0x40]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rsi
call fcn.1400f17f8
cmp rax, r15
ja 0x1400373f9
mov rbx, rax
cmp rax, 0xb
jae 0x140037214
mov byte [rdi + 0x17], bl
mov rsi, rdi
test rbx, rbx
jne 0x140037242
jmp 0x140037255
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
js 0x140037401
mov rcx, rbp
add rcx, rbp
call fcn.1400d8b20
mov rsi, rax
mov qword [rdi], rax
add r15, 0x11
or r15, rbp
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400dbd80
mov word [rsi + rbx*2], 0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140037269
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.14002fe40
cmp rax, 0xffffffffffffffff
je 0x140037290
inc rax
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.14002fd50
lea rdx, [0x1401099ec]
mov rcx, rdi
call fcn.14002f8d0
mov qword [0x140138b90], rdi
test byte [0x140135338], 1
je 0x1400373d6
cmp byte [rdi + 0x17], 0
jns 0x1400372bc
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140138bb0], rax
inc rax
cmp rax, 1
ja 0x1400373d6
lea rdx, [rsp + 0x40]
mov word [rdx], 0
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400373d3
cmp eax, 0x104
ja 0x1400373d3
mov rcx, qword [0x140138b90]
lea rdx, [rsp + 0x40]
call fcn.14002fb50
mov rcx, qword [0x140138b90]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x14003734d
mov rdx, rcx
jmp 0x140037354
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14003736f
lea rdx, [0x1401099e8]
call fcn.14002f8d0
mov rcx, qword [0x140138b90]
lea rdx, [0x1401099ec]
call fcn.14002f8d0
mov rcx, qword [0x140138b90]
cmp byte [rcx + 0x17], 0
jns 0x14003738b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140138bb0], rax
inc rax
cmp rax, 1
ja 0x1400373d6
mov qword [0x140138bb0], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, r14d
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.14002e310
call fcn.1400eb008
int3