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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x178
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x38], esi
mov edx, 1
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x54], eax
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x38]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
cmovne eax, ecx
mov ecx, 4
mov dword [esp + 8], eax
mov eax, dword [edi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x34], eax
cmovb ecx, eax
mov eax, dword [edi + 0x50]
imul edx, dword [esi], 0x9e3779b1
mov edi, 3
mov dword [esp + 0x44], eax
mov eax, 1
shl eax, cl
mov ecx, 0x22
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], edi
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x64], eax
sub ecx, dword [eax + 0xc0]
mov eax, edx
shr eax, cl
mov ecx, dword [esp + 0x34]
shl eax, 2
mov dword [esp + 0x48], eax
cmp ecx, 4
jbe 0x4e0dbe
add ecx, 0xfffffffc
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
jmp 0x4e0dc6
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], 0xf
cmp dword [ecx + 0xdc], 0
jne 0x4e0ff9
mov edi, dword [ecx + 0x1c]
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x14], edi
cmp eax, 0x180
jbe 0x4e0f1e
mov edx, dword [esp + 0xc]
lea eax, [edi + 0x60]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], edx
cmp edi, eax
jae 0x4e0ea6
mov esi, dword [esp + 0x14]
mov edi, 0x18
sub edi, edx
mov edx, dword [esp + 0x3c]
add edx, 8
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], edx
nop dword [eax + eax]
imul edx, dword [edx + esi], 0x9e3779b1
mov eax, esi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, edi
mov edi, dword [esp + 0x30]
shr edx, cl
mov ecx, dword [edi + eax*4]
mov dword [edi + eax*4], edx
mov edi, ecx
mov edx, dword [esp + 0x28]
mov eax, 0
shr edi, 4
and edi, 0xffffff0
mov dword [esp + 0x1c], ecx
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
mov dword [ecx + eax*4], esi
inc esi
mov ecx, dword [esp + 0x10]
cmp esi, dword [esp + 0x4c]
jb 0x4e0e30
mov eax, dword [ecx + 0x24]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x18]
lea edx, [esi + 1]
mov eax, dword [esp + 0x3c]
add edi, 0xffffffe0
add eax, edi
mov dword [esp + 0x14], edi
cmp eax, edx
jbe 0x4e0ec2
xor edx, edx
jmp 0x4e0ec9
sub edx, dword [esp + 0x3c]
sub edx, edi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, edi
mov dword [esp + 0x50], edx
cmp edi, edx
jae 0x4e0f1e
mov eax, 0x18
mov esi, edx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
nop dword [eax]
mov eax, dword [esp + 0x3c]
imul edx, dword [edi + eax], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + 0x10]
mov dword [ecx + eax*4 + 0x2c], edx
cmp edi, esi
jb 0x4e0ef0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], edx
cmp edi, eax
jae 0x4e0fc2
mov esi, dword [esp + 0x14]
mov edi, 0x18
sub edi, dword [ecx + 0x24]
mov dword [esp + 0x1c], edi
nop
imul edx, dword [edx + esi + 8], 0x9e3779b1
mov eax, esi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, edi
mov edi, dword [esp + 0x30]
shr edx, cl
mov ecx, dword [edi + eax*4]
mov dword [edi + eax*4], edx
mov edi, ecx
mov edx, dword [esp + 0x50]
mov eax, 0
shr edi, 4
and edi, 0xffffff0
mov dword [esp + 0x6c], ecx
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x6c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp esi, eax
jb 0x4e0f50
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [ecx + 0x1c], eax
mov ecx, 0x18
imul edx, dword [esi + 8], 0x9e3779b1
sub ecx, dword [esp + 0xc]
xor edx, dword [esp + 0x44]
shr edx, cl
and eax, 7
mov ecx, dword [edi + eax*4]
mov dword [edi + eax*4], edx
mov edi, 3
mov eax, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0xc], ecx
jmp 0x4e1017
mov eax, dword [esp + 0x10]
mov ecx, 0x18
sub ecx, dword [esp + 0xc]
xor edx, dword [esp + 0x44]
shr edx, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov dword [eax + 0x1c], ecx
add dword [eax + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x24]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
movzx ecx, byte [eax]
movsx eax, dl
and ecx, 0xf
mov dword [esp + 0x28], ecx
neg ecx
and ecx, 0xf
movd xmm0, eax
mov eax, dword [esp + 0x44]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [eax]
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
mov ax, dx
shl ax, cl
mov cx, word [esp + 0x28]
shr dx, cl
or ax, dx
movzx eax, ax
cdq
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4e109e
test eax, eax
je 0x4e10fb
mov esi, dword [esp + 0x58]
xor edi, edi
cmp dword [esp + 0x20], 0
jbe 0x4e10f2
push edx
push esi
call fcn.004d55d0
add eax, dword [esp + 0x30]
add esp, 8
and eax, 0xf
je 0x4e10d4
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 8]
jb 0x4e10f2
mov dword [esp + edi*4 + 0x78], eax
inc edi
dec dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, esi
add ecx, 0xffffffff
mov eax, edx
adc eax, 0xffffffff
and esi, ecx
and edx, eax
mov dword [esp + 0x24], edx
ja 0x4e10a4
jb 0x4e10f2
test esi, esi
jne 0x4e10a4
mov dword [esp + 0x14], edi
mov edi, 3
mov edx, dword [esp + 0x44]
mov esi, 0xf
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, esi
mov esi, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0xc]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x38]
jbe 0x4e119a
mov ecx, dword [esp + 0x14]
xor eax, eax
mov eax, dword [esp + eax*4 + 0x78]
mov edx, dword [esp + 0x3c]
add edx, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x4e1189
push dword [esp + 0x2c]
mov ecx, esi
call fcn.004d5660
add esp, 4
cmp eax, edi
jbe 0x4e1185
mov ecx, dword [esp + 0x18]
mov edi, eax
sub ecx, dword [esp + 0x58]
add eax, esi
mov edx, dword [esp + 0x68]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x2c]
je 0x4e1196
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x4e1140
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x28], eax
sub eax, ecx
add eax, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
cmp edx, 3
jae 0x4e11d6
xor ecx, ecx
mov dword [esp + 0x34], edx
test edx, edx
je 0x4e12b9
jmp 0x4e11de
mov dword [esp + 0x34], 3
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea edx, [eax*4]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add ecx, eax
mov dword [esp + 0x58], eax
test eax, eax
je 0x4e1376
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4e1299
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 4]
mov edx, edi
sub eax, edi
add eax, dword [esp + 0x30]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.004d5660
add esp, 4
mov dword [esp + 0x54], eax
lea ecx, [eax + edi]
cmp ecx, dword [esp + 0x30]
jne 0x4e1262
push dword [esp + 0x2c]
mov edx, dword [esp + 0x78]
lea ecx, [esi + 4]
add ecx, eax
call fcn.004d5660
add esp, 4
add eax, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x4e1295
mov eax, dword [esp + 0x18]
mov edi, ecx
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x60], edi
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x2c]
je 0x4e138c
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add edx, 4
inc eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x34]
jb 0x4e11f3
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x64]
sub edx, ecx
mov edi, dword [esp + 0x48]
mov dword [esp + 0x48], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edi*4 + 0xc]
mov edi, dword [esp + 0x60]
mov dword [esp + 8], eax
shr dword [esp + 8], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x4e1376
mov eax, dword [esp + 8]
lea ecx, [eax*4]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x54], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4e1360
push dword [esp + 0x74]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.004d56e0
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x4e135c
mov ecx, dword [esp + 0x18]
mov edi, eax
sub ecx, dword [esp + 0x54]
add eax, esi
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x2c]
je 0x4e1376
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x48]
add ecx, 4
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x20]
jb 0x4e1302
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret