Function at 0x52d0a0
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfb8
mov eax, dword [0x7be9b8]
xor eax, esp
mov dword [esp + 0xfb4], eax
movups xmm0, xmmword [0x7efb08]
push ebx
push ebp
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], 0xfffffffe
push esi
lea edx, [esp + 0xd28]
mov dword [esp + 0x3c], eax
mov ebx, eax
mov dword [esp + 0x34], edx
xor esi, esi
mov ecx, 0xc8
xor eax, eax
mov dword [esp + 0x38], ecx
push edi
mov edi, dword [esp + 0xfcc]
mov ebp, edx
mov dword [esp + 0x48], edi
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ebp
add ecx, ecx
mov word [ebp], si
lea eax, [edx - 2]
add eax, ecx
cmp eax, ebp
ja 0x52d21d
sub ebp, edx
sar ebp, 1
inc ebp
cmp dword [esp + 0x3c], 0x186a0
jae 0x52fe02
mov eax, ecx
mov dword [esp + 0x44], edx
cmp eax, 0x186a0
mov ecx, 0x186a0
cmova eax, ecx
mov dword [esp + 0x3c], eax
lea eax, [eax + eax*8]
lea eax, [eax*2 + 0xf]
push eax
call fcn.00470460
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
je 0x52fe02
test ebp, ebp
je 0x52d18b
mov edi, dword [esp + 0x38]
mov ecx, edx
sub edi, edx
mov edx, ebp
mov ax, word [edi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x52d173
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov ebx, edx
mov dword [esp + 0x38], ebx
lea eax, [eax*2 + 0xf]
and eax, 0xfffffff0
add edx, eax
mov dword [esp + 0x20], edx
test ebp, ebp
je 0x52d1d5
sub dword [esp + 0x40], edx
mov eax, edx
mov edi, dword [esp + 0x40]
mov ecx, ebp
nop word [eax + eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edi + eax - 0x10]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x52d1c0
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xd2c]
mov dword [esp + 0x40], edx
cmp eax, ecx
je 0x52d1f5
push eax
call fcn.00470430
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x38]
lea ecx, [ebx - 2]
lea ebx, [edx - 0x10]
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + ebp*2]
shl ebp, 4
add ebx, ebp
mov dword [esp + 0x34], ecx
lea eax, [eax + edx*2]
add eax, 0xfffffffe
cmp eax, ecx
jbe 0x52d372
cmp esi, 0x119
je 0x52fe17
movsx ebp, word [esi*2 + 0x755990]
cmp ebp, 0xfffffd5a
je 0x52d318
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffe
jne 0x52d258
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.005312b0
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jg 0x52d264
xor ecx, ecx
mov dword [esp + 0x24], ecx
jmp 0x52d279
cmp eax, 0x16f
ja 0x52d274
movzx ecx, byte [eax + 0x755820]
jmp 0x52d279
mov ecx, 2
add ebp, ecx
cmp ebp, 0x201d
ja 0x52d318
movsx eax, word [ebp*2 + 0x75ad30]
cmp eax, ecx
jne 0x52d318
movsx esi, word [ebp*2 + 0x756cf0]
test esi, esi
jg 0x52d2e1
neg esi
mov edx, esi
mov dword [esp + 0x44], edx
movzx ecx, byte [edx + 0x75fa58]
mov eax, ebx
mov dword [esp + 0x54], ecx
shl ecx, 4
sub eax, ecx
add eax, 0x10
mov dword [esp + 0x58], eax
movups xmm0, xmmword [eax]
lea eax, [edx - 9]
movups xmmword [esp + 0x10], xmm0
cmp eax, 0x286
ja 0x52fd87
jmp dword [eax*4 + 0x52fed0]
mov ecx, dword [esp + 0x30]
add ebx, 0x10
movups xmm0, xmmword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
test ecx, ecx
mov edx, dword [esp + 0x38]
lea eax, [ecx - 1]
mov dword [esp + 0x24], 0xfffffffe
cmove eax, ecx
add ebp, 2
mov ecx, dword [esp + 0x3c]
movups xmmword [ebx], xmm0
mov dword [esp + 0x30], eax
jmp 0x52d103
movzx edx, word [esi*2 + 0x756150]
mov dword [esp + 0x44], edx
test edx, edx
jne 0x52d2ab
mov edx, dword [esp + 0x24]
cmp edx, 0xfffffffe
jne 0x52d335
mov eax, edx
jmp 0x52d34b
cmp edx, 0x16f
ja 0x52d346
movzx eax, byte [edx + 0x755820]
jmp 0x52d34b
mov eax, 2
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x52d367
inc dword [esp + 0x4c]
push str.syntax_error
push edi
call fcn.0052cf40
add esp, 8
jmp 0x52d3ac
cmp ecx, 3
jne 0x52d3ac
test edx, edx
jg 0x52d37c
jne 0x52d3ac
mov esi, 1
jmp 0x52fe19
cmp eax, 0x11
je 0x52d391
cmp eax, 0x61
jne 0x52d3a4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x52d3a4
push eax
jmp 0x52d39c
cmp dword [esp + 0x64], 0
je 0x52d3a4
push dword [esp + 0x5c]
call fcn.00470430
add esp, 4
mov dword [esp + 0x24], 0xfffffffe
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x30], 3
nop dword [eax + eax]
lea ecx, [esi + esi]
movsx eax, word [ecx + 0x755990]
cmp eax, 0xfffffd5a
je 0x52d3f0
inc eax
cmp eax, 0x201d
ja 0x52d3f0
cmp word [eax*2 + 0x75ad30], 1
jne 0x52d3f0
movsx esi, word [eax*2 + 0x756cf0]
test esi, esi
jg 0x52d421
cmp ebp, dword [esp + 0x38]
je 0x52d372
movzx eax, word [ecx + 0x75ed70]
push edi
push ebx
push eax
push str.Error:_popping
call fcn.005308f0
movsx esi, word [ebp - 2]
add esp, 0x10
sub ebx, 0x10
sub ebp, 2
mov dword [esp + 0x34], ebp
jmp 0x52d3c0
movups xmm0, xmmword [esp + 0x5c]
mov edx, dword [esp + 0x38]
add ebx, 0x10
mov ecx, dword [esp + 0x3c]
add ebp, 2
movups xmmword [ebx], xmm0
jmp 0x52d103
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
neg eax
mov ebx, dword [esp + 0x58]
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x44]
movups xmm0, xmmword [esp + 0x10]
movzx esi, word [eax*2 + 0x75f530]
movups xmmword [ebx], xmm0
movzx edx, word [ebp]
movsx eax, dx
movsx ecx, word [esi*2 + 0x756802]
add ecx, eax
js 0x52fdea
cmp ecx, 0x201d
jg 0x52fdea
cmp word [ecx*2 + 0x75ad30], dx
jne 0x52fdea
movsx esi, word [ecx*2 + 0x756cf0]
add ebp, 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x52d103
movsx esi, word [esi*2 + 0x7569f2]
mov edx, dword [esp + 0x38]
add ebp, 2
mov ecx, dword [esp + 0x3c]
jmp 0x52d103
push str.memory_exhausted
push edi
call fcn.0052cf40
add esp, 8
mov esi, 2
jmp 0x52fe19
xor esi, esi
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffe
je 0x52fe55
cmp eax, 0x16f
ja 0x52fe55
mov al, byte [eax + 0x755820]
cmp al, 0x11
je 0x52fe42
cmp al, 0x61
jne 0x52fe55
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x52fe55
push eax
jmp 0x52fe4d
cmp dword [esp + 0x64], 0
je 0x52fe55
push dword [esp + 0x5c]
call fcn.00470430
add esp, 4
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
cmp edi, ebp
je 0x52fe99
movsx eax, word [edi]
movzx eax, word [eax*2 + 0x75ed70]
cmp eax, 0x11
je 0x52fe7f
cmp eax, 0x61
jne 0x52fe8f
mov eax, dword [ebx]
test eax, eax
je 0x52fe8f
push eax
jmp 0x52fe87
cmp dword [ebx + 8], 0
je 0x52fe8f
push dword [ebx]
call fcn.00470430
add esp, 4
sub edi, 2
sub ebx, 0x10
cmp edi, ebp
jne 0x52fe61
lea eax, [esp + 0xd2c]
cmp ebp, eax
je 0x52fead
push ebp
call fcn.00470430
add esp, 4
mov ecx, dword [esp + 0xfc4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004daa4c
add esp, 0xfb8
ret