joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027daa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140468080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r8d, 0x10
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
movups xmmword [rsp + 0x38], xmm0
call fcn.14027b8a0
test eax, eax
jne 0x14027dc26
mov ecx, dword [rsp + 0x3c]
mov qword [rsp + 0x68], rbp
mov ebp, dword [rsp + 0x40]
mov qword [rsp + 0x70], rsi
mov esi, dword [rsp + 0x38]
bswap ecx
mov ecx, ecx
bswap esi
bswap ebp
mov esi, esi
mov ebp, ebp
shl rsi, 0x20
or rsi, rcx
mov qword [rsp + 0x78], rdi
mov ecx, dword [rsp + 0x44]
mov edi, 2
bswap ecx
mov ecx, ecx
shl rbp, 0x20
or rbp, rcx
mov qword [rbx + 0x120], rsi
mov ecx, edi
mov qword [rbx + 0xa0], rbp
call fcn.14027ce90
test eax, eax
jne 0x14027dc15
mov qword [rbx + 0xe0], 0
mov qword [rbx + 0x60], 0
mov r8d, 4
nop dword [rax + rax]
mov eax, ebp
mov rcx, rsi
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, rbp
shr rax, 1
mov rbp, rcx
or rbp, rax
mov rax, rsi
shr rax, 1
mov qword [rbx + r8*8 + 0x60], rbp
mov ecx, edx
shl rcx, 0x20
mov rsi, rcx
xor rsi, rax
mov qword [rbx + r8*8 + 0xe0], rsi
shr r8d, 1
jne 0x14027db70
mov r8, rdi
nop word [rax + rax]
mov r9, qword [rbx + r8*8 + 0xe0]
mov r10, qword [rbx + r8*8 + 0x60]
cmp r8, 1
jle 0x14027dc08
lea rax, [rbx + 0x68]
lea rdx, [r8 - 1]
nop dword [rax + rax]
mov rcx, r9
xor rcx, qword [rax + 0x80]
mov qword [rax + r8*8 + 0x80], rcx
lea rax, [rax + 8]
mov rcx, r10
xor rcx, qword [rax - 8]
mov qword [rax + r8*8 - 8], rcx
sub rdx, 1
jne 0x14027dbe0
lea eax, [rdi + rdi]
add r8, r8
mov edi, eax
cmp eax, 8
jle 0x14027dbc0
mov rdi, qword [rsp + 0x78]
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140283e40
add rsp, 0x50
pop rbx
ret

Function at 0x140281970
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x1402819aa
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx esi, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
mov r11d, 4
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx ebp, dl
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
shl r9d, cl
mov ecx, ebp
bswap r8d
mov edx, r8d
shr edx, cl
or r9d, edx
bswap r9d
xor r9d, dword [r10 + rbx - 4]
mov dword [r10 - 4], r9d
mov r9d, r8d
sub r11, 1
jne 0x1402819e0
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140282bd4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140282c0e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140282c13
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140282c5c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1402bb850]
cmp byte [rcx + rax], 0
je 0x140282c5c
dec r8
sub rdx, 1
jne 0x140282c42
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140284d1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140284d66
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140284d66
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140284d66
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140284d66
cmp dword [rcx + 0x84], 0xe
jbe 0x140284d66
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140284d68
xor al, al
add rsp, 0x28
ret

Function at 0x140285040
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x140285089
mov rax, 0xffffffffffffffff
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x60], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x48], r14
cmovb rax, r15
mov rcx, rax
call fcn.140284518
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x14028517f
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], r12
mov r12, r14
mov qword [rsp + 0x50], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140284518
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x1402850f0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.14020f1d0
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x1402851cc
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1402851cc
call fcn.140283e60
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x1402851b0
mov rcx, r14
call fcn.140283e60
mov r14, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
jmp 0x140285040
Function at 0x1402851f0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x140285089
mov rax, 0xffffffffffffffff
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x60], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x48], r14
cmovb rax, r15
mov rcx, rax
call fcn.140284518
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x14028517f
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], r12
mov r12, r14
mov qword [rsp + 0x50], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140284518
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x1402850f0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.14020f1d0
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x1402851cc
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1402851cc
call fcn.140283e60
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x1402851b0
mov rcx, r14
call fcn.140283e60
mov r14, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
jmp 0x140285040
Function at 0x1400045c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor r11d, r11d
mov word [rsp + 0x10], r8w
mov r9, rcx
movsxd r10, edx
movzx r8d, r11w
test edx, edx
jle 0x14000460b
mov edx, 1
nop dword [rax]
cmp dx, r8w
jne 0x1400045e9
mov r8d, r11d
movzx ecx, byte [r9]
movzx eax, r8w
inc r9
movzx eax, byte [rsp + rax*2 + 0x10]
add cl, 0x20
inc r8w
xor al, cl
dec r10
mov byte [r9 - 1], al
jne 0x1400045e0
repz ret
Function at 0x140008f43
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140e6ab00]
jne 0x1400061fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400061f6
repz ret
ror rcx, 0x10
jmp 0x140008e9c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140e6e1f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140e6e2e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140008f21
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140e6e1f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140008f43
mov rax, qword [rsp + 0x88]
mov qword [0x140e6e2e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140e6e288], rax
mov rax, qword [0x140e6e2e8]
mov qword [0x140e6e160], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140e6e270], rax
mov dword [0x140e6e150], 0xc0000409
mov dword [0x140e6e154], 1
mov rax, qword [0x140e6ab00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140e6ab08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140e6e1e8], eax
mov ecx, 1
call fcn.14000d794
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400126f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140e6e1e8], 0
jne 0x140008fca
mov ecx, 1
call fcn.14000d794
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000ba58
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000b8c8
Function at 0x14000fe50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140e6ab00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000b31c
xor ebx, ebx
cmp qword [0x140e6f128], rbx
mov rdi, rax
jne 0x14000ff63
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001003a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001003a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140e6f128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140e6f130], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140e6f138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140e6f148], rax
test rax, rax
je 0x14000ff5a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140e6f140], rax
jmp 0x14000ff6a
mov rax, qword [0x140e6f140]
jmp 0x14000ff71
mov rax, qword [0x140e6f140]
mov r11, qword [0x140e6f148]
cmp rax, rdi
je 0x14000ffd8
cmp r11, rdi
je 0x14000ffd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140e6f148]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000ffd8
test rax, rax
je 0x14000ffd8
call rsi
test rax, rax
je 0x14000ffd2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000ffd2
test byte [rsp + 0x40], 1
jne 0x14000ffd8
bts ebp, 0x15
jmp 0x140010018
mov rcx, qword [0x140e6f130]
cmp rcx, rdi
je 0x140010018
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140010018
call rax
mov rbx, rax
test rax, rax
je 0x140010018
mov rcx, qword [0x140e6f138]
cmp rcx, rdi
je 0x140010018
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140010018
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140e6f128]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001003a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001003c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400061e0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140045e30]
mov dword [rax], 1
mov rax, qword [0x140045e40]
mov dword [rax], 1
mov rax, qword [0x140045e50]
mov dword [rax], 1
mov rax, qword [0x140045e20]
mov dword [rax], 1
mov rax, qword [0x140045ca0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002613
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x140002634
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp 0x1400330a0
jmp qword [sym.imp.msvcrt.dll_fflush]
Function at 0x140008ec9
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
xor esi, esi
movq xmm8, qword [0x140042a60]
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x140042a50]
lea r14, [rax*4]
cvtsi2sd xmm7, r14
movaps xmm9, xmm6
andps xmm9, xmm8
ucomisd xmm6, xmm7
jp 0x140008f37
je 0x140008f5b
movaps xmm0, xmm7
subsd xmm0, xmm6
andps xmm0, xmm8
mulsd xmm0, qword [0x140042a70]
comisd xmm9, xmm0
jae 0x140008f5b
call fcn.1400035f2
jmp 0x14000905e
cmp rcx, r14
jl 0x140008f75
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor eax, eax
jmp 0x140008fe9
cmp rcx, rbx
jl 0x140008f83
lea rdx, [rbx - 1]
jmp 0x140009058
lea r13, [rcx + 4]
mov eax, dword [rbp + rcx]
xor rcx, r13
test r13, rcx
js 0x140008f51
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.140008eb0
mov rcx, qword [0x140045c70]
mov edi, eax
call fcn.14002d520
cmp byte [rax], 0
jne 0x14000905e
imul ecx, edi, 0x1b873593
mov edx, 0xd
xor ecx, esi
call fcn.140008eb0
mov rcx, r13
lea esi, [rax + rax*4]
sub esi, 0x19ab949c
jmp 0x140008f2f
movzx r8d, byte [rbp + r8]
shl eax, 8
or eax, r8d
test rdx, rdx
jg 0x140009041
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.140008eb0
mov rcx, qword [0x140045c70]
mov edi, eax
call fcn.14002d520
cmp byte [rax], 0
jne 0x14000905e
imul edi, edi, 0x1b873593
xor esi, ebx
xor esi, edi
mov edx, esi
shr edx, 0x10
xor edx, esi
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x14000905e
lea r8, [rdx - 1]
lea r9, [rcx + r8]
mov rdx, r8
cmp rbx, r9
jg 0x140008fdd
lea rdx, [rbx - 1]
mov rcx, r9
call fcn.140005495
nop
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
mov rax, r12
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x1400090ab
test rcx, rcx
je 0x14000909f
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x140008ec9
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.140007179
xor eax, eax
add rsp, 0x28
ret
Function at 0x140009086
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
xor esi, esi
movq xmm8, qword [0x140042a60]
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x140042a50]
lea r14, [rax*4]
cvtsi2sd xmm7, r14
movaps xmm9, xmm6
andps xmm9, xmm8
ucomisd xmm6, xmm7
jp 0x140008f37
je 0x140008f5b
movaps xmm0, xmm7
subsd xmm0, xmm6
andps xmm0, xmm8
mulsd xmm0, qword [0x140042a70]
comisd xmm9, xmm0
jae 0x140008f5b
call fcn.1400035f2
jmp 0x14000905e
cmp rcx, r14
jl 0x140008f75
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor eax, eax
jmp 0x140008fe9
cmp rcx, rbx
jl 0x140008f83
lea rdx, [rbx - 1]
jmp 0x140009058
lea r13, [rcx + 4]
mov eax, dword [rbp + rcx]
xor rcx, r13
test r13, rcx
js 0x140008f51
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.140008eb0
mov rcx, qword [0x140045c70]
mov edi, eax
call fcn.14002d520
cmp byte [rax], 0
jne 0x14000905e
imul ecx, edi, 0x1b873593
mov edx, 0xd
xor ecx, esi
call fcn.140008eb0
mov rcx, r13
lea esi, [rax + rax*4]
sub esi, 0x19ab949c
jmp 0x140008f2f
movzx r8d, byte [rbp + r8]
shl eax, 8
or eax, r8d
test rdx, rdx
jg 0x140009041
imul ecx, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.140008eb0
mov rcx, qword [0x140045c70]
mov edi, eax
call fcn.14002d520
cmp byte [rax], 0
jne 0x14000905e
imul edi, edi, 0x1b873593
xor esi, ebx
xor esi, edi
mov edx, esi
shr edx, 0x10
xor edx, esi
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x14000905e
lea r8, [rdx - 1]
lea r9, [rcx + r8]
mov rdx, r8
cmp rbx, r9
jg 0x140008fdd
lea rdx, [rbx - 1]
mov rcx, r9
call fcn.140005495
nop
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
mov rax, r12
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x1400090ab
test rcx, rcx
je 0x14000909f
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x140008ec9
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.140007179
xor eax, eax
add rsp, 0x28
ret

Function at 0x14002c1d0
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 fcn.1400337b0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400337b0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14002ce02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140051808]
test eax, eax
je 0x14002ce9a
lea rax, [0x1400517e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140051810]
mov qword [rbp - 8], rax
jmp 0x14002ce7e
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 0x14002ce72
cmp qword [rbp - 0x10], 0
je 0x14002ce72
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 0x14002ce38
lea rax, [0x1400517e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002ce9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14002cfa0
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 0x14002cfc8
mov eax, 0
jmp 0x14002d016
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 0x14002cff1
mov eax, 0
jmp 0x14002d016
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 0x14002d011
mov eax, 0
jmp 0x14002d016
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14002d01c
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 0x14002d09a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14002d091
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 0x14002d091
mov rax, qword [rbp - 8]
jmp 0x14002d0af
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 0x14002d064
mov eax, 0
add rsp, 0x20
pop rbp
ret