joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4504b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd365
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x4ef400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
cmp byte [edi + 7], 0
je 0x450515
xor eax, eax
lea edx, [edi + eax]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x450503
mov byte [edi + 7], 0
push ecx
lea eax, [edi + 6]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.0045a4c0
mov dword [ebp - 4], 0
cmp byte [esi + 0x14], 0
je 0x450602
movd xmm0, dword [esi]
mov edx, 0x10
movaps xmm2, xmmword [0x4e6c10]
movaps xmm1, xmmword [0x4e6b80]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movaps xmm1, xmmword [0x4e6b90]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movaps xmm1, xmmword [0x4e6ba0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmmword [0x4e6bb0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 0xc], xmm1
nop
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 0x13
jb 0x4505f0
mov byte [esi + 0x14], 0
push ecx
lea eax, [esi + 0x13]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0045a4c0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0045c800
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x450659
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45064f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45067f
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x45068f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x450685
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x450685
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x451b10
Capabilities:
Execute command

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd588
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
push esi
mov eax, dword [0x4ef400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, accept
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 0x2d
jb 0x451ce4
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 0x2d
push str.start_cmd__C__color_b__title_Error__echo
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.0045c9e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 0x11
push str.__timeout__t_5_
cmp eax, 0x11
jb 0x451bc2
cmp edx, 0xf
lea esi, [ebp - 0x44]
lea eax, [ecx + 0x11]
cmova esi, dword [ebp - 0x44]
add esi, ecx
mov dword [ebp - 0x34], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x11], 0
lea eax, [ebp - 0x44]
jmp 0x451bd3
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x14]
push 0x11
call fcn.0045b0f0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x451c4f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451c45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451c87
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x451c97
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451c8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x451c8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
xor ecx, ecx
int 0x29
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x451cd1
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451cc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x451cc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00446680
int3
Function at 0x452120
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd676
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4ef400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
push str.ALLUSERSPROFILE
mov dword [ebp - 0x1c], 0
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
add esp, 4
test edx, edx
je 0x4521ae
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452197
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0045b260
jmp 0x452290
lea ecx, [ebp - 0x44]
call fcn.00449820
mov dword [ebp - 4], 0
mov edi, eax
cmp dword [eax + 0x14], 7
jbe 0x4521c7
mov edi, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
call fcn.004c9ff2
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x10
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test eax, eax
je 0x452254
cmp eax, 0x7fffffff
ja 0x4522a6
push 0
push 0
push eax
push edi
push ecx
call fcn.004ca044
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x4522ab
push edx
push eax
mov ecx, esi
call fcn.00459250
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x45223f
mov eax, dword [esi]
push dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
call fcn.004ca044
test edx, edx
jne 0x4522b2
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x452290
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452286
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452286
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004ca5d3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00446a90
mov ecx, edx
call fcn.00446d10
mov ecx, edx
call fcn.00446d10
int3
Function at 0x454ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x45501c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x455044
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x45504a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4550b2
jg 0x455061
test esi, esi
je 0x4550b2
test ecx, ecx
jl 0x4550ad
jg 0x45506b
test eax, eax
je 0x4550ad
cmp edi, ecx
jg 0x45507f
jl 0x455075
cmp esi, eax
jae 0x45507f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4550b5
mov ecx, dword [ebp + 8]
jmp 0x4550bf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4550d9
jg 0x4550bf
test esi, esi
je 0x4550d9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4550d9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4550f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
test eax, eax
jg 0x45511b
jl 0x45510e
test esi, esi
jne 0x45511b
pop esi
pop ebp
xor eax, eax
xor edx, edx
pop ebx
add esp, 8
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x455133
push eax
push esi
push ebp
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, esi
mov edx, dword [eax]
test edx, edx
je 0x455177
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x45517e
mov edi, dword [esp + 0x20]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x20]
jmp 0x45517e
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x4551eb
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4551a8
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x4551d9
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call eax
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4551eb
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4551b5
test edi, edi
je 0x4551eb
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call eax
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x24]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x455570
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4555a0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4555dd
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4555dd
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x4556c2
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x455605
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x455611
movsx eax, bl
jmp 0x455651
lea eax, [esp + 0xc]
mov byte [esp + 0x17], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x45567c
sub eax, 1
je 0x45567c
sub eax, 2
jne 0x4556c2
movsx eax, byte [esp + 0x17]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x30
ret 4
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x18]
sub edi, eax
je 0x45569c
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4556c2
lea ecx, [esp + 0x17]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x10], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ca5c5
add esp, 0x30
ret 4
Function at 0x455a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
cmp byte [ecx + 0x31], 0
mov dword [esp + 0x18], ecx
je 0x455bf7
movaps xmm5, xmmword [0x4e6b10]
mov eax, 0x69
movaps xmm6, xmmword [0x4e6b80]
sub eax, ecx
movups xmm4, xmmword [0x4e6c10]
push ebx
mov dword [esp + 4], eax
lea ebx, [ecx + 8]
push ebp
push esi
mov eax, 0x61
mov edx, 0x6c
sub eax, ecx
sub edx, ecx
push edi
mov dword [esp + 0x14], eax
mov esi, 0x6b
sub esi, ecx
mov dword [esp + 0x1c], edx
mov edi, 0x6a
mov dword [esp + 0x20], esi
sub edi, ecx
mov eax, 0x65
sub eax, ecx
mov dword [esp + 0x24], edi
mov ebp, 0xfffffff8
mov dword [esp + 0x18], eax
sub ebp, ecx
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
lea eax, [ebx + ebp]
movd xmm0, eax
mov eax, dword [esp + 0x14]
pshufd xmm1, xmm0, 0
add eax, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm4
mov eax, dword [esp + 0x18]
packuswb xmm1, xmm1
add eax, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm4
lea eax, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
packuswb xmm1, xmm1
lea esi, [edi + ebx]
movd dword [ebx - 4], xmm1
lea edi, [ecx + ebx]
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [esp + 0x24]
andps xmm1, xmm4
movd xmm0, edx
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
mov edx, dword [esp + 0x1c]
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm2, eax
movd xmm1, esi
mov esi, dword [esp + 0x20]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
lea eax, [ebx + ebp]
cmp eax, 0x30
jb 0x455ae0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov byte [ecx + 0x31], 0
add esp, 0x1c
ret
Function at 0x455c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
cmp byte [ebx + 0x25], 0
je 0x455da8
movaps xmm5, xmmword [0x4e6b10]
mov ecx, 0x69
movaps xmm6, xmmword [0x4e6b80]
sub ecx, ebx
movups xmm4, xmmword [0x4e6c10]
push ebp
push esi
mov dword [esp + 0x10], ecx
lea ebp, [ebx + 8]
push edi
mov edx, 0x6c
mov dword [esp + 0x10], 0x65
sub edx, ebx
mov esi, 0x6b
sub esi, ebx
mov dword [esp + 0x18], edx
mov edi, 0x6a
mov dword [esp + 0x1c], esi
sub edi, ebx
mov ecx, 0x61
sub ecx, ebx
mov dword [esp + 0x20], edi
xor eax, eax
mov dword [esp + 0x24], ecx
sub dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
nop dword [eax + eax]
movd xmm0, eax
add ecx, ebp
pshufd xmm1, xmm0, 0
add eax, 0x10
movd xmm0, dword [ebp - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
mov ecx, dword [esp + 0x10]
packuswb xmm1, xmm1
add ecx, ebp
packuswb xmm1, xmm1
movd dword [ebp - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebp - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebp]
packuswb xmm1, xmm1
lea edx, [esi + ebp]
packuswb xmm1, xmm1
lea esi, [edi + ebp]
movd dword [ebp - 4], xmm1
lea edi, [ebx + ebp]
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebp]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [esp + 0x20]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [esp + 0x18]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp], xmm1
movd xmm0, dword [ebp + 4]
punpcklbw xmm0, xmm0
movd xmm2, ecx
mov ecx, dword [esp + 0x24]
movd xmm1, esi
mov esi, dword [esp + 0x1c]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebp + 4], xmm3
add ebp, 0x10
cmp eax, 0x20
jb 0x455c80
mov ebx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
cmp eax, 0x24
jae 0x455da4
lea edx, [ebx + eax]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x24
jb 0x455d96
mov byte [ebx + 0x25], 0
pop ebx
add esp, 0x1c
ret

Function at 0x455db0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0xe], 0
je 0x455e23
movups xmm4, xmmword [0x4e6c10]
mov eax, 0x68
push esi
lea ecx, [eax - 1]
movd xmm2, eax
lea esi, [eax - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [eax - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + eax - 0x68]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + eax - 0x68], xmm3
add eax, 4
cmp eax, 0x74
jb 0x455dc6
xor byte [edi + 0xc], 0x71
pop esi
mov byte [edi + 0xe], 0
pop edi
ret
Function at 0x4585c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x458682
cmp byte [esi + 0x3d], 0
je 0x458682
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x45866f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x458633
sub eax, 1
je 0x458637
sub eax, 2
jne 0x45866f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x458657
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x45866f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ca5c5
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.004ca5c5
add esp, 0x28
ret
Function at 0x45cd10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce2ec
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ef400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x45cdc4
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00459a00
mov byte [ebp - 4], 6
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x45ce0f
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x45ce0f
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x45ce19
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.0045f170
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x45ce47
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x466dd0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0xa0
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
mov esi, dword [esp + 0xa8]
xorps xmm0, xmm0
push edx
mov edx, ecx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0xc]
movlpd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], 0x6a09e667
mov dword [esp + 0x18], 0xbb67ae85
mov dword [esp + 0x1c], 0x3c6ef372
mov dword [esp + 0x20], 0xa54ff53a
mov dword [esp + 0x24], 0x510e527f
mov dword [esp + 0x28], 0x9b05688c
mov dword [esp + 0x2c], 0x1f83d9ab
mov dword [esp + 0x30], 0x5be0cd19
call fcn.004670c0
lea edx, [esp + 0x80]
lea ecx, [esp + 0xc]
call fcn.00467150
mov eax, dword [esp + 0xb0]
mov ecx, 0x20
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x84]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0xac]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.004ca5c5
add esp, 0xa0
ret