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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], 0x3f
mov esi, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x1c], esi
mov edx, 1
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x2c], 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 + 0x1c]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
cmovne eax, ecx
mov ecx, 6
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x3c], eax
mov eax, 1
shl eax, cl
cmp dword [edi + 0xdc], 0
mov dword [esp + 0x44], eax
jne 0x4d813c
mov esi, dword [edi + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
sub eax, esi
mov dword [esp + 0x10], esi
mov ecx, edx
cmp eax, 0x180
jbe 0x4d803e
lea eax, [esi + 0x60]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
cmp esi, eax
jae 0x4d7f97
mov eax, 0x38
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
add eax, 8
mov dword [esp + 0x14], eax
nop dword [eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + esi + 4]
push dword [eax + esi]
call fcn.00546260
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x30]
call fcn.00519040
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, 2
and esi, 0x3fffffc0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x28]
jb 0x4d7f10
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esi, 0xffffffe0
mov eax, dword [esp + 0x2c]
inc ecx
add eax, esi
mov dword [esp + 0x10], esi
mov edx, esi
cmp eax, ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
jbe 0x4d7fbf
xor ecx, ecx
jmp 0x4d7fc4
sub ecx, eax
sub ecx, esi
inc ecx
cmp ecx, 8
mov dword [esp + 0x14], 8
cmova ecx, dword [esp + 0x14]
add ecx, esi
mov dword [esp + 0x14], ecx
cmp esi, ecx
jae 0x4d803a
mov esi, dword [esp + 0x14]
mov ecx, 0x38
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
nop
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.00546260
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x28]
call fcn.00519040
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, edx
inc edx
and eax, 7
mov dword [esp + 0x30], edx
mov dword [edi + eax*4 + 0x2c], ecx
mov eax, dword [esp + 0x2c]
cmp edx, esi
jb 0x4d7ff0
mov ecx, dword [edi + 0x24]
mov esi, dword [esp + 0x10]
jmp 0x4d803e
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x5c]
mov edx, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], edx
cmp esi, dword [esp + 0x18]
jae 0x4d80f5
mov eax, 0x38
sub eax, ecx
mov dword [esp + 0x14], eax
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + edx + 0xc]
push dword [esi + edx + 8]
call fcn.00546260
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00519040
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, 2
and esi, 0x3fffffc0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x30]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov dword [ecx + eax*4], esi
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x18]
jb 0x4d8070
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 0xcf1bbcdc
push 0xbb000000
mov dword [edi + 0x1c], esi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00546260
xor eax, dword [esp + 0x50]
mov ecx, 0x38
xor edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x24]
call fcn.00519040
mov ecx, eax
mov eax, esi
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], ecx
jmp 0x4d816f
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.00546260
xor eax, dword [esp + 0x50]
mov ecx, 0x38
xor edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x24]
call fcn.00519040
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov ecx, edx
add dword [edi + 0x58], edx
shr ecx, 2
and ecx, 0x3fffffc0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
add edx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], edx
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x28], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
nop word [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x60], eax
inc ecx
cmp ecx, 4
jl 0x4d81d0
mov eax, dword [esp + 0x6c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x68]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x64]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x60]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x38], ecx
or edi, eax
mov edx, dword [esp + 0x38]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00519060
mov dword [esp + 0x48], eax
mov ecx, esi
mov dword [esp + 0x14], edx
mov eax, edi
mov edx, dword [esp + 0x38]
call fcn.00519040
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
or esi, eax
or edi, edx
ja 0x4d8261
test esi, esi
je 0x4d82af
cmp dword [esp + 0x44], 0
jbe 0x4d82af
push edi
push esi
call fcn.004d55d0
add eax, dword [esp + 0x30]
add esp, 8
and eax, 0x3f
je 0x4d8299
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x40]
jb 0x4d82af
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x78], ecx
inc eax
dec dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov ecx, esi
mov eax, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edi, eax
ja 0x4d8261
jb 0x4d82af
test esi, esi
jne 0x4d8261
mov edx, dword [esp + 0x3c]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x10], 0
jbe 0x4d8364
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov edi, 3
nop word [eax + eax]
mov edx, dword [esp + 0x2c]
add edx, dword [esp + esi*4 + 0x78]
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + ecx - 3]
jne 0x4d8347
push dword [esp + 0x54]
call fcn.004d5660
mov ecx, eax
add esp, 4
cmp ecx, edi
jbe 0x4d8343
mov eax, dword [esp + 0x18]
mov edi, ecx
sub eax, dword [esp + esi*4 + 0x78]
mov edx, dword [esp + 0x5c]
add eax, 3
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cmp eax, dword [esp + 0x54]
je 0x4d834e
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4d8300
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 ecx, dword [esp + 0x17c]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret