Function at 0x422210
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x46d040]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [0x508b7c]
test byte [edi + 8], 0x42
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
jne 0x422e38
cmp byte [edi + 0xa8], 0
jg 0x422e38
cmp byte [edi + 0xa9], 0
jg 0x422e38
cmp byte [edi + 0x8f], 0
je 0x422e38
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x467240]
mulss xmm2, dword [0x4671e0]
mov esi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x46724c]
test cl, cl
mov byte [esp + 0xf], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [esp + 0x50], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x467218]
cvttss2si esi, xmm0
mov dword [esp + 0x4c], esi
je 0x4222e7
movss xmm0, dword [0x4672bc]
jmp 0x4222ea
xorps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x46743c]
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x10], xmm0
mov dword [edi + 0x12c], 1
call fcn.00426f70
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ebp + 0xc], edx
jle 0x4227d6
nop word [eax + eax]
movss xmm0, dword [edi + 0x10]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [esp + 0x5c], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x462360]
mulss xmm2, dword [ecx*8 + 0x462364]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x462368]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x2c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x46236c]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x2c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x74], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x78], xmm4
jbe 0x4223ef
movss dword [esp + 0x6c], xmm5
movss dword [esp + 0x74], xmm3
comiss xmm2, xmm4
jbe 0x422400
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x78], xmm2
mov ecx, dword [edi + 0xc8]
mov esi, 4
mov eax, dword [edi + 0xd0]
lea edi, [esp + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4623c0]
sub esi, 1
jne 0x422420
mov eax, dword [0x508b7c]
not edx
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x3e48], edx
jne 0x422470
push ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, 4
call fcn.0042e820
mov eax, dword [0x508b7c]
add esp, 8
mov edx, dword [esp + 0x20]
cmp dword [eax + 0x3e60], edx
jne 0x42247e
mov dword [eax + 0x3e64], edx
cmp dword [eax + 0x3e88], edx
jne 0x42248d
mov byte [eax + 0x3e8c], 1
push 0x40800
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x78]
call fcn.00444850
mov cl, byte [esp + 0x1a]
add esp, 0xc
test cl, cl
jne 0x4224bc
mov al, byte [esp + 0xd]
test al, al
je 0x422782
mov edx, dword [esp + 0x18]
mov eax, edx
mov ecx, dword [esp + 0x30]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4158], eax
mov al, byte [esp + 0xd]
test al, al
je 0x42278c
cmp word [ecx + 0x3702], 2
jne 0x422540
test edx, edx
jne 0x422540
push dword [esp + 0x34]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00421b20
add esp, 4
mov byte [esp + 0xf], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10], xmm0
call fcn.0041bd60
mov edx, dword [esp + 0x18]
cmp byte [esp + 0xd], 0
je 0x4227a8
mov ecx, 0x20
jmp 0x4227b4
mov edx, dword [esp + 0x5c]
movss xmm3, dword [0x467240]
mov edi, dword [ebp + 0x14]
movss xmm2, dword [0x467480]
movss xmm0, dword [edx*8 + 0x462364]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x422570
movss xmm7, dword [edi + 4]
jmp 0x422573
movaps xmm7, xmm2
movss xmm1, dword [edx*8 + 0x462360]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x42258b
movss xmm5, dword [edi]
jmp 0x42258e
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x4225af
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x46743c]
jmp 0x4225bd
movss xmm0, dword [0x46743c]
movss dword [esp + 0x20], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x4225cb
movss xmm0, dword [edi + 8]
movss xmm1, dword [edx*8 + 0x462368]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x46236c]
cvtsi2ss xmm4, esi
movss dword [esp + 0x1c], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x467850]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x2c]
movaps xmm6, xmm4
mulss xmm2, dword [esp + 0x2c]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x462360]
mulss xmm4, xmm3
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edx*8 + 0x462364]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e74]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e78]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x42266b
movss xmm7, dword [esp + 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x42267a
movss xmm5, dword [esp + 0x1c]
minss xmm5, xmm6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x64]
movss xmm4, dword [edx*8 + 0x462364]
lea ecx, [esp + 0x38]
push eax
movss xmm0, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm3, xmm4
mulss xmm5, dword [edx*8 + 0x462360]
mov edx, edi
addss xmm3, xmm7
movss dword [esp + 0x28], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [esp + 0x2c], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [esp + 0x68], xmm5
subss xmm7, xmm3
movss dword [esp + 0x6c], xmm7
call fcn.00421b20
mov ecx, dword [esp + 0x60]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x462360]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x1c], xmm0
lahf
test ah, 0x44
jp 0x422744
subss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x462364]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x422778
subss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
mov edx, dword [esp + 0x18]
mov al, byte [esp + 0xd]
jmp 0x422790
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x422794
mov edi, dword [esp + 0x14]
mov cl, byte [esp + 0xe]
test edx, edx
je 0x42252b
test al, al
jne 0x422536
test cl, cl
je 0x4227c8
xor ecx, ecx
cmp byte [esp + 0xe], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x467240]
call fcn.0041a250
mov ecx, dword [esp + 0x54]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [ebp + 0xc]
jl 0x422340
xor edi, edi
mov dword [esp + 0x60], edi
cmp dword [esp + 0x50], edi
jbe 0x422b06
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x40], eax
test edi, edi
je 0x422827
cmp edi, 1
je 0x422827
mov dword [esp + 0x20], 3
lea eax, [esp + 0x68]
mov dword [esp + 0x2c], 0xdbc
mov dword [esp + 0x18], 0x3e78
jmp 0x422843
mov dword [esp + 0x20], 4
lea eax, [esp + 0x64]
mov dword [esp + 0x2c], 0xdb8
mov dword [esp + 0x18], 0x3e74
mov edx, dword [esp + 0x14]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x70]
push edi
mov dword [esp + 0x3c], eax
call fcn.004220f0
mov ecx, dword [edx + 0xc8]
lea eax, [edi + 4]
mov dword [esp + 0x64], eax
lea esi, [esp + 0x64]
mov eax, dword [edx + 0xd0]
add esp, 8
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4623c0]
sub edi, 1
jne 0x422890
mov eax, dword [0x508b7c]
not edx
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x5c], edx
cmp dword [eax + 0x3e48], edx
jne 0x4228e4
push ecx
mov ecx, dword [esp + 0x60]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.0042e820
mov eax, dword [0x508b7c]
add esp, 8
mov edx, dword [esp + 0x5c]
cmp dword [eax + 0x3e60], edx
jne 0x4228f2
mov dword [eax + 0x3e64], edx
cmp dword [eax + 0x3e88], edx
jne 0x422901
mov byte [eax + 0x3e8c], 1
push 0x40800
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x78]
call fcn.00444850
mov al, byte [esp + 0x19]
add esp, 0xc
cmp byte [esp + 0xe], 0
mov ecx, dword [esp + 0x30]
je 0x42293c
movss xmm0, dword [ecx + 0x3e58]
comiss xmm0, dword [0x4671c8]
ja 0x422944
test al, al
je 0x422af7
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x4158], edx
test al, al
je 0x422af7
mov eax, dword [esp + 0x58]
mov dword [eax], edi
cmp edi, 3
jne 0x422b82
mov eax, dword [ebp + 0x14]
movss xmm4, dword [0x467480]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x46743c]
movss xmm5, dword [0x46743c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x18]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x34]
addss xmm0, dword [0x4672bc]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x68]
comiss xmm3, xmm0
ja 0x4229d3
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm4, xmm0
ja 0x4229e5
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [esp + 0x40]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x4621cc]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x4621d4]
movss xmm2, dword [ecx + 0x4621c8]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x4621d0]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm3
lea ecx, [esp + 0x38]
movss dword [esp + 0x60], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [esp + 0x48]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [esp + 0x44], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [esp + 0x28], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [esp + 0x2c], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm3
call fcn.00421b20
movss xmm0, dword [esp + 0x44]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x1c], xmm0
lahf
test ah, 0x44
jp 0x422ac6
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x60]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x422af7
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
inc edi
mov dword [esp + 0x60], edi
cmp edi, dword [esp + 0x50]
jl 0x4227f0
mov esi, dword [0x508b7c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 0x3e28]
dec dword [eax + 0xc8]
mov dword [edx + 0x12c], 0
mov eax, dword [edi + 0x412c]
test eax, eax
je 0x422d6c
cmp dword [eax + 0x2e8], edx
jne 0x422d6c
mov eax, dword [edi + 0x4010]
cmp eax, 2
jne 0x422bd6
cmp byte [edi + 0xdd1], 0
je 0x422d6c
movss xmm4, dword [esi + 0x2e24]
movss xmm1, dword [esi + 0x2e04]
subss xmm4, dword [esi + 0x2e14]
subss xmm1, dword [esi + 0x2df4]
jmp 0x422bff
movss xmm1, dword [0x467480]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x422ba1
mov eax, dword [ebp + 0x14]
movss xmm4, dword [eax]
jmp 0x422975
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x422bb9
mov eax, dword [ebp + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x42297d
movss xmm1, dword [0x46743c]
test edi, edi
jne 0x42297d
mov eax, dword [ebp + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x422985
cmp eax, 3
jne 0x422d6c
movss xmm4, dword [esi + 0x3504]
movss xmm1, dword [esi + 0x34e4]
subss xmm4, dword [esi + 0x34f4]
subss xmm1, dword [esi + 0x34d4]
xorps xmm7, xmm7
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x422c18
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x422d77
movss xmm3, dword [edi + 0x58]
mov ecx, 0x20
minss xmm3, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x467404]
mov eax, dword [ebp + 0x14]
mulss xmm3, xmm0
movaps xmm2, xmm3
mulss xmm3, xmm4
mulss xmm2, xmm1
addss xmm3, dword [edi + 0x4150]
movss xmm1, dword [0x467240]
addss xmm2, dword [edi + 0x414c]
movss dword [edi + 0x4150], xmm3
movss dword [edi + 0x414c], xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x414c], xmm2
mov byte [edi + 0x4140], 0
mov byte [edi + 0x401b], 1
maxss xmm3, xmm0
movss dword [edi + 0x4150], xmm3
call fcn.0041a250
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x414c]
cvttss2si edi, dword [edi + 0x4150]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x422cf0
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x422d7f
addss xmm0, dword [edx + 0x20]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x4c], xmm0
call fcn.00421b20
mov edx, dword [esp + 0x18]
add esp, 4
xorps xmm7, xmm7
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x414c]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x414c], xmm0
movss xmm0, dword [eax + 0x4150]
subss xmm0, xmm1
movss dword [eax + 0x4150], xmm0
jmp 0x422d85
movss xmm2, dword [esp + 0x10]
xorps xmm7, xmm7
jmp 0x422d8b
movss xmm2, dword [esp + 0x10]
jmp 0x422d8b
movss xmm2, dword [esp + 0x10]
mov esi, dword [0x508b7c]
movss xmm1, dword [0x46743c]
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x422dc7
test dword [edx + 8], 0x100
movss dword [edx + 0x20], xmm0
movss dword [edx + 0x24], xmm2
jne 0x422dc7
comiss xmm7, dword [esi + 0x5218]
jb 0x422dc7
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5218], eax
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x422e13
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x422e13
comiss xmm7, dword [esi + 0x5218]
jb 0x422e13
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5218], ecx
mov esi, dword [esp + 0x14]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [esp + 0xf]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret