joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007330
Capabilities:
Create thread
Get hostname
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18002e020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [0x18002f500]
xor r8d, r8d
mov ebp, 2
lea edx, [r8 + 1]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000737c
mov eax, 0x81010511
jmp 0x180007470
xor ecx, ecx
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x38], bp
xor ebx, ebx
call qword [sym.imp.WS2_32.dll_htonl]
lea r8d, [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov word [rsp + 0x3a], bx
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1800073be
mov ebx, 0x81010512
jmp 0x18000740d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x1800073d4
mov ebx, 0x81010513
jmp 0x18000740d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1800073f2
mov ebx, 0x81010514
jmp 0x18000740d
lea rcx, [rsi + 0x21d8]
mov edx, 0x104
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x180007427
mov ebx, 0x81010502
mov dword [rsi + 0x78], ebx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov dword [rsi + 0x20ac], eax
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180007469
movzx ecx, word [rsp + 0x3a]
call qword [sym.imp.WS2_32.dll_ntohs]
lea r9, [rsi + 0x78]
lea r8, [0x1800076e0]
movzx ecx, ax
xor edx, edx
mov qword [rsp + 0x28], rbx
mov dword [rsi + 0x20d0], ecx
xor ecx, ecx
mov qword [rsi + 0x20c8], rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180014920
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180007490
Capabilities:
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x1a0
mov rax, qword [0x18002e020]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbp, qword [0x18002f500]
lea r13, [rbp + 0x21d8]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r15, rax
test rax, rax
jne 0x1800074d8
mov eax, 0x81010503
jmp 0x1800076bf
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x190], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [rbp + 0x20c4]
mov esi, 2
mov r12d, eax
mov dword [rsp + 0x5c], 0xffffffff
mov word [rsp + 0x58], si
call qword [sym.imp.WS2_32.dll_htons]
xor ecx, ecx
mov word [rsp + 0x5a], ax
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x4a], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x52], eax
mov word [rsp + 0x56], ax
mov rax, qword [r15 + 0x18]
mov ebx, ecx
mov r14d, ecx
cmp qword [rax], rcx
je 0x18000769d
mov qword [rsp + 0x1d0], rdi
mov edi, ecx
nop
mov ebx, ecx
xor r8d, r8d
mov edx, esi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180007582
mov ebx, 0x81010521
jmp 0x18000765b
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x20
mov rcx, rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1800075b1
mov ebx, 0x81010522
jmp 0x18000765b
mov rax, qword [r15 + 0x18]
lea rdx, [rsp + 0x48]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, qword [rdi + rax]
mov eax, dword [rcx]
mov rcx, rsi
mov dword [rsp + 0x4c], eax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1800075de
mov ebx, 0x81010523
jmp 0x18000765b
mov eax, dword [rbp + 0x20d0]
lea rdx, str._Sign_____08X____Mode_____08X____AID_____08X____Name_____s____Port_____08X____APP____tbTools_
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x20b0]
xor r9d, r9d
mov r8d, r12d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR110.dll_sprintf]
inc r12d
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
nop dword [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x180007620
lea rcx, [rsp + 0x58]
lea r8d, [rax + 1]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0x18000766a
mov ebx, 0x81010524
mov dword [rbp + 0x78], ebx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x20ac], eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [r15 + 0x18]
inc r14
lea rdi, [r14*8]
mov esi, 2
cmp qword [rdi + rcx], 0
lea ecx, [rsi - 2]
jne 0x180007560
mov rdi, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x190]
mov r12, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1c8]
mov eax, ebx
mov rbx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180014920
add rsp, 0x1a0
pop r15
pop r13
pop rbp
ret
Function at 0x18000ade0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [rdx]
cmp dword [rax - 0x10], 0
jne 0x18000ae22
mov rcx, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor eax, eax
jmp 0x18000af27
call qword [sym.imp.mfc110u.dll_Ordinal_2160]
mov r14, qword [rax + 0x10]
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_8305]
nop
lea rdx, [0x180021934]
mov rcx, rax
call qword [sym.imp.mfc110u.dll_Ordinal_2848]
test eax, eax
setne bl
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
test bl, bl
je 0x18000aeb6
lea rdx, [rbp + 0x2b20]
lea r8, [0x18001a4f4]
lea rcx, [rsp + 0x30]
call fcn.180002bd0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180004910
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rdi]
cmp eax, 0xffffffff
jne 0x18000aee2
lea rcx, [0x180021938]
call qword [sym.imp.acdb20.dll_int___cdecl_acutPrintf_wchar_t_const____ptr64_]
nop
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor eax, eax
jmp 0x18000af27
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, reloc.WS2_32.dll_recv
lea r8d, [r9 - 0xf]
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi], rax
test rax, rax
jne 0x18000af19
mov rdx, qword [rdi]
lea rcx, [0x180021960]
jmp 0x18000aece
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180013f60
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.accore.dll_class_AcApDocManager____ptr64___cdecl_acDocManagerPtr_void_]
mov r8, qword [rax]
mov rdx, qword [0x18002f530]
mov rcx, rax
call qword [r8 + 0x110]
nop
lea eax, [rbx - 0xcb2]
cmp eax, 0x31
ja 0x180013ff8
mov rdx, qword [0x18002f500]
add rdx, 0x22f0
lea ecx, [rbx - 0xcb2]
shl rcx, 4
add rdx, rcx
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
call fcn.1800017f0
test eax, eax
je 0x180013fe8
call fcn.180002370
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
jmp 0x1800140fe
sub ebx, 0x9c4a
je 0x180014052
sub ebx, 2
je 0x18001403a
cmp ebx, 0x14
jne 0x1800140fe
lea rdx, str.sun_about
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
mov rdx, rax
call fcn.1800017f0
test eax, eax
je 0x1800140fe
call fcn.180002370
jmp 0x1800140fe
mov rdx, qword [rdi + 0xf8]
mov eax, dword [rdx]
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 4
xor ecx, eax
mov dword [rdx], ecx
jmp 0x180014074
mov rdx, qword [rdi + 0xf8]
mov eax, dword [rdx]
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 1
xor ecx, eax
mov dword [rdx], ecx
mov rcx, qword [0x18002f500]
call fcn.1800015e0
mov rbx, qword [0x18002f500]
lea rdx, str.SOFTWARE_sunkingmenu
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1800140df
mov eax, dword [rbx + 0x10]
and eax, 1
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SideMenu
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.180013d70
nop
call qword [sym.imp.accore.dll_class_AcApDocManager____ptr64___cdecl_acDocManagerPtr_void_]
mov rdx, qword [rax]
mov rcx, rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp qword [rdx + pe_nt_image_headers64]
Function at 0x14001136b
Capabilities:
Terminate process

Disassembly:
jmp 0x140017470
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011456
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400187c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400187e0
xor al, al
jmp 0x140018861
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400187f3
xor al, al
jmp 0x140018861
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001881d
xor al, al
jmp 0x140018861
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018831
xor al, al
jmp 0x140018861
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018843
xor al, al
jmp 0x140018861
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001885f
xor al, al
jmp 0x140018861
mov al, 1
add rsp, 0x38
ret
Function at 0x1400165c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011645
movzx eax, al
test eax, eax
jne 0x1400165e0
mov ecx, 7
call fcn.140011528
nop
mov byte [rsp + 0x20], 0
call fcn.140011564
mov byte [rsp + 0x21], al
cmp dword [0x140026b78], 1
jne 0x140016604
mov ecx, 7
call fcn.140011528
nop
jmp 0x14001665c
cmp dword [0x140026b78], 0
jne 0x140016657
mov dword [0x140026b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.1400112e4
test eax, eax
je 0x140016638
mov eax, 0xff
jmp 0x140016761
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.14001154b
mov dword [0x140026b78], 2
jmp 0x14001665c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011514
call fcn.14001147e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400166b9
mov rcx, qword [rsp + 0x30]
call fcn.140011253
movzx eax, al
test eax, eax
je 0x1400166b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002d020]
nop
call fcn.1400114c4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400166ed
mov rcx, qword [rsp + 0x38]
call fcn.140011253
movzx eax, al
test eax, eax
je 0x1400166ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115f0
nop
call fcn.140016810
mov dword [rsp + 0x28], eax
call fcn.140011456
movzx eax, al
test eax, eax
jne 0x14001670c
mov ecx, dword [rsp + 0x28]
call fcn.140011078
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001671b
call fcn.1400115ff
nop
xor edx, edx
mov cl, 1
call fcn.14001122b
mov eax, dword [rsp + 0x28]
jmp 0x140016761
add rsp, 0x68
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0054cf60]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x0054cf70]
mov dword [rax], 1
mov rax, qword [0x0054cf80]
mov dword [rax], 1
mov rax, qword [0x0054cf50]
mov dword [rax], 1
mov rax, qword [0x0054ce40]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x0054cf40]
mov dword [0x00550008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x0054cf00]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0054cdf0]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x415220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4153c6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41528b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4152a0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x4152c5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4152d9
cmp rbx, 0x1000
jae 0x415295
nop dword [rax]
jmp 0x415349
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4152ed
xor edx, edx
jmp 0x415340
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
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]
nop dword [rax]
test dl, dl
jne 0x4152cf
jmp 0x4152b4
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x004ca87d]
mov ebx, 0x18
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x004ca93d]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
nop
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.004358c0
lea rax, [0x004ccbaa]
mov ebx, 0x21
nop dword [rax + rax]
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp dbg.runtime.sysUnusedOS
Function at 0x415400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41562a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.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 dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415479
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41548c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4154b0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x4154c4
cmp rbx, 0x1000
jae 0x415483
jmp 0x415545
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4154d6
xor esi, esi
jmp 0x415536
mov rax, qword [sym.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
nop dword [rax]
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
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 0x4154ba
nop
jmp 0x4154a2
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4155c5
call dbg.runtime.printlock
lea rax, [0x004cad25]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
call dbg.runtime.printuint
lea rax, [0x004ca93d]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.004358c0
lea rax, [0x004c7908]
mov ebx, 0xd
nop dword [rax + rax]
call dbg.runtime.throw
cmp eax, 0x5af
je 0x415568
call dbg.runtime.printlock
lea rax, [0x004cad25]
mov ebx, 0x19
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x004ca93d]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.004358c0
lea rax, [0x004cc43e]
mov ebx, 0x1f
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUsedOS
Function at 0x41d8e0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005a3aaf], 0
jne 0x41d9cf
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
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
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d9c5
lea rbx, [0x00575ef0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rsi, [rcx + 0x11440]
add rdx, rsi
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop
test al, bl
jne 0x41d9a7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call dbg.runtime.panicIndexU
lea rax, [0x004ce562]
mov ebx, 0x2c
nop dword [rax + rax]
call dbg.runtime.throw
nop
int3

Function at 0x41fdc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41febe
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41fe00
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41feaf
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call dbg.runtime.(*scavengeIndex).find
nop dword [rax]
test rax, rax
je 0x41feaf
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041ff00]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x005a3c80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41fe9d
xor eax, eax
jmp 0x41fea7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41fdf2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp dbg.runtime.(*pageAlloc).scavenge