joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400077c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xe8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400077f3
mov r8d, 0x708
lea rdx, str.D:JAMESSNew_folderStreetfffffffffStreetfffffffffimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x108]
lea r9, [0x140145d20]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0xe8]
subss xmm0, xmm2
mov rax, qword [rbx + 0xf0]
movss xmm3, dword [rbx + 0x10c]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140016ea0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14016f0c0]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140016ef2
cmp byte [rbx + 0x4a2e], 0
jne 0x140016ef2
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400037f0
test dil, 1
je 0x140017018
jmp 0x140016f7b
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14014e40c]
xor eax, eax
mulss xmm1, dword [0x14014e3e8]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14014e324]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
movsx r9d, word [rbx + 0x5b32]
call fcn.1400037f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016fd0
lea r11, [0x140145d20]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140016fb3
cmp byte [r8], r9b
jne 0x140016fb3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016fa0
not ecx
call fcn.14000c0f0
test rax, rax
je 0x140017018
cmp byte [rax + 0xae], 0
je 0x140017018
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b32]
call fcn.1400037f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000eaf0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001d090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x14016f0c0]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d0f4
lea r10, [0x140145d20]
cmp r8b, 0x23
jne 0x14001d0d7
cmp byte [rdx], r8b
jne 0x14001d0d7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001d0c4
mov eax, dword [r14 + 0x5b90]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d155
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d11a
cmp edi, eax
jl 0x14001d134
mov r8d, 0x6ff
lea rdx, str.D:JAMESSNew_folderStreetfffffffffStreetfffffffffimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5b98]
cmp dword [rax + rbp + 8], ebx
je 0x14001d172
mov eax, dword [r14 + 0x5b90]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d111
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001d17f
cmp edi, dword [r14 + 0x5b90]
jl 0x14001d199
mov r8d, 0x6ff
lea rdx, str.D:JAMESSNew_folderStreetfffffffffStreetfffffffffimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5b98]
lea rax, [rax + rcx*8]
jmp 0x14001d157
Function at 0x14003f3b0
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x150
mov rsi, rcx
test rcx, rcx
jne 0x14003f3cc
xor eax, eax
add rsp, 0x150
pop rsi
ret
mov qword [rsp + 0x160], rbx
xor edx, edx
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
xor edi, edi
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003f452
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14003f440
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x14003f440
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003f420
mov rbp, qword [rsp + 0x168]
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rsi
ret

Function at 0x14003f480
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r15, qword [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rsi, rax
test eax, eax
jg 0x14003f4c6
xor al, al
jmp 0x14003f5b6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rdi
mov rdx, rbp
call fcn.14003f5e0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
jne 0x14003f503
xor dil, dil
jmp 0x14003f571
mov ebp, r12d
sub rdi, rbx
sar rdi, 3
test rdi, rdi
je 0x14003f56e
movsxd r14, esi
mov rsi, rbx
nop dword [rax + rax]
mov edx, dword [rsi]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov rcx, qword [0x14016f1d8]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, r15
mov rdx, qword [rsi]
mov rcx, qword [0x14016f1d8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc ebp
lea rsi, [rsi + 8]
movsxd rax, ebp
cmp rax, rdi
jb 0x14003f520
mov dil, 1
test rbx, rbx
je 0x14003f5b2
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003f5aa
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f5aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140111968
movzx eax, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14003fbc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push r15
mov eax, 0x13d8
call fcn.140111fe0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x14003fbf0
mov r15, qword [0x14016f1e0]
xor ebp, ebp
mov rax, qword [0x14016f1e8]
sub rax, r15
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x14003fe52
movss xmm4, dword [0x14014e980]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, ebp
mov qword [rsp + 0x13f8], rsi
mov rsi, qword [0x14016f1f8]
mov qword [rsp + 0x1400], rdi
mov qword [rsp + 0x13d0], r12
mov r12, qword [0x14016f210]
mov qword [rsp + 0x13c8], r13
mov r13, qword [0x14016f0c0]
mov qword [rsp + 0x13c0], r14
mov r14d, ebp
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x14014e370]
nop dword [rax]
movss xmm1, dword [rsi + rbx]
lea rdi, [rsi + rbx]
mov eax, dword [r12 + r14]
xorps xmm2, xmm2
movss xmm0, dword [rbx + r15]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, eax
addsd xmm1, xmm0
movss xmm0, dword [rbx + r15 + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [rbx + r15], xmm3
movss xmm1, dword [rdi + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [rbx + r15 + 4], xmm0
comiss xmm5, xmm1
ja 0x14003fd1e
mov rax, qword [r13 + 0x3ea0]
movaps xmm0, xmm2
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x20]
ja 0x14003fd1e
movss xmm1, dword [rdi + 4]
jmp 0x14003fd75
movss xmm0, dword [rsi + rbx]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rsi + rbx], xmm0
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x14003fd5b
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x14003fd43
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rdi + 4], xmm1
movss xmm3, dword [rbx + r15 + 4]
movaps xmm0, xmm3
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x14003fd99
mov rax, qword [r13 + 0x3ea0]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x24]
jbe 0x14003fdf2
xorps xmm1, xmm4
lea rcx, [rsp + 0x20]
movss dword [rdi + 4], xmm1
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x14003fdd8
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x14003fdc0
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + rbx], xmm0
mov rcx, qword [0x14016f1e8]
inc ebp
sub rcx, qword [0x14016f1e0]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, ebp
cmp rax, rcx
jb 0x14003fca0
movaps xmm6, xmmword [rsp + 0x13b0]
mov r14, qword [rsp + 0x13c0]
mov r13, qword [rsp + 0x13c8]
mov r12, qword [rsp + 0x13d0]
mov rdi, qword [rsp + 0x1400]
mov rsi, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
add rsp, 0x13d8
pop r15
pop rbp
ret
Function at 0x1400401c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x13b0
call fcn.140111fe0
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x1400401f0
mov dword [rsp + 0x20], 0x270
mov edi, Ordinal_301
mov esi, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x14004025a
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140040240
shr rax, 0x20
lea rcx, [rsp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.140047190
mov ecx, eax
mov rbx, rdi
movaps xmm1, xmm0
imul rax, rcx, 0x7bd
cmp eax, 0x7bd
jae 0x1400402aa
cmp eax, 0x330
jae 0x1400402aa
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x140040290
mov rdx, qword [0x14016f1e8]
shr rax, 0x20
cmp rdx, qword [0x14016f1f0]
movss dword [rsp + 0x13dc], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13d8], xmm0
je 0x1400402ee
movsd xmm0, qword [rsp + 0x13d8]
movsd qword [rdx], xmm0
add qword [0x14016f1e8], 8
jmp 0x140040302
lea r8, [rsp + 0x13d8]
lea rcx, [0x14016f1e0]
call fcn.140046cb0
lea rcx, [rsp + 0x20]
call fcn.140047190
mov ecx, eax
add rcx, rcx
shr rcx, 0x20
lea eax, [rcx*2 - 1]
movd xmm1, eax
lea rcx, [rsp + 0x20]
cvtdq2ps xmm1, xmm1
call fcn.140047190
mov rdx, qword [0x14016f200]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rsp + 0x13e4], xmm1
shr rcx, 0x20
test ecx, ecx
cmove eax, esi
cmp rdx, qword [0x14016f208]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13e0], xmm0
je 0x140040380
movsd xmm0, qword [rsp + 0x13e0]
movsd qword [rdx], xmm0
add qword [0x14016f200], 8
jmp 0x140040394
lea r8, [rsp + 0x13e0]
lea rcx, [0x14016f1f8]
call fcn.140046cb0
mov rdx, qword [0x14016f218]
cmp rdx, qword [0x14016f220]
mov dword [rsp + 0x13d0], 3
je 0x1400403bf
mov dword [rdx], 3
add qword [0x14016f218], 4
jmp 0x1400403cc
lea r8, [rsp + 0x13d0]
call fcn.140046b00
lea rdi, [rbx - 1]
test rdi, rdi
jne 0x140040221
add rsp, 0x13b0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140046250
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400462e2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400462fd
nop word [rax + rax]
lea r8, [rsp + 0x4c]
mov rax, rsi
sub r8, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400462c3
inc rax
test ecx, ecx
jne 0x1400462b0
test edx, edx
je 0x1400462f9
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400462a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne al
jmp 0x1400462e4

Function at 0x140047190
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400471f1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400471b0
mov ecx, dword [r10]
jmp 0x1400472da
cmp ecx, 0x4e0
jb 0x1400472da
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140047210
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140047260
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140059160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140047df0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400591b6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x14005920d
mov ebp, 0x4b0000
jmp 0x14005921b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14004a3d0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140059231
mov eax, r12d
jmp 0x14005923a
mov edx, edi
mov ecx, ebp
call fcn.14004a3d0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140059256
shl esi, 0x10
mov ecx, esi
jmp 0x140059345
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400592b4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140047df0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400592a4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14004a2a0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140047df0
add ebx, eax
jmp 0x14005934e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400592c1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x140059300
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140047df0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x140059305
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14004a2a0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140047df0
add ebx, eax
jmp 0x14005934e
cmp eax, r12d
jge 0x14005933e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140047df0
sub ebp, eax
sub r15d, esi
je 0x14005933e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14004a2a0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140047df0
add ebx, eax
jmp 0x14005934e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140047df0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.140047df0
Function at 0x1400a5400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140165088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400a559c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400a559c
cmp r10d, r14d
jne 0x1400a54a0
sub rbx, 0x10
jmp 0x1400a55e4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400a5512
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400a54d4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400a54dc
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400a54fb
movzx edx, r11b
mov rcx, rsi
call fcn.1400a65b0
test al, al
jne 0x1400a55f5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400a6c20
test al, al
jne 0x1400a55f5
mov edx, dword [rsi + 0x64]
lea r9, [0x1400a6f80]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400a553e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400a5280
jmp 0x1400a5592
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400a5280
test dil, dil
je 0x1400a558a
cmp byte [rsi + 0x6a], 0
jne 0x1400a558a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400a55f5
sub rbx, 0x10
jmp 0x1400a55e4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400a55f9
mov ebp, dword [rbx]
jmp 0x1400a5460
mov al, 1
jmp 0x1400a5602
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140111fb0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret