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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400146f0
sub rsp, rax
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140029324
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002b383
mov rax, rbp
jmp 0x14002b48b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5d670]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002b81c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5d670]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002b487
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002b487
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002b81c
test rax, rax
js 0x14002b487
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002b487
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002b479
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002b479
cmp byte [rcx], 0xd
jne 0x14002b45f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002b46e
cmp byte [rcx + 1], 0xa
jne 0x14002b46e
inc rcx
jmp 0x14002b46e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x55c60]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002b441
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002b48b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140014260
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d598
Capabilities:
Query environment variable

Disassembly:
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 0x14002d61f
mov rsi, rbx
cmp word [rax], bp
je 0x14002d5de
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002d5c8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002d5c4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140027d84
mov rdi, rax
test rax, rax
je 0x14002d60c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016ec0
mov rbp, rdi
xor ecx, ecx
call fcn.14002766c
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 0x140030208
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.140027a20
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 0x1400302a9
cmp ebx, dword [rsp + 0x30]
je 0x1400302a2
test esi, esi
je 0x1400302a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14003027d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003028a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140030267
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003028e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400302ab
mov eax, 1
jmp 0x1400302ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140033ecc
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, [0x14005d670]
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 0x140033f23
cmp word [rdx], r13w
jne 0x140033f23
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140033f28
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14003404d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14003406e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140033f61
mov rdx, r9
mov word [rbx], cx
jmp 0x140033f88
cmp r9, r8
jae 0x140033f98
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 0x140033f42
jmp 0x14003404d
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 0x140034042
cmp dword [rsp + 0x80], esi
je 0x140034042
lea r8, [0x14005d670]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14003401a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140033fea
mov word [rbx], r13w
jmp 0x14003404a
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 0x140033ff7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14003404a
cmp word [rsp + 0x70], r13w
jne 0x140034027
cmp rbx, r14
je 0x140033fe4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002b824
cmp word [rsp + 0x70], r13w
je 0x14003404d
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, [0x14005d670]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140034047
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14003404d
Function at 0x140037298
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.14002b824
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002b824
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400373e8
cmp rax, 0xffffffffffffffff
je 0x1400373e8
xor edi, edi
test rbp, rbp
jle 0x140037393
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002b8c8
mov rbx, rax
test rax, rax
jne 0x140037320
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140037389
mov edx, 0x8000
mov ecx, r14d
call fcn.140021440
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.14002ad14
cmp eax, 0xffffffff
je 0x140037369
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140037330
mov edx, r15d
mov ecx, r14d
call fcn.140021440
jmp 0x140037389
cmp byte [rsi + 0x38], dil
je 0x140037380
cmp dword [rsi + 0x34], 5
jne 0x140037380
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140037389
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002766c
jmp 0x1400373fc
jns 0x1400373fc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002b824
cmp rax, 0xffffffffffffffff
jne 0x1400373b4
cmp byte [rsi + 0x30], dil
je 0x1400373fc
mov edi, dword [rsi + 0x2c]
jmp 0x1400373fc
mov ecx, r14d
call fcn.14002dae0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400373fc
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 0x1400373fc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400373f5
mov eax, dword [rsi + 0x2c]
jmp 0x1400373fa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002b824
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 0x140001bc8
Capabilities:
Parse pe header

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

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

Function at 0x7ff7d50e7630
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7d50e7658
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff7d50e7658
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x7ff7d50ecdbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, qword [r9]
mov rsi, r9
mov eax, r14d
mov r15, r8
mov dword [rsp + 0x68], eax
mov rbp, rdx
cmp rax, r14
je 0x7ff7d50ecdf3
mov ebx, 0x80070057
jmp 0x7ff7d50ece3c
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jle 0x7ff7d50ece22
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x7ff7d50ece76
test rbx, rbx
je 0x7ff7d50ece57
mov eax, dword [rsp + 0x68]
cmp rax, qword [rsi]
jbe 0x7ff7d50ece57
mov ebx, 0x800700ea
mov qword [rsi], rax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov eax, dword [rsp + 0x68]
mov r9, rsi
mov r8d, dword [r15]
mov rdx, r14
mov rcx, rbp
mov qword [rsi], rax
mov qword [rsp + 0x20], rbx
call fcn.7ff7d50ed6e8
jmp 0x7ff7d50ece3e
mov ebx, 0x80070002
cmp edi, ebx
jne 0x7ff7d50eceb2
mov rcx, qword [section..data]
lea rax, [section..data]
cmp rcx, rax
je 0x7ff7d50ece3c
test byte [rcx + 0x1c], 4
je 0x7ff7d50ece3c
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4560]
mov edx, 0x16
mov r9, rbp
call fcn.7ff7d50e81d8
jmp 0x7ff7d50ece3c
mov ebx, 0x800700ea
cmp edi, ebx
je 0x7ff7d50ecef7
mov rcx, qword [section..data]
lea rax, [section..data]
cmp rcx, rax
je 0x7ff7d50ecef0
test byte [rcx + 0x1c], 1
je 0x7ff7d50ecef0
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4560]
mov edx, 0x17
mov dword [rsp + 0x20], edi
mov r9, rbp
call fcn.7ff7d50ec2a4
mov ebx, edi
jmp 0x7ff7d50ece3c
mov eax, dword [rsp + 0x68]
cmp qword [rsi], rax
jb 0x7ff7d50ece39
mov ebx, 0x8000ffff
jmp 0x7ff7d50ece3c

Function at 0x7ff7d50ed7c4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, r9d
mov rdi, rdx
cmp rax, r9
je 0x7ff7d50ed7e0
mov eax, 0x80070057
jmp 0x7ff7d50ed850
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov r9d, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x7ff7d50ed84e
mov rcx, qword [section..data]
lea rax, [section..data]
cmp rcx, rax
je 0x7ff7d50ed839
test byte [rcx + 0x1c], 1
je 0x7ff7d50ed839
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f4560]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.7ff7d50ec2a4
test ebx, ebx
jle 0x7ff7d50ed848
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x7ff7d50ed84e
mov eax, ebx
jmp 0x7ff7d50ed850
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7d50ee118
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rdx]
mov rdi, r8
mov rsi, rdx
mov r8d, ebx
mov rdx, rdi
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov r9d, eax
test eax, eax
jne 0x7ff7d50ee18c
call fcn.7ff7d50effa0
mov ebx, eax
mov rcx, qword [section..data]
lea rax, [section..data]
cmp rcx, rax
je 0x7ff7d50ee188
test byte [rcx + 0x1c], 1
je 0x7ff7d50ee188
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f48f8]
mov edx, 0x28
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.7ff7d50ec2a4
mov eax, ebx
jmp 0x7ff7d50ee1ae
cmp r9d, ebx
ja 0x7ff7d50ee1a2
lea eax, [r9 - 1]
cmp word [rdi + rax*2], dx
je 0x7ff7d50ee1a9
mov eax, 0x8000ffff
jmp 0x7ff7d50ee1ae
test ebx, ebx
je 0x7ff7d50ee1a9
mov word [rdi], dx
mov qword [rsi], r9
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff7d50ee1c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x7ff7d50ee22d
call fcn.7ff7d50effa0
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x7ff7d50ee229
mov rcx, qword [section..data]
lea rax, [section..data]
cmp rcx, rax
je 0x7ff7d50ee229
test byte [rcx + 0x1c], 1
je 0x7ff7d50ee229
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff7d50f48f8]
mov edx, 0x1f
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.7ff7d50ec2a4
mov eax, ebx
jmp 0x7ff7d50ee231
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7d50ee240
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
and qword [rdx], 0
lea rbp, [rcx + 0x28]
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rsi + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x7ff7d50ee308
mov rax, qword [rsi + 0x20]
lea r9, [0x7ff7d50f4230]
mov r8, qword [rsi + 0x18]
lea rdx, str._ls_ls_ls
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.7ff7d50edab0
mov ebx, eax
test eax, eax
js 0x7ff7d50ee344
mov rcx, qword [rsi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x7ff7d50ee2bd
test rcx, rcx
je 0x7ff7d50ee2b8
call qword [sym.imp.KERNEL32.dll_FindClose]
or qword [rsi + 0x10], 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x7ff7d50ee2e2
call fcn.7ff7d50effa0
mov edi, eax
add eax, 0x7ff8fffe
jmp 0x7ff7d50ee2e8
mov qword [rsi + 0x10], rax
xor edi, edi
test rbx, rbx
je 0x7ff7d50ee2f5
mov rcx, rbx
call fcn.7ff7d50e1820
mov rbx, rbp
cmp edi, 0x80070012
jne 0x7ff7d50ee328
and qword [r14], 0
xor eax, eax
jmp 0x7ff7d50ee359
mov rdx, rbp
mov rbx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x7ff7d50ee326
call fcn.7ff7d50effa0
mov edi, eax
cmp eax, 0x80070012
jmp 0x7ff7d50ee2fe
xor edi, edi
test edi, edi
js 0x7ff7d50ee357
test byte [rsi + 0x280], 2
je 0x7ff7d50ee33f
test byte [rbp], 0x10
jne 0x7ff7d50ee260
mov qword [r14], rbx
jmp 0x7ff7d50ee304
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x7ff7d50ee353
call fcn.7ff7d50e1820
mov eax, ebx
jmp 0x7ff7d50ee359
mov eax, edi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x7ff7d50f1e44
Capabilities:
Parse pe header

Disassembly:
test cx, cx
jne 0x7ff7d50f1f28
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov rdi, rcx
cmp word [rcx], ax
jne 0x7ff7d50f1f1e
test byte [rcx + 0x3c], 3
jne 0x7ff7d50f1f1e
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x7ff7d50f1f1e
cmp dword [rdx + 0x84], 6
jb 0x7ff7d50f1f1e
mov r8d, dword [rdx + 0x50]
mov r9d, dword [rdx + 0xb8]
lea eax, [r8 - 1]
lea ecx, [r9 - 1]
cmp ecx, eax
jae 0x7ff7d50f1f1e
mov ecx, dword [rdx + 0xbc]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
ja 0x7ff7d50f1f1e
movabs rax, 0x2492492492492493
lea r10, [rdi + r9]
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 4
test ecx, ecx
je 0x7ff7d50f1f1e
dec ecx
mov eax, ecx
imul rbx, rax, 0x1c
add rbx, r10
cmp dword [rbx + 0xc], 2
jne 0x7ff7d50f1ed7
cmp dword [rbx + 0x14], r8d
jae 0x7ff7d50f1ed7
mov eax, r8d
sub eax, dword [rbx + 0x14]
cmp dword [rbx + 0x10], eax
ja 0x7ff7d50f1ed7
mov edx, 0x1c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualLock]
test eax, eax
je 0x7ff7d50f1f1e
mov ecx, dword [rbx + 0x14]
mov edx, dword [rbx + 0x10]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualLock]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002b7c
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x90], rax
jne 0x4048c4
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rbx, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0xd8], rcx
mov rcx, qword [rax + 0x30]
movups xmm0, xmmword [rcx + 0x2e0]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x2f0]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x300]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.00459e20
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x350], edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rcx
call fcn.004048e0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x58], rcx
jmp 0x40484f
nop
mov rax, qword [0x0077bf88]
mov qword [rsp], rax
mov dword [rsp + 8], 0
call fcn.00460620
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
xor eax, eax
mov ebx, 1
lock cmpxchg dword [rcx + 0x350], ebx
sete sil
test sil, sil
je 0x40482c
mov rax, qword [rdx + 0x30]
mov byte [rax + 0xe8], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0043c240
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x2e0], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x2f0], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x300], xmm0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov dword [rsp], 2
call fcn.0042f220
mov rax, qword [rsp + 0x60]
jmp 0x404754
Function at 0x41f020
Capabilities:
Hash data using murmur3

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x41f2ed
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
test rdx, 7
jne 0x41f2d3
nop
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rbx + 0x50]
mov rcx, qword [rsp + 0x70]
mov rdi, rcx
shr rcx, 3
mov r8, rdi
and rdi, 7
mov rax, rcx
mov rcx, rdi
mov r9d, 1
shl r9d, cl
nop
lea rdi, [rsi + rax]
cmp byte [0x007c0a82], 0
jne 0x41f1eb
cmp dword [0x007c102c], 0
nop
jle 0x41f0ac
cmp qword [rbx + 0x30], r8
jbe 0x41f1d0
movzx esi, byte [rax + rsi]
test r9b, sil
jne 0x41f1c6
nop
lock or byte [rdi], r9b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea rax, [rsi + rcx]
mov rsi, rax
shr rax, 0x2a
nop word [rax + rax]
cmp rax, 0x40
jae 0x41f23c
lea rdi, [0x007a2918]
mov rdi, qword [rdi + rax*8]
shr rsi, 0x16
and rsi, 0xfffff
mov rsi, qword [rdi + rsi*8]
test byte [rsi], al
test byte [rdi], al
mov rdi, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx r8d, byte [rsi + rcx + 0x21040]
lea rsi, [rsi + rcx]
lea rsi, [rsi + 0x21040]
shr rdi, 0xd
and rdi, 7
mov rcx, rdi
mov r9d, 1
shl r9d, cl
nop dword [rax + rax]
test r9b, r8b
jne 0x41f149
lock or byte [rsi], r9b
movzx esi, byte [rbx + 0x62]
test sil, 1
jne 0x41f1ab
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rbx]
nop dword [rax + rax]
test rsi, rsi
je 0x41f1a7
mov rax, qword [rsi + 0x10]
cmp rax, 0xfd
jne 0x41f191
xor eax, eax
test al, al
je 0x41f181
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov qword [rsp], rbx
mov qword [rsp + 8], rdx
call fcn.004229e0
jmp 0x41f177
jae 0x41f232
mov qword [rsi + rax*8 + 0x18], rdx
inc qword [rsi + 0x10]
mov eax, 1
jmp 0x41f173
xor eax, eax
jmp 0x41f173
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
add rcx, qword [rbx + 0x68]
mov qword [rax + 0x10], rcx
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov r8, qword [rbx + 0x48]
movzx r8d, byte [rax + r8]
nop dword [rax]
test r8b, r9b
jne 0x41f0ac
jmp 0x41f246
mov qword [rsp], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], rdi
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x28], r8
call fcn.00417780
cmp byte [rsp + 0x30], 0
jne 0x41f228
mov rdx, qword [rsp + 0x48]
jmp 0x41f153
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov ecx, 0xfd
call fcn.0045efc0
mov ecx, 0x40
call fcn.0045efe0
lea rax, [0x0062c412]
mov qword [rsp], rax
mov qword [rsp + 8], 4
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x18], rax
call fcn.0041f300
lea rax, [0x0062c367]
mov qword [rsp], rax
mov qword [rsp + 8], 3
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], 0xffffffffffffffff
call fcn.0041f300
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov byte [rax + 0xf9], 2
lea rax, [0x0062f059]
mov qword [rsp], rax
mov qword [rsp + 8], 0x13
call fcn.004333c0
lea rax, [0x00633f4e]
mov qword [rsp], rax
mov qword [rsp + 8], 0x23
call fcn.004333c0
nop
call fcn.0045cde0
jmp fcn.0041f020