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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x5b3480]
xor eax, esp
mov dword [esp + 0x194], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x28]
push edi
mov dword [esp + 0x38], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x5c], edx
add edx, ecx
mov dword [esp + 0x2c], eax
mov eax, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x7c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x30], edi
sub edi, edx
cmp eax, edx
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x54]
cmovbe edi, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne edi, ecx
mov dword [esp + 0x5c], edx
mov ecx, 5
mov dword [esp + 0x54], edi
cmp eax, ecx
mov dword [esp + 0x78], edx
push 0xbb000000
cmovb ecx, eax
mov dword [esp + 0x30], 3
mov eax, dword [esi + 0x50]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x5c], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
push dword [eax + 4]
push dword [eax]
call fcn.00491a50
mov edi, dword [esp + 0x54]
mov ecx, 0x38
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [edi + 0x24]
call fcn.00491dc0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x48], 0x1f
lea ecx, [eax + esi]
lea eax, [edi + eax*4]
mov dword [esp + 0x60], ecx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x68], eax
cmp dword [edi + 0xdc], 0
jne 0x4e6e94
mov esi, dword [edi + 0x1c]
mov eax, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x20], esi
cmp eax, 0x180
jbe 0x4e6d85
lea eax, [esi + 0x60]
mov dword [esp + 0x3c], eax
cmp esi, eax
jae 0x4e6cd6
mov eax, 0x38
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call fcn.00491a50
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00491dc0
and esi, 7
mov ecx, eax
mov eax, 0
mov edx, dword [edi + esi*4 + 0x2c]
mov dword [edi + esi*4 + 0x2c], ecx
mov esi, edx
shr esi, 3
and esi, 0x1fffffe0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov dword [ecx + eax*4], esi
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x3c]
jb 0x4e6c51
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
add esi, 0xffffffe0
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
lea edx, [edi + 1]
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
cmp eax, edx
jbe 0x4e6d05
xor edx, edx
jmp 0x4e6d0c
sub edx, dword [esp + 0x40]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x14], edx
cmp esi, edx
jae 0x4e6d8d
mov eax, 0x38
mov esi, edx
sub eax, dword [esp + 0x3c]
mov edi, ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
nop word [eax + eax]
mov eax, dword [esp + 0x40]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.00491a50
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x3c]
call fcn.00491dc0
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, edx
inc edx
and eax, 7
mov dword [esp + 0x18], edx
mov dword [edi + eax*4 + 0x2c], ecx
cmp edx, esi
jb 0x4e6d40
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], edx
cmp esi, eax
jae 0x4e6e4f
mov edi, dword [esp + 0x24]
mov eax, 0x38
sub eax, dword [ecx + 0x24]
mov dword [esp + 0x3c], eax
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + edx + 0xc]
push dword [esi + edx + 8]
call fcn.00491a50
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x3c]
call fcn.00491dc0
and esi, 7
mov ecx, eax
mov eax, 0
mov edx, dword [edi + esi*4 + 0x2c]
mov dword [edi + esi*4 + 0x2c], ecx
mov esi, edx
shr esi, 3
and esi, 0x1fffffe0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x4e6dc1
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.00491a50
xor eax, dword [esp + 0x78]
mov ecx, 0x38
xor edx, dword [esp + 0x58]
sub ecx, dword [esp + 0x1c]
call fcn.00491dc0
mov ecx, eax
mov eax, dword [esp + 0x30]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x4e6ecb
movq xmm0, qword [esp + 0x70]
mov eax, 0x38
sub eax, dword [esp + 0x1c]
movq xmm1, qword [esp + 0x80]
mov esi, dword [esp + 0x24]
pxor xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x30]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0x2c]
movd edx, xmm1
mov ecx, dword [esp + 0x4c]
mov eax, edx
add dword [esi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
movzx eax, byte [eax]
mov dword [esp + 0x58], eax
and eax, 0x1f
mov dword [esp + 0x1c], eax
xor ecx, ecx
movsx eax, dl
mov edx, dword [esp + 0x38]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x4e6f32
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
shl eax, 0x10
neg ecx
or eax, dword [esp + 0x80]
and ecx, 0x1f
mov edx, eax
shl edx, cl
mov ecx, dword [esp + 0x1c]
shr eax, cl
xor ecx, ecx
or edx, eax
mov dword [esp + 0x18], ecx
je 0x4e6fe3
mov edi, dword [esp + 0x44]
xor esi, esi
test edi, edi
je 0x4e6fd3
test edx, edx
jne 0x4e6f91
bsf eax, ecx
add eax, 0x20
jmp 0x4e6f94
bsf eax, edx
add eax, dword [esp + 0x1c]
and eax, 0x1f
je 0x4e6fb3
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x50]
jb 0x4e6fd3
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec edi
mov eax, dword [esp + 0x18]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x18]
and ecx, eax
mov dword [esp + 0x18], ecx
ja 0x4e6f81
jb 0x4e6fd3
test edx, edx
jne 0x4e6f81
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, 0x1f
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, edx
mov edx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x48]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x20], 0
jbe 0x4e70f5
mov ecx, 3
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x4e70e2
mov esi, dword [esp + 0x34]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x4e7094
mov eax, dword [edx]
xor eax, dword [edi]
je 0x4e706e
mov esi, dword [esp + 0x34]
bsf ecx, eax
shr ecx, 3
jmp 0x4e70bc
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x4e7094
nop dword [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x4e71aa
add eax, 4
add edx, 4
cmp eax, esi
jb 0x4e7080
mov esi, dword [esp + 0x34]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x4e70ad
mov cx, word [edx]
cmp cx, word [eax]
jne 0x4e70ad
add eax, 2
add edx, 2
cmp eax, esi
jae 0x4e70b8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4e70b8
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x28]
jbe 0x4e70de
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x28], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x4e70f5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jb 0x4e7030
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
sub ecx, eax
add dword [esp + 0x5c], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
movzx esi, byte [edx]
movsx eax, al
and esi, 0x1f
mov dword [esp + 0x60], esi
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x4e7150
mov eax, dword [esp + 0x84]
mov ecx, esi
shl eax, 0x10
neg ecx
or eax, dword [esp + 0x80]
and ecx, 0x1f
mov edx, eax
shl edx, cl
mov ecx, esi
shr eax, cl
xor esi, esi
or edx, eax
je 0x4e72d8
xor edi, edi
cmp dword [esp + 0x44], 0
je 0x4e7203
test edx, edx
jne 0x4e71bd
bsf eax, esi
add eax, 0x20
jmp 0x4e71c0
mov esi, dword [esp + 0x34]
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x4e70bc
bsf eax, edx
add eax, dword [esp + 0x60]
mov edi, dword [esp + 0x1c]
and eax, 0x1f
je 0x4e71ed
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + 0xc]
jb 0x4e7203
mov dword [esp + edi*4 + 0x98], eax
inc edi
dec dword [esp + 0x44]
mov dword [esp + 0x1c], edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x4e7197
jb 0x4e7203
test edx, edx
jne 0x4e7197
test edi, edi
mov edi, dword [esp + 0x2c]
je 0x4e72d8
xor eax, eax
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x50]
add esi, eax
mov dword [esp + 0x64], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x4e72ab
mov ecx, dword [esp + 0x34]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.004d5c50
add esp, 0xc
mov dword [esp + 0x68], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x14]
jne 0x4e727a
mov esi, dword [esp + 0x34]
add eax, 4
push esi
push dword [esp + 0x80]
add eax, edi
push eax
call fcn.004d5c50
add esp, 0xc
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x4e72af
mov eax, dword [esp + 0x30]
mov ecx, edx
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x28], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x34]
je 0x4e72c2
jmp 0x4e72af
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x1c]
jb 0x4e7211
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004913e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
call fcn.004913e0
mov esp, ebp
pop ebp
ret