Function at 0x4d70e0
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 [0x5a6008]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, edx
mov dword [esp + 0x20], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x3c], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x58], edx
add edx, ecx
mov eax, edi
mov dword [esp + 0x50], 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 + 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, 5
mov dword [esp + 0x50], edi
cmp eax, ecx
mov dword [esp + 0x70], edx
push 0xbb000000
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x48], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
push dword [eax + 4]
push dword [eax]
call fcn.0053d600
mov edi, dword [esp + 0x40]
mov ecx, 0x38
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [edi + 0x24]
call fcn.00511be0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x34], 0x1f
lea ecx, [eax + esi]
mov esi, dword [esp + 0x28]
lea eax, [edi + eax*4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
cmp dword [esi + 0xdc], 0
jne 0x4d749d
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x1c]
sub eax, edi
mov edx, dword [esp + 0x10]
mov ecx, edx
cmp eax, 0x180
jbe 0x4d739b
lea ecx, [edi + 0x60]
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
cmp edi, ecx
jae 0x4d72fb
mov eax, 0x38
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
add eax, 8
mov dword [esp + 0x24], eax
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00511be0
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, 3
mov eax, 0
and esi, 0x1fffffe0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x34]
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 + 0x30]
mov esi, dword [esp + 0x28]
mov dword [ecx + eax*4], edi
inc edi
mov eax, dword [esp + 0x24]
cmp edi, dword [esp + 0x44]
jb 0x4d7272
mov eax, dword [esi + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
add edi, 0xffffffe0
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x80], edi
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x4d731d
xor ecx, ecx
jmp 0x4d7322
sub ecx, edx
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x68], ecx
cmp edi, ecx
jae 0x4d7397
mov eax, 0x38
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00511be0
mov edx, dword [esp + 0x50]
mov ecx, eax
mov eax, edi
inc edi
and eax, 7
mov dword [esi + eax*4 + 0x2c], ecx
cmp edi, dword [esp + 0x68]
jb 0x4d7350
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x80]
jmp 0x4d739b
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
cmp edi, eax
jae 0x4d7458
mov eax, 0x38
sub eax, ecx
mov dword [esp + 0x80], eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x80]
call fcn.00511be0
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, 3
mov eax, 0
mov dword [esp + 0x44], edx
and esi, 0x1fffffe0
mov edx, dword [esp + 0x68]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x34]
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 + 0x14]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edi
inc edi
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x4d73d0
mov edi, dword [esp + 0x20]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0053d600
xor eax, dword [esp + 0x78]
mov ecx, 0x38
xor edx, dword [esp + 0x48]
sub ecx, dword [esp + 0x10]
call fcn.00511be0
mov ecx, eax
mov eax, dword [esp + 0x1c]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x4d74cc
movq xmm0, qword [esp + 0x68]
mov eax, 0x38
sub eax, dword [esp + 0x10]
movq xmm1, qword [esp + 0x80]
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 + 0x30]
mov esi, dword [esp + 0x3c]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x24], edx
add esi, eax
mov dword [esp + 0x10], 0
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edx
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
and eax, 0x1f
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
movsx eax, al
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 [esi]
lea esi, [esi + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x4d7530
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x30]
shl eax, 0x10
neg ecx
or eax, dword [esp + 0x80]
and ecx, 0x1f
mov esi, eax
shl esi, cl
mov ecx, dword [esp + 0x30]
shr eax, cl
xor ecx, ecx
or esi, eax
mov dword [esp + 0x34], ecx
je 0x4d75db
mov edi, dword [esp + 0x54]
nop dword [eax]
test edi, edi
je 0x4d75d5
push ecx
push esi
call fcn.004ce160
add eax, dword [esp + 0x38]
add esp, 8
and eax, 0x1f
je 0x4d75b5
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4d75d5
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x10], eax
dec edi
mov eax, dword [esp + 0x34]
mov ecx, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x34]
and ecx, eax
mov dword [esp + 0x34], ecx
ja 0x4d7580
jb 0x4d75d5
test esi, esi
jne 0x4d7580
mov dword [esp + 0x54], edi
xor edx, edx
mov esi, dword [esp + 0x48]
mov edi, 0x1f
mov eax, 0
movzx ecx, byte [esi]
dec ecx
and ecx, 0x1f
cmove eax, edi
mov edi, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esi], cl
mov byte [ecx + esi], al
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x1c]
mov dword [edi + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x10], 0
mov edi, dword [esp + 0x20]
jbe 0x4d7680
mov esi, 3
nop
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x4d7671
push dword [esp + 0x38]
mov edx, ecx
mov ecx, edi
call fcn.004ce1f0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x4d766d
mov eax, dword [esp + 0x1c]
mov esi, ecx
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x38]
je 0x4d767c
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x10]
jb 0x4d7620
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
movzx edx, byte [esi]
mov dword [esp + 0x48], ecx
and edx, 0x1f
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x58], ecx
xor ecx, ecx
movsx eax, al
mov dword [esp + 0x5c], edx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [esi]
lea esi, [esi + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x4d76e1
mov eax, dword [esp + 0x84]
mov ecx, edx
shl eax, 0x10
neg ecx
or eax, dword [esp + 0x80]
and ecx, 0x1f
mov esi, eax
shl esi, cl
mov ecx, edx
shr eax, cl
xor edx, edx
or esi, eax
mov dword [esp + 0x40], edx
je 0x4d786e
mov edi, dword [esp + 0x54]
nop
test edi, edi
je 0x4d7783
push edx
push esi
call fcn.004ce160
add eax, dword [esp + 0x64]
add esp, 8
and eax, 0x1f
je 0x4d7765
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4d7783
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 + 0x40]
mov ecx, esi
add ecx, 0xffffffff
mov eax, edx
adc eax, 0xffffffff
and esi, ecx
and edx, eax
mov dword [esp + 0x40], edx
ja 0x4d7730
jb 0x4d7783
test esi, esi
jne 0x4d7730
cmp dword [esp + 0x10], 0
mov edi, dword [esp + 0x20]
jbe 0x4d786e
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x48]
add esi, eax
mov dword [esp + 0x60], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x4d783b
mov ecx, dword [esp + 0x38]
add edi, 4
add esi, 4
mov dword [esp + 0x64], edi
mov eax, edi
mov edx, esi
sub eax, esi
add eax, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.004ce1f0
mov edi, eax
add esp, 4
lea ecx, [esi + edi]
mov esi, dword [esp + 0x38]
cmp ecx, dword [esp + 0x14]
jne 0x4d7808
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
push esi
lea ecx, [ecx + edi]
call fcn.004ce1f0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x2c]
lea edx, [edi + 4]
cmp edx, ecx
jbe 0x4d7841
mov eax, dword [esp + 0x1c]
mov ecx, edx
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov edi, dword [esp + 0x74]
add eax, 3
mov dword [esp + 0x2c], ecx
mov dword [edi], eax
mov edi, dword [esp + 0x20]
lea eax, [edx + edi]
cmp eax, esi
je 0x4d7858
jmp 0x4d7845
mov ecx, dword [esp + 0x2c]
jmp 0x4d7845
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x10]
jb 0x4d77a0
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret