joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415bf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x4a6a04]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x38]
call fcn.00476550
lea eax, [esp + 0x38]
mov dword [esp + 0x38], vtable.CMainDialog.0
push eax
push 0x475df0
push 0
push 0x65
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
push 0
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x8c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0xf
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], eax
call fcn.00415b60
lea ecx, [eax + 0x20]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004185f0
call fcn.00415b60
push 0
push 0
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x415d53
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
cmp eax, 0xffffffff
je 0x415d53
mov eax, dword [edi + 0x44]
test eax, eax
je 0x415d05
lea ecx, [esp + 0x14]
push ecx
push eax
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x415d3e
mov eax, dword [edi + 0x24]
mov esi, dword [eax]
cmp esi, eax
je 0x415d28
nop
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push dword [eax + 4]
call ebx
test eax, eax
jne 0x415d3e
mov esi, dword [esi]
cmp esi, dword [edi + 0x24]
jne 0x415d10
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x415ce6
lea ecx, [esp + 0x38]
call fcn.00415a50
mov ecx, dword [esp + 0xac]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455d51
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4185f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479f4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00418d00
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x418678
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x15555555
je 0x4187f0
lea eax, [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0xc
mov dword [ebp - 0x14], 0
call fcn.0044ebb0
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x4186c2
call fcn.0044e5fa
test eax, eax
je 0x4187fa
call eax
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
mov dword [esi + 8], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49fbc0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x49fbc0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x418785
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.0046f690
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00456a30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x418767
cmp ebx, 0x200
jae 0x418765
shl ebx, 3
cmp ebx, ecx
jae 0x418767
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004188f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418d00
mov edx, dword [eax]
jmp 0x418788
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x4187ba
mov dword [ecx + eax*8], esi
jmp 0x4187c9
cmp edi, edx
jne 0x4187c3
mov dword [ecx + eax*8], esi
jmp 0x4187cd
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4187cd
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0044de3e
lea ecx, [ebp - 0x2c]
call fcn.00417f90
push 0x4a37a4
lea eax, [ebp - 0x2c]
push eax
call fcn.0045840c
int3
Function at 0x4188f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479f8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x418a7f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004184b0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x418a3c
nop
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4189c1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x418a2f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4189f8
mov eax, dword [eax]
cmp eax, ecx
je 0x4189f0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x418a2f
cmp ebx, eax
je 0x418a0c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x418a5d
cmp ebx, eax
jne 0x418a00
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x418970
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x418a2f
push str.invalid_hash_bucket_count
call fcn.0044de3e
int3
Function at 0x418b20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479fad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x418cc9
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
nop word [eax + eax]
cmp edi, eax
push edi
mov edi, dword [edi]
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0044efd0
mov edx, dword [ebp - 0x10]
add esp, 4
dec dword [edx + 8]
test bl, bl
jne 0x418c0a
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x418bd0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x418cb9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x418cb9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x418c1c
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x418c1f
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x418cb9
nop word [eax + eax]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
push edi
mov edi, dword [edi]
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0044efd0
mov eax, dword [ebp - 0x10]
add esp, 4
dec dword [eax + 8]
test bl, bl
jne 0x418c9d
cmp edi, esi
je 0x418cb4
mov eax, dword [ebp + 0xc]
jmp 0x418c77
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x418cb9
mov edx, dword [ebp - 0x10]
jmp 0x418c30
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4194f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x41950e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x419534
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x419520
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00419bd0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x419554
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41e55b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0041e570
Function at 0x44f640
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push 0x40
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0
push str.mimalloc_
push eax
call fcn.0045fb00
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
mov byte [ebp - 4], 0
push dword [ebx + 0xc]
push eax
call fcn.0045f9c0
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 0x88], 0
push 0x41
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x3f
ja 0x44f779
push esi
lea esi, [ebp - 0x88]
push edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x44f6b0
sub esi, ecx
xor edi, edi
cmp esi, 0x41
jb 0x44f6c5
lea esi, [edi + 0x40]
jmp 0x44f6d0
test esi, esi
je 0x44f6ea
nop dword [eax]
movsx eax, byte [ebp + edi - 0x88]
push eax
call fcn.0045d7df
mov byte [ebp + edi - 0x44], al
add esp, 4
inc edi
cmp edi, esi
jb 0x44f6d0
mov byte [ebp + esi - 0x44], 0
cmp byte [ebp - 0x44], 0
pop edi
pop esi
je 0x44f785
lea eax, [ebp - 0x44]
push eax
push str.1_TRUE_YES_ON
call fcn.0045a2a0
add esp, 8
test eax, eax
jne 0x44f785
lea eax, [ebp - 0x44]
push eax
push str.0_FALSE_NO_OFF
call fcn.0045a2a0
add esp, 8
test eax, eax
je 0x44f737
mov dword [ebx], 0
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045f995
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp byte [ecx], 0
jne 0x44f765
mov dword [ebx], eax
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0xc]
push str.environment_option_mimalloc__s_has_an_invalid_value:__s_n
call fcn.0044f540
add esp, 0xc
mov dword [ebx + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx], 1
mov dword [ebx + 4], 2
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f890
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov esi, dword [ebp + 8]
shl esi, 4
add esi, 0x4a6030
cmp dword [esi + 4], 0
jne 0x44f9e2
push 0x40
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0
push str.mimalloc_
push eax
call fcn.0045fb00
push 0x40
push dword [esi + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0
push eax
call fcn.0045f9c0
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 0x88], 0
push 0x41
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x3f
ja 0x44f9db
push ebx
push edi
lea edi, [ebp - 0x88]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x44f910
sub edi, ecx
xor ebx, ebx
cmp edi, 0x41
jb 0x44f925
lea edi, [ebx + 0x40]
jmp 0x44f930
test edi, edi
je 0x44f94a
nop dword [eax]
movsx eax, byte [ebp + ebx - 0x88]
push eax
call fcn.0045d7df
mov byte [ebp + ebx - 0x44], al
add esp, 4
inc ebx
cmp ebx, edi
jb 0x44f930
mov byte [ebp + edi - 0x44], 0
cmp byte [ebp - 0x44], 0
pop edi
pop ebx
je 0x44f9e9
lea eax, [ebp - 0x44]
push eax
push str.1_TRUE_YES_ON
call fcn.0045a2a0
add esp, 8
test eax, eax
jne 0x44f9e9
lea eax, [ebp - 0x44]
push eax
push str.0_FALSE_NO_OFF
call fcn.0045a2a0
add esp, 8
test eax, eax
je 0x44f999
mov dword [esi], 0
mov eax, dword [esi]
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045f995
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp byte [ecx], 0
jne 0x44f9c7
mov dword [esi], eax
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0xc]
push str.environment_option_mimalloc__s_has_an_invalid_value:__s_n
call fcn.0044f540
add esp, 0xc
mov dword [esi + 4], 1
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi], 1
mov eax, dword [esi]
mov dword [esi + 4], 2
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x454600
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x34]
test eax, eax
mov ecx, dword [0x4a69f0]
cmovne ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4a69f0], ecx
test eax, eax
mov ecx, dword [0x4a69f4]
cmovne ecx, eax
push str.kernelbase.dll
mov dword [0x4a69f4], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x454679
push str.VirtualAlloc2FromApp
push esi
call edi
mov dword [0x4b460c], eax
test eax, eax
jne 0x454676
push str.VirtualAlloc2
push esi
call edi
mov dword [0x4b460c], eax
push esi
call ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45469a
push str.NtAllocateVirtualMemoryEx
push esi
call edi
push esi
mov dword [0x4b4610], eax
call ebx
push 6
call fcn.0044fa00
add esp, 4
test al, al
jne 0x4546ba
push 7
call fcn.0044fa00
add esp, 4
test al, al
je 0x454761
cmp dword [0x4b4608], 0
ja 0x454761
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45474f
lea eax, [ebp - 0x10]
push eax
push str.SeLockMemoryPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ebx, eax
test ebx, ebx
je 0x45473e
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
test ebx, ebx
je 0x45473e
call edi
mov esi, eax
xor ebx, ebx
test esi, esi
sete bl
test esi, esi
jne 0x45473e
call dword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
mov dword [0x4b4608], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x454761
test esi, esi
jne 0x454753
call edi
mov esi, eax
push esi
push str.cannot_enable_large_OS_page_support__error__lu_n
call fcn.0044f540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4558f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
xor eax, fcn.004558f0
xor eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x11
xor edx, eax
and edx, 0xf
add edx, 1
je 0x45594c
push esi
mov esi, 0x11
test eax, eax
cmove eax, esi
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x7feb352d
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x846ca68b
mov eax, ecx
shr eax, 0x10
xor eax, ecx
sub edx, 1
jne 0x455920
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455bf0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x74
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00458a10
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
shl ecx, 8
movzx eax, byte [edx + 0x1a]
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret

Function at 0x456e3f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x456e7e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x456e7e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x456e7e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x456e7e
cmp dword [ecx + 0x74], 0xe
jbe 0x456e7e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret