Function at 0x4062d0
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x41172f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, ecx
push edi
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], ebp
call fcn.00407780
xor esi, esi
lea ecx, [ebp + 0x10]
mov dword [esp + 0x2c], esi
call fcn.00410b1e
mov eax, 0x413eac
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x6c], 0x413e98
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x7c], esi
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x74], esi
mov byte [esp + 0x2c], 5
xor ebx, ebx
push ebx
mov ecx, ebp
call fcn.00407810
cmp al, byte [ebx + 0x413e90]
jne 0x406812
inc ebx
cmp ebx, 8
jl 0x406362
push 0x2f
mov ecx, ebp
call fcn.00407810
push 0x2e
mov ecx, ebp
mov bl, al
call fcn.00407810
push 0x2d
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
push 0x2c
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dh, bl
and ecx, 0xff
mov dl, byte [esp + 0x3c]
and eax, 0xff
shl edx, 8
or edx, ecx
push 0x3f
shl edx, 8
or eax, edx
mov ecx, ebp
mov dword [ebp + 0x24], eax
call fcn.00407810
push 0x3e
mov ecx, ebp
mov bl, al
call fcn.00407810
push 0x3d
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
push 0x3c
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dh, bl
and ecx, 0xff
mov dl, byte [esp + 0x3c]
and eax, 0xff
shl edx, 8
or edx, ecx
push 0x33
shl edx, 8
or eax, edx
mov ecx, ebp
mov dword [ebp + 0x28], eax
call fcn.00407810
push 0x32
mov ecx, ebp
mov bl, al
call fcn.00407810
push 0x31
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
push 0x30
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dh, bl
and ecx, 0xff
mov dl, byte [esp + 0x3c]
and eax, 0xff
shl edx, 8
or edx, ecx
push 0x47
shl edx, 8
or eax, edx
mov ecx, ebp
mov dword [ebp + 0x2c], eax
call fcn.00407810
push 0x46
mov ecx, ebp
mov bl, al
call fcn.00407810
push 0x45
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
push 0x44
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dh, bl
and ecx, 0xff
mov dl, byte [esp + 0x3c]
and eax, 0xff
shl edx, 8
or edx, ecx
push 0x4b
shl edx, 8
or eax, edx
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.00407810
push 0x4a
mov ecx, ebp
mov bl, al
call fcn.00407810
push 0x49
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
push 0x48
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dh, bl
and ecx, 0xff
mov dl, byte [esp + 0x3c]
and eax, 0xff
shl edx, 8
or edx, ecx
shl edx, 8
or eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x24]
cmp eax, 0xa
jge 0x40653f
mov eax, edi
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
lea edx, [eax + eax*2]
shl edx, 1
mov dword [ebp + 0x24], edx
mov ebx, dword [ebp + 0x24]
cmp ebx, esi
jne 0x406564
mov eax, dword [ebp + 0x5c]
cmp eax, esi
je 0x406559
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x60], esi
jmp 0x40665d
mov ecx, dword [ebp + 0x5c]
cmp ecx, esi
jne 0x40659f
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x5c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x60], ebx
jmp 0x40665d
mov edi, dword [ebp + 0x64]
cmp ebx, edi
jg 0x4065c3
mov eax, dword [ebp + 0x60]
cmp ebx, eax
jle 0x4065bb
mov edx, ebx
sub edx, eax
lea eax, [ecx + eax*4]
push edx
push eax
call fcn.004074d0
mov dword [ebp + 0x60], ebx
jmp 0x40665d
mov eax, dword [ebp + 0x68]
cmp eax, esi
jne 0x4065ee
mov eax, dword [ebp + 0x60]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4065e2
mov eax, 4
jmp 0x4065ee
cmp eax, 0x400
jle 0x4065ee
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x3c], eax
jl 0x4065fc
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x60]
mov esi, dword [ebp + 0x5c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x60]
mov dword [esp + 0x34], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.004074d0
mov ecx, dword [ebp + 0x5c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
add esp, 4
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], eax
xor esi, esi
mov eax, dword [esp + 0x38]
mov ebx, dword [ebp + 0x24]
cmp eax, esi
je 0x40666d
mov ebx, 0x6d
xor edi, edi
cmp ebx, esi
jle 0x4066e4
mov esi, 0x4e
lea ecx, [esi + 1]
push ecx
mov ecx, ebp
call fcn.00407810
push esi
mov ecx, ebp
mov byte [esp + 0x38], al
call fcn.00407810
lea edx, [esi - 1]
mov ecx, ebp
push edx
mov byte [esp + 0x1c], al
call fcn.00407810
mov byte [esp + 0x3c], al
lea eax, [esi - 2]
push eax
mov ecx, ebp
call fcn.00407810
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov cl, al
mov eax, dword [esp + 0x18]
mov ch, byte [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x44], ecx
call fcn.00406830
mov ecx, dword [esp + 0x44]
add esp, 8
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebp + 0x5c]
add esi, 4
mov dword [ecx + edi*4], eax
inc edi
cmp edi, ebx
jl 0x406678
xor esi, esi
mov eax, dword [esp + 0x38]
cmp eax, esi
jle 0x4067ee
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x24]
sub eax, ebx
lea edi, [edx + 1]
shl edi, 9
cmp eax, 0x7f
jl 0x40670d
mov eax, 0x7f
add eax, ebx
cmp ebx, eax
mov dword [esp + 0x10], eax
jge 0x40677a
lea esi, [edi + 2]
lea eax, [esi + 1]
mov ecx, ebp
push eax
call fcn.00407810
push esi
mov ecx, ebp
mov byte [esp + 0x3c], al
call fcn.00407810
lea ecx, [esi - 1]
mov byte [esp + 0x34], al
push ecx
mov ecx, ebp
call fcn.00407810
push edi
mov ecx, ebp
mov byte [esp + 0x40], al
call fcn.00407810
xor edx, edx
xor ecx, ecx
mov ch, byte [esp + 0x38]
mov dl, al
mov dh, byte [esp + 0x3c]
mov cl, byte [esp + 0x34]
mov eax, edx
mov edx, dword [ebp + 0x5c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
mov dword [edx + ebx*4], ecx
add edi, 4
add esi, 4
inc ebx
cmp ebx, eax
jl 0x40671a
mov ebx, eax
mov eax, dword [ebp + 0x24]
cmp ebx, eax
jge 0x4067df
lea eax, [edi + 3]
mov ecx, ebp
push eax
call fcn.00407810
lea ecx, [edi + 2]
mov byte [esp + 0x3c], al
push ecx
mov ecx, ebp
call fcn.00407810
lea edx, [edi + 1]
mov ecx, ebp
push edx
mov byte [esp + 0x3c], al
call fcn.00407810
push edi
mov ecx, ebp
mov byte [esp + 0x20], al
call fcn.00407810
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov ch, byte [esp + 0x3c]
and edx, 0xff
mov cl, byte [esp + 0x38]
and eax, 0xff
shl ecx, 8
or ecx, edx
shl ecx, 8
or eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x4066f4
mov ecx, ebp
call fcn.00406970
mov ecx, ebp
call fcn.00406b70
lea eax, [ebp + 0x10]
mov ecx, ebp
push eax
mov eax, dword [ebp + 0x2c]
push eax
call fcn.004071b0
mov ecx, ebp
call fcn.00406d90
mov ecx, dword [esp + 0x24]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc