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

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.1400622a0
mov rcx, rax
call fcn.140022520
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x38]
test eax, eax
setne bl
mov eax, dword [rcx]
test eax, eax
je 0x14005fbc5
cmp eax, 0xffffffff
je 0x14005fbd3
sub eax, 1
mov dword [rcx], eax
jne 0x14005fbd3
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
movzx eax, bl
add rsp, 0x20
pop rbx
ret

Function at 0x140060010
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov rbp, rdx
mov qword [rsp + 0x58], r14
xor sil, sil
mov r14, rcx
xor edi, edi
call fcn.14005a220
test al, al
je 0x1400600ba
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140059f40
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rcx + rdx]
call fcn.140021af0
mov ebx, 1
lea ecx, [rax - 0x41]
shl ebx, cl
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14006009a
cmp eax, 0xffffffff
je 0x1400600a8
sub eax, 1
mov dword [rcx], eax
jne 0x1400600a8
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
and ebx, edi
setne sil
neg ebx
sbb edi, edi
and edi, 0x14
jmp 0x140060194
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14005a4d0
mov dword [rsp + 0x20], 7
lea rax, str._UNC
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x60]
mov ebx, 1
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, ebx
call fcn.140021650
test al, al
je 0x14006016b
mov rax, qword [rsp + 0x60]
lea r8d, [rbx + 6]
mov r9d, ebx
mov rcx, qword [rax + 0x10]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x60]
call fcn.14001d1b0
mov r8d, eax
test eax, eax
jle 0x140060155
mov rax, qword [rsp + 0x60]
inc r8d
mov r9d, ebx
mov rcx, qword [rax + 0x10]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x60]
call fcn.14001d1b0
test eax, eax
jle 0x140060155
mov rcx, qword [rsp + 0x60]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x140060170
lea rcx, [rsp + 0x60]
call fcn.1400603e0
test al, al
je 0x14006016b
mov edi, 0x10
movzx esi, bl
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x140060186
cmp eax, 0xffffffff
je 0x140060194
sub eax, ebx
mov dword [rcx], eax
jne 0x140060194
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test sil, sil
je 0x1400601c8
mov dword [rbp + 0x10], edi
test dil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [rbp + 4]
bts ecx, 0x16
mov dword [rbp + 4], ecx
or dword [rbp], 0x560000
movzx eax, sil
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400601e0
Capabilities:
Enumerate network shares

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r14, qword [rsp + 0x58]
xor edi, edi
mov dword [rsp + 0xc0], edi
mov r15, rdx
mov dword [rax + 0x18], edi
mov r13, rcx
mov dword [rax - 0x68], edi
mov dword [rax + 0x20], edi
mov rcx, r13
call fcn.140022520
mov rcx, rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0xc8]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rax
mov edx, 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call sub.NETAPI32.dll_NetShareEnum
mov r12d, eax
test eax, eax
je 0x14006026d
cmp eax, 0xea
jne 0x1400603a2
mov rsi, qword [rsp + 0x50]
mov ebp, 1
cmp dword [rsp + 0xc0], ebp
jb 0x1400603a2
lea r13, [0x140068e58]
nop dword [rax + rax]
test r15, r15
je 0x140060387
cmp dword [rsi + 8], 0
jne 0x140060387
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
mov r8d, 0xffffffff
or edi, 1
call fcn.14001d070
mov rbx, qword [rax]
mov qword [rax], r13
test dil, 2
je 0x1400602eb
mov eax, dword [r14]
and edi, 0xfffffffd
test eax, eax
je 0x1400602da
cmp eax, 0xffffffff
je 0x1400602eb
sub dword [r14], 1
jne 0x1400602eb
mov edx, 2
mov rcx, r14
lea r8d, [rdx + 6]
call fcn.140016170
mov rcx, qword [rsp + 0x48]
and edi, 0xfffffffe
mov eax, dword [rcx]
test eax, eax
je 0x14006030a
cmp eax, 0xffffffff
je 0x140060318
sub eax, 1
mov dword [rcx], eax
jne 0x140060318
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
mov rax, qword [r15]
cmp dword [rax], 1
jbe 0x14006034a
mov edx, 0x7fffffff
mov r8d, 1
mov rcx, r15
call fcn.1400047e0
mov qword [rax], rbx
mov ecx, dword [rbx]
mov eax, ecx
test ecx, ecx
je 0x140060366
cmp ecx, 0xffffffff
je 0x140060366
lea eax, [rcx + 1]
mov dword [rbx], eax
jmp 0x140060366
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, 1
jbe 0x140060359
lea eax, [rcx + 1]
mov dword [rbx], eax
mov rcx, r15
call fcn.1400243f0
mov qword [rax], rbx
mov eax, dword [rbx]
test eax, eax
je 0x140060376
cmp eax, 0xffffffff
je 0x140060387
sub eax, 1
mov dword [rbx], eax
jne 0x140060387
mov edx, 2
mov rcx, rbx
lea r8d, [rdx + 6]
call fcn.140016170
add rsi, 0x18
inc ebp
cmp ebp, dword [rsp + 0xc0]
jbe 0x140060290
mov r13, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call sub.NETAPI32.dll_NetApiBufferFree
cmp r12d, 0xea
je 0x140060217
mov rbx, qword [rsp + 0xb8]
test r12d, r12d
sete al
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140062450
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov eax, dword [rcx + 0x38]
mov r13, r8
mov rsi, qword [rcx + 0x18]
mov rbx, rdx
mov rdi, rcx
test eax, eax
jne 0x140062482
lea edx, [rax + 5]
jmp 0x14006253e
test rbx, rbx
jne 0x1400624a4
test r13, r13
jne 0x1400624a4
lea edx, [rbx + 0x57]
lea rcx, [rsp + 0x90]
call fcn.140053800
lea edx, [rbx + 8]
jmp 0x140062550
xor r14d, r14d
lea r15d, [r14 + 4]
test r9b, 1
je 0x1400624b7
lea ebp, [r14 + 1]
jmp 0x1400624cb
test al, 2
je 0x1400624c2
mov ebp, 2
jmp 0x1400624cb
test al, 1
mov ebp, r14d
cmovne ebp, r15d
cmp qword [rcx + 0x88], r14
jne 0x140062599
mov rax, qword [rcx + 0x80]
cmp rax, 0xffffffffffffffff
jne 0x140062509
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x140062502
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
cmp rax, 0xffffffffffffffff
jne 0x140062509
mov edx, 5
jmp 0x14006253e
test byte [rdi + 0x38], 2
mov r8d, 2
mov qword [rsp + 0x28], r14
mov rcx, rax
cmovne r8d, r15d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x88], rax
test rax, rax
jne 0x140062599
lea edx, [rax - 1]
lea rcx, [rsp + 0x90]
call fcn.140053800
mov edx, 0xd
mov r8, rax
mov rcx, rsi
call fcn.140059d10
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx]
test eax, eax
je 0x140062585
cmp eax, 0xffffffff
je 0x14006269d
sub eax, 1
mov dword [rcx], eax
jne 0x14006269d
mov rcx, qword [rsp + 0x90]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140016170
jmp 0x14006269d
mov qword [rsp + 0x98], r12
lea rcx, [rsp + 0x30]
mov r12, rbx
sar r12, 0x20
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x58]
mov r14d, ebx
dec eax
and r14d, eax
je 0x1400625c5
not eax
and ebx, eax
mov rcx, qword [rdi + 0x88]
lea rax, [r14 + r13]
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r12, qword [rsp + 0x98]
test rax, rax
je 0x14006261b
lea rbx, [r14 + rax]
lea rcx, [rdi + 0x90]
mov qword [rsp + 0x90], rbx
lea rdx, [rsp + 0x90]
call fcn.140061190
mov dword [rax], r14d
mov rax, rbx
jmp 0x14006269f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0xffffffff
lea rcx, [rsp + 0x90]
cmp eax, 5
je 0x14006263f
call fcn.140053800
mov edx, 8
jmp 0x140062649
call fcn.140053800
mov edx, 0xd
mov r8, rax
mov rcx, rsi
call fcn.140059d10
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx]
test eax, eax
je 0x140062676
cmp eax, 0xffffffff
je 0x140062685
sub eax, 1
mov dword [rcx], eax
jne 0x140062685
mov rcx, qword [rsp + 0x90]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140016170
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x88], 0
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140062b10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0xa4], 1
je 0x14005baa2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0xa4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140062b10
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx + 0x18]
mov rsi, rcx
mov rcx, qword [rcx + 0x78]
mov rbp, r8
mov r14, rdx
test rcx, rcx
jne 0x140062bf5
cmp dword [rsi + 0xa0], 0xffffffff
jne 0x140062c7b
cmp qword [rsi + 0x80], 0xffffffffffffffff
je 0x140062c72
xor r12d, r12d
mov rdi, r8
mov ebx, r12d
mov rcx, qword [rsi + 0x80]
lea rdx, [rbx + r14]
mov r8d, 0x2000000
mov qword [rsp + 0x20], r12
cmp rdi, r8
lea r9, [rsp + 0x60]
cmovl r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140062bab
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140062ba3
add rbx, rax
sub rdi, rax
cmp rbx, rbp
jl 0x140062b64
mov rax, rbx
jmp 0x140062c89
test rbx, rbx
jne 0x140062ba3
lea edx, [rbx - 1]
lea rcx, [rsp + 0x78]
call fcn.140053800
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140059d10
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140062c63
cmp eax, 0xffffffff
je 0x140062c72
sub eax, 1
mov dword [rcx], eax
jne 0x140062c72
mov rcx, qword [rsp + 0x78]
jmp 0x140062c63
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
cmp rax, 0xffffffffffffffff
je 0x140062c7b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
add eax, 0xfffffffe
cmp eax, 1
ja 0x140062c7b
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x140062c7b
mov edx, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.140053970
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140059d10
mov rcx, qword [rsp + 0x60]
mov edx, dword [rcx]
test edx, edx
je 0x140062c63
cmp edx, 0xffffffff
je 0x140062c72
sub edx, 1
mov dword [rcx], edx
jne 0x140062c72
mov rcx, qword [rsp + 0x60]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140016170
mov rax, 0xffffffffffffffff
jmp 0x140062c89
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14005bac0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400631a0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x80]
cmp rbx, 0xffffffffffffffff
jne 0x140063310
cmp dword [rax + 0xa0], ebx
jne 0x1400632e2
cmp qword [rax + 0x78], 0
jne 0x1400632e2
lea rcx, [rax + 0x20]
mov rax, qword [rax + 0x20]
cmp dword [rax + 4], 0
jne 0x1400631fd
mov rax, qword [rcx + 8]
cmp dword [rax + 4], 0
je 0x1400632d0
lea rdx, [rsp + 0x40]
call fcn.140059f40
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140036100
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140063230
cmp eax, 0xffffffff
je 0x14006323e
sub eax, 1
mov dword [rcx], eax
jne 0x14006323e
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
mov edx, 3
lea rcx, [rsp + 0x20]
call fcn.1400364d0
lea rcx, [rsp + 0x20]
test al, al
je 0x1400632cb
mov rdx, rsi
call fcn.140036790
movzx ebx, al
test al, al
jne 0x1400632ae
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140031ae0
mov r8, rax
mov edx, 0xc
mov rcx, rdi
call fcn.140059d10
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400632a0
cmp eax, 0xffffffff
je 0x1400632ae
sub eax, 1
mov dword [rcx], eax
jne 0x1400632ae
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140016170
lea rcx, [rsp + 0x20]
call fcn.1400361e0
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400361e0
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp rbx, 0xffffffffffffffff
jne 0x140063310
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x1400632fb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
jmp 0x140063301
mov ecx, dword [rax + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400632d0
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x48], rbp
call qword [rax + 0x30]
mov rcx, qword [rdi]
mov rdx, rsi
mov rbp, rax
mov r8, qword [rcx + 0x38]
mov rcx, rdi
call r8
test al, al
je 0x140063359
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140063359
mov rax, qword [rdi]
cmp rbp, rsi
mov rcx, rdi
cmovl rsi, rbp
mov rdx, rsi
call qword [rax + 0x38]
mov al, 1
jmp 0x140063367
mov rax, qword [rdi]
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x38]
xor al, al
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x415d40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415ecb
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 [0x0061a8c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415da5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415db4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415dd3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415de3
cmp rbx, 0x1000
jae 0x415dab
jmp 0x415e4d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415df5
xor edx, edx
jmp 0x415e44
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 [0x0061a8c0]
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 0x415dd9
jmp 0x415dc8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061a8c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004f9ca2]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004fa2d8]
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, [0x004fcc64]
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 0x415f00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416126
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 [0x0061a8c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415f73
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415f82
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415fa5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415fb5
cmp rbx, 0x1000
jae 0x415f79
nop
jmp 0x416038
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 0x415fcd
xor esi, esi
jmp 0x41602a
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 [0x0061a8c0]
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 0x415fab
jmp 0x415f96
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061a8c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4160c0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004fa2f1]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004fa2d8]
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, [0x004f5ec8]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416060
call sym.runtime.printlock
lea rax, [0x004fa2f1]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004fa2d8]
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, [0x004fc408]
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
Function at 0x41f600
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x0061a672], 0
jne 0x41f6e7
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41f6da
lea rbx, [0x005eca58]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41f6c0
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicIndexU
lea rax, [0x004fee71]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x4219c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x421ac6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x421a03
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x421abb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call sym.runtime._scavengeIndex_.find
test rax, rax
je 0x421abb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [sym.runtime._pageAlloc_.scavenge.func1]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x0061a8c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x421aa9
xor eax, eax
jmp 0x421ab3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x4219f1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp sym.runtime._pageAlloc_.scavenge