joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446000
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4461bc
push rbp
mov rbp, rsp
sub rsp, 0x10
mov edx, dword [rax + 0x188]
mov esi, dword [rax + 0x18c]
mov rdi, qword [rax + 0x990]
mov r8d, dword [rax + 0x18c]
cmp r8d, esi
jne 0x446012
cmp esi, edx
jne 0x4461aa
nop dword [rax]
test rdi, rdi
jne 0x4461aa
test rbx, rbx
jne 0x446074
mov qword [rsp + 0x20], rax
nop
call fcn.00471ea0
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x22a8]
test edx, edx
jne 0x4460d1
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x4461a5
mov rdx, qword [0x005ff6f8]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x446199
mov rdx, qword [0x005ff6f0]
lea rdx, [rdx + rsi*4]
not r8d
lock and dword [rdx], r8d
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x446194
mov rdx, qword [0x005ff6d8]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x446189
mov rcx, qword [0x005ff6d0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], r8d
mov rcx, qword [0x006010b0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x006010b0], rax
nop
mov edx, 1
lea rsi, [0x006010b8]
lock xadd dword [rsi], edx
nop
mov rdx, qword [rcx + 0x1230]
shr rdx, 0x3d
test dl, dl
jne 0x446178
movabs rdx, 0x1fffffffffffffff
and rdx, rbx
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1230], rdx
mov rax, rbx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00529248]
mov ebx, 0x28
call fcn.00468c40
mov rax, rsi
mov rcx, rdx
call fcn.00470580
call fcn.00434280
mov rax, rsi
mov rcx, rdx
nop
call fcn.00470580
call fcn.00434280
lea rax, [0x00528394]
mov ebx, 0x23
call fcn.00468c40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00446000
Function at 0x44be60
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44bea8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44bea8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44beb8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x004e1b78]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00432f80
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44bf91
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x004e1b80]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00433200
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44bf91
cmp qword [rcx + 8], rax
ja 0x44beb3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x45eec0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45ef63
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.0045b800
nop
test bl, bl
je 0x45ef5d
mov qword [rsp + 0x18], rax
lea rcx, [0x0045efa0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045eec0
Function at 0x468f60
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.00448e20
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441060
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x469006
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x469054
mov rdx, qword [rax + 0x38]
lea rbx, [0x004419e0]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.0043ab60
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x469079
cmp qword [rdx + 8], rsi
jae 0x4690bc
lea rax, [0x004418e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x4690cd
cmp qword [rdx], rax
ja 0x4690d3
cmp qword [rdx + 8], rax
jae 0x46910e
lea rax, [0x004417e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0052c180]
mov qword [rsp], rax
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00448e20
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441060
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x46b220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x46b397
movzx edx, byte [rax]
test edx, edx
jne 0x46b254
nop dword [rax]
test r8b, r8b
jne 0x46b254
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x46b267
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x46b357
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x46b345
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x46b337
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x46b2bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x46b300
mov eax, 1
cmp rax, rbx
ja 0x46b2eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00470640
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46b32f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x46b2f3
mov rcx, r11
mov eax, r12d
jmp 0x46b2c2
mov rcx, rbx
call fcn.00470580
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470580
mov eax, r8d
mov rcx, rbx
call fcn.00470640
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46b38d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x46b350
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46b26d
mov eax, edx
mov rcx, rbx
call fcn.00470580
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470580
nop
int3

Function at 0x46cb60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46cc0f
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, [0x00458ec0]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046e160
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
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.0046e280
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.0046cb60
Function at 0x470080
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404383
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409e20
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404360
cmp byte [0x0064480a], 0
je 0x470095
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x46d2c0
jmp 0x404360

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

Disassembly:
mov rcx, qword [0x00644ba8]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00644ba0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0064480a], 0
je 0x4700d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00644ee0]
aesenc xmm0, xmmword [0x00644ef0]
aesenc xmm0, xmmword [0x00644f00]
movq rax, xmm0
ret
jmp 0x40a000

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

Disassembly:
mov rcx, qword [0x00644ba8]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00644ba0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0064480a], 0
je 0x470116
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00644ee0]
aesenc xmm0, xmmword [0x00644ef0]
aesenc xmm0, xmmword [0x00644f00]
movq rax, xmm0
ret
jmp 0x40a040

Function at 0x482a80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4831bf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x482aad
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x482d31
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x482d5d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x005512c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004f7b00]
lea rbx, [0x0054ef60]
call fcn.00468860
inc rax
cmp rax, r8
jge 0x482d82
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x482db7
lea rdi, [0x004f7b80]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x482aa3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x482d9b
jmp 0x482d70
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00482a80
Function at 0x483360
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x483377
inc rax
cmp rax, 4
jge 0x48338f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x483374
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4833a0
inc rax
cmp rax, 4
jge 0x4833ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4833d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4833bb
jmp 0x48339d
Function at 0x488dc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x488e8a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403820
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x488e6f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f7c00]
xor ebx, ebx
mov rcx, rdx
call fcn.00469ae0
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.0048a800
inc rbx
cmp rcx, rbx
jae 0x488e5e
mov edi, 1
lea rsi, [0x004f7c00]
call fcn.00469bc0
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, [0x0054f128]
lea rsi, [0x0054e958]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00488dc0

Function at 0x49ad20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49adcc
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.00403820
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49ad93
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.00450500
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x49ada6
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49adb9
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49ada3
mov byte [rax + rcx], dl
jmp 0x49ada3
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0046a520
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.0046e280
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.0049ad20
Function at 0x4b3900
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b3a3e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x004e1830]
call fcn.00483600
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
lea rcx, [0x004b3a60]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00403820
xorps xmm15, xmm15
mov r14, qword [0x00644a50]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4b3a02
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jb 0x4b3a38
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
nop dword [rax]
cmp rbx, rcx
jb 0x4b3a2d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.00470640
call fcn.004705c0
nop
nop
call fcn.0046e280
jmp fcn.004b3900
Function at 0x4dacf0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x00648310], rax
je 0x4dad25
lea rcx, [0x00648320]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.004dc8c0]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x4db660
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00648964]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x4db7e8
mov rax, qword [0x00648968]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4db6ac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4db735
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4db690
mov rcx, rbx
call fcn.004dc300
test rax, rax
mov r12, rax
je 0x4db81d
mov rax, qword [0x00648968]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004dc430
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00648968]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4db800
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4db72e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4db790
add dword [0x00648964], 1
cmp edi, 8
jae 0x4db763
test dil, 4
jne 0x4db7d4
test edi, edi
je 0x4db758
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x4db7ef
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4db758
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4db77c
jmp 0x4db758
add rsi, qword [0x00648968]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4db72e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004dc930
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4db758
xor esi, esi
jmp 0x4db6b7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4db758
mov rax, qword [0x00648968]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.004dc930
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.004dc930
nop
nop dword [rax]
Function at 0x4dbf70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00648c40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00648c20]
test rbx, rbx
je 0x4dbfc4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4dbfbb
test rsi, rsi
je 0x4dbfbb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4dbfa0
lea rcx, [0x00648c40]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4dc300
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x005f61c0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4dc36d
mov rcx, r8
call fcn.004dc1e0
test eax, eax
je 0x4dc36d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4dc36d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4dc364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4dc36f
add rax, 0x28
cmp rax, r9
jne 0x4dc350
xor eax, eax
add rsp, 0x28
ret

Function at 0x4dc930
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.004dc8c0
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.004dc8c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530