joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083d10
Capabilities:
Create directory
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x4ff68]
mov eax, 0x50050
call fcn.140048f00
sub rsp, rax
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xff50]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor r14d, r14d
test eax, eax
je 0x140083dec
lea r8, [rbp + 0xff50]
lea rdx, [0x1400ddad0]
lea rcx, [rsp + 0x50]
call fcn.1400247a4
lea rcx, [rsp + 0x50]
call fcn.140028cc8
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140083d9d
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x140083d9d
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140083db1
test sil, sil
je 0x140083dec
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140083e06
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
lea r11, [rsp + 0x50050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x1ff50]
mov r8d, 0x2fffa
call fcn.1400261b0
add bx, bx
mov dword [rbp + 0x1ff50], 0xa0000003
mov word [rbp + 0x1ff5a], bx
lea rdx, [rsp + 0x50]
add bx, 2
lea rcx, [rbp + 0x1ff60]
mov r8d, 0x7fff
mov word [rbp + 0x1ff5c], bx
call fcn.140031f94
movzx eax, word [rbp + 0x1ff5a]
lea r8, [rbp + 0x1ff50]
add ax, 0xc
mov qword [rsp + 0x38], r14
movzx r9d, ax
mov edx, 0x900a4
lea rax, [rbp + 0x4ff70]
mov word [rbp + 0x1ff54], r9w
mov qword [rsp + 0x30], rax
add r9d, 8
mov dword [rsp + 0x28], r14d
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x140083ead
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140083de3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140083dee
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004530]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004540]
mov dword [rax], 1
mov rax, qword [0x140004550]
mov dword [rax], 1
mov rax, qword [0x1400044d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004520]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004600]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400045e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004480]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001450
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
cmp dword [rbp + 0x18], 0x113
je 0x14000157d
cmp dword [rbp + 0x18], 0x113
ja 0x1400016c1
cmp dword [rbp + 0x18], 1
je 0x140001496
cmp dword [rbp + 0x18], 2
je 0x1400016b1
jmp 0x1400016c1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0x65
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 0x32
mov r9d, 0x50000000
mov r8d, 0
lea rax, str.msctls_progress32
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExA]
call rax
mov qword [0x140007030], rax
mov rax, qword [0x140007030]
mov r9d, 0x640000
mov r8d, 0
mov edx, 0x401
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov rax, qword [0x140007030]
mov r9d, 0
mov r8d, 0
mov edx, 0x402
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov rax, qword [rbp + 0x10]
mov r9d, 0
mov r8d, 0x64
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetTimer]
call rax
jmp 0x1400016e5
mov rax, qword [0x140007030]
mov r9d, 0
mov r8d, 0
mov edx, 0x408
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov dword [rbp - 4], eax
add dword [rbp - 4], 5
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, qword [0x140007030]
mov r9d, 0
mov r8, rdx
mov edx, 0x402
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
cmp dword [rbp - 4], 0x63
jle 0x1400016e4
mov rax, qword [rbp + 0x10]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_KillTimer]
call rax
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str.DiscordSetup.exe
lea rax, str.https:__discord.com_api_download_platformwin
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
js 0x14000167d
mov rax, qword [rbp + 0x10]
mov r9d, 0x40
lea r8, str.Information
lea rdx, str.Download_Complete__Running_the_installer...
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str.DiscordSetup.exe
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
jmp 0x1400016a1
mov rax, qword [rbp + 0x10]
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Download_Failed_
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_PostQuitMessage]
call rax
jmp 0x1400016e4
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_PostQuitMessage]
call rax
jmp 0x1400016e5
mov r8, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov edx, dword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
call rax
jmp 0x1400016ea
nop
mov eax, 0
add rsp, 0x70
pop rbp
ret
Function at 0x140001c00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001c70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
test esi, esi
mov rbx, rcx
jle 0x140001da0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001cbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001d45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001ca0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001dc2
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001da7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001d3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d50
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400070a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001cc8
mov rax, qword [0x1400070a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002330
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x14000238c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002383
test rsi, rsi
je 0x140002383
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002368
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400025a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x1400025c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400025d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400025e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400025f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000263d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140002634
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000263f
add rax, 0x28
cmp rax, r9
jne 0x140002620
xor eax, eax
ret

Function at 0x140002640
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400026d0
mov rdx, qword [0x1400044d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400026be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400026be
cmp word [rax + 0x18], 0x20b
jne 0x1400026be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400026d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400026a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400026d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400026a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400026e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400044d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002700
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002708
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002700
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000275d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002754
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002700
add rax, 0x28
cmp rax, r9
jne 0x140002740
xor eax, eax
ret

Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400044d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000277f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002788
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000277f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400027a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400044d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400027c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400027c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400027c0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002810
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002807
test rcx, rcx
je 0x1400027c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400027f8
xor eax, eax
ret

Function at 0x140002820
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400044d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000283f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002848
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002860
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400044d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002880
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002888
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002880
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140002880
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400028d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400028e0
add rdx, 0x28
cmp r9, rdx
jne 0x1400028c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400028f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400044d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002912
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002920
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002912
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002912
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002912
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140002975
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002988
add rdx, 0x28
cmp rdx, r10
jne 0x140002960
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002997
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400029a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000297e
test ecx, ecx
jg 0x140002990
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14075f319
Capabilities:
Encrypt data using rc4 prga
Execute anti-debugging instructions

Disassembly:
call rax
jmp 0x1407ff1c8
call 0x1406f47e5
call rax
mov r11, rax
test rax, rax
jmp 0x1407ff06f
call rax
mov r11, rax
test rax, rax
jmp 0x1407ff086
sub eax, eax
jmp 0x1407fefc9
jmp 0x1407ff1c8
jne 0x1407ff08c
lea rcx, [rsp + 0x40]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1407899a5
je 0x1407fefc2
cmp r11, rsi
jmp 0x1407ff094
jne 0x1407ff135
cmp byte [rsp + 0x180], dil
jmp 0x1407ff0a7
je 0x1407ff11a
lea rax, [rsp + 0x40]
not dx
cmp dil, sil
sub rbp, rax
cwd
cqo
rdtsc
nop
cdqe
lea rdx, [rsp + rdi + 0x40]
cdqe
cbw
mov ecx, edi
btc eax, 0xfa
mov eax, 0x2a7850ee
rol eax, cl
jmp 0x1407ff0df
add al, dil
test bpl, 0xeb
cmp bpl, dl
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x1407ff0f3
je 0x1407ff112
inc rdi
cmp r11b, 0x91
cmp rdi, 0x104
jmp 0x1407ff10c
jb 0x1407ff0c4
lea rbp, [rsp + 0x40]
rdtsc
lahf
mov rdx, rbp
cdqe
bswap ax
movzx rax, sp
mov rcx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1403da664
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jmp 0x1407ff142
jne 0x1407ff1ab
movzx edx, byte [rbx + 2]
add rbx, 2
stc
jmp 0x1407ff156
test dl, dl
jmp 0x1407ff15d
je 0x1407ff1a8
nop
movsxd rax, ebp
lea eax, [rdx - 0x30]
jmp 0x1407ff16f
inc rbx
test dh, bh
cmp al, 9
jmp 0x1407ff17b
ja 0x1407ff1a8
movsx eax, dl
movzx edx, byte [rbx]
lea ecx, [rdi + rdi*4]
and dil, 0x9f
shrd rdi, r8, 0x22
lea edi, [rax + rcx*2 - 0x30]
test r8b, 0x22
test dl, dl
jmp 0x1407ff1a2
jne 0x1407ff167
movsxd rdx, edi
sub r8d, r8d
cmovg cx, si
mov rcx, r11
jmp 0x1407ff1ba
call fcn.1407fec38
jmp 0x1407ff1c8
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x150]
bsr rbp, r8
add rsp, 0x158
mov sil, r15b
movzx si, r12b
pop rsi
pop rbp
jmp 0x1407ff1f2
ret
Function at 0x140001000
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x548
mov rax, qword [0x140023340]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rdx, [rsp + 0x130]
mov ecx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r8d, 2
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.140006120
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x100
jae 0x140001068
jmp 0x14000106d
call fcn.140001b08
mov rax, qword [rsp + 0x20]
mov byte [rsp + rax + 0x30], 0
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x330]
call fcn.140005f90
lea rax, [rsp + 0x132]
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140005ef0
movsxd rax, dword [rsp + 0x550]
mov r8, rax
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x558]
call fcn.140006120
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140001d30
add rsp, 0x548
ret
Function at 0x140002474
Capabilities:
Parse pe header

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

Function at 0x140009e18
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009c14
Function at 0x14000f158
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000f188
xor eax, eax
jmp 0x14000f24b
mov rbp, rbx
cmp word [rax], si
je 0x14000f1ad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000f194
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000f190
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000f078
movsxd r14, eax
test eax, eax
jne 0x14000f1eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000f181
mov rcx, r14
call fcn.14000b90c
mov rdi, rax
test rax, rax
jne 0x14000f204
xor ecx, ecx
call fcn.14000ac94
jmp 0x14000f1e0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000f078
test eax, eax
jne 0x14000f235
mov rcx, rdi
call fcn.14000ac94
jmp 0x14000f23f
xor ecx, ecx
call fcn.14000ac94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001356c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140013582
mov al, 1
jmp 0x1400135e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140013593
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400135e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000fa78
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400135e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400135e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400135e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400135e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140014620
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000e148
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400146aa
cmp byte [rbp - 0x21], r15b
je 0x1400146a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400146e0
call fcn.14000aee4
test eax, eax
jne 0x1400146cc
cmp byte [rbp - 0x21], r15b
je 0x1400146c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400146e0
cmp byte [rbp - 0x21], r15b
je 0x1400146dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000d728
test eax, eax
jne 0x140014780
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e148
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001471f
cmp byte [rbp - 0x21], r15b
je 0x140014754
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014754
call fcn.14000aee4
test eax, eax
jne 0x140014740
cmp byte [rbp - 0x21], r15b
je 0x140014739
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014754
cmp byte [rbp - 0x21], r15b
je 0x140014751
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000d728
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014780
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014783
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140014791
mov rcx, rdi
call fcn.14000ac94
cmp byte [rbp + 0x3f], r15b
je 0x1400147a0
mov rcx, qword [rbp + 0x27]
call fcn.14000ac94
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140016d10
Capabilities:
Parse pe header

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