joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180380570
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [case.0x18036dee0.0]
mov rdi, rax
test rax, rax
je 0x1803805ed
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x180380618
cmp ebx, esi
je 0x180380618
cmp ebx, 0x8000
ja 0x180380618
cmp ebx, esi
jb 0x180380613
mov edx, ebx
mov rcx, rdi
call qword [case.0x18036dee0.0]
mov rdi, rax
test rax, rax
jne 0x1803805b0
mov rcx, rbp
call qword [fcn.180328c78]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1803805f8
mov rcx, rdi
jmp 0x1803805f0

Function at 0x180383cc0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1803776c0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.180365370
mov rcx, rdi
mov rsi, rax
call fcn.180365370
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x180383d70
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1803776c0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.180377750
cmp rax, 0x3e8
ja 0x180383da1
mov ecx, 1
call qword [sym.imp.kernel32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x180383d20
test rsi, rsi
je 0x180383d7d
mov rcx, rsi
call fcn.180328c78
test rbx, rbx
je 0x180383d8a
mov rcx, rbx
call fcn.180328c78
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x180383dae
mov rcx, rsi
call fcn.180328c78
test rbx, rbx
je 0x180383dbb
mov rcx, rbx
call fcn.180328c78
mov eax, 1
jmp 0x180383d8c
Function at 0x18039da00
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x18039db8e
inc rsi
lea rdx, [0x1804b0418]
mov rcx, rsi
sub rdi, 2
call fcn.180331ce0
cmp rdi, rax
je 0x18039db04
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x18039db8e
xor ebp, ebp
lea rdx, [0x1804b9020]
lea rcx, [r14 + 1]
lea rbx, [r14 + 1]
lea r8d, [rbp + 2]
call fcn.1803283d0
test eax, eax
jne 0x18039da92
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x18039da92
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x18039db8e
mov rcx, rbp
cmp al, 0x5d
je 0x18039dabd
cmp rcx, 0xf
jge 0x18039dabd
inc rbx
mov byte [rsp + rcx + 0x20], al
inc ebp
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x18039daa0
test ebp, ebp
je 0x18039db8e
cmp byte [rbx], 0x5d
jne 0x18039db8e
movsxd rax, ebp
cmp rax, 0x10
jae 0x18039dbaf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x18036dee0.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x18039dafe
mov eax, 7
jmp 0x18039db93
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, 0x17
call qword [sym.imp.ws2_32.dll_inet_pton]
cmp eax, 1
jne 0x18039db8e
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.ws2_32.dll_inet_ntop
test rax, rax
je 0x18039db86
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x18039db47
cmp rdx, rdi
jae 0x18039db86
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x18039db70
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x18039db93
mov eax, 0x16
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1803149e4
int3
Function at 0x18039ebd0
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x18039ed6e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x18039ed4e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x18039ec3e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18039ec30
inc rbx
jmp 0x18039ec40
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x18039ec4d
lea ebp, [rax + 0xe]
jmp 0x18039ec59
cmp eax, 0x17
jne 0x18039ecf1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x18039ecf1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x18039ecf1
cmp rax, rbp
jb 0x18039ecf1
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.18033037c]
mov r14, rax
test rax, rax
je 0x18039ed00
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1803bbf20
test rbx, rbx
je 0x18039ecde
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1803bbf20
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x18039ecee
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x18039ec20
jmp 0x18039ed06
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x18039ed20
call qword [sym.imp.ws2_32.dll_FreeAddrInfoW]
test r12d, r12d
je 0x18039ed49
test rdi, rdi
je 0x18039ed45
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.180328c78]
mov rdi, rbx
test rbx, rbx
jne 0x18039ed30
xor edi, edi
jmp 0x18039ed5d
test rdi, rdi
jne 0x18039ed5d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.ws2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x1803bb740
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1803bb768
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1803bb768
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1803bbd04
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x1803bbd24
call qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
call fcn.1803288ac
or eax, 0xffffffff
jmp 0x1803bbd26
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000dba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140004430
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000ec60
nop
lea rax, [0x14000b420]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140001f50
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14000dc4d
lea rcx, [rsp + 0x40]
call fcn.1400257f0
nop
jmp 0x14000dc64
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140035290
nop
lea rcx, [rsp + 0x40]
call fcn.140012480
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x58
ret

Function at 0x140014f90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140014fe5
mov dword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400072e0
mov eax, dword [rsp + 0x28]
jmp 0x1400150be
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14001502a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400072e0
mov eax, dword [rsp + 0x2c]
jmp 0x1400150be
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0x6c]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x2a0]
call fcn.1400077b0
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140015086
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x2a0]
call fcn.1400072e0
mov eax, dword [rsp + 0x30]
jmp 0x1400150be
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001502a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x2a0]
call fcn.1400072e0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x298
ret
Function at 0x140015450
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140015490
xor eax, eax
jmp 0x1400154b2
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140015800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14001583d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140015844
mov al, 1
jmp 0x14001599a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140022080
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140022080
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.1400220c0
movzx eax, al
test eax, eax
je 0x140015899
xor al, al
jmp 0x14001599a
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140028c70
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140015908
cmp dword [rsp + 0x30], 1
je 0x140015914
cmp dword [rsp + 0x30], 3
je 0x140015988
jmp 0x140015998
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14001595f
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x48], rax
je 0x14001595f
xor al, al
jmp 0x14001599a
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140015979
mov dword [rsp + 0x34], 1
jmp 0x140015981
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001599a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001599a
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0xa8
ret
Function at 0x140022ac0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1a
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.140010490
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x258
ret
Function at 0x1400249a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140028360
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.attrib_H_S
lea rcx, [rsp + 0xa0]
call fcn.140008650
nop
lea rcx, [rsp + 0x40]
call fcn.140002b50
nop
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140028360
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x38]
lea rdx, str.attrib_H
lea rcx, [rsp + 0x80]
call fcn.140008650
nop
lea rcx, [rsp + 0x60]
call fcn.140002b50
nop
lea rcx, [rsp + 0xa0]
call fcn.1400059c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rsp + 0x80]
call fcn.1400059c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rsp + 0x80]
call fcn.140002b50
nop
lea rcx, [rsp + 0xa0]
call fcn.140002b50
nop
mov rcx, qword [rsp + 0xe0]
call fcn.1400072e0
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0xd8
ret
Function at 0x140028e70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140028ea4
xor eax, eax
jmp 0x14002909b
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140028ed5
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400290b0
jmp 0x14002909b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.140016730
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140028f84
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140001fb0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400232a0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140003790
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1400226e0
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14002908b
mov rcx, qword [rsp + 0x80]
call fcn.140018de0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140029039
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140029034
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14002909b
jmp 0x140028fb0
cmp qword [rsp + 0x50], 0
jbe 0x14002908b
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x78
ret
Function at 0x140029470
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rdx, [0x14017e650]
lea rcx, [rsp + 0xe8]
call fcn.140014c00
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xc8]
call fcn.140022ac0
lea r8, [0x14005f5b0]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1400087c0
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.140008770
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140028360
mov qword [rsp + 0x50], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140008490
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x68]
call fcn.140002b50
lea rcx, [rsp + 0x88]
call fcn.1400072e0
lea rcx, [rsp + 0xa8]
call fcn.1400072e0
lea rcx, [rsp + 0xc8]
call fcn.1400072e0
lea rcx, [rsp + 0xe8]
call fcn.1400072e0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400295af
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
lea rdx, str.explorer.exe
mov rcx, qword [rsp + 0x60]
call fcn.140010490
lea rdx, [0x14001adb0]
mov rcx, rax
call fcn.1400150e0
nop
jmp 0x14002964b
lea rax, [rsp + 0x170]
mov qword [0x14017e628], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
lea r9, [0x140014ce0]
xor r8d, r8d
mov edx, 9
mov rax, qword [0x14017e628]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14002964b
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x128]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x140029612
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x168
ret
Function at 0x14002a7e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret
Function at 0x14002abf0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jae 0x14002ac1c
mov dword [rsp + 0x24], 0x38
jmp 0x14002ac24
mov dword [rsp + 0x24], 0x40
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0x80
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jae 0x14002ac7b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14002ac4d
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jb 0x14002aca3
mov rcx, qword [rsp + 0x40]
call fcn.14002b0e0
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x48], rax
mov eax, 1
imul rax, rax, 0x3f
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movzx edx, byte [rdx + 0x48]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 8
mov ecx, 1
imul rcx, rcx, 0x3e
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x10
mov ecx, 1
imul rcx, rcx, 0x3d
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x18
mov ecx, 1
imul rcx, rcx, 0x3c
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x20
mov ecx, 1
imul rcx, rcx, 0x3b
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x28
mov ecx, 1
imul rcx, rcx, 0x3a
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x30
mov ecx, 1
imul rcx, rcx, 0x39
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x38
mov ecx, 1
imul rcx, rcx, 0x38
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rcx, qword [rsp + 0x40]
call fcn.14002b0e0
nop
add rsp, 0x30
pop rdi
ret

Function at 0x14002c59c
Capabilities:
Parse pe header

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