joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400157e8
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 0x140015818
xor eax, eax
jmp 0x1400158db
mov rbp, rbx
cmp word [rax], si
je 0x14001583d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140015824
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140015820
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.140015708
movsxd r14, eax
test eax, eax
jne 0x14001587b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140015811
mov rcx, r14
call fcn.14001269c
mov rdi, rax
test rax, rax
jne 0x140015894
xor ecx, ecx
call fcn.140010864
jmp 0x140015870
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.140015708
test eax, eax
jne 0x1400158c5
mov rcx, rdi
call fcn.140010864
jmp 0x1400158cf
xor ecx, ecx
call fcn.140010864
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 0x140019084
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001909a
mov al, 1
jmp 0x1400190fa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400190ab
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400190f8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140016050
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400190f8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400190f8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400190f8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400190fa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001a0d0
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.1400147d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001a15a
cmp byte [rbp - 0x21], r15b
je 0x14001a155
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001a190
call fcn.140010ab4
test eax, eax
jne 0x14001a17c
cmp byte [rbp - 0x21], r15b
je 0x14001a174
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001a190
cmp byte [rbp - 0x21], r15b
je 0x14001a18d
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.140013db8
test eax, eax
jne 0x14001a230
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400147d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001a1cf
cmp byte [rbp - 0x21], r15b
je 0x14001a204
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001a204
call fcn.140010ab4
test eax, eax
jne 0x14001a1f0
cmp byte [rbp - 0x21], r15b
je 0x14001a1e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001a204
cmp byte [rbp - 0x21], r15b
je 0x14001a201
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.140013db8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001a230
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001a233
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001a241
mov rcx, rdi
call fcn.140010864
cmp byte [rbp + 0x3f], r15b
je 0x14001a250
mov rcx, qword [rbp + 0x27]
call fcn.140010864
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 0x14001c520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14007e2c0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14009f780], rbx
je 0x14007e327
cmp rax, rbx
jne 0x14007e31a
mov ebx, 1
mov esi, ebx
jmp 0x14007e32c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007e2ff
mov ebx, 1
mov eax, dword [0x14009f788]
cmp eax, ebx
jne 0x14007e344
mov edi, 0x1f
mov ecx, edi
call fcn.140133000
jmp 0x14007e3b0
mov eax, dword [0x14009f788]
test eax, eax
jne 0x14007e3a5
mov dword [0x14009f788], ebx
lea r15, [0x1400878c0]
lea rdi, [0x1400878a8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14007e397
test eax, eax
jne 0x14007e39b
cmp qword [rdi], r14
je 0x14007e38c
mov rax, qword [rdi]
mov rcx, qword [0x140087880]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14007e36e
test eax, eax
je 0x14007e3ab
mov eax, 0xff
jmp 0x14007e506
mov dword [0x14009ea14], ebx
mov edi, 0x1f
mov eax, dword [0x14009f788]
cmp eax, ebx
jne 0x14007e3d7
lea rdx, [0x1400878a0]
lea rcx, [0x140087888]
call sub.msvcrt.dll__initterm
mov dword [0x14009f788], 2
test esi, esi
jne 0x14007e3e5
mov rax, r14
xchg qword [0x14009f780], rax
cmp qword [0x14009f790], r14
je 0x14007e418
lea rcx, [0x14009f790]
call fcn.14007ee10
test eax, eax
je 0x14007e418
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009f790]
mov r9, qword [0x140087880]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14007e431
mov eax, 0xff
jmp 0x14007e506
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14007e4b7
test ax, ax
je 0x14007e44c
test edx, edx
jne 0x14007e4b7
sub ax, bx
cmp ax, di
ja 0x14007e462
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14007e44c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140022e4c
mov dword [0x14009ea10], eax
cmp dword [0x14009ea30], r14d
jne 0x14007e4a0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14009ea14], r14d
jne 0x14007e4b5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14009ea10]
jmp 0x14007e506
cmp ax, 0x22
jne 0x14007e4cb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14007e43a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14007eea4
add rsp, 0x28
jmp 0x14007e2c0
Function at 0x14000100a
Capabilities:
Check os version

Disassembly:
jmp 0x1400010b0
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14000b028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCR100.dll_memset
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x14000110d
mov byte [0x14000b183], 1
movzx eax, byte [0x14000b183]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1400080c0]
call fcn.140002fb0
mov eax, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x170
pop rdi
ret
Function at 0x14000104b
Capabilities:
Get file version info

Disassembly:
jmp 0x140001ae0
push rdi
sub rsp, 0x3f0
mov rdi, rsp
mov ecx, 0xfc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14000b028]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001b33
lea rcx, str.Unable_to_get_executable_file_name._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
lea rdx, [rsp + 0x264]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
jne 0x140001b68
lea rcx, str.Unable_to_get_version_info_size._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
mov eax, dword [rsp + 0x274]
mov ecx, eax
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x278], rax
mov r9, qword [rsp + 0x278]
mov r8d, dword [rsp + 0x274]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140001bc0
lea rcx, str.Unable_to_get_version_info._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
lea r9, [rsp + 0x2a4]
lea r8, [rsp + 0x288]
lea rdx, [0x140007aa4]
mov rcx, qword [rsp + 0x278]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140001bfa
lea rcx, str.Unable_to_query_version_value._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov rcx, qword [rsp + 0x2b8]
mov ecx, dword [rcx + 0x14]
shr ecx, 0x10
mov rdx, qword [rsp + 0x2b8]
mov edx, dword [rdx + 0x10]
and edx, 0xffff
mov r8, qword [rsp + 0x2b8]
mov r8d, dword [r8 + 0x10]
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, str.version__i._i._i._i
lea rcx, [rsp + 0x2d0]
call fcn.140001046
lea rdx, [0x140007f50]
lea rcx, [rsp + 0x360]
call fcn.140001023
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.140001014
lea rdx, str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea rcx, [rsp + 0x360]
call fcn.140001014
lea rcx, [rsp + 0x360]
call qword [sym.imp.MSVCR100.dll_printf]
mov rcx, rsp
lea rdx, [0x1400085b8]
call fcn.140002fb0
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x3f0
pop rdi
ret
Function at 0x1400010b0
Capabilities:
Check os version

Disassembly:
jmp 0x1400010b0
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14000b028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCR100.dll_memset
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x14000110d
mov byte [0x14000b183], 1
movzx eax, byte [0x14000b183]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1400080c0]
call fcn.140002fb0
mov eax, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x170
pop rdi
ret
Function at 0x140001ae0
Capabilities:
Get file version info

Disassembly:
jmp 0x140001ae0
push rdi
sub rsp, 0x3f0
mov rdi, rsp
mov ecx, 0xfc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14000b028]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001b33
lea rcx, str.Unable_to_get_executable_file_name._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
lea rdx, [rsp + 0x264]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
jne 0x140001b68
lea rcx, str.Unable_to_get_version_info_size._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
mov eax, dword [rsp + 0x274]
mov ecx, eax
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x278], rax
mov r9, qword [rsp + 0x278]
mov r8d, dword [rsp + 0x274]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140001bc0
lea rcx, str.Unable_to_get_version_info._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
lea r9, [rsp + 0x2a4]
lea r8, [rsp + 0x288]
lea rdx, [0x140007aa4]
mov rcx, qword [rsp + 0x278]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140001bfa
lea rcx, str.Unable_to_query_version_value._n
call qword [sym.imp.MSVCR100.dll_printf]
jmp 0x140001cb3
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov rcx, qword [rsp + 0x2b8]
mov ecx, dword [rcx + 0x14]
shr ecx, 0x10
mov rdx, qword [rsp + 0x2b8]
mov edx, dword [rdx + 0x10]
and edx, 0xffff
mov r8, qword [rsp + 0x2b8]
mov r8d, dword [r8 + 0x10]
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, str.version__i._i._i._i
lea rcx, [rsp + 0x2d0]
call fcn.140001046
lea rdx, [0x140007f50]
lea rcx, [rsp + 0x360]
call fcn.140001023
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.140001014
lea rdx, str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea rcx, [rsp + 0x360]
call fcn.140001014
lea rcx, [rsp + 0x360]
call qword [sym.imp.MSVCR100.dll_printf]
mov rcx, rsp
lea rdx, [0x1400085b8]
call fcn.140002fb0
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140002f90
add rsp, 0x3f0
pop rdi
ret
Function at 0x14000360b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b028]
jne 0x140002faa
rol rcx, 0x10
test cx, 0xffff
jne 0x140002fa6
repz ret
ror rcx, 0x10
jmp 0x140003564
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000b250]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000b348]
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 0x1400035e9
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, [0x14000b250]
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 0x14000360b
mov rax, qword [rsp + 0x88]
mov qword [0x14000b348], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000b2e8], rax
mov rax, qword [0x14000b348]
mov qword [0x14000b1c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000b2d0], rax
mov dword [0x14000b1b0], 0xc0000409
mov dword [0x14000b1b4], 1
mov rax, qword [0x14000b028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000b248], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008fa8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000b248], 0
jne 0x140003692
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x1800011b0
Capabilities:
Create thread

Disassembly:
jmp 0x1800011b0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [rsp + 0x58], 1
jne 0x180001201
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x18000103c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
add rsp, 0x48
ret
Function at 0x412f80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41310b
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 [0x00746a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412fe5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412ff4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x413013
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x413023
cmp rbx, 0x1000
jae 0x412feb
jmp 0x41308d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x413035
xor edx, edx
jmp 0x413084
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 [0x00746a50]
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 0x413019
jmp 0x413008
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00746a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004f9acc]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004f9fa5]
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, [0x004fc6c1]
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 0x413140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413366
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 [0x00746a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4131b3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4131c2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4131e5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4131f5
cmp rbx, 0x1000
jae 0x4131b9
nop
jmp 0x413278
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 0x41320d
xor esi, esi
jmp 0x41326a
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 [0x00746a50]
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 0x4131eb
jmp 0x4131d6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00746a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x413300
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004f9fbe]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004f9fa5]
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, [0x004f62c1]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4132a0
call sym.runtime.printlock
lea rax, [0x004f9fbe]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004f9fa5]
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, [0x004fbe81]
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