joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d3a60
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.2fc4d4b40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d4462
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d44fa
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d44de
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 0x2fc4d44d2
cmp qword [rbp - 0x10], 0
je 0x2fc4d44d2
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 0x2fc4d4498
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d44fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d4600
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 0x2fc4d4628
mov eax, 0
jmp 0x2fc4d4676
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 0x2fc4d4651
mov eax, 0
jmp 0x2fc4d4676
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 0x2fc4d4671
mov eax, 0
jmp 0x2fc4d4676
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d467c
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 0x2fc4d46fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d46f1
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 0x2fc4d46f1
mov rax, qword [rbp - 8]
jmp 0x2fc4d470f
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 0x2fc4d46c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001810
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002650
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002650
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001880
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x1400019b0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001955
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018b0
mov rcx, rbx
call fcn.1400022f0
mov rdi, rax
test rax, rax
je 0x1400019d2
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002430
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000194e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001960
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000194e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001810
nop dword [rax]
xor esi, esi
jmp 0x1400018d8
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001810
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001810
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001fbc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001fb3
test eax, eax
jne 0x140001fb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400022f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002310
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002318
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002310
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000236d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002310
add rax, 0x28
cmp rax, r9
jne 0x140002350
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000238f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002398
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000238f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002458
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180001e47
Capabilities:
Delete file

Disassembly:
jmp 0x180202c04
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180202c24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
or eax, 0xffffffff
jmp 0x180202c26
xor eax, eax
add rsp, 0x28
ret
Function at 0x18000262b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180226fc0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180293780]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x180297338]
xor r11d, r11d
lea rdi, [0x180238455]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180227030
mov rax, 0xfffffffffffffffe
jmp 0x18022717d
cmp word [r10 + 6], r11w
jne 0x18022709f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x18022705a
test r14, r14
je 0x18022704b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x18022717d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180227068
mov r8b, 2
jmp 0x180227086
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180227076
mov r8b, 3
jmp 0x180227086
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180227172
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1802270c8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180227172
cmp bl, bpl
jb 0x180227172
cmp bl, r8b
jae 0x180227172
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1802270f5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180227172
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1802270d7
cmp r9, rbp
jae 0x180227121
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180227024
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180227172
cmp edx, 0x110000
jae 0x180227172
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180227172
test r14, r14
je 0x180227160
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.180004584
jmp 0x18022717d
mov rdx, rsi
mov rcx, r10
call fcn.180004def
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180002c0c
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x1801aa304
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1801aa391
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1801aa391
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801aa391
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 0x1801aa378
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1801aa372
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1801aa37a
add rdx, 0x28
jmp 0x1801aa357
xor edx, edx
test rdx, rdx
jne 0x1801aa383
xor al, al
jmp 0x1801aa397
cmp dword [rdx + 0x24], 0
jge 0x1801aa38d
xor al, al
jmp 0x1801aa397
mov al, 1
jmp 0x1801aa397
xor al, al
jmp 0x1801aa397
add rsp, 0x18
ret
Function at 0x180002a36
Capabilities:
Query environment variable

Disassembly:
jmp 0x18020a82c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18020a8b3
mov rsi, rbx
cmp word [rax], bp
je 0x18020a872
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18020a85c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18020a858
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180001037
mov rdi, rax
test rax, rax
je 0x18020a8a0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180002c16
mov rbp, rdi
xor ecx, ecx
call fcn.180001195
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180002ac7
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180229890
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1802298be
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180229917
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180229917
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180229909
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x180002dba
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1801be0d4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180251bb8]
mov ecx, 2
lea r8, [0x180251bb0]
lea rdx, str.FlsGetValue
call fcn.1801bdba4
mov ecx, ebx
test rax, rax
je 0x1801be10e
add rsp, 0x20
pop rbx
jmp qword [0x1802b3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x180002f54
Capabilities:
Query environment variable

Disassembly:
jmp 0x18020a6d8
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 0x18020a708
xor eax, eax
jmp 0x18020a7cb
mov rbp, rbx
cmp word [rax], si
je 0x18020a72d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18020a714
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18020a710
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.180003b8e
movsxd r14, eax
test eax, eax
jne 0x18020a76b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18020a701
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18020a784
xor ecx, ecx
call fcn.180001195
jmp 0x18020a760
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.180003b8e
test eax, eax
jne 0x18020a7b5
mov rcx, rdi
call fcn.180001195
jmp 0x18020a7bf
xor ecx, ecx
call fcn.180001195
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 0x180002f5e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1801be024
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180251b78]
xor ecx, ecx
lea r8, [0x180251b70]
lea rdx, str.FlsAlloc
call fcn.1801bdba4
test rax, rax
je 0x1801be05d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1802b3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x180002fe5
Capabilities:
Get geographical location

Disassembly:
jmp 0x180201d1c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180258ca0]
mov rbp, rcx
lea r8, [0x180258c98]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18020123c
test rax, rax
je 0x180201d7c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1802b3030]
jmp 0x180201d96
xor edx, edx
mov rcx, rbp
call fcn.1800026df
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180003003
Capabilities:
Terminate process

Disassembly:
jmp 0x1801a9370
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 0x1800031ca
Capabilities:
Parse pe header

Disassembly:
jmp 0x1801cb554
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1801cb2b0

Function at 0x1800033c3
Capabilities:
Parse pe header

Disassembly:
jmp 0x18022a350
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18022a378
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18022a378
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003ada
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18022a290
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x18022a2d1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x18022a2c5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x18022a2d3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x18022a2b3
xor eax, eax
ret

Function at 0x180003d5f
Capabilities:
Terminate process

Disassembly:
jmp 0x1801c03d4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1801c03ee
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.18000459d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180004476
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180229950
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1802299c8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1802299c8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1802299c8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1802299bc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1802299da
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1802299aa
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1802299ca
Function at 0x180004480
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x18001cdc0
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
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001cf72
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.180004999
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001cf31
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [rcx]
movzx r9d, byte [rax + 0x10]
xor r9, rbp
imul r9, rdi
movzx edx, byte [rax + 0x11]
xor r9, rdx
imul r9, rdi
movzx edx, byte [rax + 0x12]
xor r9, rdx
imul r9, rdi
movzx edx, byte [rax + 0x13]
xor r9, rdx
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001ceb0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001cf25
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18001ceed
mov r10, qword [rdx]
cmp r10, rax
je 0x18001cee7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18001cf25
cmp r9, rdx
je 0x18001cf01
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18001cf4c
cmp r9, rdx
jne 0x18001cef2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18001ce60
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
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18001cf25
lea rcx, str.invalid_hash_bucket_count
call fcn.180004741
int3

Function at 0x1800046ce
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1801be12c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180251bd8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180251bd0]
call fcn.1801bdba4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1801be16c
call qword [0x1802b3020]
jmp 0x1801be172
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800048d1
Capabilities:
Parse pe header

Disassembly:
jmp 0x1801cb544
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801cb31f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801cb31f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801cb31f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801cb31f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801cb31f
cmp dword [rcx + 0x84], 0xe
jbe 0x1801cb31f
cmp dword [rcx + 0xf8], 0
je 0x1801cb31f
mov ecx, ebx
call fcn.1801cb488
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801cb008
nop
cmp dword [rbp + 0x20], 0
je 0x1801cb36d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801cb3a8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1801cb2b0

Function at 0x18000497b
Capabilities:
Create thread

Disassembly:
jmp 0x1801c9678
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1801c96af
call fcn.180002531
mov dword [rax], 0x16
call fcn.18000154b
xor eax, eax
jmp 0x1801c973d
mov rdx, r9
mov rcx, r8
call fcn.1801c945c
mov rbx, rax
test rax, rax
je 0x1801c973a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1801c91e4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1801c9727
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1801c970e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1801c971d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180001195
jmp 0x1801c973a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1801c9737
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret