Function at 0x490940
Capabilities:
Encode data using xor
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcfe2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x686bb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x20], edi
mov esi, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x90], 0
mov dword [esi], 0
call fcn.00484ef0
mov ecx, eax
test ecx, ecx
je 0x4913cf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, 0x67076e
mov dword [ebp - 4], 1
mov ecx, esi
test eax, 0xffff0000
jne 0x4909e6
movzx eax, ax
push eax
call fcn.0049b170
jmp 0x4909f0
push 0x67076e
call fcn.00498520
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push edi
mov dword [ebp - 0x90], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
jne 0x490c5d
movups xmm0, xmmword [0x674f78]
mov ax, word [0x674fa0]
xor edx, edx
cmp dword [0x6d3fec], 2
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x58], ax
movups xmm0, xmmword [0x674f88]
mov dword [ebp - 0x24], edx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [0x674f98]
movq qword [ebp - 0x60], xmm0
jl 0x490ba0
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x677150]
movaps xmm3, xmmword [0x6774e0]
movaps xmm6, xmmword [0x677180]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm7, eax
lea eax, [edi + 4]
nop dword [eax]
movd xmm0, edx
add edx, 8
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x84]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x84], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x80]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x80], xmm1
add eax, 8
cmp eax, 0x2c
jl 0x490a90
mov dword [ebp - 0x24], edx
cmp edx, 0x2a
jge 0x490bd1
nop dword [eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x80], cl
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0x2a
jl 0x490ba0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490bf0
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0049ac20
mov dword [ebp - 4], 2
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00498520
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x490ee5
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490c4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490ec9
push edx
push ecx
call fcn.005f7cf7
add esp, 8
jmp 0x490ee5
push edi
call fcn.005f8421
add esp, 4
mov dword [ebp - 0x54], eax
push eax
push edi
push 0
push dword [ebp - 0x20]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x490f05
movups xmm0, xmmword [0x6752b8]
mov ax, word [0x6752e8]
xor edx, edx
cmp dword [0x6d3fec], 2
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0x58], ax
movups xmm0, xmmword [0x6752c8]
mov al, byte [0x6752ea]
mov byte [ebp - 0x56], al
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x24], edx
movups xmm0, xmmword [0x6752d8]
movups xmmword [ebp - 0x68], xmm0
jl 0x490e13
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x677150]
movaps xmm3, xmmword [0x6774e0]
movaps xmm6, xmmword [0x677180]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm7, eax
lea eax, [edx + 4]
nop
movd xmm0, edx
add edx, 8
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x8c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x8c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x88]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x88], xmm1
add eax, 8
cmp eax, 0x34
jl 0x490d00
mov dword [ebp - 0x24], edx
cmp edx, 0x33
jge 0x490e47
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x88], cl
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0x33
jl 0x490e13
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490e70
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0049ac20
mov dword [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00498520
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x490ed9
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x490ecf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
mov edi, dword [ebp - 0x54]
push edi
call fcn.005f83e0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f7bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 0x6755f0
push edi
mov dword [ebp - 0x20], 0
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x491192
movups xmm0, xmmword [str.sEJVHeNXJM_7_e0_::__e]
mov ax, word [0x675160]
xor edx, edx
cmp dword [0x6d3fec], 2
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0x58], ax
movups xmm0, xmmword [0x675140]
mov al, byte [0x675162]
mov byte [ebp - 0x56], al
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x24], edx
movups xmm0, xmmword [0x675150]
movups xmmword [ebp - 0x68], xmm0
jl 0x4910c5
movaps xmm0, xmmword [str.6666666666666666]
mov eax, 5
movaps xmm4, xmmword [0x677150]
movaps xmm3, xmmword [0x6774e0]
movaps xmm6, xmmword [0x677180]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x50]
movd xmm7, eax
lea eax, [edx + 4]
movd xmm0, edx
add edx, 8
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x8c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + eax - 0x8c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + eax - 0x88]
pxor xmm1, xmm0
movd dword [ebp + eax - 0x88], xmm1
add eax, 8
cmp eax, 0x34
jl 0x490fb2
mov dword [ebp - 0x24], edx
cmp edx, 0x33
jge 0x4910f9
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x88], cl
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0x33
jl 0x4910c5
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491120
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0049ac20
mov dword [ebp - 4], 4
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00498520
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x490edc
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x491183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x491183
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005f7cf7
add esp, 8
jmp 0x490edc
cmp byte [0x67511b], 0
mov eax, dword [ebp - 0x20]
movq xmm0, qword [0x675110]
movq qword [ebp - 0x44], xmm0
movzx ecx, word [eax + 0xc]
mov dword [ebp - 0x54], ecx
movzx ecx, word [eax + 0xe]
mov dword [ebp - 0x94], ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x675118]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x3c], eax
je 0x491331
xor edx, edx
cmp dword [0x6d3fec], 2
mov dword [ebp - 0x24], edx
jl 0x491300
movaps xmm2, xmmword [0x677150]
mov eax, 5
movaps xmm4, xmmword [0x6774e0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
mov dword [ebp - 0x24], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [str.6666666666666666]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x677160]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x675110]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x44], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x677180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6771e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x40]
pxor xmm1, xmm0
movd dword [ebp - 0x40], xmm1
nop
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0xc
jl 0x491300
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491350
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0049ac20
push dword [ebp - 0x54]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x70]
push dword [ebp - 0x94]
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x8c]
push eax
push esi
call fcn.0049bc70
mov edx, dword [ebp - 0x5c]
add esp, 0x18
cmp edx, 0x10
jb 0x490edc
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x491183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x491183
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x80004005
call fcn.00484d40
int3