joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0042eeb0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x0042eec0]
mov dword [rax], 1
mov rax, qword [0x0042eed0]
mov dword [rax], 1
mov rax, qword [0x0042eea0]
mov dword [rax], 1
mov rax, qword [0x0042ed60]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x0042ee90]
mov dword [0x00435008], 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 [0x0042ee50]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0042ed10]
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 0x402b90
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp edx, 1
je 0x402bb0
cmp edx, 2
je 0x402be0
xor eax, eax
test edx, edx
je 0x402bc4
add rsp, 0x28
ret
mov ecx, 2
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x1f
add rsp, 0x28
ret
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x1f
add rsp, 0x28
ret
mov ecx, 4
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403360
Capabilities:
Log keystrokes via polling

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.USER32.dll_GetKeyState]
mov ebp, dword [rsp + 0x80]
mov r12d, edx
mov edi, r9d
mov rsi, rcx
mov r13d, r8d
mov ecx, 0x12
call rbx
mov edx, edi
test ax, ax
js 0x4033b4
mov ecx, 0x11
call rbx
mov edx, ebp
test ax, ax
js 0x4033b4
mov ecx, 0x10
call rbx
mov edx, r13d
test ax, ax
js 0x4033b4
mov edx, r12d
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.hb_gt_wvt_AddCharToInputQueue
Function at 0x404370
Capabilities:
Hide graphical window

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov dword [rcx + 0x1534], 1
mov rbx, rcx
mov rcx, qword [rcx + 0x14f0]
call qword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [rbx + 0x1540]
test eax, eax
je 0x404411
mov rcx, rbx
call sym.hb_gt_wvt_FitSizeRows.part.12
mov rcx, qword [rbx + 0x14f0]
mov r8d, 0xce0000
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x14f0]
mov dword [rsp + 0x30], 0x2037
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [rbx + 0x14f0]
call rsi
mov rcx, qword [rbx + 0x14f0]
mov edx, 1
mov rax, rsi
add rsp, 0x48
pop rbx
pop rsi
jmp rax
mov dword [rbx + 0x2158], 0
mov rcx, qword [rbx + 0x14f0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4043a2
Function at 0x40f3c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
xor r8d, r8d
mov qword [rsp + 0x38], 0
mov rbx, rcx
mov rsi, rdx
xor edx, edx
lea rcx, [rsp + 0x40]
call sym.hb_winmainArgGet
test eax, eax
jne 0x40f400
mov rax, qword [rsp + 0x38]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, rbx
mov r8, rsi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbx, rax
je 0x40f3ec
xor ecx, ecx
mov rdi, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x48], 0
call rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov r12, rax
call rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, 2
movsxd rbp, eax
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, r12
mov rcx, rax
call sym.memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x48]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea rax, [rsp + 0x38]
mov r9, qword [0x0042ecf0]
mov edx, ebp
mov r8d, 1
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.OLEAUT32.dll_OleLoadPicture]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0x38]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x40f4e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x40f53e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov esi, eax
jne 0x40f550
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rdi, rax
je 0x40f535
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40f591
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40f535
lea r8, [rsp + 0x50]
mov rcx, rdi
mov edx, 1
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea rax, [rsp + 0x58]
mov r9, qword [0x0042ecf0]
mov edx, esi
mov qword [rsp + 0x20], rax
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_OleLoadPicture]
jmp 0x40f586
Function at 0x423d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00436304]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x423ec8
mov rax, qword [0x00436308]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x423d8c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x423e15
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x423d70
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x423efd
mov rax, qword [0x00436308]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00436308]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x423ee0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x423e0e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x423e70
add dword [0x00436304], 1
cmp edi, 8
jae 0x423e43
test dil, 4
jne 0x423eb4
test edi, edi
je 0x423e38
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x423ecf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x423e38
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x423e5c
jmp 0x423e38
add rsi, qword [0x00436308]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x423e0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x423e38
xor esi, esi
jmp 0x423d97
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x423e38
mov rax, qword [0x00436308]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x424650
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004365e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004365c0]
test rbx, rbx
je 0x4246a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x42469b
test rsi, rsi
je 0x42469b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x424680
lea rcx, [0x004365e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4248e0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4248f0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x424900
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x424941
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x424938
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x424943
add rax, 0x28
cmp rax, r9
jne 0x424924
xor eax, eax
ret

Function at 0x4249e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0042ed60]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x424a4d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x424a4d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x424a4d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x424a44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x424a4f
add rax, 0x28
cmp rax, r9
jne 0x424a30
xor eax, eax
add rsp, 0x28
ret

Function at 0x424b50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0042ed60]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x424b70
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x424b68
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x424bcd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x424bc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x424bd4
add rax, 0x28
cmp rax, r9
jne 0x424bb0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x424bf0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0042ed60]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x424c5e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x424c5e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x424c5e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x424c5e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x424c55
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x424c65
add rcx, 0x28
cmp rcx, rax
jne 0x424c40
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x424c78
jmp 0x424c5e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x424c86
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x424c5e
test r9d, r9d
jg 0x424c70
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x424ff0
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
nop
nop
nop
nop
nop
nop

Function at 0x20f6108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.020f628f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x20f6139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x20f611f
add dl, dl
jne 0x20f6146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x20f61a6
xor eax, eax
add dl, dl
jne 0x20f6155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x20f625d
add dl, dl
jne 0x20f6166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x20f6173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x20f6180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x20f618d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x20f619a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x20f612e
mov eax, 1
add dl, dl
jne 0x20f61b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x20f61c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x20f61ab
sub eax, ebx
mov ebx, 1
jne 0x20f61fc
mov ecx, 1
add dl, dl
jne 0x20f61de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x20f61eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x20f61d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x20f612e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x20f6218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x20f6225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x20f620d
cmp eax, 0x7d00
jae 0x20f624b
cmp eax, 0x500
jb 0x20f6246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x20f612e
cmp eax, 0x7f
ja 0x20f624e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x20f612e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x20f6282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x20f612e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x414de0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414f86
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.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430ec0
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414e4b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414e60
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x414e85
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414e99
cmp rbx, 0x1000
jae 0x414e55
nop dword [rax]
jmp 0x414f09
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 0x414ead
xor edx, edx
jmp 0x414f00
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 fcn.00430ec0
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
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 0x414e8f
jmp 0x414e74
call fcn.00460760
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435400
lea rax, [0x004c4e4f]
mov ebx, 0x18
call fcn.00435d00
mov rax, qword [rsp + 0x38]
call fcn.00435a00
lea rax, [0x004c4f0f]
mov ebx, 0x19
call fcn.00435d00
mov rax, qword [rsp + 0x30]
nop
call fcn.00435a00
call fcn.00435660
call fcn.00435480
lea rax, [0x004c7997]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00433ac0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414de0
Function at 0x414fc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4151ea
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.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 fcn.00430f40
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415039
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41504c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415070
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x415084
cmp rbx, 0x1000
jae 0x415043
jmp 0x415105
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415096
xor esi, esi
jmp 0x4150f6
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
nop dword [rax]
call fcn.00430f40
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
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 0x41507a
nop
jmp 0x415062
call fcn.00460760
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415185
call fcn.00435400
lea rax, [0x004c54d2]
mov ebx, 0x19
call fcn.00435d00
mov rax, qword [rsp + 0x68]
call fcn.00435a00
lea rax, [0x004c4f0f]
mov ebx, 0x19
call fcn.00435d00
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435a00
call fcn.00435660
call fcn.00435480
lea rax, [0x004c1457]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00433ac0
cmp eax, 0x5af
je 0x415128
call fcn.00435400
lea rax, [0x004c54d2]
mov ebx, 0x19
nop dword [rax]
call fcn.00435d00
mov rax, qword [rsp + 0x38]
call fcn.00435a00
lea rax, [0x004c4f0f]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435d00
mov eax, dword [rsp + 0x34]
call fcn.00435a00
call fcn.00435660
call fcn.00435480
lea rax, [0x004c7207]
mov ebx, 0x1f
call fcn.00433ac0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414fc0
Function at 0x41d4a0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005dac10], 0
jne 0x41d58f
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 0x41d585
lea rbx, [0x005ad050]
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 0x41d567
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 fcn.0045f240
lea rax, [0x004c9578]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00433ac0
nop
int3

Function at 0x41f980
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41fa7e
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 0x41f9c0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41fa6f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00420520
nop dword [rax]
test rax, rax
je 0x41fa6f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041fac0]
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 fcn.0045ca80
xorps xmm15, xmm15
mov r14, qword [0x005dae00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41fa5d
xor eax, eax
jmp 0x41fa67
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41f9b2
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 fcn.0045cbc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041f980