joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430957
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00417dbc
xor ebx, ebx
cmp dword [0x46c330], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x430a2d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x430b0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43d128
push edi
call esi
cmp eax, ebx
je 0x430b0d
push eax
call fcn.00417d4e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46c330], eax
call esi
push eax
call fcn.00417d4e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46c334], eax
call esi
push eax
call fcn.00417d4e
mov dword [0x46c338], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b895
test eax, eax
pop ecx
pop ecx
je 0x4309fb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414015
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x430a2d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00417d4e
cmp eax, ebx
pop ecx
mov dword [0x46c340], eax
je 0x430a2d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417d4e
pop ecx
mov dword [0x46c33c], eax
mov eax, dword [0x46c33c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x430ab2
cmp dword [0x46c340], ecx
je 0x430ab2
push eax
call fcn.00417dc5
push dword [0x46c340]
mov esi, eax
call fcn.00417dc5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x430ab2
cmp edi, ebx
je 0x430ab2
call esi
cmp eax, ebx
je 0x430a7f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430a7f
test byte [ebp - 0x18], 1
jne 0x430ab2
lea eax, [ebp - 0x10]
push eax
call fcn.0041b944
test eax, eax
pop ecx
je 0x430a9a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414015
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x430aa9
or dword [ebp + 0x10], 0x200000
jmp 0x430aed
or dword [ebp + 0x10], 0x40000
jmp 0x430aed
mov eax, dword [0x46c334]
cmp eax, dword [ebp - 8]
je 0x430aed
push eax
call fcn.00417dc5
cmp eax, ebx
pop ecx
je 0x430aed
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x430aed
mov eax, dword [0x46c338]
cmp eax, dword [ebp - 8]
je 0x430aed
push eax
call fcn.00417dc5
cmp eax, ebx
pop ecx
je 0x430aed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46c330]
call fcn.00417dc5
cmp eax, ebx
pop ecx
je 0x430b0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x430b0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4051b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4a2400]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [esp + 0x20], ecx
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
xor eax, eax
mov dword [esp + 0xc], edx
cmp ax, word [ecx + 6]
jae 0x405306
mov eax, edx
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movaps xmmword [esp + 0x30], xmm0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405230
sub eax, esi
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.00413c60
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x30]
cmp ecx, 0xf
mov dword [esp + 0x18], esi
cmova eax, esi
cmp dword [esp + 0x40], 5
jne 0x4052b8
cmp dword [eax], 0x7865742e
jne 0x4052b8
cmp byte [eax + 4], 0x74
jne 0x4052b8
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x24], eax
mov edi, dword [eax + 0xc]
add edi, dword [esp + 0x14]
mov dword [esp + 0x28], edi
cmp dword [eax + 8], ecx
jbe 0x4052a3
mov esi, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
crc32 ecx, eax
cmp edx, dword [esi + 8]
jb 0x405290
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
movq xmm0, qword [esp + 0x24]
movq qword [edi], xmm0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x4052e2
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x4052d8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40531b
push ecx
push esi
call fcn.0048531b
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
inc ecx
add edx, 0x28
mov dword [esp + 0x10], ecx
movzx eax, word [eax + 6]
mov dword [esp + 0xc], edx
cmp ecx, eax
jl 0x405212
mov ecx, dword [esp + 0x5c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00484fd2
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4073a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x407479
movd xmm0, dword [esi]
mov eax, 0x10
movups xmm2, xmmword [0x49acb0]
movaps xmm1, xmmword [0x49af50]
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 [0x49af60]
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 [0x49af70]
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 [0x49af80]
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
lea edx, [esi + eax]
lea ecx, [eax - 0x3d]
inc eax
xor byte [edx], cl
cmp eax, 0x1f
jb 0x407467
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
ret

Function at 0x407480
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 0x486c3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4a2400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 7], 0
je 0x4074e3
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3d]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x4074d1
mov byte [esi + 7], 0
push ecx
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x407503
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.00416370
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x40757c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407572
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407572
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048531b
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 0x407690
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 9], 0
je 0x407709
movups xmm4, xmmword [0x49acb0]
push ebx
mov esi, 0xffffffc6
mov ebx, 2
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi + 0x3a]
punpcklbw xmm0, xmm0
movd xmm1, ecx
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 + esi + 0x3a], xmm3
add esi, 4
sub ebx, 1
jne 0x4076b0
pop ebx
mov byte [edi + 9], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
push eax
push edi
call fcn.00412e10
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x407730
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 0x486c3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4a2400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xa], 0
je 0x407793
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3d]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x407781
mov byte [esi + 0xa], 0
push ecx
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x4077b3
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.00416370
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x40782c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407822
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407822
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048531b
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 0x407850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x32], 0
je 0x4079e4
movaps xmm5, xmmword [0x49ac50]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x49af50]
mov edx, 0xffffffca
movups xmm4, xmmword [0x49acb0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xffffffc8
mov dword [ebp - 4], 0xffffffc3
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xffffffc7
sub edi, ebx
mov esi, 0xffffffc9
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xffffffbf
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, 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, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
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
cmp eax, 0x30
jb 0x4078c4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x31
jae 0x4079e0
lea edx, [ebx + eax]
lea ecx, [eax - 0x3d]
inc eax
xor byte [edx], cl
cmp eax, 0x31
jb 0x4079d2
mov byte [ebx + 0x32], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x407d17
movups xmm4, xmmword [0x49acb0]
push ebx
mov ebx, 0xffffffc6
mov eax, 0xc
lea ecx, [ebx - 1]
movd xmm2, ebx
lea esi, [ebx - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [ebx - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + ebx + 0x3a]
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 + ebx + 0x3a], xmm3
add ebx, 4
cmp ebx, 0xffffffd2
jb 0x407cb0
pop ebx
lea edx, [edi + eax]
lea ecx, [eax - 0x3d]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x407d05
mov byte [edi + 0x10], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xf]
push eax
push edi
call fcn.00412e10
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x44], 0
je 0x407ec4
movaps xmm5, xmmword [0x49ac50]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x49af50]
mov edx, 0xffffffca
movups xmm4, xmmword [0x49acb0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xffffffc8
mov dword [ebp - 4], 0xffffffc3
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xffffffc7
sub edi, ebx
mov esi, 0xffffffc9
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xffffffbf
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, 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, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
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
cmp eax, 0x40
jb 0x407da4
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x43
jae 0x407ec0
lea edx, [ebx + eax]
lea ecx, [eax - 0x3d]
inc eax
xor byte [edx], cl
cmp eax, 0x43
jb 0x407eb2
mov byte [ebx + 0x44], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x136], 0
je 0x408079
movaps xmm5, xmmword [0x49ac50]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x49af50]
mov edx, 0xffffffca
movups xmm4, xmmword [0x49acb0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0xffffffc8
mov dword [ebp - 4], 0xffffffc3
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xffffffc7
sub edi, ebx
mov esi, 0xffffffc9
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xffffffbf
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, 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, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
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
cmp eax, 0x130
jb 0x407f50
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x135
jae 0x408072
lea edx, [ebx + eax]
lea ecx, [eax - 0x3d]
inc eax
xor byte [edx], cl
cmp eax, 0x135
jb 0x408062
mov byte [ebx + 0x136], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4084c0
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 0x486c3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4a2400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xc], 0
je 0x408523
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x3d]
inc edx
xor byte [ecx], al
cmp edx, 0xb
jb 0x408511
mov byte [esi + 0xc], 0
push ecx
lea eax, [esi + 0xb]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x408543
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x34]
call fcn.00416370
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4085bc
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4085b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4085b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048531b
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 0x4085e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xd], 0
je 0x408659
movups xmm4, xmmword [0x49acb0]
push ebx
mov esi, 0xffffffc6
mov ebx, 3
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi + 0x3a]
punpcklbw xmm0, xmm0
movd xmm1, ecx
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 + esi + 0x3a], xmm3
add esi, 4
sub ebx, 1
jne 0x408600
pop ebx
mov byte [edi + 0xd], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xc]
push eax
push edi
call fcn.00412e10
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40a990
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 0x4870a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
push esi
mov eax, dword [0x4a2400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, closesocket
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 0x2d
jb 0x40ab60
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.004153e0
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 0x40aa42
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 0x40aa4f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push 0x11
call fcn.00413b00
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 0x40aacb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aac1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ab03
push ecx
push edx
call fcn.0048531b
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 0x40ab13
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ab09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ab09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048531b
add esp, 8
xor ecx, ecx
int 0x29
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x40ab4d
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ab43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ab43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048531b
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.00401da0
int3