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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11cc
call fcn.00441f50
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x20], 1
xor edx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x30], edx
mov esi, edx
mov dword [ebp - 4], esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
test eax, eax
je 0x41b4c6
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
test ecx, ecx
je 0x457f3c
mov dword [ecx], edx
mov dword [ebp - 0xd8], 0x4b0bb0
mov dword [ebp - 0xd4], 0x4b0cb0
mov dword [ebp - 0xd0], 0x4b0db0
mov dword [ebp - 0xcc], 0x4b0ef0
test ebx, 0xd8008580
jne 0x457f48
mov eax, ebx
mov dword [ebp - 0x74], edx
push 0x28
pop ebx
and eax, 0x10000
cmp word [edi], bx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
je 0x457f4f
test ebx, 0x800
je 0x45823f
mov dword [ebp - 4], 1
test eax, eax
jne 0x45821c
test ebx, 0x2000
je 0x458223
mov ecx, 0x1800000
mov eax, ebx
and eax, ecx
cmp eax, ecx
je 0x45826e
mov eax, ebx
push 2
pop ecx
and eax, 0x700000
jo 0x41b08e
jne 0x458247
mov dword [ebp - 0x54], ecx
xor edx, edx
lea eax, [ebp - 0x11c8]
mov dword [ebp - 0x8c], edx
mov ecx, edx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0xb0], eax
mov eax, edi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x9c], 0x800
mov dword [ebp - 0xa0], 0x14
mov dword [ebp - 0xc0], edi
cmp word [edi], dx
je 0x41b122
invalid
dec dword [ecx - 0xc77b]
dec dword [ebp - 0x1c77b]
dec dword [ecx - 0xaf7b]
dec dword [ebx + 0x789589c7]
invalid
lea eax, [eax + 2]
inc ecx
cmp word [eax], dx
jne 0x41b119
lea eax, [edi + ecx*2]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0xbc], eax
mov ecx, ebx
lea eax, [edi + esi*2]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x11c8]
mov dword [ebp - 0x1c], eax
mov eax, 0x83
mov word [ebp - 0x11c8], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x7c], edx
push eax
push edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x90], edx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xb4], edx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x78], ebx
push eax
lea eax, [ebp - 0x3c]
push eax
push edx
push edx
push edx
push edx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
call fcn.0041b4ca
mov esi, dword [ebp - 0x30]
add esp, 0x34
test esi, esi
jne 0x458271
cmp dword [ebp - 0x20], 0x10000
jg 0x4582d2
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x20]
lea esi, [eax*2 + 0x38]
push esi
call fcn.004091b2
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4582d6
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebx], 0x50435245
mov eax, dword [ebp - 0x78]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
push 0x1c
pop eax
mov word [ebx + 0x22], ax
mov ax, word [ebp - 0xa4]
mov word [ebx + 0x24], ax
mov ax, word [ebp - 0xa8]
mov word [ebx + 0x26], ax
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], esi
movzx eax, word [ebx + 0x22]
lea edx, [ebx + eax*2]
mov dword [ebp - 0xac], edx
movzx eax, word [ebx + 0x26]
movzx ecx, word [ebx + 0x24]
imul ecx, eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
lea edi, [edx + ecx*2]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xb4], esi
test eax, eax
jg 0x4582da
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, 0x83
push esi
mov word [edi], ax
lea eax, [ebp - 0xd8]
push eax
push esi
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041b4ca
mov ax, word [ebp - 0x98]
add esp, 0x34
xor al, 0x66
mov dword [ebx + 0x1e], eax
mov ax, word [ebp - 0x8c]
mov word [ebx + 0x20], ax
mov ax, word [ebp - 0x90]
mov word [ebx + 0x1c], ax
mov eax, dword [ebp - 0x74]
or eax, 2
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x6c], 0
jne 0x45832b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x30]
xor edx, edx
test esi, esi
jne 0x41b333
mov eax, dword [ebp - 0x18]
cmp word [eax], dx
jne 0x45833b
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
leave
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x1c], eax
sub eax, edi
sar eax, 1
cmp eax, dword [ebp - 0x20]
jg 0x458343
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc8]
cmp eax, ecx
ja 0x45834b
cmp dword [ebp - 0x9c], 0x800
jg 0x4583dc
xor eax, eax
mov dword [ebp - 0xc8], eax
test esi, esi
jne 0x4583ef
mov ax, word [ebx + 0x20]
cmp ax, word [ebx + 0x1e]
ja 0x4583e8
xchg dword [eax - 0x30], ebx
add eax, dword [eax]
test dword [ebp - 0xc], 0x20000
mov esi, dword [ebp - 4]
jne 0x41b3ad
lea eax, [ebp - 0xd8]
mov edx, esi
push eax
mov ecx, edi
call fcn.0041c960
pop ecx
cmp dword [ebp - 0x64], 0
jne 0x4583fb
mov ecx, dword [ebx + 8]
mov eax, ecx
test cl, 0x10
jne 0x41b423
xor eax, eax
xor edx, edx
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.0041c831
pop ecx
pop ecx
test eax, eax
jne 0x4584a8
mov eax, dword [ebp - 8]
test eax, eax
jns 0x41b462
xor eax, eax
lea edx, [ebp - 8]
push eax
mov ecx, edi
call fcn.0041aecc
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
test eax, eax
jns 0x41b465
mov esi, dword [ebx + 8]
xor eax, eax
push eax
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp + 0xc], esi
push eax
xor edx, edx
mov ecx, edi
call fcn.0041ade1
add esp, 0xc
test eax, eax
jne 0x4584b6
mov eax, esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jns 0x41b47a
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov edx, esi
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
push dword [ebp - 4]
jne 0x41b43a
call fcn.0041c633
add esp, 0xc
test eax, eax
jne 0x458590
invalid
mov bh, 0x47