Function at 0x4e5930
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
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x44], esi
mov edx, 1
push 0xcf1bbcdc
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x60], eax
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov edx, dword [edi + 0x54]
mov esi, dword [esp + 0x48]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
push 0xbf9b0000
cmovne eax, ecx
mov dword [esp + 0x48], edx
push dword [esi + 4]
mov dword [esp + 0x44], eax
mov ecx, 5
mov eax, dword [edi + 0xc4]
cmp eax, ecx
push dword [esi]
mov dword [esp + 0x4c], eax
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov edi, 3
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov eax, 1
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x30]
shl eax, cl
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov eax, dword [edx + 0xb4]
mov dword [esp + 0x60], eax
call fcn.00546f20
mov esi, dword [esp + 0x50]
mov ecx, 0x42
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [esi + 0xc0]
call fcn.00519d00
mov ecx, dword [esp + 0x3c]
shl eax, 2
mov dword [esp + 0x54], eax
cmp ecx, 5
jbe 0x4e5a74
add ecx, 0xfffffffb
mov eax, 1
shl eax, cl
mov dword [esp + 0x3c], eax
jmp 0x4e5a7c
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x78], 0x1f
cmp dword [ecx + 0xdc], 0
jne 0x4e5d2e
mov edi, dword [ecx + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x28], edi
cmp eax, 0x180
jbe 0x4e5c17
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0x60]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
cmp edi, eax
jae 0x4e5b71
mov eax, dword [esp + 0x48]
mov edi, 0x38
mov esi, dword [esp + 0x28]
sub edi, ecx
add eax, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x60], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + esi + 4]
push dword [eax + esi]
call fcn.00546f20
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.00519d00
mov edi, dword [esp + 0x18]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 3
mov eax, 0
and edi, 0x1fffffe0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x30]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x4c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x60]
cmp esi, dword [esp + 0x58]
jb 0x4e5ae2
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x24]
lea ecx, [esi + 1]
mov eax, dword [esp + 0x48]
add edi, 0xffffffe0
add eax, edi
mov dword [esp + 0x28], edi
mov edx, edi
cmp eax, ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
jbe 0x4e5b97
xor ecx, ecx
jmp 0x4e5b9c
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, 8
mov dword [esp + 0x60], 8
cmova ecx, dword [esp + 0x60]
add ecx, edi
mov dword [esp + 0x60], ecx
cmp edi, ecx
jae 0x4e5c17
mov esi, dword [esp + 0x20]
mov ecx, 0x38
sub ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x58], ecx
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.00546f20
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x58]
call fcn.00519d00
mov edx, dword [esp + 0x4c]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x4c], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x48]
cmp edx, edi
jb 0x4e5bd0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x80], edx
cmp edi, dword [esp + 0x24]
jae 0x4e5ce2
mov esi, dword [esp + 0x28]
mov eax, 0x38
sub eax, ecx
mov dword [esp + 0x60], eax
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + esi + 0xc]
push dword [edx + esi + 8]
call fcn.00546f20
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x60]
call fcn.00519d00
mov edi, dword [esp + 0x18]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 3
mov eax, 0
mov dword [esp + 0x4c], edx
and edi, 0x1fffffe0
mov edx, dword [esp + 0x58]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x4c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
mov dword [ecx + eax*4], esi
inc esi
cmp esi, edi
jb 0x4e5c50
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
jmp 0x4e5ce6
mov edi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [eax + 0x1c], edi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00546f20
xor eax, dword [esp + 0x74]
mov ecx, 0x38
xor edx, dword [esp + 0x40]
sub ecx, dword [esp + 0x1c]
call fcn.00519d00
mov ecx, edi
mov edi, dword [esp + 0x18]
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, 3
mov ecx, dword [esp + 0x20]
jmp 0x4e5d5d
movq xmm0, qword [esp + 0x60]
mov eax, 0x38
sub eax, dword [esp + 0x1c]
movq xmm1, qword [esp + 0x80]
pxor xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x24]
psrlq xmm1, xmm0
mov dword [ecx + 0x1c], eax
movd edx, xmm1
add dword [ecx + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x2c]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x74], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], ecx
movzx eax, byte [edx]
and eax, 0x1f
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movsx eax, al
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 0x4e5dc2
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
or edx, eax
xor ecx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], ecx
test edx, edx
je 0x4e5e71
mov edi, edx
xor esi, esi
cmp dword [esp + 0x68], 0
jbe 0x4e5e68
push ecx
push edi
call fcn.004d6c70
add eax, dword [esp + 0x24]
add esp, 8
and eax, 0x1f
je 0x4e5e48
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x38]
jb 0x4e5e68
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov ecx, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edi, ecx
mov ecx, dword [esp + 0x18]
and ecx, eax
mov dword [esp + 0x18], ecx
ja 0x4e5e15
jb 0x4e5e68
test edi, edi
jne 0x4e5e15
mov dword [esp + 0x28], esi
mov edi, 3
mov edx, dword [esp + 0x74]
mov esi, 0x1f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
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 [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x44]
jbe 0x4e5f1d
mov ecx, dword [esp + 0x28]
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x4e5f0c
push dword [esp + 0x34]
mov ecx, esi
call fcn.004d6d00
add esp, 4
cmp eax, edi
jbe 0x4e5f08
mov ecx, dword [esp + 0x24]
mov edi, eax
sub ecx, dword [esp + 0x40]
add eax, esi
mov edx, dword [esp + 0x70]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x34]
je 0x4e5f19
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, ecx
jb 0x4e5ec0
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x30], eax
sub eax, ecx
add eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
cmp edx, 3
jae 0x4e5f59
xor ecx, ecx
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4e6049
jmp 0x4e5f61
mov dword [esp + 0x3c], 3
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x38], ecx
lea edx, [eax*4]
mov dword [esp + 0x14], edx
nop word [eax + eax]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add ecx, eax
mov dword [esp + 0x40], eax
test eax, eax
je 0x4e6106
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4e6029
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x34]
lea eax, [esi + 4]
mov edx, edi
sub eax, edi
add eax, dword [esp + 0x1c]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.004d6d00
add esp, 4
mov dword [esp + 0x5c], eax
lea ecx, [eax + edi]
cmp ecx, dword [esp + 0x1c]
jne 0x4e5ff2
push dword [esp + 0x34]
mov edx, dword [esp + 0x80]
lea ecx, [esi + 4]
add ecx, eax
call fcn.004d6d00
add esp, 4
add eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x6c]
lea ecx, [eax + 4]
cmp ecx, edi
jbe 0x4e6025
mov eax, dword [esp + 0x24]
mov edi, ecx
sub eax, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x6c], edi
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x34]
je 0x4e611c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add edx, 4
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x3c]
jb 0x4e5f80
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x50]
sub edx, ecx
mov edi, dword [esp + 0x54]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edi*4 + 0xc]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
shr dword [esp + 0x14], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x4e6106
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x5c], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4e60f0
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push dword [esp + 0x20]
push dword [esp + 0x3c]
call fcn.004d6d80
add eax, 4
add esp, 0xc
cmp eax, edi
jbe 0x4e60ec
mov ecx, dword [esp + 0x24]
mov edi, eax
sub ecx, dword [esp + 0x5c]
add eax, esi
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x34]
je 0x4e6106
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add ecx, 4
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x18]
jb 0x4e6092
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret