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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x960
mov edi, dword [ebp + 0x10]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x958], eax
lea eax, [esp + 0x250]
push 0x708
push 0xff
push eax
call fcn.004e5eb0
add esp, 0xc
xor ebx, ebx
lea ecx, [esp + 0x130]
lea esi, [esp + 0x90]
nop word [eax + eax]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
mov dword [esp + 0x154], 0xffffffff
mov dword [esp + 0x150], 0xffffffff
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x44], edi
mov edx, edi
call fcn.004c8370
lea edx, [edi + 0x20]
mov ecx, esi
call fcn.004c8370
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov eax, dword [esp + 0x130]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x134]
mov dword [esp + 0x38], esi
add eax, ecx
mov dword [esp + ebx + 0x250], eax
lea eax, [esi + edx]
mov dword [esp + ebx + 0x254], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + eax]
mov dword [esp + ebx + 0x258], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + eax]
mov dword [esp + ebx + 0x25c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x20], ecx
lea eax, [ecx + eax]
mov dword [esp + ebx + 0x260], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x28], ecx
lea eax, [ecx + eax]
mov dword [esp + ebx + 0x264], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x30], ecx
lea eax, [ecx + eax]
mov dword [esp + ebx + 0x268], eax
mov esi, dword [esp + 0xac]
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x24], eax
lea eax, [eax + esi]
mov dword [esp + ebx + 0x26c], eax
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x150]
mov dword [esp + 0x2c], eax
add eax, edx
mov dword [esp + ebx + 0x270], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x154]
mov dword [esp + 0x34], eax
lea edi, [eax + ecx]
mov dword [esp + ebx + 0x274], edi
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x40]
mov edi, dword [esp]
sub edi, dword [esp + 0x38]
mov dword [esp], edi
mov edi, dword [esp + 0x1c]
sub dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
sub dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
sub dword [esp + 0xc], edi
mov edi, dword [esp + 0x28]
sub dword [esp + 8], edi
mov edi, dword [esp + 0x30]
sub dword [esp + 4], edi
sub esi, dword [esp + 0x24]
sub edx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x34]
add eax, 0x7ffffda
mov dword [esp + ebx + 0x278], eax
mov eax, dword [esp]
add eax, 0x3fffffe
mov dword [esp + ebx + 0x27c], eax
mov eax, dword [esp + 0x14]
add eax, 0x7fffffe
mov dword [esp + ebx + 0x280], eax
mov eax, dword [esp + 0x10]
add eax, 0x3fffffe
mov dword [esp + ebx + 0x284], eax
mov eax, dword [esp + 0xc]
add eax, 0x7fffffe
mov dword [esp + ebx + 0x288], eax
mov eax, dword [esp + 8]
add eax, 0x3fffffe
mov dword [esp + ebx + 0x28c], eax
mov eax, dword [esp + 4]
add eax, 0x7fffffe
mov dword [esp + ebx + 0x290], eax
add esi, 0x3fffffe
mov dword [esp + ebx + 0x294], esi
add edx, 0x7fffffe
mov dword [esp + ebx + 0x298], edx
add ecx, 0x3fffffe
mov dword [esp + ebx + 0x29c], ecx
lea eax, [esp + 0x2a0]
lea esi, [eax + ebx]
mov ecx, esi
lea edi, [esp + 0x130]
mov edx, edi
lea eax, [esp + 0x90]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, esi
mov edx, esi
lea esi, [esp + 0x90]
push 0x52ac4c
call fcn.004d1f60
mov ecx, edi
add esp, 4
add ebx, 0x78
mov edi, dword [esp + 0x44]
add edi, 0x40
cmp ebx, 0x708
jne 0x4c7990
pxor xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
lea ecx, [eax + 0x28]
mov dword [esp + 0x78], ecx
movdqu xmmword [eax + 0x2c], xmm0
movdqu xmmword [eax + 0x3c], xmm0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x28], 1
lea ecx, [eax + 0x50]
mov dword [esp + 0x74], ecx
movdqu xmmword [eax + 0x54], xmm0
movdqu xmmword [eax + 0x64], xmm0
mov dword [eax + 0x74], 0
mov dword [eax + 0x50], 1
lea ecx, [eax + 0x78]
mov dword [esp + 0x70], ecx
movdqu xmmword [eax + 0x78], xmm0
movdqu xmmword [eax + 0x88], xmm0
mov dword [eax + 0x9c], 0
mov dword [eax + 0x98], 0
mov ecx, 0x3f
mov eax, ecx
shr eax, 3
mov ebx, dword [ebp + 0xc]
movzx esi, byte [ebx + eax]
mov dword [esp + 0x7c], ecx
and cl, 7
movzx edi, cl
xor edx, edx
bt esi, edi
setb dl
movzx esi, byte [ebx + eax + 8]
shr esi, cl
and esi, 1
lea edx, [edx + esi*2]
movzx esi, byte [ebx + eax + 0x10]
shr esi, cl
movzx eax, byte [ebx + eax + 0x18]
shr eax, cl
and esi, 1
lea ecx, [edx + esi*4]
and eax, 1
lea eax, [ecx + eax*8]
mov dword [esp + 0x80], eax
mov dword [esp], 0
mov ecx, 1
lea esi, [esp + 0x2c4]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], 0
xor edi, edi
mov dword [esp + 0x20], 0
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
nop dword [eax + eax]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edi
mov edi, ecx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
xor ecx, edi
dec ecx
sar ecx, 0x1f
mov edi, dword [esi - 0x74]
xor edi, eax
and edi, ecx
xor edi, eax
mov dword [esp + 0x4c], edi
mov eax, dword [esp]
mov edi, dword [esi - 0x70]
xor edi, eax
and edi, ecx
xor edi, eax
mov dword [esp], edi
mov eax, dword [esp + 0x14]
mov edi, dword [esi - 0x6c]
xor edi, eax
and edi, ecx
xor edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 8]
mov edx, dword [esi - 0x68]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esi - 0x64]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x10]
mov ebx, dword [esi - 0x60]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x44]
mov edx, dword [esi - 0x5c]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0xc]
mov ebx, dword [esi - 0x58]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov edx, dword [esi - 0x54]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 4]
mov edx, dword [esi - 0x50]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esi - 0x4c]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
mov ebx, dword [esi - 0x48]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [esi - 0x44]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esi - 0x40]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi - 0x3c]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x30]
mov ebx, dword [esi - 0x38]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x6c]
mov edx, dword [esi - 0x34]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x28]
mov edi, dword [esi - 0x30]
xor edi, eax
and edi, ecx
xor edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x88]
mov edi, dword [esi - 0x2c]
xor edi, eax
and edi, ecx
xor edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esi - 0x28]
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x84]
mov edx, dword [esi - 0x24]
xor edx, eax
and edx, ecx
xor edx, eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esi - 0x20]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x48]
mov ebx, dword [esi - 0x1c]
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x68]
mov eax, dword [esi - 0x18]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x64]
mov eax, dword [esi - 0x14]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esi - 0x10]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x5c]
mov eax, dword [esi - 0xc]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x58]
mov eax, dword [esi - 8]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x54]
mov eax, dword [esi - 4]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x50]
mov eax, dword [esi]
xor eax, ebx
and eax, ecx
xor eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
inc eax
add esi, 0x78
mov ecx, eax
cmp eax, 0x10
jne 0x4c7e20
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1d8], eax
mov eax, dword [esp]
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x23c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
movdqa xmmword [esp + 0x170], xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov esi, dword [ebp + 8]
push esi
lea edi, [esp + 0x134]
push edi
call fcn.004c6810
add esp, 8
push edi
push esi
lea edi, [esp + 0x98]
push edi
call fcn.004c69a0
add esp, 0xc
mov ecx, esi
mov edx, edi
lea eax, [esp + 0x108]
push eax
call fcn.004d1f60
add esp, 4
mov ebx, dword [esp + 0x78]
mov ecx, ebx
lea edx, [esp + 0xb8]
lea eax, [esp + 0xe0]
push eax
call fcn.004d1f60
add esp, 4
mov esi, dword [esp + 0x74]
mov ecx, esi
lea edx, [esp + 0xe0]
lea eax, [esp + 0x108]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, edi
lea eax, [esp + 0xb8]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, edi
mov edx, dword [ebp + 8]
lea eax, [esp + 0x1d8]
push eax
call fcn.004c8520
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, edi
lea eax, [esp + 0x108]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, ebx
lea edx, [esp + 0xb8]
lea ebx, [esp + 0xe0]
push ebx
call fcn.004d1f60
add esp, 4
mov ecx, esi
mov edx, ebx
lea eax, [esp + 0x108]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, dword [esp + 0x70]
mov edx, edi
lea eax, [esp + 0xb8]
push eax
call fcn.004d1f60
add esp, 4
mov ecx, dword [esp + 0x7c]
dec ecx
cmp ecx, 0x40
jb 0x4c7ce0
mov ecx, dword [esp + 0x958]
xor ecx, ebp
call fcn.004e3343
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret