joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4850
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e71c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.0045c5b0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004590c8
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.004104f0
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x1c], ecx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [0x4ed6e8]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x4ed6e4]
mov dword [ebx], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410ae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b39b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e71c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
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
mov dword [edi + 0x30], 0
call fcn.0045c5b0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004590c8
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.004104f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41be80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x41bedd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41bea0
mov eax, dword [esi]
jmp 0x41bfb7
cmp eax, 0x4e0
jb 0x41bfb7
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x41bef6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x41bf40
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 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
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420070
Capabilities:
Check if file exists

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 0x4b5ba5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov byte [0x4ecaa6], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.0046a9d0
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x4200ef
test ecx, ecx
je 0x420133
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
cmp word [eax], 0
je 0x420133
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42012d
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push str.Administrators
cmova eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.00471180
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 7
jbe 0x42016e
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420164
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42023e
push edx
push ecx
call fcn.0045c945
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push 0
call fcn.0046aa80
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x4201ae
test ecx, ecx
je 0x4201f2
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
cmp word [eax], 0
je 0x4201f2
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4201ec
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push str.Administrators
cmova eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.00471180
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 7
jbe 0x420222
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420218
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420243
push edx
push ecx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
call fcn.00483c3a
int3
Function at 0x421b10
Capabilities:
Check if file exists

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 0x4b5d85
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0041de50
test al, al
je 0x421ca5
lea ecx, [ebp - 0x44]
call fcn.0042db50
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
cmp edx, 7
jbe 0x421b7c
test ecx, ecx
je 0x421c6f
cmp edx, 7
lea eax, [ebp - 0x44]
cmova eax, ecx
cmp word [eax], 0
je 0x421c6f
cmp edx, 7
lea eax, [ebp - 0x44]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421c69
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004219e0
sub esp, 0x10
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00420bd0
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov esi, eax
cmp ecx, 7
jbe 0x421c1b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421c11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421cc4
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x421ca1
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421cc4
push ecx
push edx
call fcn.0045c945
add esp, 8
mov eax, esi
jmp 0x421ca7
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
cmp edx, 7
jbe 0x421c9f
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421c95
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421cc4
push edx
push ecx
call fcn.0045c945
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x421ca7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
int3
Function at 0x421cd0
Capabilities:
Check if file exists

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 0x4b5dc5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x44]
call fcn.004221e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
cmp edx, 7
jbe 0x421d2f
test ecx, ecx
je 0x421dec
cmp edx, 7
lea eax, [ebp - 0x44]
cmova eax, ecx
cmp word [eax], 0
je 0x421dec
cmp edx, 7
lea eax, [ebp - 0x44]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421de6
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004219e0
sub esp, 0x10
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00420bd0
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov esi, eax
cmp ecx, 7
jbe 0x421dca
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421dc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421e3d
push ecx
push edx
call fcn.0045c945
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x421dee
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
xor esi, esi
cmp edx, 7
jbe 0x421e1e
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421e14
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421e3d
push edx
push ecx
call fcn.0045c945
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
int3
Function at 0x421e50
Capabilities:
Check if file exists

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 0x4b58dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2d], cl
call fcn.0046c560
test eax, eax
je 0x421f50
cmp byte [ebp - 0x2d], 0
je 0x421f19
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046c160
add esp, 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x421f1d
cmp ecx, 7
jbe 0x421f19
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421f0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f6e
push ecx
push edx
call fcn.0045c945
add esp, 8
mov al, 1
jmp 0x421f52
cmp ecx, 7
jbe 0x421f50
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421f46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f6e
push ecx
push edx
call fcn.0045c945
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
int3
Function at 0x427650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004250b0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp edx, 7
jbe 0x427678
test ecx, ecx
je 0x4276a5
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
cmp word [eax], 0
je 0x4276a5
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x4276a5
mov bl, 1
jmp 0x4276a7
xor bl, bl
cmp edx, 7
jbe 0x4276d7
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4276cd
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4276e8
push edx
push ecx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045c4df
mov esp, ebp
pop ebp
ret
call fcn.00483c3a
int3

Function at 0x427b20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b637d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [esi + 0x14], 7
mov ecx, eax
mov eax, esi
jbe 0x427b60
mov eax, dword [esi]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x427bc2
mov eax, dword [esi + 0x10]
movzx eax, word [ecx + eax*2]
mov ecx, eax
cmp eax, 0x20
je 0x427b94
cmp ecx, 9
je 0x427b94
cmp ecx, 0xd
je 0x427b94
cmp ecx, 0xa
je 0x427b94
test cx, cx
je 0x427b94
xor al, al
jmp 0x427bc4
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov bl, 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00401890
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
ret
Function at 0x427cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe3c
push ebx
push esi
mov ebx, ecx
mov esi, 0x4d6448
push edi
mov ecx, 0x38c
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x4ec530], 2
jl 0x427df0
movaps xmm4, xmmword [0x4d8010]
xor ecx, ecx
movaps xmm3, xmmword [0x4d8100]
movaps xmm5, xmmword [0x4d8040]
movaps xmm6, xmmword [0x4d80e0]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + ecx*2 + 0x18]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + ecx*2 + 0x18], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [esp + ecx*2 + 0x20]
xorps xmm1, xmm0
movq qword [esp + ecx*2 + 0x20], xmm1
add ecx, 8
cmp ecx, 0x718
jl 0x427d02
jmp 0x427e23
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x32
xor word [esp + esi*2 + 0x18], ax
inc esi
cmp esi, 0x718
jl 0x427df0
xorps xmm0, xmm0
lea ecx, [esp + 0x18]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 2]
mov dword [ebx + 0x14], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427e40
sub ecx, edx
lea eax, [esp + 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00422c50
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
mov ebx, ecx
mov esi, 0x4d7ad0
push edi
mov ecx, 0x4d
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x4ec530], 2
jl 0x427fc0
movaps xmm4, xmmword [0x4d8010]
movaps xmm3, xmmword [0x4d8100]
movaps xmm5, xmmword [0x4d8040]
movaps xmm6, xmmword [0x4d80e0]
nop
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x13c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x13c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x134]
xorps xmm1, xmm0
movq qword [ebp + esi*2 - 0x134], xmm1
add esi, 8
cmp esi, 0x98
jl 0x427ec0
cmp esi, 0x9a
jge 0x427ff7
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x32
xor word [ebp + esi*2 - 0x13c], ax
inc esi
cmp esi, 0x9a
jl 0x427fc0
xorps xmm0, xmm0
lea ecx, [ebp - 0x13c]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 2]
mov dword [ebx + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428014
sub ecx, edx
lea eax, [ebp - 0x13c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00422c50
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
push ebx
push esi
mov ebx, ecx
mov esi, 0x4d7430
push edi
mov ecx, 0x74
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x1dc]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x4ec530], 2
movsw word es:[edi], word [esi]
jl 0x428190
movaps xmm4, xmmword [0x4d8010]
movaps xmm3, xmmword [0x4d8100]
movaps xmm5, xmmword [0x4d8040]
movaps xmm6, xmmword [0x4d80e0]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x1dc]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x1dc], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x1d4]
xorps xmm1, xmm0
movq qword [ebp + ecx*2 - 0x1d4], xmm1
add ecx, 8
cmp ecx, 0xe8
jl 0x428090
cmp ecx, 0xe9
jge 0x4281c7
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
shl edx, 3
sub eax, edx
add eax, 0x32
xor word [ebp + ecx*2 - 0x1dc], ax
inc ecx
cmp ecx, 0xe9
jl 0x428190
xorps xmm0, xmm0
lea ecx, [ebp - 0x1dc]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 2]
mov dword [ebx + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4281e4
sub ecx, edx
lea eax, [ebp - 0x1dc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00422c50
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret