joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180055f6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800881f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180055fc3
cmp word [rdx], r13w
jne 0x180055fc3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180055fc8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800560ed
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005610e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180056001
mov rdx, r9
mov word [rbx], cx
jmp 0x180056028
cmp r9, r8
jae 0x180056038
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180055fe2
jmp 0x1800560ed
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800560e2
cmp dword [rsp + 0x80], esi
je 0x1800560e2
lea r8, [0x1800881f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800560ba
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005608a
mov word [rbx], r13w
jmp 0x1800560ea
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180056097
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800560ea
cmp word [rsp + 0x70], r13w
jne 0x1800560c7
cmp rbx, r14
je 0x180056084
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800556f0
cmp word [rsp + 0x70], r13w
je 0x1800560ed
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800881f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800560e7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800560ed
Function at 0x18005a550
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 0x18005a580
xor eax, eax
jmp 0x18005a643
mov rbp, rbx
cmp word [rax], si
je 0x18005a5a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005a58c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005a588
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.180058c68
movsxd r14, eax
test eax, eax
jne 0x18005a5e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005a579
mov rcx, r14
call fcn.18005231c
mov rdi, rax
test rax, rax
jne 0x18005a5fc
xor ecx, ecx
call fcn.1800514d4
jmp 0x18005a5d8
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.180058c68
test eax, eax
jne 0x18005a62d
mov rcx, rdi
call fcn.1800514d4
jmp 0x18005a637
xor ecx, ecx
call fcn.1800514d4
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 0x18005ce94
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18004f878
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18005cf35
cmp ebx, dword [rsp + 0x30]
je 0x18005cf2e
test esi, esi
je 0x18005cf2e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18005cf09
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18005cf16
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18005cef3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18005cf1a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18005cf37
mov eax, 1
jmp 0x18005cf37
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800619e0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800556f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800556f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180061b30
cmp rax, 0xffffffffffffffff
je 0x180061b30
xor edi, edi
test rbp, rbp
jle 0x180061adb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18005145c
mov rbx, rax
test rax, rax
jne 0x180061a68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180061ad1
mov edx, 0x8000
mov ecx, r14d
call fcn.180061864
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180055178
cmp eax, 0xffffffff
je 0x180061ab1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180061a78
mov edx, r15d
mov ecx, r14d
call fcn.180061864
jmp 0x180061ad1
cmp byte [rsi + 0x38], dil
je 0x180061ac8
cmp dword [rsi + 0x34], 5
jne 0x180061ac8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180061ad1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800514d4
jmp 0x180061b44
jns 0x180061b44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800556f0
cmp rax, 0xffffffffffffffff
jne 0x180061afc
cmp byte [rsi + 0x30], dil
je 0x180061b44
mov edi, dword [rsi + 0x2c]
jmp 0x180061b44
mov ecx, r14d
call fcn.18005d888
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180061b44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180061b44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180061b3d
mov eax, dword [rsi + 0x2c]
jmp 0x180061b42
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800556f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180062540
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180062568
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180062568
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400110be
Capabilities:
Query environment variable

Disassembly:
jmp 0x140011ae0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
lea rcx, [0x14004216f]
call fcn.1400113ca
nop
lea rax, [rbp + 0x370]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x370]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x370], 0x68
mov r8d, 0x104
lea rdx, [rbp + 0x240]
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140011bb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetEnvironmentVariableA_Failed_With_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140011cc3
mov r9, qword [rbp + 0x680]
lea r8, [rbp + 0x240]
lea rdx, str._sSystem32_s
lea rcx, [rbp + 0x10]
call fcn.14001138e
nop
lea rdx, [rbp + 0x10]
lea rcx, str._n_t_i__Running_:___s__...
call fcn.1400111bd
nop
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x370]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.C:WindowsSystem32wpr.exe
xor ecx, ecx
call qword [0x14003bb40]
test eax, eax
jne 0x140011c54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateProcessA_Failed_with_Error_:__d__n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140011cc3
lea rcx, str.___DONE__n
call fcn.1400111bd
nop
mov rax, qword [rbp + 0x688]
mov ecx, dword [rbp + 0x408]
mov dword [rax], ecx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rbp + 0x3f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x698]
mov rcx, qword [rbp + 0x400]
mov qword [rax], rcx
mov rax, qword [rbp + 0x688]
mov eax, dword [rax]
test rax, rax
je 0x140011cc1
mov rax, qword [rbp + 0x690]
cmp qword [rax], 0
je 0x140011cc1
mov rax, qword [rbp + 0x698]
cmp qword [rax], 0
je 0x140011cc1
mov eax, 1
jmp 0x140011cc3
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001add0]
call fcn.14001134d
mov rax, rdi
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret
Function at 0x14001111d
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140013390
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400422fd]
call fcn.1400113ca
nop
mov eax, dword [rbp + 0x140]
test rax, rax
jne 0x1400133be
xor eax, eax
jmp 0x140013434
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140013434
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x140013425
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x50]
call fcn.1400113e8
mov ecx, dword [rbp + 0x140]
cmp rax, rcx
jne 0x140013423
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + rax + 0x20]
jmp 0x140013434
jmp 0x140013427
jmp 0x140013434
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
jmp 0x1400133e3
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011172
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140014ccc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014d59
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140014d59
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014d59
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140014d40
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140014d3a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140014d42
add rdx, 0x28
jmp 0x140014d1f
xor edx, edx
test rdx, rdx
jne 0x140014d4b
xor al, al
jmp 0x140014d5f
cmp dword [rdx + 0x24], 0
jge 0x140014d55
xor al, al
jmp 0x140014d5f
mov al, 1
jmp 0x140014d5f
xor al, al
jmp 0x140014d5f
add rsp, 0x18
ret
Function at 0x140011186
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x140013070
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
lea rcx, [0x140042236]
call fcn.1400113ca
nop
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x60], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call qword [rbp + 0x88]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140013148
mov edx, dword [rbp + 4]
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x14001314d
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001b510]
call fcn.14001134d
mov rax, rdi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140016350
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14001129e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013e84
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400113f2
test al, al
je 0x140013d4f
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140011370
mov bl, al
mov ecx, dword [0x14003bbb8]
cmp ecx, 1
je 0x140013d5a
test ecx, ecx
jne 0x140013c85
mov dword [0x14003bbb8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111c2
test eax, eax
je 0x140013c66
mov eax, 0xff
jmp 0x140013d3f
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011366
mov dword [0x14003bbb8], 2
jmp 0x140013c8d
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140011343
call fcn.1400112d0
mov rbx, rax
cmp qword [rax], 0
je 0x140013cc0
mov rcx, rax
call fcn.140011172
test al, al
je 0x140013cc0
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140043020]
call fcn.140011307
mov rbx, rax
cmp qword [rax], 0
je 0x140013ce2
mov rcx, rax
call fcn.140011172
test al, al
je 0x140013ce2
mov rcx, qword [rbx]
call fcn.1400113ac
call fcn.140011091
mov rdi, rax
call fcn.14001133e
mov rbx, qword [rax]
call fcn.140011302
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140011299
mov ebx, eax
call fcn.1400112a3
test al, al
je 0x140013d64
test sil, sil
jne 0x140013d19
call fcn.1400113bb
xor edx, edx
mov cl, 1
call fcn.140011163
mov eax, ebx
jmp 0x140013d3f
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.14001135c
nop
mov ecx, 7
call fcn.14001135c
mov ecx, ebx
call fcn.140011055
nop
mov ecx, ebx
call fcn.140011230
nop
int3
sub rsp, 0x28
call fcn.1400112b7
add rsp, 0x28
jmp 0x140013bf8

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001527c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400152c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400152c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400152c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400152c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400152c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400152c8
xor al, al
add rsp, 0x28
ret
Function at 0x14001130c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013470
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x3f0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x94
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
lea rcx, [0x1400422fd]
call fcn.1400113ca
nop
cmp qword [rbp + 0x3f0], 0
je 0x1400134c3
mov eax, dword [rbp + 0x3f8]
test rax, rax
jne 0x1400134ca
xor eax, eax
jmp 0x140013640
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400134f2
xor eax, eax
jmp 0x140013640
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x4550
je 0x14001351b
xor eax, eax
jmp 0x140013640
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xe0]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1f4], 0
jmp 0x1400135bd
mov eax, dword [rbp + 0x1f4]
inc eax
mov dword [rbp + 0x1f4], eax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x1f4], eax
jae 0x14001363e
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x198]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x1d8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x1b8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x218]
call fcn.1400111e5
cmp dword [rbp + 0x3f8], eax
jne 0x140013639
mov rax, qword [rbp + 0x238]
jmp 0x140013640
jmp 0x1400135af
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001b7f0]
call fcn.14001134d
mov rax, rdi
lea rsp, [rbp + 0x3d0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14105df50
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14105df5a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14105df83
pop rbp
sub rbp, 0x33
sub rbp, 0x105df50
sub rsp, 0x20
jmp 0x14105dfa2
mov rax, 0x105df50
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffbebee2df
loop 0x14105df7e
mov esi, 0xff481030
ror byte [rax - 1], 0xc9
xor byte [rax], dl
inc rax
dec rcx
jne 0x14105dfc1
jmp 0x14105dfd8
xchg edi, eax
push rsi
push rsp
push rsi
jrcxz 0x14105dfbe
invalid
Function at 0x416500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41668b
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.004349c0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416565
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416574
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416593
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4165a3
cmp rbx, 0x1000
jae 0x41656b
jmp 0x41660d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4165b5
xor edx, edx
jmp 0x416604
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.004349c0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
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 0x416599
jmp 0x416588
call fcn.004683e0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438a60
lea rax, [0x004ed9e8]
mov ebx, 0x18
nop dword [rax]
call fcn.004392e0
mov rax, qword [rsp + 0x38]
call fcn.00439020
lea rax, [0x004ee079]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004392e0
mov rax, qword [rsp + 0x30]
call fcn.00439020
call fcn.00438ca0
call fcn.00438ac0
lea rax, [0x004f0973]
mov ebx, 0x21
call fcn.00436fc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416500
Function at 0x4206c0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x0069b935], 0
jne 0x4207b0
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x4207a3
lea rsi, [0x0062da38]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x42077e
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1270]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1270], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.00466fc0
lea rax, [0x004f2cc8]
mov ebx, 0x2c
nop dword [rax]
call fcn.00436fc0
nop
int3

Function at 0x422c00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x422d06
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x422c43
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x422cfb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.004239e0
test rax, rax
je 0x422cfb
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00422d40]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x422ce9
xor eax, eax
jmp 0x422cf3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x422c31
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.00422c00