joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015f0
Capabilities:
Disable driver code integrity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov qword [r8], rbx
mov rbp, rdx
mov rsi, rcx
call fcn.1400012b0
mov rcx, rsi
mov rdi, rax
call fcn.1400012b0
mov r9, rax
test rax, rax
je 0x14000171d
mov rax, qword gs:[0x30]
mov r10d, ebx
mov r8d, ebx
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x1400016b2
lea r11, [0x140004ba8]
sub r9, r11
nop
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140001672
test dl, dl
jne 0x1400016ae
inc ecx
inc rax
cmp ecx, 0x10
jb 0x140001665
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140001660
movzx ecx, bx
nop dword [rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x1400016a0
jmp 0x14000170c
xor cl, cl
jmp 0x14000167e
lea r11, [0x140004b98]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x1400016d2
test dl, dl
jne 0x140001724
inc ecx
inc rax
cmp ecx, 0xc
jb 0x1400016c5
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x1400016c0
mov ecx, ebx
nop dword [rax + rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140001700
test r10d, r10d
jne 0x140001728
lea rcx, str.failed_to_find_CipInitialize_n
call fcn.140001020
xor eax, eax
jmp 0x14000180a
xor cl, cl
jmp 0x1400016de
movzx r9d, cx
mov edx, r10d
movsxd rcx, r10d
lea rax, [rcx + r9]
mov r8d, dword [rax + rdi]
add rdi, 4
lea rax, [rcx + r8]
add rax, r9
lea rcx, str.CipOffset_:__d___CipInitOffset_:_0x_llx__CipInitialize_:_0x_llx_n
add rdi, rax
mov r9, rdi
call fcn.140001020
lea r11, [0x140004b88]
mov r8, rdi
sub r8, r11
mov r10d, ebx
mov r9d, ebx
nop word [rax + rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r8 + rax], dl
je 0x140001782
test dl, dl
jne 0x1400017d1
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140001775
mov cl, 1
test cl, cl
mov eax, r9d
cmove eax, r10d
inc r9d
inc r8
movsxd r10, eax
cmp r9d, 0xff
jl 0x140001770
nop dword [rax]
inc bx
movzx edx, bx
cmp byte [rdx + r11], 0
jne 0x1400017b0
test eax, eax
jne 0x1400017d5
lea rcx, str.failed_to_find_Ci_gOptions_n
call fcn.140001020
xor eax, eax
jmp 0x14000180a
xor cl, cl
jmp 0x14000178e
lea rax, [r10 + rdx]
movsxd r8, dword [rax + rdi]
lea rbx, [r10 + 4]
add rbx, r8
lea rcx, str.Offset_:__d_RealOffset_:__d__g_CiOptions_:_0x_llx
add rbx, rdx
mov edx, r10d
add rbx, rdi
mov r9, rbx
call fcn.140001020
sub rbx, rsi
mov eax, 1
add rbx, rbp
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001830
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov qword [rcx], 0
lea rdx, [rsp + 0x58]
mov eax, dword [0x140004628]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x140004620]
mov rdi, rcx
mov dword [rsp + 0x60], eax
mov esi, 0x23f0
movzx eax, byte [0x14000462c]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x64], al
mov eax, dword [str.CI.dll]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140004634]
mov word [rsp + 0x54], ax
movzx eax, byte [0x140004636]
mov byte [rsp + 0x56], al
movsd qword [rsp + 0x58], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x50]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x70]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.1400013c0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001080
mov ebx, eax
test eax, eax
jns 0x140001929
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.140001020
jmp 0x140001a60
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140001992
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001420
mov ebx, eax
test eax, eax
jns 0x140001967
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.140001020
jmp 0x140001a4e
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400015f0
test eax, eax
je 0x140001a49
mov rax, qword [rsp + 0x30]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x140001a4e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140001420
mov ebx, eax
test eax, eax
js 0x140001a4e
mov r11, qword [rsp + 0x48]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x140001a3d
mov rbx, qword [rsp + 0x40]
lea rsi, [0x140004bbc]
nop dword [rax + rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x1400019ed
test cl, cl
jne 0x140001a39
inc edx
inc rax
cmp edx, 4
jb 0x1400019e0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x1400019d0
test rax, rax
je 0x140001a3d
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rsp + 0x30]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.140001020
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x140001a4e
xor cl, cl
jmp 0x1400019f9
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.140001020
mov ebx, 0xc0000225
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140002dc0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140001a90
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140001c17
lea r8, str.___
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001bb0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140001c17
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002dc0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x140003738
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003782
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003782
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003782
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003782
cmp dword [rcx + 0x84], 0xe
jbe 0x140003782
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003784
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4d26f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d37d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d30f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d318a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d316e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3162
cmp qword [rbp - 0x10], 0
je 0x2fc4d3162
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3128
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d318b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3290
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d32b8
mov eax, 0
jmp 0x2fc4d3306
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d32e1
mov eax, 0
jmp 0x2fc4d3306
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3301
mov eax, 0
jmp 0x2fc4d3306
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d330c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d338a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3381
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d3381
mov rax, qword [rbp - 8]
jmp 0x2fc4d339f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d3354
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140012fe0
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]
add rsp, 0x28
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014330
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014350
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014363
xor al, al
jmp 0x1400143d1
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 0x14001438d
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400143a1
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400143b3
xor al, al
jmp 0x1400143d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400143cf
xor al, al
jmp 0x1400143d1
mov al, 1
add rsp, 0x38
ret
Function at 0x18001a4a0
Capabilities:
Encode data using xor

Disassembly:
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
imul ecx, eax, 0xc6a4a793
lea r9, [rdx + 4]
lea r8, [rax + rdx]
cmp r9, r8
ja 0x18001a4de
nop word [rax + rax]
mov eax, dword [rdx]
add r9, 4
add eax, ecx
add rdx, 4
imul ecx, eax, 0xc6a4a793
mov eax, ecx
shr eax, 0x10
xor ecx, eax
cmp r9, r8
jbe 0x18001a4c0
sub r8, rdx
sub r8, 1
je 0x18001a505
sub r8, 1
je 0x18001a4fc
cmp r8, 1
jne 0x18001a518
movzx eax, byte [rdx + 2]
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 1]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx]
add eax, ecx
imul eax, eax, 0xc6a4a793
mov ecx, eax
shr ecx, 0x18
xor eax, ecx
ret
mov eax, ecx
ret

Function at 0x18002eb10
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180074010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov rdi, rdx
mov rax, rdx
mov rbp, rcx
movzx edx, word [rdx]
mov ecx, r14d
test dx, dx
je 0x18002ebe8
nop dword [rax]
cmp dx, 0x5c
je 0x18002eb5c
cmp dx, 0x2f
jne 0x18002eb66
xor edx, edx
cmp dx, word [rax + 2]
cmovne rcx, rax
movzx edx, word [rax + 2]
add rax, 2
test dx, dx
jne 0x18002eb50
test rcx, rcx
je 0x18002ebe8
sub rcx, rdi
sar rcx, 1
lea rsi, [rcx + rcx]
lea rcx, [rsi + 2]
call fcn.18003fee8
mov rbx, rax
test rax, rax
je 0x18002ebe8
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.18003a780
mov word [rsi + rbx], r14w
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, rbx
mov sil, 1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x18002ebc9
mov eax, dword [rsp + 0x28]
shr eax, 4
and al, sil
jne 0x18002ebd7
mov rdx, rbx
mov rcx, rbp
call fcn.18002eb10
movzx esi, al
mov rcx, rbx
call fcn.18003fed4
test sil, sil
jne 0x18002ebef
xor al, al
jmp 0x18002ec10
xor ecx, ecx
call fcn.18003fed4
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18002ec02
mov al, 1
jmp 0x18002ec10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180035cd0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800316b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov ebx, ecx
mov ecx, dword [0x18007536c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180075fec], ecx
jle 0x180031712
lea rcx, [0x180075fec]
call fcn.1800366ec
cmp dword [0x180075fec], 0xffffffff
jne 0x180031712
mov byte [0x180075fe8], 0
lea rcx, [0x180075fec]
call fcn.18003668c
cmp byte [0x180075fe8], 0
je 0x18003172d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea r10, [rdi + rsi]
not ebx
lea rdx, [rdi + 3]
and rdx, 0xfffffffffffffffc
lea rsi, [0x180000000]
cmp rdx, r10
ja 0x18003176b
cmp rdi, rdx
je 0x18003176b
nop dword [rax]
movzx ecx, bl
movzx eax, byte [rdi]
xor rcx, rax
shr ebx, 8
xor ebx, dword [rsi + rcx*4 + 0x62630]
inc rdi
cmp rdi, rdx
jne 0x180031750
mov r11, r10
sub r11, rdi
cmp r11, 0x10
jl 0x18003189a
nop dword [rax + rax]
xor ebx, dword [rdi]
mov eax, ebx
shr rax, 0x10
movzx edx, al
mov eax, ebx
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x62a30]
xor r8d, dword [rsi + rcx*4 + 0x62230]
mov eax, ebx
shr rax, 0x18
xor r8d, dword [rsi + rax*4 + 0x62630]
movzx eax, bl
xor r8d, dword [rsi + rax*4 + 0x61e30]
xor r8d, dword [rdi + 4]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x62a30]
xor r8d, dword [rsi + rcx*4 + 0x62230]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rax*4 + 0x62630]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0x61e30]
xor r8d, dword [rdi + 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x62a30]
xor r8d, dword [rsi + rcx*4 + 0x62230]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rax*4 + 0x62630]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0x61e30]
xor r8d, dword [rdi + 0xc]
add rdi, 0x10
sub r11, 0x10
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov ebx, dword [rsi + rdx*4 + 0x62a30]
xor ebx, dword [rsi + rcx*4 + 0x62230]
mov eax, r8d
shr rax, 0x18
xor ebx, dword [rsi + rax*4 + 0x62630]
movzx eax, r8b
xor ebx, dword [rsi + rax*4 + 0x61e30]
cmp r11, 0x10
jge 0x180031780
mov r9, r10
sub r9, rdi
cmp r9, 4
jl 0x1800318fc
nop word [rax + rax]
xor ebx, dword [rdi]
add rdi, 4
sub r9, 4
mov r8d, ebx
mov eax, ebx
shr rax, 0x10
movzx edx, al
mov eax, ebx
shr rax, 8
movzx ecx, al
mov ebx, dword [rsi + rdx*4 + 0x62a30]
xor ebx, dword [rsi + rcx*4 + 0x62230]
mov eax, r8d
shr rax, 0x18
xor ebx, dword [rsi + rax*4 + 0x62630]
movzx eax, r8b
xor ebx, dword [rsi + rax*4 + 0x61e30]
cmp r9, 4
jge 0x1800318b0
cmp rdi, r10
je 0x18003191c
movzx ecx, bl
movzx eax, byte [rdi]
xor rcx, rax
shr ebx, 8
xor ebx, dword [rsi + rcx*4 + 0x62630]
inc rdi
cmp rdi, r10
jne 0x180031901
not ebx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x411e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411fab
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 fcn.0042dac0
xorps xmm15, xmm15
mov r14, qword [0x00553360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x411e85
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x411e94
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x411eb3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x411ec3
cmp rbx, 0x1000
jae 0x411e8b
jmp 0x411f2d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x411ed5
xor edx, edx
jmp 0x411f24
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.0042dac0
xorps xmm15, xmm15
mov r14, qword [0x00553360]
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 0x411eb9
jmp 0x411ea8
call fcn.0045aec0
xorps xmm15, xmm15
mov r14, qword [0x00553360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00431e20
lea rax, [0x004864a5]
mov ebx, 0x18
nop dword [rax]
call fcn.004326a0
mov rax, qword [rsp + 0x38]
call fcn.004323e0
lea rax, [0x00486784]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004326a0
mov rax, qword [rsp + 0x30]
call fcn.004323e0
call fcn.00432060
call fcn.00431e80
lea rax, [0x0048803e]
mov ebx, 0x21
call fcn.00430480
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00457820
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00411e20
Function at 0x411fe0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412206
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 fcn.0042db40
xorps xmm15, xmm15
mov r14, qword [0x00553360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x412053
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x412062
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x412085
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x412095
cmp rbx, 0x1000
jae 0x412059
nop
jmp 0x412118
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 0x4120ad
xor esi, esi
jmp 0x41210a
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 fcn.0042db40
xorps xmm15, xmm15
mov r14, qword [0x00553360]
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 0x41208b
jmp 0x412076
call fcn.0045aec0
xorps xmm15, xmm15
mov r14, qword [0x00553360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4121a0
nop dword [rax + rax]
call fcn.00431e20
lea rax, [0x0048679d]
mov ebx, 0x19
call fcn.004326a0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.004323e0
lea rax, [0x00486784]
mov ebx, 0x19
call fcn.004326a0
mov eax, dword [rsp + 0x34]
call fcn.004323e0
nop
call fcn.00432060
call fcn.00431e80
lea rax, [0x0048428b]
mov ebx, 0xd
call fcn.00430480
nop dword [rax + rax]
cmp eax, 0x5af
je 0x412140
call fcn.00431e20
lea rax, [0x0048679d]
mov ebx, 0x19
call fcn.004326a0
mov rax, qword [rsp + 0x38]
call fcn.004323e0
lea rax, [0x00486784]
mov ebx, 0x19
call fcn.004326a0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.004323e0
call fcn.00432060
call fcn.00431e80
lea rax, [0x004879fe]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00430480
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00457820
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00411fe0