joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022fc0
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, [0x140047430]
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 0x140023017
cmp word [rdx], r13w
jne 0x140023017
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002301c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140023141
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140023162
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140023055
mov rdx, r9
mov word [rbx], cx
jmp 0x14002307c
cmp r9, r8
jae 0x14002308c
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 0x140023036
jmp 0x140023141
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 0x140023136
cmp dword [rsp + 0x80], esi
je 0x140023136
lea r8, [0x140047430]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002310e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400230de
mov word [rbx], r13w
jmp 0x14002313e
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 0x1400230eb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002313e
cmp word [rsp + 0x70], r13w
jne 0x14002311b
cmp rbx, r14
je 0x1400230d8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140023c28
cmp word [rsp + 0x70], r13w
je 0x140023141
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, [0x140047430]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002313b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140023141
Function at 0x140027654
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 0x140027684
xor eax, eax
jmp 0x140027747
mov rbp, rbx
cmp word [rax], si
je 0x1400276a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140027690
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002768c
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.140025c2c
movsxd r14, eax
test eax, eax
jne 0x1400276e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002767d
mov rcx, r14
call fcn.140023ccc
mov rdi, rax
test rax, rax
jne 0x140027700
xor ecx, ecx
call fcn.140020c68
jmp 0x1400276dc
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.140025c2c
test eax, eax
jne 0x140027731
mov rcx, rdi
call fcn.140020c68
jmp 0x14002773b
xor ecx, ecx
call fcn.140020c68
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 0x14002a610
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.14001f8ac
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 0x14002a6b1
cmp ebx, dword [rsp + 0x30]
je 0x14002a6aa
test esi, esi
je 0x14002a6aa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002a685
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002a692
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002a66f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002a696
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002a6b3
mov eax, 1
jmp 0x14002a6b3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d4cc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001bde4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002d556
cmp byte [rbp - 0x21], r15b
je 0x14002d551
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002d58c
call fcn.14002237c
test eax, eax
jne 0x14002d578
cmp byte [rbp - 0x21], r15b
je 0x14002d570
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002d58c
cmp byte [rbp - 0x21], r15b
je 0x14002d589
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001be98
test eax, eax
jne 0x14002d62c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001bde4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002d5cb
cmp byte [rbp - 0x21], r15b
je 0x14002d600
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002d600
call fcn.14002237c
test eax, eax
jne 0x14002d5ec
cmp byte [rbp - 0x21], r15b
je 0x14002d5e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002d600
cmp byte [rbp - 0x21], r15b
je 0x14002d5fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001be98
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002d62c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002d62f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002d63d
mov rcx, rdi
call fcn.140020c68
cmp byte [rbp + 0x3f], r15b
je 0x14002d64c
mov rcx, qword [rbp + 0x27]
call fcn.140020c68
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002e004
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.140023c28
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140023c28
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002e154
cmp rax, 0xffffffffffffffff
je 0x14002e154
xor edi, edi
test rbp, rbp
jle 0x14002e0ff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002203c
mov rbx, rax
test rax, rax
jne 0x14002e08c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002e0f5
mov edx, 0x8000
mov ecx, r14d
call fcn.14001d140
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.140020960
cmp eax, 0xffffffff
je 0x14002e0d5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002e09c
mov edx, r15d
mov ecx, r14d
call fcn.14001d140
jmp 0x14002e0f5
cmp byte [rsi + 0x38], dil
je 0x14002e0ec
cmp dword [rsi + 0x34], 5
jne 0x14002e0ec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002e0f5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140020c68
jmp 0x14002e168
jns 0x14002e168
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140023c28
cmp rax, 0xffffffffffffffff
jne 0x14002e120
cmp byte [rsi + 0x30], dil
je 0x14002e168
mov edi, dword [rsi + 0x2c]
jmp 0x14002e168
mov ecx, r14d
call fcn.1400280bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002e168
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 0x14002e168
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002e161
mov eax, dword [rsi + 0x2c]
jmp 0x14002e166
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140023c28
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 0x14002ecb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ecd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ecd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013380
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]
nop
add rsp, 0x28
ret

Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146f0
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014703
xor al, al
jmp 0x140014771
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 0x14001472d
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014741
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014753
xor al, al
jmp 0x140014771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001476f
xor al, al
jmp 0x140014771
mov al, 1
add rsp, 0x38
ret
Function at 0x1400125b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113e3
movzx eax, al
test eax, eax
jne 0x1400125d0
mov ecx, 7
call fcn.140011352
nop
mov byte [rsp + 0x20], 0
call fcn.140011366
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x1400125f4
mov ecx, 7
call fcn.140011352
nop
jmp 0x14001264c
cmp dword [0x14001e868], 0
jne 0x140012647
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111c2
test eax, eax
je 0x140012628
mov eax, 0xff
jmp 0x140012751
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001135c
mov dword [0x14001e868], 2
jmp 0x14001264c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001133e
call fcn.1400112d5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400126a9
mov rcx, qword [rsp + 0x30]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x1400126a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.140011307
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400126dd
mov rcx, qword [rsp + 0x38]
call fcn.140011172
movzx eax, al
test eax, eax
je 0x1400126dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001139d
nop
call fcn.140012800
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x1400126fc
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001270b
call fcn.1400113a7
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x140012751
add rsp, 0x68
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
jrcxz str.UV
mov dl, 0x95
ja 0x14003f676
xchg edx, eax
stosd dword [rdi], eax
invalid
popfq
invalid
invalid
xchg esi, eax
pcmpgtd mm1, qword [rdx + rsi - 0x37fa0e13]
mov edx, 0xc1388b62
push rdi
cwde
jbe 0x14003f6e5
mov ecx, ss
ret
mov edx, edi
adc edi, dword [rcx - 0x48997105]
mov dl, 0xa3
lahf
cmp eax, 0x9e42e7f6
and ah, byte [rdi + 0x27]
invalid
in al, dx
add al, 0x89
adc eax, dword [rdi]
invalid
invalid
sbb eax, dword [rbx]
cdq
jae 0x14003f757
and dword [rsp + rbx*4 + 0x5b], 0xffffffc5
sub ebx, edx
xchg ebp, eax
cwde
lodsb al, byte [rsi]
jge 0x14003f736
xchg ebp, eax
loopne 0x14003f72b
xchg r12, rax
pop rcx
sti
cli
invalid
mov dh, 0x8a
cmp eax, 0x247d791b
sbb ebp, ecx
jmp 0x11601572d
invalid
invalid
std
invalid
std
invalid
sub byte [rdx], cl
and ebx, esi
invalid
sbb byte [rsi + 0x50acd6c8], al
xchg dword [rsi + 0x29243c56], ecx
push rsi
cmp al, 0x24
invalid
stosb byte [rdi], al
invalid
invalid
Function at 0x180001000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x150
cmp dword [rsp + 0x160], 0
jne 0x18000101d
xor eax, eax
jmp 0x180001162
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180001160
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x50], 0
je 0x18000114c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x103
jge 0x18000114a
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x180001123
mov eax, dword [rsp + 0x20]
cmp rax, 0x103
jae 0x180001123
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x61
jl 0x1800010fb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x7a
jg 0x1800010fb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
sub eax, 0x20
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x40], al
jmp 0x180001114
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x20]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + rdx + 0x40], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x180001090
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.180001300
cmp eax, dword [rsp + 0x160]
jne 0x18000114a
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
jmp 0x180001162
jmp 0x18000114e
jmp 0x180001160
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x180001047
xor eax, eax
add rsp, 0x150
pop rdi
ret
Function at 0x180001170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
je 0x180001195
cmp dword [rsp + 0x98], 0
jne 0x18000119c
xor eax, eax
jmp 0x1800012f2
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x38], 0
je 0x1800012ed
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.180001300
cmp eax, dword [rsp + 0x98]
jne 0x1800012cc
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x1800012ed
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x18000125a
mov rax, qword [rsp + 0x58]
add rsp, 0x88
ret
Function at 0x180001300
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xffffffff
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800013af
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.1800013d0
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0
jmp 0x180001362
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 7
jg 0x1800013a0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
test eax, eax
jge 0x18000138a
mov eax, dword [rsp + 0x20]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rsp + 0x20], eax
jmp 0x180001394
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
shl eax, 1
mov dword [rsp + 0x24], eax
jmp 0x180001358
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x180001319
mov eax, dword [rsp + 0x20]
not eax
mov ecx, eax
call fcn.1800013d0
add rsp, 0x38
ret
Function at 0x1800447d0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x40], 0x14044ae
mov dword [rsp + 0x44], 0xe67c7320
mov dword [rsp + 0x48], 0xac2eda02
mov dword [rsp + 0x4c], 0xd443ec8c
mov dword [rsp + 0x50], 0x92dd00b3
mov dword [rsp + 0x54], 0x12d71086
mov dword [rsp + 0x58], 0x7b3f64a4
lea rdx, [rsp + 0x40]
mov ecx, 7
call fcn.1800448b0
lea rcx, [0x180048028]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
lea rcx, [0x180048058]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtCreateThreadEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rcx, [0x180048088]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtMapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
call fcn.1800444d0
add rsp, 0x68
ret