joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413feb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004313a0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x413ec5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x413ed4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x413ef3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x413f03
cmp rbx, 0x1000
jae 0x413ecb
jmp 0x413f6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x413f15
xor edx, edx
jmp 0x413f64
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004313a0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x413ef9
jmp 0x413ee8
call fcn.004607a0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435700
lea rax, [0x0049982d]
mov ebx, 0x18
nop dword [rax]
call fcn.00435f80
mov rax, qword [rsp + 0x38]
call fcn.00435cc0
lea rax, [0x00499cfc]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435f80
mov rax, qword [rsp + 0x30]
call fcn.00435cc0
call fcn.00435940
call fcn.00435760
lea rax, [0x0049bd5f]
mov ebx, 0x21
call fcn.00433d60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413e60
Function at 0x414020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414246
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431420
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414093
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4140a2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4140c5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4140d5
cmp rbx, 0x1000
jae 0x414099
nop
jmp 0x414158
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4140ed
xor esi, esi
jmp 0x41414a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431420
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4140cb
jmp 0x4140b6
call fcn.004607a0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4141e0
nop dword [rax + rax]
call fcn.00435700
lea rax, [0x00499d15]
mov ebx, 0x19
call fcn.00435f80
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00435cc0
lea rax, [0x00499cfc]
mov ebx, 0x19
call fcn.00435f80
mov eax, dword [rsp + 0x34]
call fcn.00435cc0
nop
call fcn.00435940
call fcn.00435760
lea rax, [0x0049688d]
mov ebx, 0xd
call fcn.00433d60
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414180
call fcn.00435700
lea rax, [0x00499d15]
mov ebx, 0x19
call fcn.00435f80
mov rax, qword [rsp + 0x38]
call fcn.00435cc0
lea rax, [0x00499cfc]
mov ebx, 0x19
call fcn.00435f80
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435cc0
call fcn.00435940
call fcn.00435760
lea rax, [0x0049b69f]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00433d60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414020
Function at 0x41d640
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00578290], 0
jne 0x41d727
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41d71a
lea rbx, [0x0054a678]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41d700
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0045f380
lea rax, [0x0049d691]
mov ebx, 0x2c
call fcn.00433d60
nop
int3

Function at 0x41fa00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41fb06
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41fa43
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41fafb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.00420800
test rax, rax
je 0x41fafb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x0041fb40]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045cfc0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41fae9
xor eax, eax
jmp 0x41faf3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41fa31
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.0041fa00
Function at 0x42db00
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42dd86
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42dd7a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00578290], 0
jne 0x42db5a
xor edx, edx
xor ebx, ebx
jmp 0x42dba0
xor edx, edx
jmp 0x42db85
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041cea0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42db5e
add rax, 0x1268
call fcn.0042da80
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42dd14
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42db9b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.00411180
test rax, rax
jne 0x42dbec
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42dc2c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42dd6d
lea r10, [0x0054a678]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42dcaf
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42dce5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42db9b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42dd65
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42db9b
cmp rbx, 0x200
ja 0x42dd54
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423700
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042da80
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.0045f3e0
mov rax, r8
call fcn.0045f360
mov rax, r8
mov ecx, 0x40
call fcn.0045f380
mov edx, 0x200
nop
call fcn.0045f3c0
nop
mov qword [rsp + 8], rax
call fcn.00463c20
mov rax, qword [rsp + 8]
jmp fcn.0042db00
Function at 0x442820
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x442987
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x442832
cmp edx, ecx
jne 0x442975
nop word [rax + rax]
test rsi, rsi
jne 0x442975
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442894
nop
call fcn.00460bc0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00442740
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x442970
mov rdx, qword [0x00525278]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x442965
mov rcx, qword [0x00525270]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00525f10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00525f10], rax
nop
mov edx, 1
lea rsi, [0x00525f18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x442953
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x0049cf79]
mov ebx, 0x28
nop
call fcn.00433d60
mov rax, rsi
mov rcx, rdx
call fcn.0045f360
call fcn.004324a0
lea rax, [0x0049c3b6]
mov ebx, 0x23
call fcn.00433d60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442820
Function at 0x454ca0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x454d4f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00454da0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045cfc0
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00454ca0
Function at 0x45eee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402c03
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408660
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402be0
cmp byte [0x00578289], 0
je 0x45eef5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45c140
jmp 0x402be0

Function at 0x45ef00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00578560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00578289], 0
je 0x45ef35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00578820]
aesenc xmm0, xmmword [0x00578830]
aesenc xmm0, xmmword [0x00578840]
movq rax, xmm0
ret
jmp 0x408880

Function at 0x45ef40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00578560]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00578289], 0
je 0x45ef76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00578820]
aesenc xmm0, xmmword [0x00578830]
aesenc xmm0, xmmword [0x00578840]
movq rax, xmm0
ret
jmp 0x4088e0

Function at 0x460c20
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x460c54
mov rcx, 0x28
jmp 0x460c5f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005784c8], rcx
pop rbp
ret
Function at 0x467a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x467b4a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402b00
xorps xmm15, xmm15
mov r14, qword [0x005784c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x467b2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00482b20]
xor ebx, ebx
mov rcx, rdx
call fcn.00446ac0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00467e60
inc rbx
cmp rcx, rbx
jae 0x467b1e
mov edi, 1
lea rsi, [0x00482b20]
call fcn.00446ba0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004b5158]
lea rsi, [0x004b4df8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d100
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00467a80
Function at 0x401c40
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, 1
xchg byte [0x00fc5720], al
test al, al
je 0x401c5f
lea rcx, [0x00fc5720]
call fcn.00438d60
movzx eax, byte [0x00fc5721]
test al, al
je 0x401c80
mov byte [0x00fc5720], 0
add rsp, 0x58
ret
lea rdx, [0x01046768]
lea rcx, [0x01046790]
mov rax, rdx
mov byte [rax], 0
add rax, 1
cmp rax, rcx
jne 0x401c91
lea rax, [0x01046768]
xor ecx, ecx
pxor xmm0, xmm0
mov qword [0x01046768], rax
mov qword [0x01046770], rax
lea rax, [0x00fc5760]
mov r8, rax
add rcx, 1
movaps xmmword [r8], xmm0
add r8, 0x10
cmp rcx, 0x4000
jne 0x401cc2
mov byte [0x01005760], 0
xor ecx, ecx
pxor xmm0, xmm0
add rcx, 1
movaps xmmword [rax + 0x40040], xmm0
add rax, 0x10
cmp rcx, 0xd8
jne 0x401ce4
lea rax, [0x01006520]
mov byte [rax], 0
add rax, 1
cmp rax, rdx
jne 0x401d03
mov rax, qword [0x0078d718]
test rax, rax
jne 0x401d31
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x0078d718], rax
mov qword [0x01006520], rax
lea rax, [0x01006530]
mov qword [0x01006528], rax
mov byte [0x00fc5721], 1
mov byte [0x00fc5720], 0
add rsp, 0x58
ret
Function at 0x40d6b0
Capabilities:
Get system information on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rax, qword [0x00728740]
mov rsi, rcx
lea rcx, [rax - 1]
test rax, rcx
jne 0x40d784
lea rbx, [rdx + rcx]
neg rax
mov rdx, qword [rsi]
and rbx, rax
mov rax, qword [rsi + 8]
sub rdx, rax
cmp rdx, rbx
jge 0x40d74b
mov rax, qword [0x0078d718]
test rax, rax
je 0x40d790
lea rdi, [rax - 1]
test rdi, rax
jne 0x40d784
lea rdx, str.Allocate
neg rax
add rdi, rbx
and rdi, rax
mov rcx, rdi
call fcn.0040d590
mov r8, qword [0x00fb7ef0]
lea rdx, [rax + rdi]
mov qword [rsi + 8], rax
mov qword [rsi], rdx
test r8, r8
je 0x40d743
mov rdx, rdi
mov rcx, rax
call r8
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
sub rdx, rax
cmp rbx, rdx
jg 0x40d760
add rbx, rax
mov qword [rsi + 8], rbx
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
lea r8, str.__allocated_end____allocated_current_____sptr_size______0_
xor r9d, r9d
mov edx, 0x1b33
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
call fcn.0040b4c0
nop dword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x0078d718], rax
jmp 0x40d6f7
Function at 0x40e930
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbx, qword [0x0078d718]
mov r12, qword [rsp + 0xf0]
test rbx, rbx
mov qword [rsp + 0xd0], rcx
mov rbp, rdx
mov rsi, r9
mov qword [rsp + 0xe0], r8
je 0x40eb30
mov r13, qword [sym.imp.kernel32.dll_ReadFile]
lea r14, [rsp + 0x50]
cmp r12, rbx
cmovbe rbx, r12
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
xor ecx, ecx
mov r9d, 4
mov rdx, rbx
mov r8d, 0x3000
call qword [sym.imp.kernel32.dll_VirtualAlloc]
test rax, rax
je 0x40ebb7
mov qword [rbp], rax
mov rax, qword [rsp + 0xe0]
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.kernel32.dll_CreateFileA]
cmp rax, 1
mov rdi, rax
je 0x40eb50
cmp rax, 2
je 0x40eb74
cmp qword [rsp + 0xf8], 0
setne r15b
cmp rax, 0xffffffffffffffff
sete al
test al, r15b
jne 0x40eae1
cmp rdi, 0xffffffffffffffff
je 0x40eaf1
mov qword [rsi], 0
xor ecx, ecx
jmp 0x40ea6b
test eax, eax
mov r8d, dword [rsp + 0x50]
je 0x40eaac
mov rcx, r8
add rcx, qword [rsi]
cmp r12, rcx
mov qword [rsi], rcx
sete dl
test r8, r8
sete al
or al, dl
jne 0x40eba0
cmp rbx, rcx
jbe 0x40eb10
mov r8d, ebx
mov rdx, rcx
mov r9, r14
add rdx, qword [rbp]
mov qword [rsp + 0x20], 0
sub r8d, ecx
mov rcx, rdi
call r13
test eax, eax
jne 0x40ea45
test r15b, r15b
je 0x40ea45
call qword [sym.imp.kernel32.dll_GetLastError]
mov rsi, qword [rsp + 0xf8]
mov dword [rsi], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
xor edx, edx
mov eax, edx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdi, qword [rsp + 0xf8]
mov dword [rdi], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
xor edx, edx
jmp 0x40eacb
add rbx, rbx
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp r12, rbx
cmovbe rbx, r12
jmp 0x40e984
lea rcx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x54]
mov qword [0x0078d718], rbx
jmp 0x40e971
lea r8, str.__res_____fd_t_1_____fd_t_1_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2564
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
lea r8, str.__res_____fd_t_2_____fd_t_2_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2565
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop dword [rax + rax]
mov byte [rsp + 0x4f], al
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
movzx edx, byte [rsp + 0x4f]
jmp 0x40eacb
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsp + 0x20], 0
lea r8, str.allocate
mov rcx, rbx
lea rdx, str.ReadFileToBuffer
mov r9d, eax
call fcn.0040d4f0
nop
nop
Function at 0x45d200
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45d3a6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree_1]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0047b520
xorps xmm15, xmm15
mov r14, qword [0x00786f90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x45d26b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x45d280
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x45d2a5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x45d2b9
cmp rbx, 0x1000
jae 0x45d275
nop dword [rax]
jmp 0x45d329
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x45d2cd
xor edx, edx
jmp 0x45d320
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree_1]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0047b520
xorps xmm15, xmm15
mov r14, qword [0x00786f90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x45d2af
jmp 0x45d294
call fcn.004b35a0
xorps xmm15, xmm15
mov r14, qword [0x00786f90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004803e0
lea rax, [0x005ff786]
mov ebx, 0x18
call fcn.00480ce0
mov rax, qword [rsp + 0x38]
call fcn.004809e0
lea rax, [0x005ff85e]
mov ebx, 0x19
call fcn.00480ce0
mov rax, qword [rsp + 0x30]
nop
call fcn.004809e0
call fcn.00480640
call fcn.00480460
lea rax, [0x00602129]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.0047eaa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004af240
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.0045d200