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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5c9040]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0xd8]
push 0x40
xor ebx, ebx
mov ebp, edx
push ebx
lea edi, [esi + 4]
push eax
mov dword [esp + 0x20], edi
call fcn.0051c010
push 0x110
push ebx
push edi
call fcn.0051c010
mov edi, dword [esp + 0x138]
mov ecx, 0x80
mov eax, edi
add esp, 0x18
sub eax, ecx
je 0x4e66a8
sub eax, 0x40
je 0x4e6654
sub eax, 0x40
je 0x4e6654
push 0xffffffffffffffdc
pop eax
jmp 0x4e6ccc
push 4
mov dword [esp + 0x24], 0x577a20
mov dword [esp + 0x14], 0x577ba0
mov dword [esp + 0x28], 0x577a23
mov dword [esp + 0x20], 0x577bb4
mov dword [esp + 0x2c], 0x577a27
mov dword [esp + 0x38], 0x577bc8
mov dword [esp + 0x30], 0x577a2b
mov dword [esp + 0x40], 0x577bdc
mov dword [esp + 0x48], 0x5779d4
mov dword [esp + 0x44], 0xb0
jmp 0x4e66f6
push 3
mov dword [esp + 0x24], 0x577a10
mov dword [esp + 0x14], 0x577b50
mov dword [esp + 0x28], 0x577a13
mov dword [esp + 0x20], 0x577b64
mov dword [esp + 0x2c], 0x577a17
mov dword [esp + 0x38], 0x577b78
mov dword [esp + 0x30], 0x577a1b
mov dword [esp + 0x40], 0x577b8c
mov dword [esp + 0x48], 0x5779c0
mov dword [esp + 0x44], ecx
pop eax
mov dword [esi], eax
mov eax, edi
shr eax, 3
test eax, eax
je 0x4e6714
push eax
lea eax, [esp + 0xdc]
push ebp
push eax
call fcn.0051c650
add esp, 0xc
cmp edi, 0xc0
jne 0x4e6734
mov ecx, ebx
mov al, byte [esp + ecx + 0xe8]
not al
mov byte [esp + ecx + 0xf0], al
inc ecx
cmp ecx, 8
jb 0x4e671e
mov edx, ebx
movzx ecx, byte [edx + 0x5778a0]
movzx eax, byte [edx + 0x5778a1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x5778a2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x5778a3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x5778a5]
mov dword [esp + edx + 0x48], ecx
movzx ecx, byte [edx + 0x5778a4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x5778a6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x5778a7]
shl ecx, 8
or ecx, eax
mov dword [esp + edx + 0x4c], ecx
add edx, 8
cmp edx, 0x30
jb 0x4e6736
push 0x40
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.0051c010
add esp, 0xc
mov edx, ebx
movzx ecx, byte [esp + edx + 0xd8]
movzx eax, byte [esp + edx + 0xd9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + edx + 0xda]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + edx + 0xdb]
shl ecx, 8
or ecx, eax
mov dword [esp + edx + 0x98], ecx
add edx, 4
cmp edx, 0x20
jb 0x4e67b1
mov ecx, ebx
mov eax, dword [esp + ecx*4 + 0xa8]
xor eax, dword [esp + ecx*4 + 0x98]
mov dword [esp + ecx*4 + 0xb8], eax
inc ecx
cmp ecx, 4
jb 0x4e67f1
lea eax, [esp + 0xc0]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xbc]
call fcn.004e652a
lea eax, [esp + 0xbc]
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0xc8]
call fcn.004e652a
movups xmm0, xmmword [esp + 0xc0]
lea eax, [esp + 0xc8]
movups xmm1, xmmword [esp + 0xa0]
push eax
lea edx, [esp + 0x64]
xorps xmm1, xmm0
lea ecx, [esp + 0xc4]
movups xmmword [esp + 0xc4], xmm1
call fcn.004e652a
lea eax, [esp + 0xc4]
push eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0xd0]
call fcn.004e652a
add esp, 0x10
cmp edi, 0x80
jbe 0x4e68e1
mov ecx, ebx
mov eax, dword [esp + ecx*4 + 0xb8]
xor eax, dword [esp + ecx*4 + 0xa8]
mov dword [esp + ecx*4 + 0xc8], eax
inc ecx
cmp ecx, 4
jb 0x4e6894
lea eax, [esp + 0xd0]
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xcc]
call fcn.004e652a
lea eax, [esp + 0xcc]
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0xd8]
call fcn.004e652a
pop ecx
pop ecx
mov eax, dword [esp + 0xa0]
lea ebx, [esp + 0x5c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x54], eax
xor eax, eax
inc eax
mov dword [esp + 0x30], ecx
push 0xf
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
pop ebp
cmp byte [ecx + eax - 1], 0
je 0x4e6999
mov eax, dword [esp + 0x30]
mov esi, ebp
and esi, 0x1f
push 0x20
pop edi
sub edi, esi
mov ecx, edi
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx - 4], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
shr edx, cl
mov ecx, esi
shl eax, cl
xor edx, eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
shl edx, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x20]
xor edx, eax
mov dword [ebx + 8], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
inc eax
add ebp, 0xf
add ebx, 0x10
mov dword [esp + 0x18], eax
cmp ebp, 0x3c
jbe 0x4e6927
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov edi, dword [esp + 0x10]
mov edx, ebx
mov al, byte [edi + edx]
cmp al, 0xff
je 0x4e69ca
movsx ecx, al
mov eax, dword [esp + edx*4 + 0x48]
mov dword [esi + ecx*4], eax
inc edx
cmp edx, 0x14
jb 0x4e69b9
cmp dword [esp + 0x120], 0x80
jbe 0x4e6acb
mov eax, dword [esp + 0xb0]
lea ebx, [esp + 0x5c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x54], eax
xor eax, eax
inc eax
mov dword [esp + 0x10], ecx
push 0xf
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], eax
pop ebp
cmp byte [ecx + eax], 0
je 0x4e6a94
mov eax, dword [esp + 0x10]
mov esi, ebp
and esi, 0x1f
push 0x20
pop edi
sub edi, esi
mov ecx, edi
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx - 4], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
shr edx, cl
mov ecx, esi
shl eax, cl
xor edx, eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
shl edx, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x24]
xor edx, eax
mov dword [ebx + 8], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
inc eax
add ebp, 0xf
add ebx, 0x10
mov dword [esp + 0x18], eax
cmp ebp, 0x3c
jbe 0x4e6a23
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov al, byte [esi + edx]
cmp al, 0xff
je 0x4e6ac5
movsx ecx, al
mov eax, dword [esp + edx*4 + 0x48]
mov dword [ebx + ecx*4], eax
inc edx
cmp edx, 0x14
jb 0x4e6ab4
mov eax, dword [esp + 0xc0]
lea ebx, [esp + 0x5c]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x54], eax
xor eax, eax
inc eax
mov dword [esp + 0x1c], ecx
push 0xf
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x14], eax
pop ebp
cmp byte [ecx + eax], 0
je 0x4e6b7e
mov eax, dword [esp + 0x1c]
mov esi, ebp
and esi, 0x1f
push 0x20
pop edi
sub edi, esi
mov ecx, edi
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx - 4], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
shr edx, cl
mov ecx, esi
shl eax, cl
mov ecx, edi
xor edx, eax
mov dword [ebx], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
shr edx, cl
mov ecx, esi
shl eax, cl
xor edx, eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
shl edx, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x28]
xor edx, eax
mov dword [ebx + 8], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0xf
add ebx, 0x10
mov dword [esp + 0x10], eax
cmp ebp, 0x3c
jbe 0x4e6b0d
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov al, byte [esi + edx]
cmp al, 0xff
je 0x4e6baf
movsx ecx, al
mov eax, dword [esp + edx*4 + 0x48]
mov dword [ebx + ecx*4], eax
inc edx
cmp edx, 0x14
jb 0x4e6b9e
cmp dword [esp + 0x120], 0x80
push 0
pop ebx
jbe 0x4e6ca4
mov eax, dword [esp + 0xd0]
lea ebp, [esp + 0x5c]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov eax, ecx
push 0xf
xor ecx, ecx
mov dword [esp + 0x4c], edx
pop ebx
inc ecx
cmp byte [esi + ecx], 0
je 0x4e6c6f
mov edi, ebx
and edi, 0x1f
push 0x20
pop esi
sub esi, edi
mov ecx, edi
shl edx, cl
mov ecx, esi
shr eax, cl
xor edx, eax
mov dword [ebp - 4], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
shr edx, cl
mov ecx, edi
shl eax, cl
mov ecx, esi
xor edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
shr edx, cl
mov ecx, edi
shl eax, cl
mov ecx, esi
mov esi, dword [esp + 0x2c]
xor edx, eax
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
shr edx, cl
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x38]
xor edx, eax
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
inc ecx
add ebx, 0xf
add ebp, 0x10
mov dword [esp + 0x38], ecx
cmp ebx, 0x3c
jbe 0x4e6c05
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov al, byte [esi + edx]
cmp al, 0xff
je 0x4e6c9c
movsx ecx, al
mov eax, dword [esp + edx*4 + 0x48]
mov dword [ebx + ecx*4], eax
inc edx
cmp edx, 0x14
jb 0x4e6c8b
xor ebx, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
add ecx, edx
mov esi, dword [esp + 0x44]
mov al, byte [esi + ebx]
cmp al, 0xff
je 0x4e6cc1
movsx eax, al
mov eax, dword [edx + eax*4]
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x14
jb 0x4e6cb2
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051b034
add esp, 0x10c
ret