Function at 0x4e03a0
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 [0x5b0008]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, edx
mov dword [esp + 0x30], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x24], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x5c], edx
add edx, ecx
mov eax, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x6c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x1c], edi
sub edi, edx
cmp eax, edx
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 + 0x4c], edx
mov ecx, 6
mov dword [esp + 0x50], edi
cmp eax, ecx
mov dword [esp + 0x88], edx
push 0xbb000000
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x88], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x44], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edi
push dword [eax + 4]
push dword [eax]
call fcn.00546f20
mov edi, dword [esp + 0x3c]
mov ecx, 0x38
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
sub ecx, dword [edi + 0x24]
call fcn.00519d00
mov edi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x28], 0x3f
lea ecx, [eax + esi]
mov esi, dword [esp + 0x2c]
lea eax, [edi + eax*4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
cmp dword [esi + 0xdc], 0
jne 0x4e074d
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x1c]
sub eax, edi
mov edx, dword [esp + 0xc]
mov ecx, edx
cmp eax, 0x180
jbe 0x4e064c
lea ecx, [edi + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], edx
cmp edi, ecx
jae 0x4e05b9
mov eax, 0x38
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x44], eax
nop
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.00546f20
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00519d00
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov esi, edx
shr esi, 2
mov eax, 0
and esi, 0x3fffffc0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov dword [ecx + eax*4], edi
inc edi
mov eax, dword [esp + 0x44]
cmp edi, dword [esp + 0x40]
jb 0x4e0530
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add edi, 0xffffffe0
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x70], edi
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x4e05d8
xor ecx, ecx
jmp 0x4e05dd
sub ecx, edx
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x80], ecx
cmp edi, ecx
jae 0x4e0648
mov eax, 0x38
sub eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.00546f20
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x40]
call fcn.00519d00
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, edi
inc edi
and eax, 7
mov dword [esi + eax*4 + 0x2c], ecx
cmp edi, dword [esp + 0x80]
jb 0x4e0601
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x70]
jmp 0x4e064c
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], edx
cmp edi, dword [esp + 0x1c]
jae 0x4e0706
mov eax, 0x38
sub eax, ecx
mov dword [esp + 0x70], eax
nop dword [eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.00546f20
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x70]
call fcn.00519d00
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov esi, edx
shr esi, 2
mov eax, 0
mov dword [esp + 0x44], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x80]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x44]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edi
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x4e0680
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], edi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00546f20
xor eax, dword [esp + 0x58]
mov ecx, 0x38
xor edx, dword [esp + 0x48]
sub ecx, dword [esp + 0xc]
call fcn.00519d00
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x4e077c
movq xmm0, qword [esp + 0x80]
mov eax, 0x38
sub eax, dword [esp + 0xc]
movq xmm1, qword [esp + 0x70]
pxor xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x20]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x70], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x58], esi
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, 4
jl 0x4e07e0
mov eax, dword [esp + 0x8c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x84]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x80]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x24], ecx
or edi, eax
mov edx, dword [esp + 0x24]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00519d20
mov dword [esp + 0x48], eax
mov ecx, esi
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, dword [esp + 0x24]
call fcn.00519d00
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
or esi, eax
or ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4e0884
test esi, esi
je 0x4e08e1
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4e08dd
push ecx
push esi
call fcn.004d6c70
add eax, dword [esp + 0x60]
add esp, 8
and eax, 0x3f
je 0x4e08bd
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4e08dd
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x10], eax
dec edi
mov edx, dword [esp + 0xc]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4e0888
jb 0x4e08dd
test esi, esi
jne 0x4e0888
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x70]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x10], 0
jbe 0x4e0990
mov edi, dword [esp + 0x30]
mov esi, 3
mov ecx, dword [esp + 0x10]
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x4e097f
push dword [esp + 0x38]
mov ecx, edi
call fcn.004d6d00
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x4e097b
mov eax, dword [esp + 0x1c]
mov esi, ecx
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x38]
je 0x4e098c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, ecx
jb 0x4e0930
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
sub ecx, eax
add dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x60], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 4
jl 0x4e09f0
mov eax, dword [esp + 0x7c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x78]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x74]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x70]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x3c], ecx
or edi, eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00519d20
mov dword [esp + 0x50], eax
mov ecx, esi
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, dword [esp + 0x3c]
call fcn.00519d00
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
or esi, eax
or ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4e0a89
test esi, esi
je 0x4e0bcb
mov edi, dword [esp + 0x54]
nop dword [eax]
test edi, edi
je 0x4e0ae5
push ecx
push esi
call fcn.004d6c70
add eax, dword [esp + 0x68]
add esp, 8
and eax, 0x3f
je 0x4e0ac5
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4e0ae5
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x18], eax
dec edi
mov edx, dword [esp + 0xc]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4e0a90
jb 0x4e0ae5
test esi, esi
jne 0x4e0a90
cmp dword [esp + 0x18], 0
jbe 0x4e0bcb
xor eax, eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
add esi, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4e0b9e
lea edi, [ecx + 4]
add esi, 4
mov ecx, dword [esp + 0x38]
mov eax, edi
sub eax, esi
mov dword [esp + 0x64], edi
add eax, dword [esp + 0x24]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.004d6d00
mov edi, eax
add esp, 4
lea ecx, [esi + edi]
mov esi, dword [esp + 0x38]
cmp ecx, dword [esp + 0x24]
jne 0x4e0b6c
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push esi
lea ecx, [ecx + edi]
call fcn.004d6d00
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x34]
add edi, 4
cmp edi, ecx
jbe 0x4e0ba2
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x34], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x30]
add eax, edi
cmp eax, esi
je 0x4e0bb5
jmp 0x4e0ba2
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x18]
jb 0x4e0b00
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret