Function at 0x4f5740
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x91c
mov eax, dword [0x578140]
xor eax, esp
mov dword [esp + 0x918], eax
push ebx
mov ebx, dword [esp + 0x924]
push ebp
mov ebp, dword [esp + 0x930]
push esi
push edi
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x240]
mov ebx, 0xf
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004ecf80
lea eax, [ebp + 0x20]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004ecf80
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x48]
movups xmm0, xmmword [esp + 0x28]
mov dword [edi], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x4c]
movups xmm1, xmmword [esp + 0x50]
mov dword [edi + 4], eax
lea eax, [esp + 0x50]
push eax
paddd xmm1, xmm0
lea eax, [esp + 0x2c]
movups xmm0, xmmword [esp + 0x3c]
push eax
movups xmmword [edi - 0x20], xmm1
lea eax, [edi + 8]
movups xmm1, xmmword [esp + 0x68]
push eax
paddd xmm1, xmm0
movups xmmword [edi - 0x10], xmm1
call fcn.004ec200
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x60]
push eax
lea esi, [edi + 0x30]
push esi
call fcn.004ec2d0
push 0x52a820
push esi
push esi
call fcn.004ec2d0
add esp, 0x34
lea edi, [edi + 0x78]
add ebp, 0x40
sub ebx, 1
jne 0x4f5776
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, 0x3f
mov dword [esp + 0x14], eax
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x28], xmm0
movups xmmword [ebx + 0x38], xmm0
movq qword [ebx + 0x48], xmm0
mov dword [ebx + 0x28], 1
movups xmmword [ebx + 0x50], xmm0
movups xmmword [ebx + 0x60], xmm0
movq qword [ebx + 0x70], xmm0
mov dword [ebx + 0x50], 1
movups xmmword [ebx + 0x78], xmm0
movups xmmword [ebx + 0x88], xmm0
movq qword [ebx + 0x98], xmm0
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esp + 0x934]
lea esi, [esp + 0x270]
mov cl, al
xorps xmm0, xmm0
shr eax, 3
and cl, 7
add edx, eax
movq qword [esp + 0x128], xmm0
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0x108], 1
mov edi, 1
movups xmmword [esp + 0x130], xmm0
mov bl, byte [edx + 0x18]
movzx eax, byte [edx + 0x10]
shr bl, cl
shr al, cl
and bl, 1
and al, 1
movq qword [esp + 0x150], xmm0
add bl, bl
mov dword [esp + 0x130], 1
or bl, al
movq qword [esp + 0x178], xmm0
movzx eax, byte [edx + 8]
add bl, bl
shr al, cl
and al, 1
or bl, al
movzx eax, byte [edx]
shr al, cl
add bl, bl
and al, 1
or bl, al
movups xmmword [esp + 0x118], xmm0
movzx ebp, bl
movups xmmword [esp + 0x140], xmm0
movups xmmword [esp + 0x158], xmm0
movups xmmword [esp + 0x168], xmm0
nop
mov eax, ebp
xor eax, edi
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
lea eax, [esi - 0x50]
neg bl
and ebx, 1
push ebx
push eax
lea eax, [esp + 0x110]
push eax
call fcn.004eb930
push ebx
lea eax, [esi - 0x28]
push eax
lea eax, [esp + 0x144]
push eax
call fcn.004eb930
push ebx
lea eax, [esp + 0x174]
push esi
push eax
call fcn.004eb930
inc edi
add esp, 0x24
add esi, 0x78
cmp edi, 0x10
jb 0x4f5920
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x180]
push ebx
push eax
call fcn.004f5630
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.004f5420
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x80]
push eax
push ebx
call fcn.004ec2d0
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xb4]
push eax
lea esi, [ebx + 0x28]
push esi
call fcn.004ec2d0
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xe8]
push eax
lea edi, [ebx + 0x50]
push edi
call fcn.004ec2d0
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xa4]
push eax
lea ebp, [ebx + 0x78]
push ebp
call fcn.004ec2d0
add esp, 0x44
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004edf10
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.004ec2d0
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xac]
push eax
push esi
call fcn.004ec2d0
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xe0]
push eax
push edi
call fcn.004ec2d0
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x9c]
push eax
push ebp
call fcn.004ec2d0
mov eax, dword [esp + 0x50]
add esp, 0x3c
dec eax
mov dword [esp + 0x14], eax
cmp eax, 0x40
jb 0x4f5870
mov ecx, dword [esp + 0x928]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fcfc5
add esp, 0x91c
ret