Function at 0x45c780
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
xor ebx, ebx
xor edx, edx
mov byte [ebp - 4], bl
mov word [ebp - 3], dx
mov byte [ebp - 8], dl
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x45ca5e
push edi
nop dword [eax + eax]
dec eax
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 4], al
inc ebx
mov ah, byte [ebp - 2]
mov dl, byte [ebp - 3]
mov dh, byte [ebp - 4]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 9], ah
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xc], dh
cmp ebx, 3
jne 0x45c8b4
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 8], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 7], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
xor ebx, ebx
nop
cmp dword [0x5a9d8c], 0x10
mov eax, 0x5a9d78
movzx ecx, byte [ebp + ebx - 8]
cmovae eax, dword [0x5a9d78]
mov dl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0xa], dl
cmp eax, 1
jbe 0x45ca64
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x45ca64
cmp dword [esi + 0x14], edi
jae 0x45c86c
push ecx
push edi
mov ecx, esi
call fcn.0044f120
mov dl, byte [ebp - 0xa]
test edi, edi
je 0x45c89f
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x45c887
mov eax, dword [esi]
jmp 0x45c889
test edi, edi
jne 0x45c85f
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x45c880
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x45c89f
mov eax, esi
mov byte [eax], 0
jmp 0x45c89f
mov eax, esi
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x45c899
mov eax, dword [esi]
jmp 0x45c89b
mov eax, esi
mov byte [eax + edi], 0
inc ebx
cmp ebx, 4
jl 0x45c810
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov dl, byte [ebp - 0xb]
mov dh, byte [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x45c7b0
test ebx, ebx
je 0x45ca5d
cmp ebx, 3
jge 0x45c8f6
mov ecx, 3
lea edi, [ebp - 4]
sub ecx, ebx
add edi, ebx
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 3]
mov dh, byte [ebp - 4]
jmp 0x45c8f9
mov cl, byte [ebp - 9]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 8], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 7], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 5], cl
mov byte [ebp - 6], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x45c9e4
nop word [eax + eax]
cmp dword [0x5a9d8c], 0x10
mov eax, 0x5a9d78
movzx ecx, byte [ebp + edx - 8]
cmovae eax, dword [0x5a9d78]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 9], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x45ca64
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x45ca64
cmp dword [esi + 0x14], edi
jae 0x45c99c
push ecx
push edi
mov ecx, esi
call fcn.0044f120
mov edx, dword [ebp - 4]
test edi, edi
je 0x45c9d5
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x45c9b7
mov eax, dword [esi]
jmp 0x45c9b9
test edi, edi
jne 0x45c98f
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x45c9b0
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x45c9d5
mov eax, esi
mov byte [eax], 0
jmp 0x45c9d5
mov eax, esi
mov dl, byte [ebp - 9]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x45c9cc
mov eax, dword [esi]
jmp 0x45c9ce
mov eax, esi
mov edx, dword [ebp - 4]
mov byte [eax + edi], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 4], edx
cmp edx, eax
jl 0x45c940
cmp ebx, 3
jge 0x45ca5d
nop dword [eax]
mov ecx, dword [esi + 0x10]
inc ebx
mov eax, ecx
not eax
cmp eax, 1
jbe 0x45ca64
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x45ca64
cmp dword [esi + 0x14], edi
jae 0x45ca24
push ecx
push edi
mov ecx, esi
call fcn.0044f120
test edi, edi
je 0x45ca58
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x45ca3f
mov eax, dword [esi]
jmp 0x45ca41
test edi, edi
jne 0x45ca17
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x45ca38
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x45ca58
mov eax, esi
mov byte [eax], 0
jmp 0x45ca58
mov eax, esi
mov byte [ecx + eax], 0x3d
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x45ca52
mov eax, dword [esi]
jmp 0x45ca54
mov eax, esi
mov byte [edi + eax], 0
cmp ebx, 3
jl 0x45c9f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00512cda
int3