joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402c50d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1402c51f4
cmp r8d, 0xff
jne 0x1402c5131
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1402c511b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x3c7d80]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400fa773
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400fa773
cmp r8d, 0xfb
jne 0x1402c5143
lea r9, str.WILL
jmp 0x1402c5181
cmp r8d, 0xfc
jne 0x1402c5155
lea r9, str.WONT
jmp 0x1402c5181
cmp r8d, 0xfd
jne 0x1402c5167
lea r9, [0x1403c8838]
jmp 0x1402c5181
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1402c51dd
cmp r10d, 0x27
jg 0x1402c51b4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x3c83a0]
test r8, r8
jne 0x1402c51c4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400fa773
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1402c519b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400fa773
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400fa773
add rsp, 0x38
ret

Function at 0x1402c5af0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1402c5b4f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400fb150
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1402c50d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1402c5d80
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1402c5f28
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1402c5de5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1402c5de5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1402c5de5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1402c5e1c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1402c5e72
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1402c5e72
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1402c5e72
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1402c5e72
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1402c5e72
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1402c5250
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1402c5ed4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400fb150
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1402c5ba0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1402c5f20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400fb150
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1402c8140
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1403f3cc0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1402c81d5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call fcn.1400f8d74
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1402c8236
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400fb150
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f8d4c
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1402c82f1
sub ecx, 1
je 0x1402c8364
sub ecx, 1
je 0x1402c82a0
cmp ecx, 1
je 0x1402c8283
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140308bb4]
call fcn.1400fb150
jmp 0x1402c8364
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1402c7d50
test eax, eax
je 0x1402c8364
jmp 0x1402c820a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call fcn.1400f98aa
test rax, rax
je 0x1402c8364
sub rax, rsi
cmp rax, rbp
jae 0x1402c8364
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400fa773
jmp 0x1402c8364
cmp r8d, 4
jle 0x1402c8364
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1402c8364
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400f8fa9
mov esi, eax
test eax, eax
je 0x1402c8343
mov edx, 5
mov rcx, rbx
call fcn.1402c9150
mov eax, esi
jmp 0x1402c820a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f9a8a
mov rcx, r14
call fcn.1400fa6f6
test eax, eax
je 0x1402c8208
mov edx, 5
mov rcx, rbx
call fcn.1402c9150
mov eax, Ordinal_45
jmp 0x1402c820a
Function at 0x1402e0b40
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1403f3cc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov dword [rbp - 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1402e0c77
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi]
movzx eax, dl
movzx r8d, byte [rdi + 5]
shr al, 1
mov byte [rbp - 0x1c], cl
shl cl, 7
or al, cl
shl dl, 6
movzx ecx, byte [rdi + 2]
mov byte [rbp - 0x1b], al
movzx eax, cl
shr al, 2
or al, dl
shl cl, 5
movzx edx, byte [rdi + 3]
mov byte [rbp - 0x1a], al
movzx eax, dl
shr al, 3
or al, cl
shl dl, 4
movzx ecx, byte [rdi + 4]
mov byte [rbp - 0x19], al
movzx eax, cl
shr al, 4
or al, dl
shl cl, 3
mov byte [rbp - 0x18], al
movzx eax, r8b
shr al, 5
or al, cl
shl r8b, 2
movzx ecx, byte [rdi + 6]
mov byte [rbp - 0x17], al
movzx eax, cl
add cl, cl
shr al, 6
or al, r8b
mov byte [rbp - 0x15], cl
mov qword [rsp + 0xa0], r14
lea rcx, [rbp - 0x1c]
xor r14d, r14d
mov byte [rbp - 0x16], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x6601
mov dword [rbp - 0x20], 8
lea edx, [r14 + 8]
call fcn.1400f9e68
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r8d, [r14 + 0x14]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov r14, qword [rsp + 0xa0]
test eax, eax
jne 0x1402e0c7b
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1402e0cc0
mov rax, qword [rsi]
xor r9d, r9d
mov rcx, qword [rbp - 0x30]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f8d4c
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x180008ec0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.18010bfb0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180008f3e
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x180008f1e
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.18010eb30
mov rcx, rdi
test eax, eax
je 0x180008f6a
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180008f11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x180008f49
Function at 0x180011d10
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x850
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x180011d61
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rsi, rax
mov rbp, qword [rdi + 0x18]
test rax, rax
jne 0x180011d7f
mov rsi, rdi
cmp rbp, 8
jb 0x180011d7f
mov rsi, qword [rdi]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call fcn.18010bfb0
mov r9, qword [rdi + 0x10]
cmp rbp, 8
jb 0x180011d9e
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x3ff
lea rcx, [rsp + 0x40]
call fcn.18010e9bc
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.MxStart.exe
mov rcx, rsi
call fcn.18010eb30
test eax, eax
jne 0x180011e2c
lea rdx, str.Maxthon.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011ef5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011e10
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800049a0
jmp 0x180011f18
lea rdx, str.TSBrowserLauncher.exe
mov rcx, rsi
call fcn.18010eb30
test eax, eax
jne 0x180011e94
lea rdx, str.TSBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011ef5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011e80
lea rdx, [rsp + 0x40]
jmp 0x180011f0f
lea rdx, str.DCBrowserLauncher.exe
mov rcx, rsi
call fcn.18010eb30
test eax, eax
jne 0x180011ef5
lea rdx, str.DCBrowser.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011ef5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x180011ee4
lea rdx, [rsp + 0x40]
jmp 0x180011f0f
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
xor r8d, r8d
lea rdx, [0x180160958]
mov rcx, rbx
call fcn.1800049a0
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800157b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
test rcx, rcx
je 0x180015960
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x180015960
lea r14, [rsi + rcx]
cmp dword [r14], 0
je 0x180015960
lea r12, [0x180163028]
movabs r13, 0x8000000000000000
xor r15d, r15d
nop dword [rax + rax]
mov ebx, dword [r14 + 0xc]
add rbx, rsi
lea rcx, [0x180162fe0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [0x180162fe0]
mov rcx, rbx
call fcn.1801218e0
test eax, eax
jne 0x180015952
mov edi, dword [r14]
add rdi, rsi
mov rax, qword [rdi]
test rax, rax
je 0x180015952
js 0x180015942
cmp r12, r13
jae 0x180015942
lea rbx, [rsi + 2]
add rbx, rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1800158a5
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180012cf0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
mov rdx, r12
call fcn.180118f90
test eax, eax
jne 0x1800158f7
mov dword [rbp - 0x40], r15d
lea r9, [rbp - 0x40]
lea r8d, [rax + 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001598c
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180015932
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001592d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800159f4
call fcn.1800ece80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x180015870
add r14, 0x14
cmp dword [r14], 0
jne 0x180015830
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.kernel23
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.180111c18
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800159d7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800159d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800159ee
call fcn.1800ece80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov al, 1
jmp 0x180015962
call fcn.18010e944
int3
call fcn.18010e944
int3
Function at 0x1800170a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x4f0], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.18009c3f0
nop
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1801499a0]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x1801499d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180017250
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180017250
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1801499c0]
call qword [rax]
mov rcx, qword [rsp + 0x40]
test eax, eax
js 0x180017212
test rcx, rcx
je 0x180017212
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
js 0x18001720b
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
mov r8d, 0x3e80001
call qword [rax + 0x98]
mov ebx, eax
test eax, eax
js 0x18001720b
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x50]
call fcn.18010bfb0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1a0]
call fcn.18010bfb0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x18001720b
mov word [rbp + 0x3a8], si
lea rcx, [rbp + 0x1a0]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], si
jne 0x1800171f0
mov r8, rax
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call fcn.1800049a0
mov rcx, qword [rsp + 0x40]
jmp 0x180017219
mov rbx, 0xffffffffffffffff
test rcx, rcx
je 0x180017229
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001723e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x30]
call fcn.18009c510
test ebx, ebx
js 0x18001725a
xor eax, eax
jmp 0x18001725f
lea rcx, [rsp + 0x30]
call fcn.18009c510
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001ac10
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x470
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rdx
mov qword [rsp + 0x40], rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], 7
mov word [rdx], bx
mov dword [rsp + 0x20], 1
lea rax, str._programfiles_x86__Internet_Exploreriexplore.exe
mov qword [rsp + 0x28], rax
lea rax, str._programfiles_Internet_Exploreriexplore.exe
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x28]
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x50]
call fcn.18010bfb0
mov r8d, 0x208
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18001acc3
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x18001ac80
jmp 0x18001ace8
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18001acd0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800049a0
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18001c9c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x700], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
lea rcx, [rsp + 0x30]
call fcn.18009c3f0
nop
xor r15d, r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1801499a0]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1801499d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18001cbe8
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001cbe8
mov qword [rsp + 0x40], r15
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1801499c0]
call qword [rax]
mov edi, eax
test eax, eax
js 0x18001cbac
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18001cbc1
cmp qword [rbx + 0x18], 8
jb 0x18001ca87
mov rbx, qword [rbx]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov edi, eax
test eax, eax
js 0x18001cbac
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
mov r8d, 0x3e80001
call qword [rax + 0x98]
mov edi, eax
test eax, eax
js 0x18001cbac
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x50]
call fcn.18010bfb0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1a0]
call fcn.18010bfb0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x50]
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
call qword [rax + 0x18]
mov edi, eax
test eax, eax
js 0x18001cbac
mov word [rbp + 0x3a8], r15w
lea rax, [rbp + 0x1a0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x18001cb30
lea rdx, [rbp + 0x1a0]
mov rcx, r14
call fcn.1800049a0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x3b0]
call fcn.18010bfb0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x3b0]
call qword [rax + 0x50]
mov edi, eax
test eax, eax
js 0x18001cbac
mov word [rbp + 0x5b8], r15w
lea rax, [rbp + 0x3b0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x18001cb90
mov r8, rbx
lea rdx, [rbp + 0x3b0]
mov rcx, rsi
call fcn.1800049a0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18001cbc1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18001cbd6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x30]
call fcn.18009c510
test edi, edi
js 0x18001cbf2
xor eax, eax
jmp 0x18001cbf7
lea rcx, [rsp + 0x30]
call fcn.18009c510
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x700]
add rsp, 0x6d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret